Home
last modified time | relevance | path

Searched refs:field_num (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/process/
Dinternal_linux.cc119 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()
[all …]
Dinternal_linux.h69 ProcStatsFields field_num);
73 ProcStatsFields field_num);
77 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
81 ProcStatsFields field_num);
Dprocess_iterator_linux.cc26 internal::ProcStatsFields field_num) { in GetProcStatsFieldAsString() argument
27 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()
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotobuf.py243 for field_num, field in all_fields:
253 value, variant = message.get_unrecognized_field_info(field_num)
258 tag = ((field_num << _WIRE_TYPE_BITS) | _VARIANT_TO_WIRE_TYPE[variant])
Dprotobuf_test.py166 field_num = test_util.OptionalMessage.enum_value.number
167 tag = (field_num << protobuf._WIRE_TYPE_BITS) | encoder.NUMERIC