Home | History | Annotate | Download | only in minzip

Lines Matching refs:cpath

73     char *cpath = (char *)malloc(pathLen + 2);
74 if (cpath == NULL) {
78 memcpy(cpath, path, pathLen);
82 char *c = cpath + pathLen - 1;
83 while (c != cpath && *c != '/') {
86 if (c == cpath) {
91 free(cpath);
98 cpath[pathLen] = '/';
99 cpath[pathLen + 1] = '\0';
104 ds = getPathDirStatus(cpath);
114 char *p = cpath;
137 ds = getPathDirStatus(cpath);
142 free(cpath);
147 err = mkdir(cpath, mode);
149 free(cpath);
152 if (timestamp != NULL && utime(cpath, timestamp)) {
153 free(cpath);
163 free(cpath);