Home
last modified time | relevance | path

Searched refs:field_type (Results 1 – 25 of 113) sorted by relevance

12345

/external/bcc/src/cc/frontends/clang/
Dtp_frontend_action.cc60 string& field_type, in _get_field_kind() argument
96 field_type = field.substr(0, pos); in _get_field_kind()
98 if (field_type.find("__data_loc") != string::npos) in _get_field_kind()
110 if (field_type == "char" || field_type == "int8_t") in _get_field_kind()
111 field_type = "s16"; in _get_field_kind()
112 if (field_type == "unsigned char" || field_type == "uint8_t") in _get_field_kind()
113 field_type = "u16"; in _get_field_kind()
115 if (field_type == "char" || field_type == "short" || in _get_field_kind()
116 field_type == "int8_t" || field_type == "int16_t") in _get_field_kind()
117 field_type = "s32"; in _get_field_kind()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c64 int element_size = native_slot_size(self->field_type); in RepeatedField_subarray()
65 upb_fieldtype_t field_type = self->field_type; in RepeatedField_subarray() local
72 VALUE elem = native_slot_get(field_type, field_type_class, mem); in RepeatedField_subarray()
88 upb_fieldtype_t field_type = self->field_type; in RepeatedField_each() local
90 int element_size = native_slot_size(field_type); in RepeatedField_each()
95 VALUE val = native_slot_get(field_type, field_type_class, memory); in RepeatedField_each()
110 int element_size = native_slot_size(self->field_type); in RepeatedField_index()
111 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index() local
126 return native_slot_get(field_type, field_type_class, memory); in RepeatedField_index()
160 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index_set() local
[all …]
/external/libtextclassifier/native/annotator/
Dtypes.cc238 const DatetimeComponent::ComponentType& field_type, int value) { in SetAbsoluteValue() argument
239 GetOrCreateDatetimeComponent(field_type).value = value; in SetAbsoluteValue()
243 const DatetimeComponent::ComponentType& field_type, in SetRelativeValue() argument
245 GetOrCreateDatetimeComponent(field_type).relative_qualifier = relative_value; in SetRelativeValue()
249 const DatetimeComponent::ComponentType& field_type, int relative_count) { in SetRelativeCount() argument
250 GetOrCreateDatetimeComponent(field_type).relative_count = relative_count; in SetRelativeCount()
262 const DatetimeComponent::ComponentType& field_type) const { in HasFieldType()
263 if (date_time_components_.find(field_type) == date_time_components_.end()) { in HasFieldType()
270 const DatetimeComponent::ComponentType& field_type, in GetFieldValue() argument
272 if (HasFieldType(field_type)) { in GetFieldValue()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_print.c75 if(fip->field_type == TIFF_BYTE) in _TIFFPrintField()
77 else if(fip->field_type == TIFF_UNDEFINED) in _TIFFPrintField()
80 else if(fip->field_type == TIFF_SBYTE) in _TIFFPrintField()
82 else if(fip->field_type == TIFF_SHORT) in _TIFFPrintField()
84 else if(fip->field_type == TIFF_SSHORT) in _TIFFPrintField()
86 else if(fip->field_type == TIFF_LONG) in _TIFFPrintField()
89 else if(fip->field_type == TIFF_SLONG) in _TIFFPrintField()
91 else if(fip->field_type == TIFF_IFD) in _TIFFPrintField()
94 else if(fip->field_type == TIFF_RATIONAL in _TIFFPrintField()
95 || fip->field_type == TIFF_SRATIONAL in _TIFFPrintField()
[all …]
Dtif_dirinfo.c350 return (ta->field_type == TIFF_ANY) ? in tagCompare()
351 0 : ((int)tb->field_type - (int)ta->field_type); in tagCompare()
364 return (ta->field_type == TIFF_ANY) ? in tagNameCompare()
365 0 : ((int)tb->field_type - (int)ta->field_type); in tagNameCompare()
425 , fip->field_type in _TIFFPrintFieldInfo()
512 (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type)) in TIFFFindField()
522 key.field_type = dt; in TIFFFindField()
538 && (dt == TIFF_ANY || dt == tif->tif_foundfield->field_type)) in _TIFFFindFieldByName()
548 key.field_type = dt; in _TIFFFindFieldByName()
596 return fip->field_type; in TIFFFieldDataType()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/benchmarks/
Dgen_synthetic_protos.py76 field_type, label = field variable
77 …f.write(' {label} {field_type} field{i} = {i};\n'.format(i=i, label=label, field_type=field_type))
89 field_type, label = field variable
90 … f.write(' {label} {field_type} field{i} = {i};\n'.format(i=i, label=label,field_type=field_type))
/external/flatbuffers/src/
Didl_gen_python.cpp430 const auto &field_type = field.value.type; in StructBuilderArgs() local
432 IsArray(field_type) ? field_type.VectorType() : field_type; in StructBuilderArgs()
471 const auto &field_type = field.value.type; in StructBuilderBody() local
473 IsArray(field_type) ? field_type.VectorType() : field_type; in StructBuilderBody()
477 if (IsStruct(field_type)) { in StructBuilderBody()
478 StructBuilderBody(*field_type.struct_def, in StructBuilderBody()
483 if (IsArray(field_type)) { in StructBuilderBody()
485 code += NumToString(field_type.fixed_length); in StructBuilderBody()
491 *field_type.struct_def, in StructBuilderBody()
495 code += IsArray(field_type) ? " " : ""; in StructBuilderBody()
[all …]
Didl_gen_csharp.cpp381 const auto &field_type = field.value.type; in GenStructArgs() local
382 const auto array_field = IsArray(field_type); in GenStructArgs()
383 const auto &type = array_field ? field_type.VectorType() : field_type; in GenStructArgs()
389 GenStructArgs(*field_type.struct_def, code_ptr, in GenStructArgs()
420 const auto &field_type = field.value.type; in GenStructBody() local
425 if (IsStruct(field_type)) { in GenStructBody()
426 GenStructBody(*field_type.struct_def, code_ptr, in GenStructBody()
431 IsArray(field_type) ? field_type.VectorType() : field_type; in GenStructBody()
433 if (IsArray(field_type)) { in GenStructBody()
435 code += NumToString(field_type.fixed_length); in GenStructBody()
[all …]
Didl_gen_java.cpp427 const auto &field_type = field.value.type; in GenStructArgs() local
428 const auto array_field = IsArray(field_type); in GenStructArgs()
429 const auto &type = array_field ? field_type.VectorType() in GenStructArgs()
430 : DestinationType(field_type, false); in GenStructArgs()
436 GenStructArgs(*field_type.struct_def, code_ptr, in GenStructArgs()
463 const auto &field_type = field.value.type; in GenStructBody() local
468 if (IsStruct(field_type)) { in GenStructBody()
469 GenStructBody(*field_type.struct_def, code_ptr, in GenStructBody()
474 IsArray(field_type) ? field_type.VectorType() : field_type; in GenStructBody()
476 if (IsArray(field_type)) { in GenStructBody()
[all …]
/external/protobuf/src/google/protobuf/
Dextension_set.h310 void* MutableRawRepeatedField(int number, FieldType field_type, bool packed,
948 static inline void Set(int number, FieldType field_type, ConstType value,
968 static inline void Add(int number, FieldType field_type, bool is_packed,
974 FieldType field_type,
1007 inline void PrimitiveTypeTraits<TYPE>::Set(int number, FieldType field_type, \
1009 set->Set##METHOD(number, field_type, value, NULL); \
1024 int number, FieldType field_type, bool is_packed, TYPE value, \
1026 set->Add##METHOD(number, field_type, is_packed, value, NULL); \
1044 int number, FieldType field_type, bool is_packed, ExtensionSet* set) { \
1046 set->MutableRawRepeatedField(number, field_type, is_packed, NULL)); \
[all …]
/external/perfetto/src/protozero/filtering/
Dmessage_tokenizer.h106 auto field_type = static_cast<uint32_t>(varint & 7u); // 7 = 0..0111 in Push() local
111 if (field_type == static_cast<uint32_t>(ProtoWireType::kVarInt)) { in Push()
113 } else if (field_type == in Push()
115 field_type == in Push()
121 field_type == static_cast<uint32_t>(ProtoWireType::kFixed32) ? 32 in Push()
123 } else if (field_type == in Push()
/external/perfetto/src/tracing/core/
Dpacket_stream_validator.cc88 uint64_t field_type = varint & 7; // 7 = 0..0111 in Push() local
99 if (field_type == static_cast<uint64_t>(ProtoWireType::kVarInt)) { in Push()
101 } else if (field_type == in Push()
104 } else if (field_type == in Push()
107 } else if (field_type == in Push()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c322 const struct glsl_type *field_type; in iterate_type_count_variables() local
325 field_type = glsl_get_struct_field(type, i); in iterate_type_count_variables()
327 field_type = glsl_get_array_element(type); in iterate_type_count_variables()
329 if (glsl_type_is_leaf(field_type)) in iterate_type_count_variables()
332 iterate_type_count_variables(field_type, num_variables); in iterate_type_count_variables()
380 const struct glsl_type *field_type; in iterate_type_fill_variables() local
383 field_type = glsl_get_struct_field(type, i); in iterate_type_fill_variables()
391 field_type = glsl_get_array_element(type); in iterate_type_fill_variables()
394 if (glsl_type_is_leaf(field_type)) { in iterate_type_fill_variables()
395 fill_individual_variable(field_type, variables, variable_index, in iterate_type_fill_variables()
[all …]
/external/python/apitools/apitools/gen/
Dextended_descriptor.py321 field_type = messages.Field.lookup_field_type_by_variant(
326 if field_type in (messages.EnumField, messages.MessageField):
332 if field_type in [messages.BytesField, messages.StringField]:
334 elif field_type is messages.BooleanField:
507 field_type = message_field
510 field_type = extra_types.DateField
512 field_type = messages.Field.lookup_field_type_by_variant(
515 if field_type in (messages.EnumField, messages.MessageField):
523 if field_type.DEFAULT_VARIANT != field.variant:
528 if field_type in [messages.BytesField, messages.StringField]:
[all …]
/external/protobuf/php/src/Google/Protobuf/Internal/
DFieldDescriptor.php209 private static function isTypePackable($field_type) argument
211 return ($field_type !== GPBType::STRING &&
212 $field_type !== GPBType::GROUP &&
213 $field_type !== GPBType::MESSAGE &&
214 $field_type !== GPBType::BYTES);
/external/rust/crates/protobuf-codegen/src/
Dcode_writer.rs103 pub fn pub_const(&mut self, name: &str, field_type: &str, init: &str) { in pub_const()
104 self.write_line(&format!("pub const {}: {} = {};", name, field_type, init)); in pub_const()
237 pub fn field_decl(&mut self, name: &str, field_type: &str) { in field_decl()
238 self.write_line(&format!("{}: {},", name, field_type)); in field_decl()
241 pub fn pub_field_decl(&mut self, name: &str, field_type: &str) { in pub_field_decl()
242 self.write_line(&format!("pub {}: {},", name, field_type)); in pub_field_decl()
245 pub fn field_decl_vis(&mut self, vis: Visibility, name: &str, field_type: &str) { in field_decl_vis()
247 Visibility::Public => self.pub_field_decl(name, field_type), in field_decl_vis()
248 Visibility::Default => self.field_decl(name, field_type), in field_decl_vis()
Dextensions.rs65 let field_type = format!( in write() localVariable
74 field_type, in write()
80 field_type, in write()
/external/llvm-project/clang/docs/tools/
Ddump_format_style.py155 field_type, field_name = re.match(r'([<>:\w(,\s)]+)\s+(\w+);',
157 option = Option(str(field_name), str(field_type), comment)
173 field_type, field_name = re.match(r'([<>:\w(,\s)]+)\s+(\w+);',line).groups()
174 if field_type in enums:
175 … nested_struct.values.append(NestedEnum(field_name,field_type,comment,enums[field_type].values))
177 nested_struct.values.append(NestedField(field_type + " " + field_name, comment))
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py105 for _, field_name, field_type in fields:
107 if field_type == FIELD_TYPE_TOTAL_LEN:
111 elif field_type == FIELD_TYPE_TRANSACTION_ID:
294 for _, field_name, field_type in fields:
295 if field_type == find_type:
398 def _get_fields_of_type(self, field_type, get_all=False): argument
407 field_names = self.__class__._find_field_names_of_type(field_type,
/external/bcc/tools/
Dtrace.py295 field_type = self.types[idx]
296 if field_type == "s":
299 ptype = Probe.p_type[field_type]
335 field_type = self.types[idx]
336 if field_type == "s":
338 if field_type in Probe.fmt_types:
339 return "%s v%d;\n" % (Probe.c_type[field_type], idx)
340 self._bail("unrecognized format specifier %s" % field_type)
352 for i, field_type in enumerate(self.types):
383 field_type = self.types[idx]
[all …]
/external/grpc-grpc/tools/gcp/utils/
Dbig_query_utils.py66 'type': field_type,
68 } for (field_name, field_type, field_description) in table_schema]
86 'type': field_type,
88 } for (field_name, field_type, field_description) in table_schema]
/external/rust/crates/grpcio-sys/grpc/tools/gcp/utils/
Dbig_query_utils.py70 'type': field_type,
72 } for (field_name, field_type, field_description) in table_schema]
90 'type': field_type,
92 } for (field_name, field_type, field_description) in table_schema]
/external/protobuf/benchmarks/util/
Dbig_query_utils.py54 'type': field_type,
56 } for (field_name, field_type, field_description) in table_schema]
74 'type': field_type,
76 } for (field_name, field_type, field_description) in table_schema]
/external/llvm-project/lldb/include/lldb/Target/
DProcessStructReader.h55 CompilerType field_type = struct_type.GetFieldAtIndex( in ProcessStructReader() local
60 auto size = field_type.GetByteSize(nullptr); in ProcessStructReader()
67 FieldImpl{field_type, byte_index, static_cast<size_t>(*size)}; in ProcessStructReader()
/external/perfetto/src/protozero/
Dproto_decoder.cc76 auto field_type = static_cast<uint8_t>(preamble & kFieldTypeMask); in ParseOneField() local
81 switch (field_type) { in ParseOneField()
129 PERFETTO_DLOG("Invalid proto field type: %u", field_type); in ParseOneField()
151 res.field.initialize(static_cast<uint16_t>(field_id), field_type, int_value, in ParseOneField()

12345