/system/update_engine/payload_generator/ |
filesystem_interface.h | 48 memset(&file_stat, 0, sizeof(file_stat)); 53 struct stat file_stat; member in struct:chromeos_update_engine::FilesystemInterface::File
|
ext2_filesystem.cc | 198 memset(&file.file_stat, 0, sizeof(file.file_stat)); 199 file.file_stat.st_ino = it_ino; 200 file.file_stat.st_mode = it_inode.i_mode; 201 file.file_stat.st_nlink = it_inode.i_links_count; 202 file.file_stat.st_uid = it_inode.i_uid; 203 file.file_stat.st_gid = it_inode.i_gid; 204 file.file_stat.st_size = it_inode.i_size; 205 file.file_stat.st_blksize = filsys_->blocksize; 206 file.file_stat.st_blocks = it_inode.i_blocks [all...] |
/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/intel/common/libva/va/ |
va_fool.c | 272 struct stat file_stat = {0}; local 283 fstat(fd, &file_stat); 290 fool_ctx->segbuf_enc = realloc(fool_ctx->segbuf_enc, file_stat.st_size); 291 read(fd, fool_ctx->segbuf_enc, file_stat.st_size); 297 codedbuf->size = file_stat.st_size; 309 struct stat file_stat = {0}; local 314 fstat(fd, &file_stat); 315 fool_ctx->segbuf_jpg = realloc(fool_ctx->segbuf_jpg, file_stat.st_size); 316 read(fd, fool_ctx->segbuf_jpg, file_stat.st_size); 322 codedbuf->size = file_stat.st_size [all...] |
/external/ltp/testcases/kernel/syscalls/fallocate/ |
fallocate01.c | 168 struct stat file_stat; local 170 if (fstat(fd, &file_stat) < 0) 174 block_size = file_stat.st_blksize; 230 struct stat file_stat; local 251 if (fstat(fd, &file_stat) < 0) 254 if (file_stat.st_size != expected_size)
|
fallocate04.c | 66 struct stat file_stat; local 68 SAFE_FSTAT(cleanup, fd, &file_stat); 70 block_size = file_stat.st_blksize; 76 struct stat file_stat; local 80 SAFE_FSTAT(cleanup, fd, &file_stat); 82 return file_stat.st_blocks * 512;
|
fallocate03.c | 182 struct stat file_stat; local 184 if (fstat(fd, &file_stat) < 0) 188 block_size = (int)file_stat.st_blksize;
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 223 struct stat file_stat, file_newstat; local 242 SAFE_STAT(cleanup, TEST_FILE, &file_stat); 259 if (file_stat.st_atime == file_newstat.st_atime) 279 struct stat file_stat; local 288 SAFE_FSTAT(cleanup, TEST_RETURN, &file_stat); 290 if (file_stat.st_size == 0)
|
/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; 80 struct stat file_stat; local 81 if (stat(record_path.c_str(), &file_stat) == -1) { 89 struct utimbuf times = {/* actime */ file_stat.st_atime, /* modtime */ value};
|
/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));
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount03.c | 134 struct stat file_stat; local 267 if (stat(file, &file_stat) < 0) 270 if (file_stat.st_mode != SUID_MODE && 315 if (fstat(fd, &file_stat) == -1) { 321 atime = file_stat.st_atime; 331 if (fstat(fd, &file_stat) == -1) { 338 if (file_stat.st_atime != atime) {
|
/bionic/linker/ |
linker_main.h | 54 struct stat* file_stat, off64_t file_offset,
|
/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/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/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/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);
|
/external/protobuf/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/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
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/v8/testing/gtest/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/vulkan-validation-layers/tests/gtest-1.7.0/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);
|
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/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);
|
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/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);
|
/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)) {
|
/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;
|