HomeSort by relevance Sort by last modified time
    Searched refs:field_num (Results 1 - 5 of 5) sorted by null

  /external/libchrome/base/process/
internal_linux.cc 119 ProcStatsFields field_num) {
120 DCHECK_GE(field_num, VM_PPID);
121 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size());
124 return StringToInt64(proc_stats[field_num], &value) ? value : 0;
128 ProcStatsFields field_num) {
129 DCHECK_GE(field_num, VM_PPID);
130 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size());
133 return StringToSizeT(proc_stats[field_num], &value) ? value : 0;
136 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num) {
143 return GetProcStatsFieldAsInt64(proc_stats, field_num);
    [all...]
internal_linux.h 65 // Reads the |field_num|th field from |proc_stats|. Returns 0 on failure.
69 ProcStatsFields field_num);
73 ProcStatsFields field_num);
77 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
81 ProcStatsFields field_num);
process_iterator_linux.cc 20 // Reads the |field_num|th field from |proc_stats|.
26 internal::ProcStatsFields field_num) {
27 if (field_num < internal::VM_COMM || field_num > internal::VM_STATE) {
32 if (proc_stats.size() > static_cast<size_t>(field_num))
33 return proc_stats[field_num];
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
protobuf.py 243 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])
protobuf_test.py 166 field_num = test_util.OptionalMessage.enum_value.number
167 tag = (field_num << protobuf._WIRE_TYPE_BITS) | encoder.NUMERIC

Completed in 85 milliseconds