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

/frameworks/native/cmds/rawbu/
H A Dbackup.cpp237 int pathLen = strlen(path); local
239 if (!write_int32(fh, pathLen)) return 0;
240 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) {
449 int32_t pathLen = read_int32(fh, -1); local
450 if (pathLen <= 0) {
451 fprintf(stderr, "bad path length %d in restore file\n", pathLen);
454 char* readPath = (char*)malloc(pathLen+1);
455 if (fread(readPath, 1, pathLen, fh) != (size_t)pathLen) {
[all...]

Completed in 9 milliseconds