Home
last modified time | relevance | path

Searched refs:_self (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dprotobuf.h175 void DescriptorPool_mark(void* _self);
176 void DescriptorPool_free(void* _self);
180 VALUE DescriptorPool_add(VALUE _self, VALUE def);
181 VALUE DescriptorPool_build(VALUE _self);
182 VALUE DescriptorPool_lookup(VALUE _self, VALUE name);
183 VALUE DescriptorPool_generated_pool(VALUE _self);
185 void Descriptor_mark(void* _self);
186 void Descriptor_free(void* _self);
190 VALUE Descriptor_name(VALUE _self);
191 VALUE Descriptor_name_set(VALUE _self, VALUE str);
[all …]
Ddefs.c99 void DescriptorPool_mark(void* _self) { in DescriptorPool_mark() argument
102 void DescriptorPool_free(void* _self) { in DescriptorPool_free() argument
103 DescriptorPool* self = _self; in DescriptorPool_free()
160 VALUE DescriptorPool_add(VALUE _self, VALUE def) { in DescriptorPool_add() argument
161 DEFINE_SELF(DescriptorPool, self, _self); in DescriptorPool_add()
184 VALUE DescriptorPool_build(VALUE _self) { in DescriptorPool_build() argument
188 rb_funcall(ctx, rb_intern("finalize_to_pool"), 1, _self); in DescriptorPool_build()
199 VALUE DescriptorPool_lookup(VALUE _self, VALUE name) { in DescriptorPool_lookup() argument
200 DEFINE_SELF(DescriptorPool, self, _self); in DescriptorPool_lookup()
218 VALUE DescriptorPool_generated_pool(VALUE _self) { in DescriptorPool_generated_pool() argument
[all …]
Drepeated_field.c44 RepeatedField* ruby_to_RepeatedField(VALUE _self) { in ruby_to_RepeatedField() argument
46 TypedData_Get_Struct(_self, RepeatedField, &RepeatedField_type, self); in ruby_to_RepeatedField()
62 VALUE RepeatedField_subarray(VALUE _self, long beg, long len) { in RepeatedField_subarray() argument
63 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_subarray()
86 VALUE RepeatedField_each(VALUE _self) { in RepeatedField_each() argument
87 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_each()
98 return _self; in RepeatedField_each()
108 VALUE RepeatedField_index(int argc, VALUE* argv, VALUE _self) { in RepeatedField_index() argument
109 RepeatedField* self = ruby_to_RepeatedField(_self); in RepeatedField_index()
135 return RepeatedField_subarray(_self, beg, len); in RepeatedField_index()
[all …]
Dmap.c139 Map* ruby_to_Map(VALUE _self) { in ruby_to_Map() argument
141 TypedData_Get_Struct(_self, Map, &Map_type, self); in ruby_to_Map()
145 void Map_mark(void* _self) { in Map_mark() argument
146 Map* self = _self; in Map_mark()
164 void Map_free(void* _self) { in Map_free() argument
165 Map* self = _self; in Map_free()
217 VALUE Map_init(int argc, VALUE* argv, VALUE _self) { in Map_init() argument
218 Map* self = ruby_to_Map(_self); in Map_init()
260 Map_merge_into_self(_self, argv[init_value_arg]); in Map_init()
274 VALUE Map_each(VALUE _self) { in Map_each() argument
[all …]
Dmessage.c41 void Message_mark(void* _self) { in Message_mark() argument
42 MessageHeader* self = (MessageHeader *)_self; in Message_mark()
126 VALUE Message_method_missing(int argc, VALUE* argv, VALUE _self) { in Message_method_missing() argument
135 TypedData_Get_Struct(_self, MessageHeader, &Message_type, self); in Message_method_missing()
181 int Message_initialize_kwarg(VALUE key, VALUE val, VALUE _self) { in Message_initialize_kwarg() argument
186 TypedData_Get_Struct(_self, MessageHeader, &Message_type, self); in Message_initialize_kwarg()
239 VALUE Message_initialize(int argc, VALUE* argv, VALUE _self) { in Message_initialize() argument
253 rb_hash_foreach(hash_args, Message_initialize_kwarg, _self); in Message_initialize()
263 VALUE Message_dup(VALUE _self) { in Message_dup() argument
267 TypedData_Get_Struct(_self, MessageHeader, &Message_type, self); in Message_dup()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmap_container.cc62 static PyObject* Contains(PyObject* _self, PyObject* key);
63 static Py_ssize_t Length(PyObject* _self);
64 static PyObject* GetIterator(PyObject *_self);
65 static PyObject* IterNext(PyObject* _self);
68 static PyObject* ScalarMapGetItem(PyObject* _self, PyObject* key);
69 static PyObject* MessageMapGetItem(PyObject* _self, PyObject* key);
70 static int ScalarMapSetItem(PyObject* _self, PyObject* key, PyObject* v);
71 static int MessageMapSetItem(PyObject* _self, PyObject* key, PyObject* v);
314 Py_ssize_t MapReflectionFriend::Length(PyObject* _self) { in Length() argument
315 MapContainer* self = GetMap(_self); in Length()
[all …]