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.c | 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/update_engine/ |
H A D | hardware_chromeos.cc | 128 struct stat statbuf; local 129 if (stat(kOOBECompletedMarker, &statbuf) != 0) { 138 *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/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 | 626 struct stat statbuf; local 628 if (stat(filename, &statbuf) < 0) { 632 if (!S_ISREG(statbuf.st_mode)) { 636 if ((size_t)statbuf.st_size < size) {
|
/system/vold/ |
H A D | cryptfs.cpp | 364 struct stat statbuf; local 392 fstat(fd, &statbuf); 394 if (S_ISREG(statbuf.st_mode)) { 512 struct stat statbuf; local 528 fstat(fd, &statbuf); 529 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 151 milliseconds