Searched refs:field_num (Results 1 – 3 of 3) sorted by relevance
119 ProcStatsFields field_num) { in GetProcStatsFieldAsInt64() argument120 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsInt64()121 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsInt64()124 return StringToInt64(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsInt64()128 ProcStatsFields field_num) { in GetProcStatsFieldAsSizeT() argument129 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsSizeT()130 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsSizeT()133 return StringToSizeT(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsSizeT()136 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num) { in ReadProcStatsAndGetFieldAsInt64() argument143 return GetProcStatsFieldAsInt64(proc_stats, field_num); in ReadProcStatsAndGetFieldAsInt64()[all …]
69 ProcStatsFields field_num);73 ProcStatsFields field_num);77 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);81 ProcStatsFields field_num);
26 internal::ProcStatsFields field_num) { in GetProcStatsFieldAsString() argument27 if (field_num < internal::VM_COMM || field_num > internal::VM_STATE) { in GetProcStatsFieldAsString()32 if (proc_stats.size() > static_cast<size_t>(field_num)) in GetProcStatsFieldAsString()33 return proc_stats[field_num]; in GetProcStatsFieldAsString()