Home
last modified time | relevance | path

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

123

/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 …]
Ddescriptor.h812 static inline bool IsTypePackable(Type field_type);
2291 inline bool FieldDescriptor::IsTypePackable(Type field_type) { in IsTypePackable() argument
2292 return (field_type != FieldDescriptor::TYPE_STRING && in IsTypePackable()
2293 field_type != FieldDescriptor::TYPE_GROUP && in IsTypePackable()
2294 field_type != FieldDescriptor::TYPE_MESSAGE && in IsTypePackable()
2295 field_type != FieldDescriptor::TYPE_BYTES); in IsTypePackable()
/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()
Dgl_nir_link_uniform_initializers.c196 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in set_uniform_initializer() local
197 set_uniform_initializer(data, field_type, val->elements[i]); in set_uniform_initializer()
/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()
Dec_backend.c161 const char *field_type; in ec_group_explicit_todata() local
170 field_type = SN_X9_62_prime_field; in ec_group_explicit_todata()
176 field_type = SN_X9_62_characteristic_two_field; in ec_group_explicit_todata()
228 field_type)) { in ec_group_explicit_todata()
Dec_asn1.c230 int field_type; in ec_asn1_group2fieldid()
243 field_type = EC_GROUP_get_basis_type(group); in ec_asn1_group2fieldid()
245 if (field_type == 0) { in ec_asn1_group2fieldid()
250 if ((char_two->type = OBJ_nid2obj(field_type)) == NULL) { in ec_asn1_group2fieldid()
255 if (field_type == NID_X9_62_tpBasis) { in ec_asn1_group2fieldid()
270 } else if (field_type == NID_X9_62_ppBasis) { in ec_asn1_group2fieldid()
/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/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/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/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/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/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()
/third_party/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc345 const google::protobuf::Type* field_type = nullptr; in PopulateChildren() local
361 field_type = found_type; in PopulateChildren()
365 field_type = GetMapValueType(*found_type, typeinfo); in PopulateChildren()
385 field_type, kind, in PopulateChildren()
Dprotostream_objectsource.cc279 const google::protobuf::Type* field_type = in RenderMap() local
290 FindAndVerifyField(*field_type, tag); in RenderMap()
302 FindFieldByNumber(*field_type, 1); in RenderMap()
1059 const google::protobuf::Type* field_type = in IsMap() local
1062 util::converter::IsMap(field, *field_type); in IsMap()
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp1679 glsl_type::field_type(const char *name) const in field_type() function in glsl_type
2102 const struct glsl_type *field_type = this->fields.structure[i].type; in std140_base_alignment() local
2104 field_type->std140_base_alignment(field_row_major)); in std140_base_alignment()
2232 const struct glsl_type *field_type = this->fields.structure[i].type; in std140_size() local
2233 unsigned align = field_type->std140_base_alignment(field_row_major); in std140_size()
2236 if (field_type->is_unsized_array()) in std140_size()
2240 size += field_type->std140_size(field_row_major); in std140_size()
2244 if (field_type->is_struct() && (i + 1 < this->length)) in std140_size()
2427 const struct glsl_type *field_type = this->fields.structure[i].type; in std430_base_alignment() local
2429 field_type->std430_base_alignment(field_row_major)); in std430_base_alignment()
[all …]
/third_party/openssl/providers/implementations/keymgmt/
Dec_kmgmt.c977 char *field_type; member
1102 COPY_UTF8_PARAM(params, OSSL_PKEY_PARAM_EC_FIELD_TYPE, gctx->field_type); in ec_gen_set_params()
1151 } else if (gctx->field_type != NULL) { in ec_gen_set_group_from_params()
1153 gctx->field_type, 0)) in ec_gen_set_group_from_params()
1351 OPENSSL_free(gctx->field_type); in ec_gen_cleanup()

123