Home
last modified time | relevance | path

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

/art/libartbase/base/
Dos_linux.cc69 struct stat st; in FileExists()
70 if (stat(name, &st) == 0) { in FileExists()
82 struct stat st; in DirectoryExists()
83 if (stat(name, &st) == 0) { in DirectoryExists()
91 struct stat st; in GetFileSizeBytes()
92 if (stat(name, &st) == 0) { in GetFileSizeBytes()
Dscoped_flock.cc59 struct stat fstat_stat; in Open()
65 struct stat stat_stat; in Open()
66 int stat_result = TEMP_FAILURE_RETRY(stat(filename, &stat_stat)); in Open()
/art/compiler/optimizing/
Doptimizing_compiler_stats.h114 void RecordStat(MethodCompilationStat stat, uint32_t count = 1) {
115 size_t stat_index = static_cast<size_t>(stat);
120 uint32_t GetStat(MethodCompilationStat stat) const { in GetStat() argument
121 size_t stat_index = static_cast<size_t>(stat); in GetStat()
171 for (std::atomic<uint32_t>& stat : compile_stats_) { in Reset()
172 stat = 0u; in Reset()
183 MethodCompilationStat stat,
186 compiler_stats->RecordStat(stat, count);
Dinliner.cc79 #define LOG_FAIL(stats_ptr, stat) MaybeRecordStat(stats_ptr, stat); LOG_INTERNAL("Fail: ") argument
/art/test/004-JniTest/
Dbuild31 local stat=$?
35 return $stat
/art/runtime/
Dprebuilt_tools_test.cc34 struct stat exec_st; in CheckToolsExist()
36 if (stat(exec_path.c_str(), &exec_st) != 0) { in CheckToolsExist()
Doat_file_assistant.cc621 struct stat dir_stat; in PrepareDirectory()
622 if (TEMP_FAILURE_RETRY(stat(dir.c_str(), &dir_stat)) == 0) { in PrepareDirectory()
723 struct stat dex_path_stat; in GenerateOatFileNoChecks()
724 if (TEMP_FAILURE_RETRY(stat(dex_location_.c_str(), &dex_path_stat)) != 0) { in GenerateOatFileNoChecks()
1056 struct stat s; in Status()
Dcommon_runtime_test.cc414 struct stat s; in ClearDirectory()
Doat_file.cc295 struct stat s; in LoadVdex()
/art/libartbase/base/unix_file/
Dfd_file.cc219 struct stat s; in GetLength()
364 struct stat this_stat, current_stat; in Unlink()
/art/compiler/utils/
Dassembler_test_base.h468 struct stat buf; in FileExists()
469 return stat(copy.c_str(), &buf) == 0; in FileExists()
/art/test/115-native-bridge/
Dnativebridge.cc422 struct stat st; in native_bridge_initialize()
424 if (stat(app_code_cache_dir, &st) == 0) { in native_bridge_initialize()
/art/dex2oat/linker/
Doat_writer.h342 bool WriteUpTo16BytesAlignment(OutputStream* out, uint32_t size, uint32_t* stat);
Doat_writer.cc4158 bool OatWriter::WriteUpTo16BytesAlignment(OutputStream* out, uint32_t size, uint32_t* stat) { in WriteUpTo16BytesAlignment() argument
4166 *stat += size; in WriteUpTo16BytesAlignment()
/art/runtime/dex/
Dart_dex_file_loader.cc291 struct stat sbuf; in OpenFile()
/art/patchoat/
Dpatchoat_test.cc50 struct stat s; in ListDirFilesEndingWith()
/art/imgdiag/
Dimgdiag.cc1135 struct stat sts; in Init()
1138 if (stat(proc_pid_str.c_str(), &sts) == -1) { in Init()
/art/runtime/jit/
Dprofile_compilation_info.cc1250 struct stat stat_buffer; in HasEmptyContent()
2052 struct stat stat_buffer; in IsProfileFile()
/art/dex2oat/
Ddex2oat.cc1377 struct stat s; in OpenFile()