Home
last modified time | relevance | path

Searched refs:type_class (Results 1 – 16 of 16) sorted by relevance

/third_party/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c117 upb_fieldtype_t type, VALUE type_class, in native_slot_set() argument
119 native_slot_set_value_and_case(name, type, type_class, memory, value, NULL, 0); in native_slot_set()
123 upb_fieldtype_t type, VALUE type_class, in native_slot_set_value_and_case() argument
182 } else if (CLASS_OF(value) != type_class) { in native_slot_set_value_and_case()
185 const char* field_type_name = rb_class2name(type_class); in native_slot_set_value_and_case()
197 converted_value = rb_class_new_instance(1, args, type_class); in native_slot_set_value_and_case()
215 converted_value = rb_class_new_instance(1, args, type_class); in native_slot_set_value_and_case()
241 VALUE lookup = rb_funcall(type_class, rb_intern("resolve"), 1, value); in native_slot_set_value_and_case()
286 VALUE type_class, in native_slot_get() argument
305 val = ruby_wrapper_type(type_class, val); in native_slot_get()
[all …]
Ddefs.c1472 VALUE type, VALUE number, VALUE type_class, in msgdef_add_field() argument
1498 if (type_class != Qnil) { in msgdef_add_field()
1499 Check_Type(type_class, T_STRING); in msgdef_add_field()
1502 type_class = rb_str_append(rb_str_new2("."), type_class); in msgdef_add_field()
1504 field_proto, FileBuilderContext_strdup(self->file_builder, type_class)); in msgdef_add_field()
1533 VALUE type_class = rb_ary_entry(types, 2); in make_mapentry() local
1547 if (type_class == Qnil) { in make_mapentry()
1553 type_class); in make_mapentry()
1571 VALUE type_class, options = Qnil; in MessageBuilderContext_optional() local
1573 rb_scan_args(argc, argv, "32", &name, &type, &number, &type_class, &options); in MessageBuilderContext_optional()
[all …]
Dprotobuf.h348 VALUE type_class,
356 VALUE type_class,
362 VALUE type_class,
367 void native_slot_deep_copy(upb_fieldtype_t type, VALUE type_class, void* to,
369 bool native_slot_eq(upb_fieldtype_t type, VALUE type_class, void* mem1,
563 VALUE ruby_wrapper_type(VALUE type_class, VALUE value);
Dmessage.c134 VALUE ruby_wrapper_type(VALUE type_class, VALUE value) { in ruby_wrapper_type() argument
140 return rb_class_new_instance(1, args, type_class); in ruby_wrapper_type()
Dencode_decode.c1211 VALUE type_class = ruby_to_RepeatedField(ary)->field_type_class; in putary() local
1247 VALUE val = native_slot_get(UPB_TYPE_MESSAGE, type_class, memory); in putary()
1259 static void put_ruby_value(VALUE value, const upb_fielddef* f, VALUE type_class, in put_ruby_value() argument
1294 value = rb_funcall(type_class, rb_intern("resolve"), 1, value); in put_ruby_value()
/third_party/spirv-tools/source/
Dtext_handler.h49 IdTypeClass type_class; member
56 (first.type_class == second.type_class);
69 return type.type_class == IdTypeClass::kScalarIntegerType; in isScalarIntegral()
74 return type.type_class == IdTypeClass::kScalarFloatType; in isScalarFloating()
81 switch (type.type_class) { in assumedBitWidth()
Dtext_handler.cpp248 switch (type.type_class) { in binaryEncodeNumericLiteral()
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext_handler.h49 IdTypeClass type_class; member
56 (first.type_class == second.type_class);
69 return type.type_class == IdTypeClass::kScalarIntegerType; in isScalarIntegral()
74 return type.type_class == IdTypeClass::kScalarFloatType; in isScalarFloating()
81 switch (type.type_class) { in assumedBitWidth()
Dtext_handler.cpp246 switch (type.type_class) { in binaryEncodeNumericLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.h49 IdTypeClass type_class; member
56 (first.type_class == second.type_class);
69 return type.type_class == IdTypeClass::kScalarIntegerType; in isScalarIntegral()
74 return type.type_class == IdTypeClass::kScalarFloatType; in isScalarFloating()
81 switch (type.type_class) { in assumedBitWidth()
Dtext_handler.cpp246 switch (type.type_class) { in binaryEncodeNumericLiteral()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext_handler.h46 IdTypeClass type_class; member
53 (first.type_class == second.type_class);
66 return type.type_class == IdTypeClass::kScalarIntegerType; in isScalarIntegral()
71 return type.type_class == IdTypeClass::kScalarFloatType; in isScalarFloating()
78 switch (type.type_class) { in assumedBitWidth()
Dtext_handler.cpp245 switch (type.type_class) { in binaryEncodeNumericLiteral()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_util.cc558 #define SERIALIZE_TABLE_OP(type, type_class) \ argument
559 ((type - 1) + static_cast<int>(type_class) * FieldMetadata::kNumTypes)
562 FieldMetadata::FieldTypeClass type_class) { in CalculateType() argument
563 return SERIALIZE_TABLE_OP(type, type_class); in CalculateType()
Dgenerated_message_table_driven.h114 static int CalculateType(int fundamental_type, FieldTypeClass type_class);
/third_party/ltp/tools/sparse/sparse-src/
Devaluate.c349 static int type_class[SYM_BAD + 1] = { in classify_type() local
375 return type_class[type->type]; in classify_type()