Lines Matching refs:field_num
119 ProcStatsFields field_num) { in GetProcStatsFieldAsInt64() argument
120 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() argument
129 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() argument
143 return GetProcStatsFieldAsInt64(proc_stats, field_num); in ReadProcStatsAndGetFieldAsInt64()
147 ProcStatsFields field_num) { in ReadProcStatsAndGetFieldAsSizeT() argument
154 return GetProcStatsFieldAsSizeT(proc_stats, field_num); in ReadProcStatsAndGetFieldAsSizeT()