Lines Matching defs:pathLen
238 int pathLen = strlen(path);
240 if (!write_int32(fh, pathLen)) return 0;
241 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) {
450 int32_t pathLen = read_int32(fh, -1);
451 if (pathLen <= 0) {
452 fprintf(stderr, "bad path length %d in restore file\n", pathLen);
455 char* readPath = (char*)malloc(pathLen+1);
456 if (fread(readPath, 1, pathLen, fh) != (size_t)pathLen) {
461 readPath[pathLen] = 0;