Home
last modified time | relevance | path

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

/external/libchrome/base/process/
Dinternal_linux.cc124 ProcStatsFields field_num) { in GetProcStatsFieldAsInt64() argument
125 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsInt64()
126 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsInt64()
129 return StringToInt64(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsInt64()
133 ProcStatsFields field_num) { in GetProcStatsFieldAsSizeT() argument
134 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsSizeT()
135 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsSizeT()
138 return StringToSizeT(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsSizeT()
142 ProcStatsFields field_num) { in ReadStatFileAndGetFieldAsInt64() argument
149 return GetProcStatsFieldAsInt64(proc_stats, field_num); in ReadStatFileAndGetFieldAsInt64()
[all …]
Dinternal_aix.cc116 ProcStatsFields field_num) { in GetProcStatsFieldAsInt64() argument
117 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsInt64()
118 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsInt64()
121 return StringToInt64(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsInt64()
125 ProcStatsFields field_num) { in GetProcStatsFieldAsSizeT() argument
126 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsSizeT()
127 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsSizeT()
130 return StringToSizeT(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsSizeT()
133 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num) { in ReadProcStatsAndGetFieldAsInt64() argument
141 return GetProcStatsFieldAsInt64(proc_stats, field_num); in ReadProcStatsAndGetFieldAsInt64()
[all …]
Dinternal_linux.h71 ProcStatsFields field_num);
75 ProcStatsFields field_num);
80 ProcStatsFields field_num);
81 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
82 int64_t ReadProcSelfStatsAndGetFieldAsInt64(ProcStatsFields field_num);
86 ProcStatsFields field_num);
Dinternal_aix.h68 ProcStatsFields field_num);
72 ProcStatsFields field_num);
76 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
79 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid, 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/protobuf/src/google/protobuf/
Dmap_field_lite.h119 bool (*is_valid)(int), uint32 field_num, in ParseWithEnumValidation() argument
122 return parser.ParseWithEnumValidation(ptr, ctx, is_valid, field_num, in ParseWithEnumValidation()
138 return map_field->ParseWithEnumValidation(ptr, ctx, is_valid, field_num, in _InternalParse()
143 uint32 field_num; member
153 uint32 field_num, in InitEnumParseWrapper() argument
155 return EnumParseWrapper<T, Metadata>{map_field, is_valid, field_num, in InitEnumParseWrapper()
Dunknown_field_set.cc292 int field_num) { in PackedEnumParser() argument
294 ptr, [object, is_valid, metadata, field_num](uint64 val) { in PackedEnumParser()
298 WriteVarint(field_num, val, metadata->mutable_unknown_fields()); in PackedEnumParser()
307 int field_num) { in PackedEnumParserArg() argument
309 ptr, [object, is_valid, data, metadata, field_num](uint64 val) { in PackedEnumParserArg()
313 WriteVarint(field_num, val, metadata->mutable_unknown_fields()); in PackedEnumParserArg()
Dparse_context.cc426 int field_num) { in PackedEnumParser() argument
428 ptr, [object, is_valid, metadata, field_num](uint64 val) { in PackedEnumParser()
432 WriteVarint(field_num, val, metadata->mutable_unknown_fields()); in PackedEnumParser()
442 int field_num) { in PackedEnumParserArg() argument
444 ptr, [object, is_valid, data, metadata, field_num](uint64 val) { in PackedEnumParserArg()
448 WriteVarint(field_num, val, metadata->mutable_unknown_fields()); in PackedEnumParserArg()
Dunknown_field_set.h200 InternalMetadataWithArena* unknown, int field_num);
207 int field_num);
Dmap_entry_lite.h499 bool (*is_valid)(int), uint32 field_num,
507 WriteLengthDelimited(field_num, entry->SerializeAsString(),
Dparse_context.h723 InternalMetadataWithArenaLite* metadata, int field_num);
727 InternalMetadataWithArenaLite* metadata, int field_num);
Dmap_field.h290 bool (*is_valid)(int), uint32 field_num, in ParseWithEnumValidation() argument
292 return impl_.ParseWithEnumValidation(ptr, ctx, is_valid, field_num, in ParseWithEnumValidation()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc388 size_t field_num = 0; in ParseBinaryEvent() local
391 if (field_num >= fmt->fields.size()) in ParseBinaryEvent()
393 const char* field_name = fmt->fields[field_num].c_str(); in ParseBinaryEvent()
402 field_num++; in ParseBinaryEvent()
412 field_num++; in ParseBinaryEvent()
422 field_num++; in ParseBinaryEvent()
433 field_num++; in ParseBinaryEvent()
438 if (field_num > 0) { in ParseBinaryEvent()
450 static_cast<int>(type), fmt->name.c_str(), buf - start, field_num); in ParseBinaryEvent()
/external/perfetto/src/trace_processor/importers/ftrace/
Dsched_event_tracker.cc209 auto add_raw_arg = [this, &inserter](int field_num, Variadic var) { in AddRawEventAndStartSlice() argument
210 StringId key = sched_switch_field_ids_[static_cast<size_t>(field_num)]; in AddRawEventAndStartSlice()
298 auto add_raw_arg = [this, &inserter](int field_num, Variadic var) { in PushSchedWakingCompact() argument
299 StringId key = sched_waking_field_ids_[static_cast<size_t>(field_num)]; in PushSchedWakingCompact()
/external/protobuf/php/ext/google/protobuf/
Ddef.c187 int field_num = upb_msgdef_numfields(intern->msgdef); in PHP_METHOD() local
188 if (index < 0 || index >= field_num) { in PHP_METHOD()
240 int field_num = upb_msgdef_numoneofs(intern->msgdef); in PHP_METHOD() local
241 if (index < 0 || index >= field_num) { in PHP_METHOD()
294 int field_num = upb_enumdef_numvals(intern->enumdef); in PHP_METHOD() local
295 if (index < 0 || index >= field_num) { in PHP_METHOD()
508 int field_num = upb_oneofdef_numfields(intern->oneofdef); in PHP_METHOD() local
509 if (index < 0 || index >= field_num) { in PHP_METHOD()