Searched refs:statbuf (Results 1 - 9 of 9) sorted by relevance
/system/extras/tests/storage/ |
H A D | opentest.c | 32 struct stat statbuf; local 49 if (stat(dir, &statbuf)) { 54 if (! S_ISDIR(statbuf.st_mode)) {
|
H A D | wipe_blkdev.c | 86 struct stat statbuf; local 110 if (fstat(fd, &statbuf) < 0) { 115 if (!S_ISBLK(statbuf.st_mode)) {
|
/system/extras/boot_control_copy/ |
H A D | boot_control_copy.cpp | 46 struct stat statbuf; local 51 if (fstat(fd, &statbuf) != 0) { 58 *out_device = statbuf.st_rdev; 64 struct stat statbuf; local 67 if (stat("/system", &statbuf) != 0) { 77 if (statbuf.st_dev == system_a_dev) { 79 } else if (statbuf.st_dev == system_b_dev) { 84 major(statbuf.st_dev), minor(statbuf.st_dev),
|
/system/extras/ioshark/ |
H A D | ioshark_bench_mmap.c | 174 struct stat statbuf; local 176 if (fstat(files_db_get_fd(db_node), &statbuf) < 0) { 186 assert(offset + len <= statbuf.st_size);
|
H A D | ioshark_bench_subr.c | 634 struct stat statbuf; local 636 if (stat(filename, &statbuf) < 0) { 640 if (!S_ISREG(statbuf.st_mode)) { 644 if ((size_t)statbuf.st_size < size) {
|
/system/update_engine/ |
H A D | hardware_chromeos.cc | 129 struct stat statbuf; local 130 if (stat(kOOBECompletedMarker, &statbuf) != 0) { 139 *out_time_of_oobe = base::Time::FromTimeT(statbuf.st_mtime);
|
H A D | p2p_manager.cc | 587 struct stat statbuf; local 591 if (stat(path.value().c_str(), &statbuf) == 0) { 596 if (stat(path.value().c_str(), &statbuf) == 0) {
|
/system/vold/ |
H A D | cryptfs.cpp | 519 struct stat statbuf; local 547 fstat(fd, &statbuf); 549 if (S_ISREG(statbuf.st_mode)) { 667 struct stat statbuf; local 683 fstat(fd, &statbuf); 684 if (S_ISREG(statbuf.st_mode) && (statbuf.st_size != 0x4000)) {
|
/system/core/logcat/ |
H A D | logcat.cpp | 408 struct stat statbuf; local 409 if (fstat(context->output_fd, &statbuf) == -1) { 415 if ((size_t)statbuf.st_size > SIZE_MAX || statbuf.st_size < 0) { 423 context->outByteCount = statbuf.st_size;
|
Completed in 1096 milliseconds