Searched refs:kcode (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10.1/ruby-106/ruby/
H A Dre.c301 rb_char_to_option_kcode(int c, int *option, int *kcode) argument
307 *kcode = rb_ascii8bit_encindex();
310 *kcode = rb_enc_find_index("EUC-JP");
313 *kcode = rb_enc_find_index("Windows-31J");
316 *kcode = rb_utf8_encindex();
319 *kcode = -1;
2887 * Regexp.new(string, [options [, kcode]]) -> regexp
2889 * Regexp.compile(string, [options [, kcode]]) -> regexp
2901 * When the +kcode+ parameter is `n' or `N' sets the regexp no encoding.
2944 char *kcode local
[all...]
H A Dparse.c12431 int kcode = 0; local
12443 if (kc != rb_ascii8bit_encindex()) kcode = c;
12461 return options | RE_OPTION_ENCODING(kcode);
H A Dparse.y5935 int kcode = 0;
5947 if (kc != rb_ascii8bit_encindex()) kcode = c;
5965 return options | RE_OPTION_ENCODING(kcode);
/macosx-10.10.1/ruby-106/ruby/include/ruby/
H A Dencoding.h82 int rb_char_to_option_kcode(int c, int *option, int *kcode);
/macosx-10.10.1/ruby-106/ruby/ext/ripper/
H A Dripper.c12521 int kcode = 0; local
12533 if (kc != rb_ascii8bit_encindex()) kcode = c;
12551 return options | RE_OPTION_ENCODING(kcode);
H A Dripper.y5935 int kcode = 0;
5947 if (kc != rb_ascii8bit_encindex()) kcode = c;
5965 return options | RE_OPTION_ENCODING(kcode);

Completed in 246 milliseconds