Home
last modified time | relevance | path

Searched refs:rb_enc_codepoint_len (Results 1 – 11 of 11) sorted by relevance

/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/
H A Dencoding_spec.rb441 @s.rb_enc_codepoint_len("")
447 …@s.rb_enc_codepoint_len([0xa0, 0xa1].pack('CC').force_encoding('utf-8')) # Invalid sequence identi…
452 codepoint, length = @s.rb_enc_codepoint_len("$")
459 codepoint, length = @s.rb_enc_codepoint_len("¢")
466 codepoint, length = @s.rb_enc_codepoint_len("€")
473 codepoint, length = @s.rb_enc_codepoint_len("��")
/dports/lang/ruby26/ruby-2.6.9/include/ruby/
H A Dencoding.h202 unsigned int rb_enc_codepoint_len(const char *p, const char *e, int *len, rb_encoding *enc);
207 #define rb_enc_codepoint(p,e,enc) rb_enc_codepoint_len((p),(e),0,(enc))
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/optional/capi/ext/
H A Dencoding_spec.c261 unsigned int codepoint = rb_enc_codepoint_len(start, end, &len, rb_enc_get(str)); in encoding_spec_rb_enc_codepoint_len()
/dports/lang/ruby26/ruby-2.6.9/ext/readline/
H A Dreadline.c1057 c1 = rb_enc_codepoint_len(result1 + i1, result1 + low, &n1, enc); in readline_attempted_completion_function()
1058 c2 = rb_enc_codepoint_len(p2 + i2, p2 + l2, &n2, enc); in readline_attempted_completion_function()
/dports/lang/ruby26/ruby-2.6.9/
H A Dencoding.c1075 rb_enc_codepoint_len(const char *p, const char *e, int *len_p, rb_encoding *enc) in rb_enc_codepoint_len() function
1092 return rb_enc_codepoint_len(p, e, 0, enc); in rb_enc_codepoint()
H A Dstring.c6919 t->now = rb_enc_codepoint_len(t->p, t->pend, &n, enc); in trnext()
6924 unsigned int c = rb_enc_codepoint_len(t->p, t->pend, &n, enc); in trnext()
7068 c0 = c = rb_enc_codepoint_len((char *)s, (char *)send, &clen, e1); in tr_trans()
7148 c0 = c = rb_enc_codepoint_len((char *)s, (char *)send, &clen, e1); in tr_trans()
7404 c = rb_enc_codepoint_len(s, send, &clen, enc); in rb_str_delete_bang()
7510 c = rb_enc_codepoint_len((char *)s, (char *)send, &clen, enc); in rb_str_squeeze_bang()
7644 unsigned char c = rb_enc_codepoint_len(ptstr, ptstr+1, &clen, enc); in rb_str_count()
7680 c = rb_enc_codepoint_len(s, send, &clen, enc); in rb_str_count()
7912 c = rb_enc_codepoint_len(ptr, eptr, &n, enc); in rb_str_split_m()
8429 c = rb_enc_codepoint_len(ptr, end, &n, enc); in rb_str_enumerate_codepoints()
[all …]
H A Dsprintf.c699 c = rb_enc_codepoint_len(RSTRING_PTR(tmp), RSTRING_END(tmp), &n, enc); in rb_str_format()
H A Dfile.c4248 c = rb_enc_codepoint_len(e, e + l2, &len1, enc); in rmext()
4255 if (rb_enc_codepoint_len(s, e, &len1, enc) == c) last = s; in rmext()
/dports/lang/ruby26/ruby-2.6.9/ext/stringio/
H A Dstringio.c945 c = rb_enc_codepoint_len(RSTRING_PTR(ptr->string)+ptr->pos, in strio_each_codepoint()
/dports/lang/ruby26/ruby-2.6.9/doc/
H A DChangeLog-2.0.015125 * encoding.c (rb_enc_codepoint_len): Use UNREACHABLE to avoid "control
H A DChangeLog-1.9.327135 * encoding.c (rb_enc_codepoint_len): combine rb_enc_codepoint()
27140 * sprintf.c (rb_str_format): use rb_enc_codepoint_len().