/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/cronet/third_party/protobuf/conformance/ |
D | text_format_conformance_suite.cc | 262 for (const auto& field_type : std::vector<std::string>{"String", "Bytes"}) { in RunSuiteImpl() local 264 field_type == "String" ? "optional_string" : "optional_bytes"; in RunSuiteImpl() 266 StrCat("StringLiteralConcat", field_type), REQUIRED, in RunSuiteImpl() 269 StrCat("StringLiteralBasicEscapes", field_type), REQUIRED, in RunSuiteImpl() 272 StrCat("StringLiteralOctalEscapes", field_type), REQUIRED, in RunSuiteImpl() 274 RunValidTextFormatTest(StrCat("StringLiteralHexEscapes", field_type), in RunSuiteImpl() 278 StrCat("StringLiteralShortUnicodeEscape", field_type), in RunSuiteImpl() 281 StrCat("StringLiteralLongUnicodeEscapes", field_type), in RunSuiteImpl() 284 ExpectParseFailure(StrCat("StringLiteralIncludesLF", field_type), in RunSuiteImpl() 290 StrCat("StringLiteralLongUnicodeEscapeTooLarge", field_type), in RunSuiteImpl() [all …]
|
/external/protobuf/conformance/ |
D | text_format_conformance_suite.cc | 262 for (const auto& field_type : std::vector<std::string>{"String", "Bytes"}) { in RunSuiteImpl() local 264 field_type == "String" ? "optional_string" : "optional_bytes"; in RunSuiteImpl() 266 StrCat("StringLiteralConcat", field_type), REQUIRED, in RunSuiteImpl() 269 StrCat("StringLiteralBasicEscapes", field_type), REQUIRED, in RunSuiteImpl() 272 StrCat("StringLiteralOctalEscapes", field_type), REQUIRED, in RunSuiteImpl() 274 RunValidTextFormatTest(StrCat("StringLiteralHexEscapes", field_type), in RunSuiteImpl() 278 StrCat("StringLiteralShortUnicodeEscape", field_type), in RunSuiteImpl() 281 StrCat("StringLiteralLongUnicodeEscapes", field_type), in RunSuiteImpl() 284 ExpectParseFailure(StrCat("StringLiteralIncludesLF", field_type), in RunSuiteImpl() 290 StrCat("StringLiteralLongUnicodeEscapeTooLarge", field_type), in RunSuiteImpl() [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/rust/crates/protobuf/src/ |
D | ext.rs | 24 field_type: Type, field 38 field_type: Type, field 45 pub const fn new(field_number: u32, field_type: Type) -> Self { in new() 48 field_type, in new() 61 .and_then(|u| V::RuntimeType::get_from_unknown(u, self.field_type)) in get() 67 pub const fn new(field_number: u32, field_type: Type) -> Self { in new() 70 field_type, in new()
|
/external/rust/crates/protobuf/src/reflect/ |
D | runtime_types.rs | 108 fn get_from_unknown(unknown: UnknownValueRef, field_type: Type) -> Option<Self::Value>; in get_from_unknown() 211 fn get_from_unknown(unknown: UnknownValueRef, field_type: Type) -> Option<Self::Value> { in get_from_unknown() 212 assert_eq!(field_type, Type::TYPE_FLOAT); in get_from_unknown() 258 fn get_from_unknown(unknown: UnknownValueRef, field_type: Type) -> Option<Self::Value> { in get_from_unknown() 259 assert_eq!(field_type, Type::TYPE_DOUBLE); in get_from_unknown() 305 fn get_from_unknown(unknown: UnknownValueRef, field_type: Type) -> Option<Self::Value> { in get_from_unknown() 306 match field_type { in get_from_unknown() 310 _ => panic!("wrong type: {:?}", field_type), in get_from_unknown() 364 fn get_from_unknown(unknown: UnknownValueRef, field_type: Type) -> Option<Self::Value> { in get_from_unknown() 365 match field_type { in get_from_unknown() [all …]
|
/external/cronet/third_party/abseil-cpp/absl/container/internal/ |
D | btree.h | 493 using field_type = typename Params::node_count_type; 587 absl::container_internal::Layout<btree_node *, uint32_t, field_type, 630 constexpr static field_type kInternalNodeMaxCount = 0; 672 field_type &mutable_finish() { return GetField<2>()[2]; } 677 void set_position(field_type v) { GetField<2>()[0] = v; } 678 void set_start(field_type v) { GetField<2>()[1] = v; } 679 void set_finish(field_type v) { GetField<2>()[2] = v; } 681 void set_max_count(field_type v) { GetField<2>()[3] = v; } 692 field_type position() const { return GetField<2>()[0]; } 695 field_type start() const { [all …]
|
/external/angle/third_party/abseil-cpp/absl/container/internal/ |
D | btree.h | 493 using field_type = typename Params::node_count_type; 587 absl::container_internal::Layout<btree_node *, uint32_t, field_type, 630 constexpr static field_type kInternalNodeMaxCount = 0; 671 field_type &mutable_finish() { return GetField<2>()[2]; } 676 void set_position(field_type v) { GetField<2>()[0] = v; } 677 void set_start(field_type v) { GetField<2>()[1] = v; } 678 void set_finish(field_type v) { GetField<2>()[2] = v; } 680 void set_max_count(field_type v) { GetField<2>()[3] = v; } 691 field_type position() const { return GetField<2>()[0]; } 694 field_type start() const { [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | btree.h | 493 using field_type = typename Params::node_count_type; 587 absl::container_internal::Layout<btree_node *, uint32_t, field_type, 630 constexpr static field_type kInternalNodeMaxCount = 0; 672 field_type &mutable_finish() { return GetField<2>()[2]; } 677 void set_position(field_type v) { GetField<2>()[0] = v; } 678 void set_start(field_type v) { GetField<2>()[1] = v; } 679 void set_finish(field_type v) { GetField<2>()[2] = v; } 681 void set_max_count(field_type v) { GetField<2>()[3] = v; } 692 field_type position() const { return GetField<2>()[0]; } 695 field_type start() const { [all …]
|
/external/rust/crates/der_derive/src/sequence/ |
D | field.rs | 18 pub(super) field_type: Type, field 50 field_type: field.ty.clone(), in new() 71 lowerer.apply_default(default, &self.field_type); in to_decode_tokens() 147 fn apply_default(&mut self, default: &Path, field_type: &Type) { in apply_default() 149 Option::<#field_type>::decode(reader)?.unwrap_or_else(#default); in apply_default() 279 let field_type = Ident::new("String", span); in simple() localVariable 284 field_type: type_path(field_type), in simple() 319 let field_type = Ident::new("String", span); in implicit() localVariable 324 field_type: type_path(field_type), in implicit()
|
/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/webrtc/logging/rtc_event_log/events/ |
D | rtc_event_field_encoding_parser.cc | 101 uint64_t EventParser::ReadSingleValue(FieldType field_type) { in ReadSingleValue() argument 102 switch (field_type) { in ReadSingleValue() 181 FieldType field_type) { in ParseNumericFieldInternal() argument 187 uint64_t base = ReadSingleValue(field_type); in ParseNumericFieldInternal() 229 uint64_t base = ReadSingleValue(field_type); in ParseNumericFieldInternal() 294 FieldType field_type = params.field_type; in ParseField() local 316 field_type = conversion.value(); in ParseField() 327 if (field_type == FieldType::kString) { in ParseField() 333 auto status = ParseNumericFieldInternal(params.value_width, field_type); in ParseField() 354 RTC_DCHECK_EQ(params.field_type, FieldType::kString); in ParseStringField() [all …]
|
D | rtc_event_field_encoding.cc | 68 std::string EncodeSingleValue(uint64_t value, FieldType field_type) { in EncodeSingleValue() argument 69 switch (field_type) { in EncodeSingleValue() 195 field_tag += static_cast<uint64_t>(params.field_type); in EncodeField() 201 encoded_fields_.push_back(EncodeSingleValue(values[0], params.field_type)); in EncodeField() 223 encoded_fields_.push_back(EncodeSingleValue(base, params.field_type)); in EncodeField() 247 RTC_DCHECK_EQ(params.field_type, FieldType::kString); in EncodeField() 249 field_tag += static_cast<uint64_t>(params.field_type); in EncodeField()
|
/external/pdfium/third_party/libtiff/ |
D | tif_print.c | 98 if (fip->field_type == TIFF_BYTE) in _TIFFPrintField() 100 else if (fip->field_type == TIFF_UNDEFINED) in _TIFFPrintField() 102 else if (fip->field_type == TIFF_SBYTE) in _TIFFPrintField() 104 else if (fip->field_type == TIFF_SHORT) in _TIFFPrintField() 106 else if (fip->field_type == TIFF_SSHORT) in _TIFFPrintField() 108 else if (fip->field_type == TIFF_LONG) in _TIFFPrintField() 110 else if (fip->field_type == TIFF_SLONG) in _TIFFPrintField() 112 else if (fip->field_type == TIFF_IFD) in _TIFFPrintField() 114 else if (fip->field_type == TIFF_RATIONAL || in _TIFFPrintField() 115 fip->field_type == TIFF_SRATIONAL) in _TIFFPrintField() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | extension_set.h | 316 void* MutableRawRepeatedField(int number, FieldType field_type, bool packed, 1008 static inline void Set(int number, FieldType field_type, ConstType value, 1033 static inline void Add(int number, FieldType field_type, bool is_packed, 1039 FieldType field_type, 1078 inline void PrimitiveTypeTraits<TYPE>::Set(int number, FieldType field_type, \ 1080 set->Set##METHOD(number, field_type, value, nullptr); \ 1100 int number, FieldType field_type, bool is_packed, TYPE value, \ 1102 set->Add##METHOD(number, field_type, is_packed, value, nullptr); \ 1126 int number, FieldType field_type, bool is_packed, ExtensionSet* set) { \ 1128 set->MutableRawRepeatedField(number, field_type, is_packed, nullptr)); \ [all …]
|
/external/cronet/third_party/protobuf/src/google/protobuf/ |
D | extension_set.h | 322 void* MutableRawRepeatedField(int number, FieldType field_type, bool packed, 965 static inline void Set(int number, FieldType field_type, ConstType value, 990 static inline void Add(int number, FieldType field_type, bool is_packed, 996 FieldType field_type, 1035 inline void PrimitiveTypeTraits<TYPE>::Set(int number, FieldType field_type, \ 1037 set->Set##METHOD(number, field_type, value, nullptr); \ 1057 int number, FieldType field_type, bool is_packed, TYPE value, \ 1059 set->Add##METHOD(number, field_type, is_packed, value, nullptr); \ 1083 int number, FieldType field_type, bool is_packed, ExtensionSet* set) { \ 1085 set->MutableRawRepeatedField(number, field_type, is_packed, nullptr)); \ [all …]
|
/external/flatbuffers/src/ |
D | idl_gen_python.cpp | 480 const auto &field_type = field.value.type; in StructBuilderArgs() local 482 IsArray(field_type) ? field_type.VectorType() : field_type; in StructBuilderArgs() 521 const auto &field_type = field.value.type; in StructBuilderBody() local 523 IsArray(field_type) ? field_type.VectorType() : field_type; in StructBuilderBody() 527 if (IsStruct(field_type)) { in StructBuilderBody() 528 StructBuilderBody(*field_type.struct_def, in StructBuilderBody() 533 if (IsArray(field_type)) { in StructBuilderBody() 535 code += NumToString(field_type.fixed_length); in StructBuilderBody() 540 StructBuilderBody(*field_type.struct_def, in StructBuilderBody() 544 code += IsArray(field_type) ? " " : ""; in StructBuilderBody() [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/rust/crates/tokio/src/macros/ |
D | addr_of.rs | 9 $vis:vis unsafe fn $fn_name:ident(self: NonNull<Self>) -> NonNull<$field_type:ty> { 16 … $vis unsafe fn $fn_name(me: ::core::ptr::NonNull<Self>) -> ::core::ptr::NonNull<$field_type> { 32 $vis:vis unsafe fn $fn_name:ident(self: NonNull<Self>) -> NonNull<$field_type:ty> { 39 … $vis unsafe fn $fn_name(me: ::core::ptr::NonNull<Self>) -> ::core::ptr::NonNull<$field_type> { 45 … let field_ref_u8 = (&me_ref $(.$field_name)+ ) as *const $field_type as *const u8;
|
/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/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/autotest/utils/frozen_chromite/third_party/infra_libs/ts_mon/common/ |
D | pb_to_popo.py | 23 def _get_json_func(field_type): argument 24 if field_type in _FD_TO_JSON: 25 return _FD_TO_JSON[field_type] 27 logging.warning("pb_to_popo doesn't support converting %s", field_type)
|
/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/cronet/third_party/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);
|