Searched refs:mb_len (Results 1 – 3 of 3) sorted by relevance
/PHP-5.3/ext/standard/ |
H A D | exec.c | 291 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd() local 294 if (mb_len < 0) { in php_escape_shell_cmd() 296 } else if (mb_len > 1) { in php_escape_shell_cmd() 297 memcpy(cmd + y, str + x, mb_len); in php_escape_shell_cmd() 298 y += mb_len; in php_escape_shell_cmd() 299 x += mb_len - 1; in php_escape_shell_cmd() 390 if (mb_len < 0) { in php_escape_shell_arg() 392 } else if (mb_len > 1) { in php_escape_shell_arg() 393 memcpy(cmd + y, str + x, mb_len); in php_escape_shell_arg() 394 y += mb_len; in php_escape_shell_arg() [all …]
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regexec.c | 1843 int mb_len; in match_at() local 1846 mb_len = enc_len(encode, s); in match_at() 1847 DATA_ENSURE(mb_len); in match_at() 1849 s += mb_len; in match_at() 1904 int mb_len = enc_len(encode, s); in match_at() local 1906 if (s + mb_len > end) { in match_at() 1914 s += mb_len; in match_at() 1953 int mb_len; in match_at() local 1958 mb_len = enc_len(encode, s); in match_at() 1960 s += mb_len; in match_at() [all …]
|
H A D | regcomp.c | 304 switch (mb_len) { in select_str_opcode() 409 len += mb_len * str_len; in add_compile_string_length() 414 add_compile_string(UChar* s, int mb_len, int str_len, in add_compile_string() argument 421 add_length(reg, mb_len); in add_compile_string() 425 add_length(reg, mb_len * str_len); in add_compile_string() 430 add_bytes(reg, s, mb_len * str_len); in add_compile_string() 5603 int x = len * mb_len; in p_len_string() 5698 int mb_len; in onig_print_compiled_byte_code() local 5700 GET_LENGTH_INC(mb_len, bp); in onig_print_compiled_byte_code() 5702 fprintf(f, ":%d:%d:", mb_len, len); in onig_print_compiled_byte_code() [all …]
|
Completed in 41 milliseconds