Home
last modified time | relevance | path

Searched refs:enc_len (Results 1 – 19 of 19) sorted by relevance

/PHP-5.4/ext/mbstring/oniguruma/
H A Dregenc.c58 p += enc_len(enc, p); in onigenc_get_right_adjust_char_head()
71 p += enc_len(enc, p); in onigenc_get_right_adjust_char_head_with_prev()
696 len = enc_len(enc, p); in onigenc_mbn_mbc_to_code()
726 len = enc_len(enc, p); in onigenc_mbn_mbc_to_normalize()
754 (*pp) += enc_len(enc, p); in onigenc_mbn_is_mbc_ambiguous()
819 if (enc_len(enc, buf) != (p - buf)) in onigenc_mb2_code_to_mbc()
842 if (enc_len(enc, buf) != (p - buf)) in onigenc_mb4_code_to_mbc()
894 p += enc_len(enc, p); in onigenc_with_ascii_strncmp()
965 len = enc_len(enc, c); in onigenc_code_to_mbc()
989 len = enc_len(enc, *p); in onigenc_is_mbc_ambiguous()
[all …]
H A Dregerror.c212 p += enc_len(enc, p); in to_ascii()
333 len = enc_len(enc, p);
341 len = enc_len(enc, p);
H A Dregexec.c1483 len = enc_len(encode, q); in match_at()
1846 mb_len = enc_len(encode, s); in match_at()
1988 n = enc_len(encode, s); in match_at()
2000 n = enc_len(encode, s); in match_at()
2019 n = enc_len(encode, s); in match_at()
2034 n = enc_len(encode, s); in match_at()
2057 n = enc_len(encode, s); in match_at()
2075 n = enc_len(encode, s); in match_at()
2946 s += enc_len(enc, s); in slow_search()
2997 s += enc_len(enc, s); in slow_search_ic()
[all …]
H A Dregparse.c2624 if (enc_len(enc, p) > 1) in fetch_name()
2690 q = p + enc_len(enc, p); in find_str_position()
2695 q += enc_len(enc, q); in find_str_position()
2721 p += enc_len(enc, p); in str_exist_check_with_esc()
2725 q = p + enc_len(enc, p); in str_exist_check_with_esc()
2730 q += enc_len(enc, q); in str_exist_check_with_esc()
2733 p += enc_len(enc, p); in str_exist_check_with_esc()
3383 p = tok->backp + enc_len(enc, tok->backp); in fetch_token()
4144 len = enc_len(env->enc, buf); in parse_char_class()
4861 if (len == enc_len(env->enc, NSTRING(*np).s)) { in parse_exp()
[all …]
H A Dregcomp.c450 prev_len = enc_len(enc, p); in compile_length_string_node()
456 len = enc_len(enc, p); in compile_length_string_node()
499 prev_len = enc_len(enc, p); in compile_string_node()
504 len = enc_len(enc, p); in compile_string_node()
2306 s += enc_len(reg->enc, s); in get_char_length_tree1()
4006 len = enc_len(enc, p); in concat_opt_exact_info()
4028 len = enc_len(enc, p); in concat_opt_exact_info_str()
4054 len = enc_len(env->enc, to->s + i); in alt_merge_opt_exact_info()
4842 p += enc_len(enc, p); in print_enc_string()
5709 len = enc_len(enc, bp); in onig_print_compiled_byte_code()
H A Doniguruma.h269 #define enc_len(enc,p) ONIGENC_MBC_ENC_LEN(enc, p) macro
H A DHISTORY360 should not call enc_len() for s == range
1092 2003/12/12: [impl] rename mb -> mbc, mblen() to enc_len().
/PHP-5.4/ext/mbstring/oniguruma/enc/
H A Deuc_jp.c65 len = enc_len(ONIG_ENCODING_EUC_JP, p); in eucjp_mbc_to_code()
115 if (enc_len(ONIG_ENCODING_EUC_JP, buf) != (p - buf)) in eucjp_code_to_mbc()
140 len = enc_len(ONIG_ENCODING_EUC_JP, p); in eucjp_mbc_to_normalize()
186 len = enc_len(ONIG_ENCODING_EUC_JP, p); in eucjp_left_adjust_char_head()
H A Dsjis.c101 len = enc_len(ONIG_ENCODING_SJIS, p); in sjis_mbc_to_code()
123 if (enc_len(ONIG_ENCODING_SJIS, buf) != (p - buf)) in sjis_code_to_mbc()
147 int len = enc_len(ONIG_ENCODING_SJIS, p); in sjis_mbc_to_normalize()
199 len = enc_len(ONIG_ENCODING_SJIS, p); in sjis_left_adjust_char_head()
H A Dutf8.c97 len = enc_len(ONIG_ENCODING_UTF8, p); in utf8_mbc_to_code()
253 len = enc_len(ONIG_ENCODING_UTF8, p); in utf8_mbc_to_normalize()
277 (*pp) += enc_len(ONIG_ENCODING_UTF8, p); in utf8_is_mbc_ambiguous()
H A Deuc_tw.c104 len = enc_len(ONIG_ENCODING_EUC_TW, p); in euctw_left_adjust_char_head()
H A Dbig5.c128 len = enc_len(ONIG_ENCODING_BIG5, p); in big5_left_adjust_char_head()
H A Deuc_kr.c104 len = enc_len(ONIG_ENCODING_EUC_KR, p); in euckr_left_adjust_char_head()
/PHP-5.4/ext/tidy/
H A Dtidy.c556 int arg1_len, enc_len = 0, data_len = 0; in php_tidy_quick_repair() local
597 if(enc_len) { in php_tidy_quick_repair()
1219 int input_len, enc_len = 0; in PHP_FUNCTION() local
1223 …ters(ZEND_NUM_ARGS() TSRMLS_CC, "s|Zs", &input, &input_len, &options, &enc, &enc_len) == FAILURE) { in PHP_FUNCTION()
1274 int input_len, contents_len, enc_len = 0; in PHP_FUNCTION() local
1282 &options, &enc, &enc_len, &use_include_path) == FAILURE) { in PHP_FUNCTION()
1587 int input_len = 0, enc_len = 0, contents_len = 0; in TIDY_DOC_METHOD() local
1596 &options, &enc, &enc_len, &use_include_path) == FAILURE) { in TIDY_DOC_METHOD()
1619 int input_len, enc_len = 0, contents_len = 0; in TIDY_DOC_METHOD() local
1630 &options, &enc, &enc_len, &use_include_path) == FAILURE) { in TIDY_DOC_METHOD()
[all …]
/PHP-5.4/ext/soap/
H A Dphp_sdl.c133 int enc_len; in get_encoder() local
136 enc_len = enc_ns_len + type_len + 1; in get_encoder()
137 enc_nscat = emalloc(enc_len + 1); in get_encoder()
141 enc_nscat[enc_len] = '\0'; in get_encoder()
143 enc = get_encoder_ex(NULL, enc_nscat, enc_len); in get_encoder()
1430 int enc_len; in sdl_deserialize_encoder() local
1434 enc_len = enc_ns_len + type_len + 1; in sdl_deserialize_encoder()
1435 enc_nscat = emalloc(enc_len + 1); in sdl_deserialize_encoder()
1439 enc_nscat[enc_len] = '\0'; in sdl_deserialize_encoder()
1441 real_enc = get_encoder_ex(NULL, enc_nscat, enc_len); in sdl_deserialize_encoder()
/PHP-5.4/ext/xmlwriter/
H A Dphp_xmlwriter.c1386 int version_len, enc_len, alone_len, retval; in PHP_FUNCTION() local
1392 …ers(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!", &version, &version_len, &enc, &enc_len, &alone, &alone_l… in PHP_FUNCTION()
1399 …_NUM_ARGS() TSRMLS_CC, "r|s!s!s!", &pind, &version, &version_len, &enc, &enc_len, &alone, &alone_l… in PHP_FUNCTION()
/PHP-5.4/ext/standard/
H A Dstring.c4911 int str_len = 0, delim_len = 0, enc_len = 0, esc_len = 0; local
4914 &enc_str, &enc_len, &esc_str, &esc_len) == FAILURE) {
4919 enc = enc_len ? enc_str[0] : enc;
/PHP-5.4/ext/gd/
H A Dgd.c4179 int enc_len, *f_ind; in PHP_FUNCTION() local
4181 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp", &fnt, &enc, &enc_len) == FAILURE) { in PHP_FUNCTION()
/PHP-5.4/ext/mbstring/
H A Dmbstring.c4497 int enc_len; in PHP_FUNCTION() local
4503 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ss", &var, &var_len, &enc, &enc_len) == FAI… in PHP_FUNCTION()

Completed in 125 milliseconds