Searched refs:statBuffer (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 38 static struct stat statBuffer; variable 123 ret = lstat (nameBuffer, &statBuffer); in wipe() 131 if(S_ISDIR(statBuffer.st_mode)) { in wipe() 306 int ret = lstat(fullPath, &statBuffer); in backup_dir() 315 if(S_ISDIR(statBuffer.st_mode)) { in backup_dir() 318 if (write_header(fh, TYPE_DIR, fullPath, &statBuffer) == 0) { in backup_dir() 326 } else if (S_ISREG(statBuffer.st_mode)) { in backup_dir() 334 if (write_header(fh, TYPE_FILE, fullPath, &statBuffer) == 0) { in backup_dir() 339 off_t size = statBuffer.st_size; in backup_dir() 538 if (read_header(fh, &type, &path, &statBuffer) == 0) { in restore_data() [all …]
|