Home | History | Annotate | Download | only in minzip

Lines Matching refs:cpath

74     char *cpath = (char *)malloc(pathLen + 2);
75 if (cpath == NULL) {
79 memcpy(cpath, path, pathLen);
83 char *c = cpath + pathLen - 1;
84 while (c != cpath && *c != '/') {
87 if (c == cpath) {
92 free(cpath);
99 cpath[pathLen] = '/';
100 cpath[pathLen + 1] = '\0';
105 ds = getPathDirStatus(cpath);
115 char *p = cpath;
138 ds = getPathDirStatus(cpath);
143 free(cpath);
151 selabel_lookup(sehnd, &secontext, cpath, mode);
155 err = mkdir(cpath, mode);
163 free(cpath);
166 if (timestamp != NULL && utime(cpath, timestamp)) {
167 free(cpath);
177 free(cpath);