Home
last modified time | relevance | path

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

/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/
H A Dencoding_spec.rb285 @s.rb_enc_compatible(a, b).should == 0
294 @s.rb_enc_compatible(a, b).should == Encoding.compatible?(a, b)
/dports/lang/ruby26/ruby-2.6.9/
H A Dencoding.c900 rb_encoding *enc = rb_enc_compatible(str1, str2); in rb_enc_check()
981 rb_enc_compatible(VALUE str1, VALUE str2) in rb_enc_compatible() function
1287 enc = rb_enc_compatible(str1, str2); in enc_compatible_p()
H A Dsprintf.c1391 enc = rb_enc_compatible(result, value); in ruby__sfvextra()
H A Dvm_backtrace.c315 VALUE s = rb_enc_sprintf(rb_enc_compatible(file, name), "%s", RSTRING_PTR(file)); in location_format()
H A Ddir.c3246 rb_encoding *enc = rb_enc_compatible(pattern, path); in file_s_fnmatch()
H A Dstring.c3403 enc = rb_enc_compatible(str1, str2); in str_casecmp()
3490 enc = rb_enc_compatible(str1, str2); in str_casecmp_p()
5072 enc = rb_enc_compatible(str, repl); in rb_str_sub_bang()
H A Dre.c1954 !rb_enc_compatible(RREGEXP_SRC(re), (name)) ? 0 : \
H A Dfile.c4372 if (NIL_P(fext) || !(enc = rb_enc_compatible(fname, fext))) { in rb_file_s_basename()
H A Dparse.y8503 if (!rb_enc_compatible(head, tail)) {
H A Dparse.c14736 if (!rb_enc_compatible(head, tail)) { in literal_concat0()
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/ext/
H A Dencoding_spec.c116 rb_encoding* enc = rb_enc_compatible(a, b); in encoding_spec_rb_enc_compatible()
/dports/lang/ruby26/ruby-2.6.9/include/ruby/
H A Dencoding.h132 rb_encoding *rb_enc_compatible(VALUE,VALUE);
/dports/lang/ruby26/ruby-2.6.9/doc/
H A DChangeLog-1.9.36175 * encoding.c (rb_enc_compatible): change the rule for empty strings:
24300 * encoding.c (rb_enc_compatible): If a string is empty and
38725 rb_enc_compatible() since <=> is a comparison anyway.
39101 * encoding.c (rb_enc_compatible): accept other than strings and
50700 * string.c (rb_str_cmp): reduce invocation of rb_enc_compatible().
53277 * encoding.c (rb_enc_compatible): encoding must be ASCII
53280 * encoding.c (rb_enc_compatible): wrong compatibility condition.
57518 * encoding.c (rb_enc_compatible): 1st argument (typically the
57536 * encoding.c (rb_enc_compatible): encoding should never fall back
57573 * encoding.c (rb_enc_compatible): should not judge compatibility
[all …]
H A DChangeLog-2.0.017608 * encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd string
17884 * encoding.c (rb_enc_compatible): fix segv on symbols.
/dports/lang/ruby26/ruby-2.6.9/ext/ripper/
H A Dripper.y8503 if (!rb_enc_compatible(head, tail)) {
H A Dripper.c14769 if (!rb_enc_compatible(head, tail)) { in literal_concat0()