/external/bcc/src/cc/frontends/clang/ |
D | tp_frontend_action.cc | 60 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/ |
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 | 223 const DatetimeComponent::ComponentType& field_type, int value) { in SetAbsoluteValue() argument 224 GetOrCreateDatetimeComponent(field_type).value = value; in SetAbsoluteValue() 228 const DatetimeComponent::ComponentType& field_type, in SetRelativeValue() argument 230 GetOrCreateDatetimeComponent(field_type).relative_qualifier = relative_value; in SetRelativeValue() 234 const DatetimeComponent::ComponentType& field_type, int relative_count) { in SetRelativeCount() argument 235 GetOrCreateDatetimeComponent(field_type).relative_count = relative_count; in SetRelativeCount() 247 const DatetimeComponent::ComponentType& field_type) const { in HasFieldType() 248 if (date_time_components_.find(field_type) == date_time_components_.end()) { in HasFieldType() 255 const DatetimeComponent::ComponentType& field_type, in GetFieldValue() argument 257 if (HasFieldType(field_type)) { in GetFieldValue() [all …]
|
D | types.h | 620 void SetAbsoluteValue(const DatetimeComponent::ComponentType& field_type, 626 const DatetimeComponent::ComponentType& field_type, 635 void SetRelativeCount(const DatetimeComponent::ComponentType& field_type, 640 bool GetFieldValue(const DatetimeComponent::ComponentType& field_type, 646 const DatetimeComponent::ComponentType& field_type, 662 bool HasFieldType(const DatetimeComponent::ComponentType& field_type) const; 667 const DatetimeComponent::ComponentType& field_type) const; 672 const DatetimeComponent::ComponentType& field_type) const;
|
/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/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/v8/src/compiler/ |
D | access-info.cc | 99 Type field_type, Handle<Map> field_owner_map, MaybeHandle<Map> field_map, in DataField() argument 105 field_representation, field_type, field_owner_map, in DataField() 115 Type field_type, Handle<Map> field_owner_map, MaybeHandle<Map> field_map, in DataConstant() argument 118 field_representation, field_type, field_owner_map, in DataConstant() 149 Type field_type) { in DataField() argument 151 field_representation, field_type); in DataField() 191 Type field_type, Handle<Map> field_owner_map, MaybeHandle<Map> field_map, in PropertyAccessInfo() argument 201 field_type_(field_type), in PropertyAccessInfo() 210 Representation field_representation, Type field_type) in MinimorphicLoadPropertyAccessInfo() argument 215 field_type_(field_type) {} in MinimorphicLoadPropertyAccessInfo() [all …]
|
D | access-info.h | 82 Type field_type, Handle<Map> field_owner_map, 90 Type field_type, Handle<Map> field_owner_map, MaybeHandle<Map> field_map, 128 Type field_type() const { return field_type_; } in field_type() function 144 Representation field_representation, Type field_type, 170 Type field_type); 177 Type field_type() const { return field_type_; } in field_type() function 183 Type field_type);
|
/external/perfetto/src/tracing/core/ |
D | packet_stream_validator.cc | 85 uint64_t field_type = varint & 7; // 7 = 0..0111 in Push() local 96 if (field_type == static_cast<uint64_t>(ProtoWireType::kVarInt)) { in Push() 98 } else if (field_type == in Push() 101 } else if (field_type == in Push() 104 } 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/v8/src/torque/ |
D | type-visitor.cc | 155 const Type* field_type = TypeVisitor::ComputeType(field.name_and_type.type); in ComputeType() local 156 if (!IsAllowedAsBitField(field_type)) { in ComputeType() 165 if (field_type->IsSubtypeOf(TypeOracle::GetBoolType())) { in ComputeType() 168 auto opt_field_type_size = SizeOf(field_type); in ComputeType() 170 ReportError("Size unknown for type ", field_type->ToString()); in ComputeType() 181 {field.name_and_type.name->value, field_type}, in ComputeType() 203 const Type* field_type = TypeVisitor::ComputeType(field.name_and_type.type); in ComputeType() local 204 if (field_type->IsConstexpr()) { in ComputeType() 206 "\" carries constexpr type \"", *field_type, "\""); in ComputeType() 211 {field.name_and_type.name->value, field_type}, in ComputeType() [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/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/bcc/tools/ |
D | trace.py | 295 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/ |
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/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/perfetto/src/protozero/ |
D | proto_decoder.cc | 75 auto field_type = static_cast<uint8_t>(preamble & kFieldTypeMask); in ParseOneField() local 80 switch (field_type) { in ParseOneField() 128 PERFETTO_DLOG("Invalid proto field type: %u", field_type); in ParseOneField() 150 res.field.initialize(static_cast<uint16_t>(field_id), field_type, int_value, in ParseOneField()
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 168 const auto& field_type = field->type(); in NumericField() local 169 switch (field_type) { in NumericField() 213 const auto& field_type = field->type(); in StringField() local 214 PERFETTO_CHECK(field_type == FieldDescriptorProto::TYPE_STRING || in StringField() 215 field_type == FieldDescriptorProto::TYPE_BYTES); in StringField() 284 const auto& field_type = field->type(); in IdentifierField() local 285 if (field_type == FieldDescriptorProto::TYPE_BOOL) { in IdentifierField() 298 } else if (field_type == FieldDescriptorProto::TYPE_ENUM) { in IdentifierField()
|
/external/autotest/tko/ |
D | job_serializer.py | 383 for field, field_type in objdict.items(): 385 if field_type in (str, int, long): 386 resultdict[field] = field_type(value) 387 elif field_type == datetime:
|
/external/e2fsprogs/ext2ed/ |
D | init.c | 213 int field_type; member 234 char field_type=FIELD_TYPE_INT; in add_new_variable() local 243 field_type = p->field_type; in add_new_variable() 250 field_type = FIELD_TYPE_CHAR; in add_new_variable() 258 ptr->field_types [ptr->fields_num] = field_type; in add_new_variable()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_annotlist.cpp | 136 ByteString field_type = pFieldTypeObj->GetString(); in GenerateAP() local 137 if (field_type == pdfium::form_fields::kTx) { in GenerateAP() 146 if (field_type == pdfium::form_fields::kCh) { in GenerateAP() 154 if (field_type != pdfium::form_fields::kBtn) in GenerateAP()
|
/external/rust/crates/quote/ |
D | README.md | 177 constructor called `new`. We have the type in a variable called `field_type` of 183 let value = #field_type::new(); 187 This works only sometimes. If `field_type` is `String`, the expanded code 188 contains `String::new()` which is fine. But if `field_type` is something like 195 let value = <#field_type>::new(); 205 let value = <#field_type as core::default::Default>::default();
|
/external/tensorflow/tensorflow/core/util/proto/ |
D | proto_utils.cc | 30 bool IsCompatibleType(FieldDescriptor::Type field_type, DataType dtype) { in IsCompatibleType() argument 31 switch (field_type) { in IsCompatibleType()
|