Searched refs:stat (Results 1 – 16 of 16) sorted by relevance
/art/runtime/ |
D | os_linux.cc | 66 struct stat st; in FileExists() 67 if (stat(name, &st) == 0) { in FileExists() 75 struct stat st; in DirectoryExists() 76 if (stat(name, &st) == 0) { in DirectoryExists()
|
D | prebuilt_tools_test.cc | 34 struct stat exec_st; in CheckToolsExist() 36 if (stat(exec_path.c_str(), &exec_st) != 0) { in CheckToolsExist()
|
D | utils.cc | 866 struct stat buffer; in FileExists() 867 return stat(filename.c_str(), &buffer) == 0; in FileExists() 871 struct stat buffer; in FileExistsAndNotEmpty() 872 if (stat(filename.c_str(), &buffer) != 0) { in FileExistsAndNotEmpty() 931 struct stat stat_buf; in GetFileSizeBytes() 932 int rc = stat(filename.c_str(), &stat_buf); in GetFileSizeBytes()
|
D | oat_file_assistant.cc | 563 struct stat dir_stat; in PrepareDirectory() 564 if (TEMP_FAILURE_RETRY(stat(dir.c_str(), &dir_stat)) == 0) { in PrepareDirectory() 638 struct stat dex_path_stat; in GenerateOatFileNoChecks() 639 if (TEMP_FAILURE_RETRY(stat(dex_location_.c_str(), &dex_path_stat)) != 0) { in GenerateOatFileNoChecks()
|
D | common_runtime_test.cc | 468 struct stat s; in ClearDirectory()
|
D | dex_file.cc | 282 struct stat sbuf; in OpenFile()
|
/art/compiler/optimizing/ |
D | optimizing_compiler_stats.h | 99 void RecordStat(MethodCompilationStat stat, uint32_t count = 1) { 100 compile_stats_[stat] += count; 143 std::string PrintMethodCompilationStat(MethodCompilationStat stat) const { in PrintMethodCompilationStat() argument 145 switch (stat) { in PrintMethodCompilationStat() 208 << static_cast<std::underlying_type<MethodCompilationStat>::type>(stat); in PrintMethodCompilationStat()
|
D | inliner.cc | 78 #define LOG_FAIL(stat) MaybeRecordStat(stat); LOG_INTERNAL("Fail: ") argument
|
D | instruction_simplifier.cc | 47 void MaybeRecordStat(MethodCompilationStat stat) { in MaybeRecordStat() argument 49 stats_->RecordStat(stat); in MaybeRecordStat()
|
/art/runtime/base/ |
D | scoped_flock.cc | 66 struct stat fstat_stat; in Init() 72 struct stat stat_stat; in Init() 73 int stat_result = TEMP_FAILURE_RETRY(stat(filename, &stat_stat)); in Init()
|
/art/runtime/base/unix_file/ |
D | fd_file.cc | 205 struct stat s; in GetLength() 350 struct stat this_stat, current_stat; in Unlink()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 405 struct stat st; in native_bridge_initialize() 407 if (stat(app_code_cache_dir, &st) == 0) { in native_bridge_initialize()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 468 struct stat buf; in FileExists() 469 return stat(copy.c_str(), &buf) == 0; in FileExists()
|
/art/imgdiag/ |
D | imgdiag.cc | 109 struct stat sts; in DumpImageDiff() 112 if (stat(proc_pid_str.c_str(), &sts) == -1) { in DumpImageDiff()
|
/art/runtime/jit/ |
D | profile_compilation_info.cc | 859 struct stat stat_buffer; in LoadInternal()
|
/art/dex2oat/ |
D | dex2oat.cc | 1335 struct stat s; in OpenFile()
|