Home
last modified time | relevance | path

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

1234

/third_party/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
73 VALUE elem = native_slot_get(field_type, field_type_class, mem); in RepeatedField_subarray()
89 upb_fieldtype_t field_type = self->field_type; in RepeatedField_each() local
91 int element_size = native_slot_size(field_type); in RepeatedField_each()
97 VALUE val = native_slot_get(field_type, field_type_class, memory); in RepeatedField_each()
112 int element_size = native_slot_size(self->field_type); in RepeatedField_index()
113 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index() local
128 return native_slot_get(field_type, field_type_class, memory); in RepeatedField_index()
162 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index_set() local
[all …]
/third_party/protobuf/src/google/protobuf/
Dextension_set.h305 void* MutableRawRepeatedField(int number, FieldType field_type, bool packed,
940 static inline void Set(int number, FieldType field_type, ConstType value,
960 static inline void Add(int number, FieldType field_type, bool is_packed,
966 FieldType field_type,
999 inline void PrimitiveTypeTraits<TYPE>::Set(int number, FieldType field_type, \
1001 set->Set##METHOD(number, field_type, value, NULL); \
1016 int number, FieldType field_type, bool is_packed, TYPE value, \
1018 set->Add##METHOD(number, field_type, is_packed, value, NULL); \
1036 int number, FieldType field_type, bool is_packed, ExtensionSet* set) { \
1038 set->MutableRawRepeatedField(number, field_type, is_packed, NULL)); \
[all …]
/third_party/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()
388 const struct glsl_type *field_type; in iterate_type_fill_variables() local
391 field_type = glsl_get_struct_field(type, i); in iterate_type_fill_variables()
395 field_type = glsl_get_array_element(type); in iterate_type_fill_variables()
398 if (glsl_type_is_leaf(field_type)) { in iterate_type_fill_variables()
399 fill_individual_variable(field_type, variables, variable_index, in iterate_type_fill_variables()
[all …]
Dgl_nir_link_uniforms.c928 const struct glsl_type *field_type; in find_and_update_named_uniform_storage() local
932 field_type = glsl_get_struct_field(type, i); in find_and_update_named_uniform_storage()
940 field_type = glsl_get_array_element(type); in find_and_update_named_uniform_storage()
949 field_type, stage, in find_and_update_named_uniform_storage()
1111 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in build_type_tree_for_type() local
1113 build_type_tree_for_type(field_type); in build_type_tree_for_type()
1253 const struct glsl_type *field_type; in nir_link_uniform() local
1258 field_type = glsl_get_struct_field(type, i); in nir_link_uniform()
1297 field_type = glsl_get_array_element(type); in nir_link_uniform()
1305 field_type, i, location, in nir_link_uniform()
/third_party/node/deps/v8/src/torque/
Dtype-visitor.cc154 const Type* field_type = TypeVisitor::ComputeType(field.name_and_type.type); in ComputeType() local
155 if (!IsAllowedAsBitField(field_type)) { in ComputeType()
164 if (field_type->IsSubtypeOf(TypeOracle::GetBoolType())) { in ComputeType()
167 auto opt_field_type_size = SizeOf(field_type); in ComputeType()
169 ReportError("Size unknown for type ", field_type->ToString()); in ComputeType()
180 {field.name_and_type.name->value, field_type}, in ComputeType()
202 const Type* field_type = TypeVisitor::ComputeType(field.name_and_type.type); in ComputeType() local
203 if (field_type->IsConstexpr()) { in ComputeType()
205 "\" carries constexpr type \"", *field_type, "\""); in ComputeType()
210 {field.name_and_type.name->value, field_type}, in ComputeType()
[all …]
Dimplementation-visitor.cc3749 const Type* field_type = f.name_and_type.type; in GetSectionFor() local
3750 if (field_type == TypeOracle::GetVoidType()) { in GetSectionFor()
3756 if (auto field_as_struct = field_type->StructSupertype()) { in GetSectionFor()
3778 if ((field_type->IsSubtypeOf(TypeOracle::GetStrongTaggedType()) || in GetSectionFor()
3782 } else if (field_type->IsSubtypeOf(TypeOracle::GetTaggedType()) || in GetSectionFor()
4390 bool CanGenerateFieldAccessors(const Type* field_type) { in CanGenerateFieldAccessors() argument
4393 return field_type != TypeOracle::GetVoidType() && in CanGenerateFieldAccessors()
4394 field_type != TypeOracle::GetFloat64OrHoleType() && in CanGenerateFieldAccessors()
4395 !field_type->IsSubtypeOf(TypeOracle::GetExternalPointerType()); in CanGenerateFieldAccessors()
4404 const Type* field_type = innermost_field.name_and_type.type; in GenerateFieldAccessors() local
[all …]
Dcsa-generator.cc950 const Type* field_type = instruction.bit_field.name_and_type.type; in EmitInstruction() local
956 bool field_is_pointer_size = IsPointerSizeIntegralType(field_type); in EmitInstruction()
957 DCHECK_IMPLIES(!field_is_pointer_size, Is32BitIntegralType(field_type)); in EmitInstruction()
964 decls() << " " << field_type->GetGeneratedTypeName() << " " << result_name in EmitInstruction()
975 << field_type->GetGeneratedTNodeTypeName() in EmitInstruction()
992 const Type* field_type = instruction.bit_field.name_and_type.type; in EmitInstruction() local
998 bool field_is_pointer_size = IsPointerSizeIntegralType(field_type); in EmitInstruction()
999 DCHECK_IMPLIES(!field_is_pointer_size, Is32BitIntegralType(field_type)); in EmitInstruction()
Dtypes.cc434 const Type* field_type = struct_field.name_and_type.type; in ClassifyContents() local
435 if (field_type->IsSubtypeOf(TypeOracle::GetStrongTaggedType())) { in ClassifyContents()
437 } else if (field_type->IsSubtypeOf(TypeOracle::GetTaggedType())) { in ClassifyContents()
439 } else if (auto field_as_struct = field_type->StructSupertype()) { in ClassifyContents()
1324 for (const Type* field_type : LowerType(*struct_type)) { in GetRuntimeType() local
1327 result << field_type->GetRuntimeType(); in GetRuntimeType()
1344 for (const Type* field_type : LowerType(*struct_type)) { in GetDebugType() local
1347 result << field_type->GetDebugType(); in GetDebugType()
/third_party/node/deps/v8/src/compiler/
Daccess-info.cc113 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map, in DataField() argument
124 field_representation, field_type, field_owner_map, in DataField()
134 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map, in FastDataConstant() argument
138 field_index, field_representation, field_type, in FastDataConstant()
219 Representation field_representation, Type field_type, in PropertyAccessInfo() argument
230 field_type_(field_type), in PropertyAccessInfo()
432 Type field_type = name.object()->IsPrivateBrand() ? Type::OtherInternal() in ComputeDataFieldAccessInfo() local
446 field_type = Type::SignedSmall(); in ComputeDataFieldAccessInfo()
451 field_type = type_cache_->kFloat64; in ComputeDataFieldAccessInfo()
479 field_type = Type::For(maybe_field_map.value()); in ComputeDataFieldAccessInfo()
[all …]
Daccess-info.h77 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map,
84 Type field_type, MapRef field_owner_map, base::Optional<MapRef> field_map,
151 Type field_type() const { in field_type() function
188 Representation field_representation, Type field_type,
/third_party/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);
/third_party/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]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dbtree.h471 using field_type = typename Params::node_count_type;
556 using layout_type = absl::container_internal::Layout<btree_node *, field_type,
634 field_type &mutable_finish() { return GetField<1>()[2]; }
639 void set_position(field_type v) { GetField<1>()[0] = v; }
640 void set_start(field_type v) { GetField<1>()[1] = v; }
641 void set_finish(field_type v) { GetField<1>()[2] = v; }
643 void set_max_count(field_type v) { GetField<1>()[3] = v; }
651 field_type position() const { return GetField<1>()[0]; }
654 field_type start() const {
661 field_type finish() const { return GetField<1>()[2]; }
[all …]
/third_party/openssl/crypto/ec/
Dec_oct.c37 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates()
87 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_point2oct()
118 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_oct2point()
Dec_curve.c26 int field_type, /* either NID_X9_62_prime_field or member
3178 } else if (data->field_type == NID_X9_62_prime_field) { in ec_group_new_from_data()
3345 int ret = -1, nid, len, field_type, param_len; in ossl_ec_curve_nid_from_params() local
3357 field_type = EC_GROUP_get_field_type(group); in ossl_ec_curve_nid_from_params()
3417 if (data->field_type == field_type in ossl_ec_curve_nid_from_params()
/third_party/node/deps/openssl/openssl/crypto/ec/
Dec_oct.c37 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates()
87 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_point2oct()
118 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_oct2point()
Dec_curve.c26 int field_type, /* either NID_X9_62_prime_field or member
3178 } else if (data->field_type == NID_X9_62_prime_field) { in ec_group_new_from_data()
3345 int ret = -1, nid, len, field_type, param_len; in ossl_ec_curve_nid_from_params() local
3357 field_type = EC_GROUP_get_field_type(group); in ossl_ec_curve_nid_from_params()
3417 if (data->field_type == field_type in ossl_ec_curve_nid_from_params()
/third_party/gstreamer/gstplugins_bad/gst/asfmux/
Dgstasfobjects.h89 guint8 field_type, guint32 * var);
90 guint32 gst_asf_read_var_size_field (guint8 * data, guint8 field_type);
91 guint gst_asf_get_var_size_field_len (guint8 field_type);
Dgstasfobjects.c91 guint8 field_type, guint32 * var) in gst_byte_reader_get_asf_var_size_field() argument
98 switch (field_type) { in gst_byte_reader_get_asf_var_size_field()
132 gst_asf_read_var_size_field (guint8 * data, guint8 field_type) in gst_asf_read_var_size_field() argument
134 switch (field_type) { in gst_asf_read_var_size_field()
153 gst_asf_get_var_size_field_len (guint8 field_type) in gst_asf_get_var_size_field_len() argument
155 switch (field_type) { in gst_asf_get_var_size_field_len()
/third_party/protobuf/python/google/protobuf/internal/
Dwire_format.py259 def IsTypePackable(field_type): argument
268 return field_type not in NON_PACKABLE_TYPES
/third_party/rust/crates/quote/
DREADME.md184 constructor called `new`. We have the type in a variable called `field_type` of
190 let value = #field_type::new();
194 This works only sometimes. If `field_type` is `String`, the expanded code
195 contains `String::new()` which is fine. But if `field_type` is something like
202 let value = <#field_type>::new();
212 let value = <#field_type as core::default::Default>::default();
/third_party/rust/crates/syn/codegen/src/
Dhash.rs9 fn skip(field_type: &Type) -> bool { in skip()
10 match field_type { in skip()
Deq.rs9 fn always_eq(field_type: &Type) -> bool { in always_eq()
10 match field_type { in always_eq()
/third_party/rust/crates/clap/clap_derive/src/
Ditem.rs998 pub fn value_parser(&self, field_type: &Type) -> Method { in value_parser()
1002 let inner_type = inner_type(field_type); in value_parser()
1006 let inner_type = inner_type(field_type); in value_parser()
1021 pub fn action(&self, field_type: &Type) -> Method { in action()
1024 .map(|p| p.resolve(field_type)) in action()
1028 default_action(field_type, span) in action()
1035 default_action(field_type, span) in action()
1121 fn default_action(field_type: &Type, span: Span) -> Method { in default_action()
1122 let ty = Ty::from_syn_ty(field_type); in default_action()
1135 if is_simple_ty(field_type, "bool") { in default_action()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsa.c399 GType field_type; in gst_alsa_detect_channels() local
409 field_type = gst_structure_get_field_type (s, "channels"); in gst_alsa_detect_channels()
410 if (field_type == G_TYPE_INT) { in gst_alsa_detect_channels()
413 } else if (field_type == GST_TYPE_INT_RANGE) { in gst_alsa_detect_channels()

1234