Home
last modified time | relevance | path

Searched refs:field_type (Results 1 – 25 of 68) 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/grpc/third_party/upb/benchmarks/
Dgen_synthetic_protos.py76 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))
/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/flatbuffers/src/
Didl_gen_python.cpp470 const auto &field_type = field.value.type; in StructBuilderArgs() local
472 IsArray(field_type) ? field_type.VectorType() : field_type; in StructBuilderArgs()
511 const auto &field_type = field.value.type; in StructBuilderBody() local
513 IsArray(field_type) ? field_type.VectorType() : field_type; in StructBuilderBody()
517 if (IsStruct(field_type)) { in StructBuilderBody()
518 StructBuilderBody(*field_type.struct_def, in StructBuilderBody()
523 if (IsArray(field_type)) { in StructBuilderBody()
525 code += NumToString(field_type.fixed_length); in StructBuilderBody()
531 *field_type.struct_def, in StructBuilderBody()
535 code += IsArray(field_type) ? " " : ""; in StructBuilderBody()
[all …]
Didl_gen_java.cpp423 const auto &field_type = field.value.type; in GenStructArgs() local
424 const auto array_field = IsArray(field_type); in GenStructArgs()
425 const auto &type = array_field ? field_type.VectorType() in GenStructArgs()
426 : DestinationType(field_type, false); in GenStructArgs()
432 GenStructArgs(*field_type.struct_def, code_ptr, in GenStructArgs()
459 const auto &field_type = field.value.type; in GenStructBody() local
464 if (IsStruct(field_type)) { in GenStructBody()
465 GenStructBody(*field_type.struct_def, code_ptr, in GenStructBody()
470 IsArray(field_type) ? field_type.VectorType() : field_type; in GenStructBody()
472 if (IsArray(field_type)) { in GenStructBody()
[all …]
Didl_gen_csharp.cpp389 const auto &field_type = field.value.type; in GenStructArgs() local
390 const auto array_field = IsArray(field_type); in GenStructArgs()
391 const auto &type = array_field ? field_type.VectorType() : field_type; in GenStructArgs()
397 GenStructArgs(*field_type.struct_def, code_ptr, in GenStructArgs()
429 const auto &field_type = field.value.type; in GenStructBody() local
434 if (IsStruct(field_type)) { in GenStructBody()
435 GenStructBody(*field_type.struct_def, code_ptr, in GenStructBody()
440 IsArray(field_type) ? field_type.VectorType() : field_type; in GenStructBody()
442 if (IsArray(field_type)) { in GenStructBody()
444 code += NumToString(field_type.fixed_length); in GenStructBody()
[all …]
Didl_gen_ts.cpp804 std::string field_type; in GenObjApi() local
820 field_type += GenTypeName(imports, field, field.value.type, false, in GenObjApi()
839 field_type += GetObjApiClassName(sd, parser.opts); in GenObjApi()
863 field_type = "("; in GenObjApi()
868 field_type += GetObjApiClassName(sd, parser.opts); in GenObjApi()
869 field_type += ")[]"; in GenObjApi()
892 field_type += "string)[]"; in GenObjApi()
905 field_type += GenObjApiUnionTypeTS(imports, parser.opts, in GenObjApi()
907 field_type += ")[]"; in GenObjApi()
921 field_type += GenTypeName(imports, struct_def, vectortype, in GenObjApi()
[all …]
Didl_gen_kotlin.cpp274 auto field_type = GenTypeBasic(enum_def.underlying_type.base_type); in GenEnum() local
278 writer.SetValue("type", field_type); in GenEnum()
705 auto field_type = GenTypeBasic(field.value.type.base_type); in GenerateAddField() local
706 auto secondArg = MakeCamel(Esc(field.name), false) + ": " + field_type; in GenerateAddField()
740 auto field_type = GenTypeBasic(field.value.type.base_type); in FlexBufferBuilderCast() local
758 if (field_type != to_type) return ".to" + to_type + "()"; in FlexBufferBuilderCast()
880 auto field_type = GenTypeGet(field.value.type); in GenerateStructGetters() local
893 writer.SetValue("field_type", field_type); in GenerateStructGetters()
941 writer, field_name, "obj: " + field_type, return_type, in GenerateStructGetters()
956 writer, field_name, "obj: " + field_type, return_type, [&]() { in GenerateStructGetters()
[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.c894 const struct glsl_type *field_type; in find_and_update_named_uniform_storage() local
898 field_type = glsl_get_struct_field(type, i); in find_and_update_named_uniform_storage()
906 field_type = glsl_get_array_element(type); in find_and_update_named_uniform_storage()
915 field_type, stage, in find_and_update_named_uniform_storage()
1077 const struct glsl_type *field_type = glsl_get_struct_field(type, i); in build_type_tree_for_type() local
1079 build_type_tree_for_type(field_type); in build_type_tree_for_type()
1219 const struct glsl_type *field_type; in nir_link_uniform() local
1224 field_type = glsl_get_struct_field(type, i); in nir_link_uniform()
1263 field_type = glsl_get_array_element(type); in nir_link_uniform()
1271 field_type, i, location, in nir_link_uniform()
/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/grpc/tools/gcp/utils/
Dbig_query_utils.py70 '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]
/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/abseil-cpp/absl/container/internal/
Dbtree.h407 using field_type = typename Params::node_count_type;
485 using layout_type = absl::container_internal::Layout<btree_node *, field_type,
558 field_type &mutable_finish() { return GetField<1>()[2]; }
563 void set_position(field_type v) { GetField<1>()[0] = v; }
564 void set_start(field_type v) { GetField<1>()[1] = v; }
565 void set_finish(field_type v) { GetField<1>()[2] = v; }
567 void set_max_count(field_type v) { GetField<1>()[3] = v; }
575 field_type position() const { return GetField<1>()[0]; }
578 field_type start() const {
585 field_type finish() const { return GetField<1>()[2]; }
[all …]
/third_party/openssl/crypto/ec/
Dec_oct.c33 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates()
84 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_point2oct()
114 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_oct2point()
Dec_curve.c20 int field_type, /* either NID_X9_62_prime_field or member
3053 } else if (data->field_type == NID_X9_62_prime_field) { in ec_group_new_from_data()
3239 int ret = -1, nid, len, field_type, param_len; in ec_curve_nid_from_params() local
3255 field_type = EC_METHOD_get_field_type(meth); in ec_curve_nid_from_params()
3315 if (data->field_type == field_type in ec_curve_nid_from_params()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc96 std::string field_type = schema.at("type").dump(); in TakeFieldType() local
97 if (field_type.length() <= 2) { in TakeFieldType()
100 return field_type.substr(1, field_type.length() - 2); in TakeFieldType()
320 const auto &field_type = std::get<1>(field); in BindParameterExecuteSQL() local
324 if (field_type == "INTEGER") { in BindParameterExecuteSQL()
331 } else if (field_type == "NUMERIC") { in BindParameterExecuteSQL()
338 } else if (field_type == "NULL") { in BindParameterExecuteSQL()
482 …std::string field_type = ConvertJsonToSQL(TakeFieldType(field.second, schema_ptr->GetSchema()["sch… in GenerateIndexFields() local
485 (*index_fields_ptr)->emplace_back(*fn_ptr, field_type, *field_val_ptr); in GenerateIndexFields()
/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/mindspore/mindspore/mindrecord/
Dfilewriter.py232 field_type = type(v[field]).__name__
233 if field_type not in VALUE_TYPE_MAP:
238 if schema_content[field]["type"] not in VALUE_TYPE_MAP[field_type]:
243 if field_type == 'ndarray':
/third_party/e2fsprogs/ext2ed/
Dinit.c213 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()
/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/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()

123