Home
last modified time | relevance | path

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

/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/
H A Dobject_spec.rb244 @o.rb_convert_type(ary, "Array", "to_ary").should equal(ary)
251 @o.rb_convert_type(obj, "Array", "to_array").should equal(obj)
259 @o.rb_convert_type(obj, "Array", "to_array")
268 @o.rb_convert_type(obj, "Array", "to_array")
/dports/lang/ruby26/ruby-2.6.9/ext/coverage/
H A Dcoverage.c40 opt = rb_convert_type(opt, T_HASH, "Hash", "to_hash"); in rb_coverage_start()
263 opt = rb_convert_type(opt, T_HASH, "Hash", "to_hash"); in rb_coverage_result()
/dports/lang/ruby26/ruby-2.6.9/ext/pathname/
H A Dpathname.c1105 ary = rb_convert_type(ary, T_ARRAY, "Array", "to_ary"); in path_s_glob()
1153 ary = rb_convert_type(ary, T_ARRAY, "Array", "to_ary"); in path_glob()
1213 ary = rb_convert_type(ary, T_ARRAY, "Array", "to_ary"); in path_entries()
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/ext/
H A Dobject_spec.c111 return rb_convert_type(obj, T_ARRAY, RSTRING_PTR(klass), RSTRING_PTR(method)); in so_convert_type()
/dports/textproc/py-pygments-25/Pygments-2.5.2/tests/examplefiles/
H A Dexample.c519 return rb_convert_type(ary, T_ARRAY, "Array", "to_ary");
526 return rb_convert_type(ary, T_ARRAY, "Array", "to_a");
/dports/textproc/py-pygments/Pygments-2.7.2/tests/examplefiles/
H A Dexample.c519 return rb_convert_type(ary, T_ARRAY, "Array", "to_ary");
526 return rb_convert_type(ary, T_ARRAY, "Array", "to_a");
/dports/devel/ice37/ice-3.7.2/ruby/src/IceRuby/
H A DUtil.cpp425 val = callRuby(rb_convert_type, val, T_HASH, "Hash", "to_hash"); in hashToContext()
H A DTypes.cpp1758 hash = callRuby(rb_convert_type, p, T_HASH, "Hash", "to_hash"); in marshal()
1905 volatile VALUE hash = callRuby(rb_convert_type, value, T_HASH, "Hash", "to_hash"); in print()
/dports/devel/php-ice37/ice-3.7.2/ruby/src/IceRuby/
H A DUtil.cpp425 val = callRuby(rb_convert_type, val, T_HASH, "Hash", "to_hash"); in hashToContext()
H A DTypes.cpp1758 hash = callRuby(rb_convert_type, p, T_HASH, "Hash", "to_hash"); in marshal()
1905 volatile VALUE hash = callRuby(rb_convert_type, value, T_HASH, "Hash", "to_hash"); in print()
/dports/devel/py-ice37/ice-3.7.2/ruby/src/IceRuby/
H A DUtil.cpp425 val = callRuby(rb_convert_type, val, T_HASH, "Hash", "to_hash"); in hashToContext()
H A DTypes.cpp1758 hash = callRuby(rb_convert_type, p, T_HASH, "Hash", "to_hash"); in marshal()
1905 volatile VALUE hash = callRuby(rb_convert_type, value, T_HASH, "Hash", "to_hash"); in print()
/dports/lang/ruby26/ruby-2.6.9/ext/io/console/
H A Dconsole.c727 cpos = rb_convert_type(cpos, T_ARRAY, "Array", "to_ary"); in console_cursor_set()
/dports/lang/ruby26/ruby-2.6.9/ext/socket/
H A Draddrinfo.c1613 ary = rb_convert_type(ary, T_ARRAY, "Array", "to_ary"); in addrinfo_mload()
1686 VALUE pair = rb_convert_type(v, T_ARRAY, "Array", "to_ary"); in addrinfo_mload()
/dports/lang/ruby26/ruby-2.6.9/ext/json/parser/
H A Dparser.rl656 opts = rb_convert_type(opts, T_HASH, "Hash", "to_hash");
H A Dparser.c1761 opts = rb_convert_type(opts, T_HASH, "Hash", "to_hash"); in cParser_initialize()
/dports/lang/ruby26/ruby-2.6.9/ext/openssl/
H A Dossl_asn1.c1179 ary = rb_convert_type(ossl_asn1_get_value(self), T_ARRAY, "Array", "to_a"); in ossl_asn1cons_to_der()
/dports/lang/ruby26/ruby-2.6.9/ext/stringio/
H A Dstringio.c476 orig = rb_convert_type(orig, T_DATA, "StringIO", "to_strio"); in strio_copy()
/dports/lang/ruby26/ruby-2.6.9/ext/json/generator/
H A Dgenerator.c567 if (NIL_P(tmp)) tmp = rb_convert_type(opts, T_HASH, "Hash", "to_h"); in cState_configure()
/dports/lang/ruby26/ruby-2.6.9/include/ruby/
H A Dintern.h630 VALUE rb_convert_type(VALUE,int,const char*,const char*);
/dports/lang/ruby26/ruby-2.6.9/
H A Dcomplex.c1936 return rb_convert_type(val, T_COMPLEX, "Complex", "to_c"); in to_complex()
H A Dobject.c3052 rb_convert_type(VALUE val, int type, const char *tname, const char *method) in rb_convert_type() function
H A Drational.c2026 x = rb_convert_type(x, T_RATIONAL, "Rational", "to_r"); in rb_numeric_quo()
/dports/lang/ruby26/ruby-2.6.9/doc/
H A DChangeLog-1.8.010750 * object.c (rb_convert_type): no longer use rb_rescue().
10762 * object.c (rb_convert_type): check method response check before
12731 * object.c (rb_convert_type): should use rb_rescue(), not rb_rescue2().
16149 * object.c (rb_convert_type): use rb_rescue2 now to handle NameError.
16151 * object.c (rb_convert_type): better error message.
H A DChangeLog-1.9.344882 * dir.c (dir_initialize): use rb_convert_type instead of