Home | History | Annotate | Download | only in minzip

Lines Matching refs:zpath

834     char *zpath;
837 zpath = (char *)malloc(zipDirLen + 2);
838 if (zpath == NULL) {
851 memcpy(zpath, zipDir, zipDirLen);
852 if (zpath[zipDirLen-1] != '/') {
853 zpath[zipDirLen++] = '/';
856 zpath[zipDirLen] = '\0';
863 helper.zipDir = zpath;
869 * with zpath.
880 //TODO: look out for a single empty directory entry that matches zpath, but
883 // e.g., zpath "a/b/", entry "a/b", with no children of the entry.
896 /* If zpath is empty, this strncmp() will match everything,
899 if (strncmp(pEntry->fileName, zpath, zipDirLen) != 0) {
1013 free(zpath);