Searched defs:pathLen (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/rawbu/
H A Dbackup.cpp238 int pathLen = strlen(path); local
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); local
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) {
[all...]

Completed in 1001 milliseconds