Home
last modified time | relevance | path

Searched refs:stat_file (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/process/
Dinternal_linux.cc71 FilePath stat_file = internal::GetProcPidDir(pid).Append(kStatFile); in ReadProcStats() local
72 return ReadProcFile(stat_file, buffer); in ReadProcStats()
141 int64_t ReadStatFileAndGetFieldAsInt64(const FilePath& stat_file, in ReadStatFileAndGetFieldAsInt64() argument
144 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64()
153 FilePath stat_file = internal::GetProcPidDir(pid).Append(kStatFile); in ReadProcStatsAndGetFieldAsInt64() local
154 return ReadStatFileAndGetFieldAsInt64(stat_file, field_num); in ReadProcStatsAndGetFieldAsInt64()
158 FilePath stat_file = FilePath(kProcDir).Append("self").Append(kStatFile); in ReadProcSelfStatsAndGetFieldAsInt64() local
159 return ReadStatFileAndGetFieldAsInt64(stat_file, field_num); in ReadProcSelfStatsAndGetFieldAsInt64()
Dprocess_handle_linux.cc30 FilePath stat_file = internal::GetProcPidDir(process).Append("exe"); in GetProcessExecutablePath() local
32 if (!ReadSymbolicLink(stat_file, &exe_name)) { in GetProcessExecutablePath()
Dinternal_aix.cc80 FilePath stat_file = internalAIX::GetProcPidDir(pid).Append(kStatFile); in ReadProcStats() local
81 return ReadProcFile(stat_file, info); in ReadProcStats()
Dinternal_linux.h79 int64_t ReadStatsFilendGetFieldAsInt64(const FilePath& stat_file,
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPchange.cc34 FILE* stat_file = fopen(argv[2], "rt"); in main() local
35 if (!stat_file) { in main()
51 if (fgets(temp_str, 100, stat_file) == NULL) { in main()
61 while (fscanf(stat_file, in main()
69 fclose(stat_file); in main()
/external/strace/
Dlargefile_wrappers.h43 # define stat_file stat64 macro
51 # define stat_file stat macro
Dstrace.c1325 else if (stat_file(filename, &statbuf) == 0) in startup_child()
1354 if (stat_file(pathname, &statbuf) == 0 && in startup_child()
1365 if (stat_file(pathname, &statbuf) < 0) { in startup_child()
Dutil.c451 if (stat_file(path, &st)) { in printdev()
DChangeLog45983 * strace.c (struct_stat, stat_file, struct_dirent, read_dir,
45986 (startup_child): Use struct_stat and stat_file.
/external/autotest/client/site_tests/login_LogoutProcessCleanup/
Dlogin_LogoutProcessCleanup.py69 with open('/proc/%s/stat' % pid) as stat_file:
70 return stat_file.read().split(' ')