Home
last modified time | relevance | path

Searched refs:field_id (Results 1 – 21 of 21) sorted by relevance

/external/perfetto/include/perfetto/protozero/
Dmessage.h96 void AppendVarInt(uint32_t field_id, T value) { in AppendVarInt() argument
103 pos = proto_utils::WriteVarInt(proto_utils::MakeTagVarInt(field_id), pos); in AppendVarInt()
111 void AppendSignedVarInt(uint32_t field_id, T value) { in AppendSignedVarInt() argument
112 AppendVarInt(field_id, proto_utils::ZigZagEncode(value)); in AppendSignedVarInt()
117 void AppendTinyVarInt(uint32_t field_id, int32_t value) { in AppendTinyVarInt() argument
125 pos = proto_utils::WriteVarInt(proto_utils::MakeTagVarInt(field_id), pos); in AppendTinyVarInt()
132 void AppendFixed(uint32_t field_id, T value) { in AppendFixed() argument
139 pos = proto_utils::WriteVarInt(proto_utils::MakeTagFixed<T>(field_id), pos); in AppendFixed()
146 void AppendString(uint32_t field_id, const char* str);
147 void AppendBytes(uint32_t field_id, const void* value, size_t size);
[all …]
Dproto_utils.h122 constexpr uint32_t MakeTagVarInt(uint32_t field_id) { in MakeTagVarInt() argument
123 return (field_id << 3) | static_cast<uint32_t>(ProtoWireType::kVarInt); in MakeTagVarInt()
128 constexpr uint32_t MakeTagFixed(uint32_t field_id) { in MakeTagFixed() argument
130 return (field_id << 3) | in MakeTagFixed()
136 constexpr uint32_t MakeTagLengthDelimited(uint32_t field_id) { in MakeTagLengthDelimited() argument
137 return (field_id << 3) | in MakeTagLengthDelimited()
192 template <uint32_t field_id>
194 static_assert(field_id < 16, in StaticAssertSingleBytePreamble()
Dproto_decoder.h56 Field FindField(uint32_t field_id);
101 RepeatedFieldIterator(uint32_t field_id, in RepeatedFieldIterator() argument
105 : field_id_(field_id), iter_(begin), end_(end), last_(last) { in RepeatedFieldIterator()
168 inline RepeatedFieldIterator GetRepeated(uint32_t field_id) const { in GetRepeated() argument
169 return RepeatedFieldIterator(field_id, &fields_[num_fields_], in GetRepeated()
170 &fields_[size_], &fields_[field_id]); in GetRepeated()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.h88 uint32_t field_id, in ReadIntoVarInt() argument
92 out->AppendVarInt<T>(field_id, t); in ReadIntoVarInt()
98 uint32_t field_id, in ReadInode() argument
101 T t = ReadIntoVarInt<T>(start, field_id, out); in ReadInode()
107 uint32_t field_id, in ReadDevId() argument
113 out->AppendVarInt<BlockDeviceID>(field_id, dev_id); in ReadDevId()
118 uint32_t field_id, in ReadPid() argument
121 int32_t pid = ReadIntoVarInt<int32_t>(start, field_id, out); in ReadPid()
126 uint32_t field_id, in ReadCommonPid() argument
129 int32_t pid = ReadIntoVarInt<int32_t>(start, field_id, out); in ReadCommonPid()
Dcpu_reader.cc73 uint32_t field_id, in ReadIntoString() argument
78 out->AppendBytes(field_id, reinterpret_cast<const char*>(start), in ReadIntoString()
612 uint32_t field_id = field.proto_field_id; in ParseField() local
617 ReadIntoVarInt<uint8_t>(field_start, field_id, message); in ParseField()
621 ReadIntoVarInt<uint16_t>(field_start, field_id, message); in ParseField()
625 ReadIntoVarInt<uint32_t>(field_start, field_id, message); in ParseField()
628 ReadIntoVarInt<uint64_t>(field_start, field_id, message); in ParseField()
632 ReadIntoVarInt<int8_t>(field_start, field_id, message); in ParseField()
636 ReadIntoVarInt<int16_t>(field_start, field_id, message); in ParseField()
640 ReadIntoVarInt<int32_t>(field_start, field_id, message); in ParseField()
[all …]
/external/perfetto/src/protozero/
Dproto_decoder.cc65 uint32_t field_id = static_cast<uint32_t>(preamble >> kFieldTypeNumBits); in ParseOneField() local
66 if (field_id == 0 || pos >= end) in ParseOneField()
130 if (PERFETTO_UNLIKELY(field_id > std::numeric_limits<uint16_t>::max())) { in ParseOneField()
135 res.field.initialize(static_cast<uint16_t>(field_id), field_type, int_value, in ParseOneField()
143 Field ProtoDecoder::FindField(uint32_t field_id) { in FindField() argument
148 if (f.id() == field_id) { in FindField()
174 auto field_id = res.field.id(); in ParseAllFields() local
175 if (PERFETTO_UNLIKELY(field_id >= num_fields_)) in ParseAllFields()
178 Field* fld = &fields_[field_id]; in ParseAllFields()
195 fld = &fields_[field_id]; in ParseAllFields()
Dmessage.cc68 void Message::AppendString(uint32_t field_id, const char* str) { in AppendString() argument
69 AppendBytes(field_id, str, strlen(str)); in AppendString()
72 void Message::AppendBytes(uint32_t field_id, const void* src, size_t size) { in AppendBytes() argument
80 pos = proto_utils::WriteVarInt(proto_utils::MakeTagLengthDelimited(field_id), in AppendBytes()
89 size_t Message::AppendScatteredBytes(uint32_t field_id, in AppendScatteredBytes() argument
101 pos = proto_utils::WriteVarInt(proto_utils::MakeTagLengthDelimited(field_id), in AppendScatteredBytes()
141 void Message::BeginNestedMessageInternal(uint32_t field_id, Message* message) { in BeginNestedMessageInternal() argument
148 proto_utils::MakeTagLengthDelimited(field_id), data); in BeginNestedMessageInternal()
/external/v8/src/builtins/
Dbuiltins-intl.h15 int32_t field_id; member
20 NumberFormatSpan(int32_t field_id, int32_t begin_pos, int32_t end_pos) in NumberFormatSpan()
21 : field_id(field_id), begin_pos(begin_pos), end_pos(end_pos) {} in NumberFormatSpan()
Dbuiltins-intl.cc136 Handle<String> IcuNumberFieldIdToNumberType(int32_t field_id, double number, in IcuNumberFieldIdToNumberType() argument
138 switch (static_cast<UNumberFormatFields>(field_id)) { in IcuNumberFieldIdToNumberType()
181 Handle<String> IcuDateFieldIdToDateType(int32_t field_id, Isolate* isolate) { in IcuDateFieldIdToDateType() argument
182 switch (field_id) { in IcuDateFieldIdToDateType()
240 return a.field_id < b.field_id; in cmp_NumberFormatSpan()
280 part.field_id == -1 in FormatNumberToParts()
282 : IcuNumberFieldIdToNumberType(part.field_id, number, isolate); in FormatNumberToParts()
417 out_parts.push_back(NumberFormatSpan(top_region.field_id, climber, in FlattenRegionsToParts()
428 out_parts.push_back(NumberFormatSpan(top_region.field_id, climber, in FlattenRegionsToParts()
/external/webrtc/webrtc/video/
Dfull_stack_plot.py120 for field_id in field_ids:
121 self.samples[field_id] = [0.0] * self.length
142 for field_id in [SENDER_TIME, RECEIVER_TIME, END_TO_END, RENDERED_DELTA]:
143 s[field_id] = [0] * self.length
173 field_id = field & FIELD_MASK
174 values = self.samples[field_id]
180 self.title + " " + id_to_title[field_id],
365 field_id = field_arg_to_id(values[0])
366 fields.append(field_id | mask if field_id is not None else None)
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb.cc211 uint32_t field_id = static_cast<uint32_t>(field->number()); in StringField() local
271 msg()->AppendBytes(field_id, s.get(), j); in StringField()
282 uint32_t field_id = static_cast<uint32_t>(field->number()); in IdentifierField() local
296 msg()->AppendTinyVarInt(field_id, value.txt == "true" ? 1 : 0); in IdentifierField()
312 msg()->AppendVarInt<int32_t>(field_id, enum_value_number); in IdentifierField()
325 uint32_t field_id = static_cast<uint32_t>(field->number()); in BeginNestedMessage() local
329 auto* nested_msg = msg()->BeginNestedMessage<protozero::Message>(field_id); in BeginNestedMessage()
357 uint32_t field_id = static_cast<uint32_t>(field->number()); in VarIntField() local
362 msg()->AppendSignedVarInt<T>(field_id, static_cast<T>(n)); in VarIntField()
364 msg()->AppendVarInt<T>(field_id, static_cast<T>(n)); in VarIntField()
[all …]
/external/autotest/client/site_tests/policy_PlatformKeys/
Dpolicy_PlatformKeys.py39 def call_api(self, button_id, field_id=None): argument
60 if field_id:
61 field = self.field_value(field_id)
/external/flatbuffers/rust/flatbuffers/src/
Dvtable.rs77 pub fn field_index_to_field_offset(field_id: VOffsetT) -> VOffsetT { in field_index_to_field_offset()
80 ((field_id + fixed_fields) * (SIZE_VOFFSET as VOffsetT)) as VOffsetT in field_index_to_field_offset()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c267 CBS params, field_id, field_type, curve, base; in parse_explicit_prime_curve() local
272 !CBS_get_asn1(&params, &field_id, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve()
273 !CBS_get_asn1(&field_id, &field_type, CBS_ASN1_OBJECT) || in parse_explicit_prime_curve()
276 !CBS_get_asn1(&field_id, out_prime, CBS_ASN1_INTEGER) || in parse_explicit_prime_curve()
278 CBS_len(&field_id) != 0 || in parse_explicit_prime_curve()
/external/tensorflow/tensorflow/contrib/ignite/python/ops/
Dignite_dataset_ops.py195 def __init__(self, field_name, type_id, field_id): argument
199 self.field_id = field_id
661 field_id = self.read_int()
663 field = BinaryField(field_name, field_type_id, field_id)
/external/grpc-grpc/src/cpp/ext/filters/census/
Drpc_encoding.h131 uint32_t field_id = buf[0]; in ParseField() local
133 switch (field_id) { in ParseField()
/external/iproute2/devlink/
Ddevlink.c2792 uint32_t field_id, bool global) in dpipe_field_id2s() argument
2804 return header->fields[field_id].name; in dpipe_field_id2s()
2824 uint32_t field_id, bool global) in dpipe_mapping_get() argument
2837 mapping_type = header->fields[field_id].mapping_type; in dpipe_mapping_get()
3083 uint32_t field_id; member
3105 op_info->field_id, in pr_out_dpipe_action()
3108 op_info->field_id, in pr_out_dpipe_action()
3132 action->info.field_id = mnl_attr_get_u32(nla_action[DEVLINK_ATTR_DPIPE_FIELD_ID]); in dpipe_action_parse()
3187 op_info->field_id, in pr_out_dpipe_match()
3190 op_info->field_id, in pr_out_dpipe_match()
[all …]
/external/flatbuffers/tests/
DJavaScriptTest.js275 function fieldIndexToOffset(field_id) { argument
278 return (field_id + fixed_fields) * 2;
DphpTest.php327 function fieldIndexToOffset($field_id) { argument
330 return ($field_id + $fixed_fields) * 2;
/external/perfetto/src/trace_processor/
Dproto_trace_parser.cc482 for (size_t field_id = 2; field_id < counter_values.size(); field_id++) { in ParseProcessStats() local
483 if (!has_counter[field_id]) in ParseProcessStats()
488 StringId name = proc_stats_process_names_[field_id]; in ParseProcessStats()
489 int64_t value = counter_values[field_id]; in ParseProcessStats()
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h885 inline voffset_t FieldIndexToOffset(voffset_t field_id) {
888 return static_cast<voffset_t>((field_id + fixed_fields) * sizeof(voffset_t));