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 D | encoding_spec.rb | 441 @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 D | encoding.h | 202 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 D | encoding_spec.c | 261 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 D | readline.c | 1057 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 D | encoding.c | 1075 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 D | string.c | 6919 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 D | sprintf.c | 699 c = rb_enc_codepoint_len(RSTRING_PTR(tmp), RSTRING_END(tmp), &n, enc); in rb_str_format()
|
H A D | file.c | 4248 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 D | stringio.c | 945 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 D | ChangeLog-2.0.0 | 15125 * encoding.c (rb_enc_codepoint_len): Use UNREACHABLE to avoid "control
|
H A D | ChangeLog-1.9.3 | 27135 * encoding.c (rb_enc_codepoint_len): combine rb_enc_codepoint() 27140 * sprintf.c (rb_str_format): use rb_enc_codepoint_len().
|