Home
last modified time | relevance | path

Searched refs:CLASS_OF (Results 1 – 25 of 169) sorted by relevance

1234567

/dports/lang/ruby26/ruby-2.6.9/
H A Dcomplex.c677 return f_complex_new2(CLASS_OF(self), in rb_complex_uminus()
709 return f_complex_new2(CLASS_OF(self), in rb_complex_plus()
743 return f_complex_new2(CLASS_OF(self), in rb_complex_minus()
801 return f_complex_new2(CLASS_OF(self), in rb_complex_mul()
824 return f_complex_new2(CLASS_OF(self), in f_divide()
834 return f_complex_new2(CLASS_OF(self), in f_divide()
847 return f_complex_new2(CLASS_OF(self), in f_divide()
910 return f_complex_new_bang1(CLASS_OF(self), ONE); in rb_complex_pow()
1198 return f_complex_new2(CLASS_OF(self), in nucomp_numerator()
1228 return f_boolcast((CLASS_OF(adat->real) == CLASS_OF(bdat->real)) && in nucomp_eql_p()
[all …]
H A Drational.c750 return f_rational_new_no_reduce2(CLASS_OF(self), in rb_rational_plus()
791 return f_rational_new_no_reduce2(CLASS_OF(self), in rb_rational_minus()
947 return f_rational_new_no_reduce2(CLASS_OF(self), in rb_rational_div()
1012 return f_rational_new_bang1(CLASS_OF(self), ONE); in rb_rational_pow()
1026 return f_rational_new_bang1(CLASS_OF(self), ONE); in rb_rational_pow()
1036 return f_rational_new_bang1(CLASS_OF(self), ZERO); in rb_rational_pow()
1070 return f_rational_new2(CLASS_OF(self), num, den); in rb_rational_pow()
1212 (CLASS_OF(self), RCOMPLEX(other)->real), self); in nurat_coerce()
1408 s = f_rational_new_bang1(CLASS_OF(self), s); in f_round_common()
1742 return f_rational_new2(CLASS_OF(self), p, q); in nurat_rationalize()
[all …]
H A Deval_error.c65 if (rb_method_basic_definition_p(CLASS_OF(info), set_backtrace)) { in set_backtrace()
243 volatile VALUE eclass = CLASS_OF(cause); in show_cause()
271 eclass = CLASS_OF(errinfo); in rb_error_write()
H A Dproc.c1510 if (CLASS_OF(method) != CLASS_OF(other)) in method_eq()
1686 const VALUE klass = CLASS_OF(obj); in obj_method()
2077 clone = TypedData_Make_Struct(CLASS_OF(self), struct METHOD, &method_data_type, data); in method_clone()
2295 methclass != CLASS_OF(recv) && !rb_obj_is_kind_of(recv, methclass)) { in umethod_bind()
2306 klass = CLASS_OF(recv); in umethod_bind()
2490 return rb_mod_method_arity(CLASS_OF(obj), id); in rb_obj_method_arity()
2577 return rb_mod_method_location(CLASS_OF(obj), id); in rb_obj_method_location()
3487 rb_undef_method(CLASS_OF(rb_cMethod), "new"); in Init_Proc()
3517 rb_undef_method(CLASS_OF(rb_cUnboundMethod), "new"); in Init_Proc()
3585 rb_undef_method(CLASS_OF(rb_cBinding), "new"); in Init_Binding()
H A Dobject.c281 return rb_class_real(CLASS_OF(obj)); in rb_obj_class()
653 VALUE cname = rb_class_name(CLASS_OF(obj)); in rb_any_to_s()
699 if (CLASS_OF(value) == 0) return ST_CONTINUE; in inspect_i()
763 VALUE c = rb_class_name(CLASS_OF(obj)); in rb_obj_inspect()
863 VALUE cl = CLASS_OF(obj); in rb_obj_is_kind_of()
2547 else if (!rb_method_basic_definition_p(CLASS_OF(mod), id_const_missing)) { in rb_mod_const_get()
3922 CLASS_OF(data)); in no_dig_method()
4239 rb_undef_method(CLASS_OF(rb_cNilClass), "new"); in InitVM_Object()
4325 rb_undef_method(CLASS_OF(rb_cTrueClass), "new"); in InitVM_Object()
4340 rb_undef_method(CLASS_OF(rb_cFalseClass), "new"); in InitVM_Object()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dstorage.c71 name, rb_class2name(CLASS_OF(val))); in native_slot_check_int_range_precision()
82 name, rb_class2name(CLASS_OF(val))); in native_slot_check_int_range_precision()
89 name, rb_class2name(CLASS_OF(val))); in native_slot_check_int_range_precision()
133 name, rb_class2name(CLASS_OF(value))); in native_slot_set_value_and_case()
140 name, rb_class2name(CLASS_OF(value))); in native_slot_set_value_and_case()
152 name, rb_class2name(CLASS_OF(value))); in native_slot_set_value_and_case()
158 if (CLASS_OF(value) == rb_cSymbol) { in native_slot_set_value_and_case()
160 } else if (CLASS_OF(value) != rb_cString) { in native_slot_set_value_and_case()
169 if (CLASS_OF(value) != rb_cString) { in native_slot_set_value_and_case()
178 if (CLASS_OF(value) == CLASS_OF(Qnil)) { in native_slot_set_value_and_case()
[all …]
H A Dmessage.c353 VALUE array = rb_class_new_instance(1, array_args, CLASS_OF(raw_value)); in Message_method_missing()
431 name, rb_class2name(CLASS_OF(val))); in Message_initialize_kwarg()
441 name, rb_class2name(CLASS_OF(val))); in Message_initialize_kwarg()
504 new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self)); in Message_dup()
521 new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self)); in Message_deep_copy()
585 str = rb_str_append(str, rb_str_new2(rb_class2name(CLASS_OF(_self)))); in Message_inspect()
840 VALUE klass = CLASS_OF(obj); in Google_Protobuf_deep_copy()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dstorage.c71 name, rb_class2name(CLASS_OF(val))); in native_slot_check_int_range_precision()
82 name, rb_class2name(CLASS_OF(val))); in native_slot_check_int_range_precision()
89 name, rb_class2name(CLASS_OF(val))); in native_slot_check_int_range_precision()
133 name, rb_class2name(CLASS_OF(value))); in native_slot_set_value_and_case()
140 name, rb_class2name(CLASS_OF(value))); in native_slot_set_value_and_case()
152 name, rb_class2name(CLASS_OF(value))); in native_slot_set_value_and_case()
158 if (CLASS_OF(value) == rb_cSymbol) { in native_slot_set_value_and_case()
160 } else if (CLASS_OF(value) != rb_cString) { in native_slot_set_value_and_case()
169 if (CLASS_OF(value) != rb_cString) { in native_slot_set_value_and_case()
178 if (CLASS_OF(value) == CLASS_OF(Qnil)) { in native_slot_set_value_and_case()
[all …]
H A Dmessage.c353 VALUE array = rb_class_new_instance(1, array_args, CLASS_OF(raw_value)); in Message_method_missing()
431 name, rb_class2name(CLASS_OF(val))); in Message_initialize_kwarg()
441 name, rb_class2name(CLASS_OF(val))); in Message_initialize_kwarg()
504 new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self)); in Message_dup()
521 new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self)); in Message_deep_copy()
585 str = rb_str_append(str, rb_str_new2(rb_class2name(CLASS_OF(_self)))); in Message_inspect()
840 VALUE klass = CLASS_OF(obj); in Google_Protobuf_deep_copy()
/dports/graphics/libcaca/libcaca-0.99.beta19/ruby/
H A Dcaca-display.c43 if(CLASS_OF(arg1) == cCanvas) in display_initialize()
46 if(CLASS_OF(arg2) == cCanvas) in display_initialize()
51 else if(CLASS_OF(arg2) == cCanvas) in display_initialize()
H A Dcaca-canvas.c219 if(CLASS_OF(src) != cCanvas) in blit()
227 if(CLASS_OF(mask) != cCanvas) in blit()
500 if(CLASS_OF(texture) != cCanvas) in fill_triangle_textured()
512 if(CLASS_OF(d) != cDither) in dither_bitmap()
581 if(CLASS_OF(font) != cFont) in render_canvas()
/dports/devel/grpc134/grpc-1.34.1/src/ruby/ext/grpc/
H A Drb_grpc.c104 if (CLASS_OF(time) == grpc_rb_cTimeVal) { in grpc_rb_time_timeval()
108 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval()
/dports/devel/grpc/grpc-1.42.0/src/ruby/ext/grpc/
H A Drb_grpc.c107 if (CLASS_OF(time) == grpc_rb_cTimeVal) { in grpc_rb_time_timeval()
111 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval()
/dports/devel/grpc130/grpc-1.30.2/src/ruby/ext/grpc/
H A Drb_grpc.c104 if (CLASS_OF(time) == grpc_rb_cTimeVal) { in grpc_rb_time_timeval()
108 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/ruby/ext/grpc/
H A Drb_grpc.c104 if (CLASS_OF(time) == grpc_rb_cTimeVal) { in grpc_rb_time_timeval()
108 } else if (CLASS_OF(time) == rb_cTime) { in grpc_rb_time_timeval()
/dports/textproc/senna/senna-1.1.5/bindings/ruby/
H A Dsenna_api.i355 w->info.func = CLASS_OF(w->func) == rb_cProc ? logger_handler : NULL;
385 w->optarg.func = CLASS_OF(w->func) == rb_cProc ? select_handler : NULL;
404 w->optarg.func = CLASS_OF(w->func) == rb_cProc ? group_handler : NULL;
421 if (CLASS_OF(w->compar) == rb_cProc) {
442 if (CLASS_OF(w->compar) == rb_cProc) {
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/devel/py-thrift/thrift-0.14.0/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/devel/thrift-cpp/thrift-0.14.0/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/devel/thrift/thrift-0.14.0/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()
/dports/devel/node-thrift/thrift-0.14.0/lib/rb/ext/
H A Dstruct.c35 #define STRUCT_FIELDS(obj) rb_const_get(CLASS_OF(obj), fields_const_id)
294 if (rb_cSet == CLASS_OF(value)) { in write_container()
363 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_struct_write()
663 default_write_struct_begin(protocol, rb_class_name(CLASS_OF(self))); in rb_thrift_union_write()

1234567