Lines Matching refs:zpath
945 char *zpath;
948 zpath = (char *)malloc(zipDirLen + 2);
949 if (zpath == NULL) {
962 memcpy(zpath, zipDir, zipDirLen);
963 if (zpath[zipDirLen-1] != '/') {
964 zpath[zipDirLen++] = '/';
967 zpath[zipDirLen] = '\0';
974 helper.zipDir = zpath;
980 * with zpath.
990 //TODO: look out for a single empty directory entry that matches zpath, but
993 // e.g., zpath "a/b/", entry "a/b", with no children of the entry.
1006 /* If zpath is empty, this strncmp() will match everything,
1009 if (strncmp(pEntry->fileName, zpath, zipDirLen) != 0) {
1146 free(zpath);