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() 307 int ret = lstat(fullPath, &statBuffer); in backup_dir() 316 if(S_ISDIR(statBuffer.st_mode)) { in backup_dir() 319 if (write_header(fh, TYPE_DIR, fullPath, &statBuffer) == 0) { in backup_dir() 327 } else if (S_ISREG(statBuffer.st_mode)) { in backup_dir() 335 if (write_header(fh, TYPE_FILE, fullPath, &statBuffer) == 0) { in backup_dir() 340 off_t size = statBuffer.st_size; in backup_dir() 539 if (read_header(fh, &type, &path, &statBuffer) == 0) { in restore_data() [all …]
|