/external/perf_data_converter/src/ |
perf_to_profile_lib.cc | 14 struct stat file_stat; local 15 return stat(path.c_str(), &file_stat) != -1;
|
/system/update_engine/payload_generator/ |
filesystem_interface.h | 49 memset(&file_stat, 0, sizeof(file_stat)); 54 struct stat file_stat; member in struct:chromeos_update_engine::FilesystemInterface::File
|
/external/libbrillo/brillo/ |
file_utils.cc | 68 struct stat file_stat; local 69 if (fstat(scoped_fd.get(), &file_stat) != -1 && 70 S_ISREG(file_stat.st_mode) && file_stat.st_uid == uid && 71 file_stat.st_gid == gid) {
|
/hardware/nxp/secure_element/libese-spi/p73/utils/ |
ese_config.cpp | 39 struct stat file_stat; local 40 if (stat(path.c_str(), &file_stat) != 0) continue; 41 if (S_ISREG(file_stat.st_mode)) return path;
|
/system/nfc/src/adaptation/ |
nfc_config.cc | 38 struct stat file_stat; local 39 if (stat(path.c_str(), &file_stat) != 0) continue; 40 if (S_ISREG(file_stat.st_mode)) return path;
|
/frameworks/compile/libbcc/lib/ |
FileBase.cpp | 100 struct stat fd_stat, file_stat; local 114 if (::stat(mName.c_str(), &file_stat) == 0) { 122 return ((fd_stat.st_dev == file_stat.st_dev) && 123 (fd_stat.st_ino == file_stat.st_ino));
|
/system/core/bootstat/ |
boot_event_record_store.cpp | 43 struct stat file_stat; local 44 if (stat(path.c_str(), &file_stat) == -1) { 49 *uptime = file_stat.st_mtime; 79 struct stat file_stat; local 80 if (stat(record_path.c_str(), &file_stat) == -1) { 88 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value};
|
/external/autotest/client/bin/ |
site_sysinfo.py | 121 class file_stat(object): class in inherits:object 176 self._log_stats[file_path] = file_stat(file_path)
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
fallocate01.c | 163 struct stat file_stat; local 165 if (fstat(fd, &file_stat) < 0) 169 block_size = file_stat.st_blksize; 225 struct stat file_stat; local 246 if (fstat(fd, &file_stat) < 0) 249 if (file_stat.st_size != expected_size)
|
fallocate03.c | 181 struct stat file_stat; local 183 if (fstat(fd, &file_stat) < 0) 187 block_size = (int)file_stat.st_blksize;
|
fallocate04.c | 48 struct stat file_stat; local 50 SAFE_FSTAT(fd, &file_stat); 52 block_size = file_stat.st_blksize; 58 struct stat file_stat; local 62 SAFE_FSTAT(fd, &file_stat); 64 return file_stat.st_blocks * 512;
|
/frameworks/compile/mclinker/lib/Support/ |
FileHandle.cpp | 67 struct ::stat file_stat; local 68 if (-1 == ::fstat(pHandler, &file_stat)) { 72 pSize = file_stat.st_size;
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
hog.c | 116 struct stat file_stat; local 117 if (stat(argv[1], &file_stat) == 0) { 118 if (S_ISSOCK(file_stat.st_mode)) {
|
/external/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 207 posix::StatStruct file_stat; 208 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 234 posix::StatStruct file_stat; local 235 result = posix::Stat(path.c_str(), &file_stat) == 0 && 236 posix::IsDir(file_stat);
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount03.c | 134 struct stat file_stat; local 305 if (fstat(fd, &file_stat) == -1) { 311 atime = file_stat.st_atime; 321 if (fstat(fd, &file_stat) == -1) { 328 if (file_stat.st_atime != atime) { 340 struct stat file_stat; local 372 SAFE_STAT(cleanup, file, &file_stat); 374 if (file_stat.st_mode != SUID_MODE &&
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 222 struct stat file_stat, file_newstat; local 241 SAFE_STAT(cleanup, TEST_FILE, &file_stat); 258 if (file_stat.st_atime == file_newstat.st_atime) 278 struct stat file_stat; local 287 SAFE_FSTAT(cleanup, TEST_RETURN, &file_stat); 289 if (file_stat.st_size == 0)
|
/bionic/linker/ |
linker_main.cpp | 292 struct stat file_stat; local 296 if (TEMP_FAILURE_RETRY(stat("/proc/self/exe", &file_stat)) != 0) { 301 soinfo* si = soinfo_alloc(&g_default_namespace, executable_path, &file_stat, 0, RTLD_GLOBAL);
|
/external/curl/lib/ |
file.c | 320 struct_stat file_stat; local 358 if(fstat(fd, &file_stat)) { 363 data->state.resume_from = (curl_off_t)file_stat.st_size;
|
/external/google-breakpad/src/testing/gtest/src/ |
gtest-filepath.cc | 209 posix::StatStruct file_stat; 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 236 posix::StatStruct file_stat; local 237 result = posix::Stat(path.c_str(), &file_stat) == 0 && 238 posix::IsDir(file_stat);
|
/external/googletest/googletest/src/ |
gtest-filepath.cc | 216 posix::StatStruct file_stat; 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 243 posix::StatStruct file_stat; local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && 245 posix::IsDir(file_stat);
|
/external/libbrillo/brillo/streams/ |
file_stream.cc | 54 struct stat file_stat; variable in typeref:struct:brillo::FileDescriptor::stat 55 if (fstat(fd_, &file_stat) < 0) 57 return file_stat.st_mode; 61 struct stat file_stat; variable in typeref:struct:brillo::FileDescriptor::stat 62 if (fstat(fd_, &file_stat) < 0) 64 return file_stat.st_size;
|
/external/libbrillo/policy/ |
device_policy_impl.cc | 460 struct stat file_stat; local 461 stat(policy_path.value().c_str(), &file_stat); 462 if (file_stat.st_uid != 0) { 466 stat(keyfile_path_.value().c_str(), &file_stat); 467 if (file_stat.st_uid != 0) {
|
/external/libchrome/base/memory/ |
shared_memory_posix.cc | 410 struct stat file_stat; local 411 if (HANDLE_EINTR(::fstat(static_cast<int>(handle().fd), &file_stat)) != 0) 413 id->first = file_stat.st_dev; 414 id->second = file_stat.st_ino;
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-filepath.cc | 216 posix::StatStruct file_stat; 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 243 posix::StatStruct file_stat; local 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && 245 posix::IsDir(file_stat);
|
/external/mesa3d/src/gtest/src/ |
gtest-filepath.cc | 211 posix::StatStruct file_stat; 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 238 posix::StatStruct file_stat; local 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && 240 posix::IsDir(file_stat);
|