Home
last modified time | relevance | path

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

/art/libartbase/base/
Dos_linux.cc74 struct stat st; in FileExists()
75 if (stat(name, &st) == 0) { in FileExists()
87 struct stat st; in DirectoryExists()
88 if (stat(name, &st) == 0) { in DirectoryExists()
96 struct stat st; in GetFileSizeBytes()
97 if (stat(name, &st) == 0) { in GetFileSizeBytes()
Dscoped_flock.cc68 struct stat fstat_stat; in Open()
74 struct stat stat_stat; in Open()
75 int stat_result = TEMP_FAILURE_RETRY(stat(filename, &stat_stat)); in Open()
Dcommon_art_test.cc290 struct stat s; in ClearDirectory()
/art/compiler/optimizing/
Doptimizing_compiler_stats.h117 void RecordStat(MethodCompilationStat stat, uint32_t count = 1) {
118 size_t stat_index = static_cast<size_t>(stat);
123 uint32_t GetStat(MethodCompilationStat stat) const { in GetStat() argument
124 size_t stat_index = static_cast<size_t>(stat); in GetStat()
169 for (std::atomic<uint32_t>& stat : compile_stats_) { in Reset()
170 stat = 0u; in Reset()
181 MethodCompilationStat stat,
184 compiler_stats->RecordStat(stat, count);
Dinliner.cc81 #define LOG_FAIL(stats_ptr, stat) MaybeRecordStat(stats_ptr, stat); LOG_INTERNAL("Fail: ") argument
/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_manager.cc843 struct stat s; in UnlinkLeastRecentlyUsedVdexIfNeeded()
844 int rc = TEMP_FAILURE_RETRY(stat(fullname.c_str(), &s)); in UnlinkLeastRecentlyUsedVdexIfNeeded()
Doat_file_assistant.cc770 struct stat s; in Status()
Doat_file.cc296 struct stat s; in LoadVdex()
/art/libartbase/base/unix_file/
Dfd_file.cc383 struct stat s; in GetLength()
528 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.cc423 struct stat st; in native_bridge_initialize()
425 if (stat(app_code_cache_dir, &st) == 0) { in native_bridge_initialize()
/art/libdexfile/external/
Ddex_file_ext.cc212 struct stat sbuf; in ExtDexFileOpenFromFd()
/art/dex2oat/linker/
Doat_writer.h346 bool WriteUpTo16BytesAlignment(OutputStream* out, uint32_t size, uint32_t* stat);
Doat_writer.cc3999 bool OatWriter::WriteUpTo16BytesAlignment(OutputStream* out, uint32_t size, uint32_t* stat) { in WriteUpTo16BytesAlignment() argument
4007 *stat += size; in WriteUpTo16BytesAlignment()
/art/libdexfile/dex/
Dart_dex_file_loader.cc321 struct stat sbuf; in OpenFile()
/art/imgdiag/
Dimgdiag.cc1139 struct stat sts; in Init()
1142 if (stat(proc_pid_str.c_str(), &sts) == -1) { in Init()
/art/libprofile/profile/
Dprofile_compilation_info.cc1363 struct stat stat_buffer; in HasEmptyContent()
2226 struct stat stat_buffer; in IsProfileFile()
/art/dex2oat/
Ddex2oat.cc1319 struct stat s; in OpenFile()