Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dstorage.c140 void native_slot_set(upb_fieldtype_t type, VALUE type_class, in native_slot_set() argument
142 native_slot_set_value_and_case(type, type_class, memory, value, NULL, 0); in native_slot_set()
145 void native_slot_set_value_and_case(upb_fieldtype_t type, VALUE type_class, in native_slot_set_value_and_case() argument
190 } else if (CLASS_OF(value) != type_class) { in native_slot_set_value_and_case()
206 VALUE lookup = rb_funcall(type_class, rb_intern("resolve"), 1, value); in native_slot_set_value_and_case()
251 VALUE type_class, in native_slot_get() argument
266 VALUE symbol = enum_lookup(type_class, INT2NUM(val)); in native_slot_get()
534 VALUE type_class = Qnil; in field_type_class() local
538 type_class = Descriptor_msgclass(submsgdesc); in field_type_class()
542 type_class = EnumDescriptor_enummodule(subenumdesc); in field_type_class()
[all …]
Ddefs.c1231 VALUE type_class) { in msgdef_add_field() argument
1240 if (type_class != Qnil) { in msgdef_add_field()
1241 if (TYPE(type_class) != T_STRING) { in msgdef_add_field()
1245 type_class = rb_str_append(rb_str_new2("."), type_class); in msgdef_add_field()
1246 rb_funcall(fielddef, rb_intern("submsg_name="), 1, type_class); in msgdef_add_field()
1264 VALUE name, type, number, type_class; in MessageBuilderContext_optional() local
1272 type_class = (argc > 3) ? argv[3] : Qnil; in MessageBuilderContext_optional()
1275 name, type, number, type_class); in MessageBuilderContext_optional()
1293 VALUE name, type, number, type_class; in MessageBuilderContext_required() local
1301 type_class = (argc > 3) ? argv[3] : Qnil; in MessageBuilderContext_required()
[all …]
Dprotobuf.h295 VALUE type_class,
302 VALUE type_class,
308 VALUE type_class,
Dencode_decode.c974 VALUE type_class, in put_ruby_value() argument
1003 value = rb_funcall(type_class, rb_intern("resolve"), 1, value); in put_ruby_value()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Ddef.c327 const char *type_class) { in msgdef_add_field() argument
351 const char *name, *type, *type_class; in PHP_METHOD() local
360 &name_str_len, &type, &type_str_len, &number, &type_class, in PHP_METHOD()
366 msgdef_add_field(desc, UPB_LABEL_OPTIONAL, name, type, number, type_class); in PHP_METHOD()