/external/bcc/src/cc/ |
D | common.cc | 75 std::string& field_type, in _get_field_kind() argument 123 field_type = field.substr(0, pos); in _get_field_kind() 125 if (field_type.find("__data_loc") != std::string::npos) in _get_field_kind() 137 if (field_type == "char" || field_type == "int8_t") in _get_field_kind() 138 field_type = "s16"; in _get_field_kind() 139 if (field_type == "unsigned char" || field_type == "uint8_t") in _get_field_kind() 140 field_type = "u16"; in _get_field_kind() 142 if (field_type == "char" || field_type == "short" || in _get_field_kind() 143 field_type == "int8_t" || field_type == "int16_t") in _get_field_kind() 144 field_type = "s32"; in _get_field_kind() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | repeated_field.c | 64 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/ |
D | types.cc | 238 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/ |
D | tif_print.c | 75 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 …]
|
D | tif_dirinfo.c | 350 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/ |
D | gen_synthetic_protos.py | 76 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/ |
D | idl_gen_python.cpp | 430 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 …]
|
D | idl_gen_csharp.cpp | 381 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 …]
|
D | idl_gen_java.cpp | 427 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/ |
D | extension_set.h | 310 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/bcc/src/python/bcc/ |
D | disassembler.py | 381 for field_name, field_type in t._fields_: 382 is_structured = (issubclass(field_type, ct.Structure) or 383 issubclass(field_type, ct.Union)) 384 field_type_name = cls.get_ct_name(field_type) 386 field_size = ct.sizeof(field_type) 391 map_lines += cls.print_ct_map(field_type, 404 field_name, field_type, field_bits = field 405 field_type_name = cls.get_ct_name(field_type) 414 field_name, field_type = field 415 field_type_name = cls.get_ct_name(field_type) [all …]
|
/external/perfetto/src/protozero/filtering/ |
D | message_tokenizer.h | 106 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/python/bumble/bumble/ |
D | hci.py | 807 for (field_name, field_type) in fields: 809 if type(field_type) is dict: 810 if 'size' in field_type: 811 field_type = field_type['size'] 812 elif 'parser' in field_type: 813 field_type = field_type['parser'] 816 if field_type == '*': 820 elif field_type == 1: 824 elif field_type == -1: 828 elif field_type == 2: [all …]
|
/external/perfetto/src/tracing/core/ |
D | packet_stream_validator.cc | 90 uint64_t field_type = varint & 7; // 7 = 0..0111 in Push() local 101 if (field_type == static_cast<uint64_t>(ProtoWireType::kVarInt)) { in Push() 103 } else if (field_type == in Push() 106 } else if (field_type == in Push() 109 } else if (field_type == in Push()
|
/external/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_blocks.c | 322 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/ |
D | extended_descriptor.py | 321 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/ |
D | FieldDescriptor.php | 209 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/ |
D | code_writer.rs | 104 pub fn pub_const(&mut self, name: &str, field_type: &str, init: &str) { in pub_const() 105 self.write_line(&format!("pub const {}: {} = {};", name, field_type, init)); in pub_const() 238 pub fn field_decl(&mut self, name: &str, field_type: &str) { in field_decl() 239 self.write_line(&format!("{}: {},", name, field_type)); in field_decl() 242 pub fn pub_field_decl(&mut self, name: &str, field_type: &str) { in pub_field_decl() 243 self.write_line(&format!("pub {}: {},", name, field_type)); in pub_field_decl() 246 pub fn field_decl_vis(&mut self, vis: Visibility, name: &str, field_type: &str) { in field_decl_vis() 248 Visibility::Public => self.pub_field_decl(name, field_type), in field_decl_vis() 249 Visibility::Default => self.field_decl(name, field_type), in field_decl_vis()
|
D | extensions.rs | 66 let field_type = format!( in write() localVariable 75 field_type, in write() 81 field_type, in write()
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message.py | 105 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/perfetto/tools/proto_merger/ |
D | proto_file.cc | 111 std::string field_type; in FieldTypeFromDescriptor() local 112 field_type += "map<"; in FieldTypeFromDescriptor() 113 field_type += FieldTypeFromDescriptor(parent, *desc.message_type()->field(0), in FieldTypeFromDescriptor() 115 field_type += ","; in FieldTypeFromDescriptor() 116 field_type += FieldTypeFromDescriptor(parent, *desc.message_type()->field(1), in FieldTypeFromDescriptor() 118 field_type += ">"; in FieldTypeFromDescriptor() 119 return field_type; in FieldTypeFromDescriptor()
|
/external/grpc-grpc/tools/gcp/utils/ |
D | big_query_utils.py | 66 '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/ |
D | big_query_utils.py | 70 '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/ |
D | big_query_utils.py | 54 '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/bcc/tools/ |
D | trace.py | 333 field_type = self.types[idx] 334 if field_type == "s": 337 ptype = Probe.p_type[field_type] 373 field_type = self.types[idx] 374 if field_type == "s": 376 if field_type in Probe.fmt_types: 377 return "%s v%d;\n" % (Probe.c_type[field_type], idx) 378 self._bail("unrecognized format specifier %s" % field_type) 392 for i, field_type in enumerate(self.types): 424 field_type = self.types[idx] [all …]
|