Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 16 of 16) sorted by relevance

/art/runtime/
Dos_linux.cc66 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()
Dprebuilt_tools_test.cc34 struct stat exec_st; in CheckToolsExist()
36 if (stat(exec_path.c_str(), &exec_st) != 0) { in CheckToolsExist()
Dutils.cc866 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()
Doat_file_assistant.cc563 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()
Dcommon_runtime_test.cc468 struct stat s; in ClearDirectory()
Ddex_file.cc282 struct stat sbuf; in OpenFile()
/art/compiler/optimizing/
Doptimizing_compiler_stats.h99 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()
Dinliner.cc78 #define LOG_FAIL(stat) MaybeRecordStat(stat); LOG_INTERNAL("Fail: ") argument
Dinstruction_simplifier.cc47 void MaybeRecordStat(MethodCompilationStat stat) { in MaybeRecordStat() argument
49 stats_->RecordStat(stat); in MaybeRecordStat()
/art/runtime/base/
Dscoped_flock.cc66 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/
Dfd_file.cc205 struct stat s; in GetLength()
350 struct stat this_stat, current_stat; in Unlink()
/art/test/115-native-bridge/
Dnativebridge.cc405 struct stat st; in native_bridge_initialize()
407 if (stat(app_code_cache_dir, &st) == 0) { in native_bridge_initialize()
/art/compiler/utils/
Dassembler_test_base.h468 struct stat buf; in FileExists()
469 return stat(copy.c_str(), &buf) == 0; in FileExists()
/art/imgdiag/
Dimgdiag.cc109 struct stat sts; in DumpImageDiff()
112 if (stat(proc_pid_str.c_str(), &sts) == -1) { in DumpImageDiff()
/art/runtime/jit/
Dprofile_compilation_info.cc859 struct stat stat_buffer; in LoadInternal()
/art/dex2oat/
Ddex2oat.cc1335 struct stat s; in OpenFile()