Lines Matching refs:string_len
696 size_t string_len; in _php_mb_regex_ereg_exec() local
703 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs|z/", &arg_pattern, &string, &string_len, &array) ==… in _php_mb_regex_ereg_exec()
709 string_len, in _php_mb_regex_ereg_exec()
754 …OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string, (OnigUChar *)(string … in _php_mb_regex_ereg_exec()
767 if (beg >= 0 && beg < end && (size_t)end <= string_len) { in _php_mb_regex_ereg_exec()
817 size_t string_len; in _php_mb_regex_ereg_replace_exec() local
853 &string, &string_len, in _php_mb_regex_ereg_replace_exec()
861 &string, &string_len, in _php_mb_regex_ereg_replace_exec()
869 string_len, in _php_mb_regex_ereg_replace_exec()
925 string_lim = (OnigUChar*)(string + string_len); in _php_mb_regex_ereg_replace_exec()
957 if (regs->beg[n] >= 0 && regs->beg[n] < regs->end[n] && (size_t)regs->end[n] <= string_len) { in _php_mb_regex_ereg_replace_exec()
1101 size_t string_len; in PHP_FUNCTION() local
1106 …ers(ZEND_NUM_ARGS(), "ss|l", &arg_pattern, &arg_pattern_len, &string, &string_len, &count) == FAIL… in PHP_FUNCTION()
1114 if (!php_mb_check_encoding(string, string_len, in PHP_FUNCTION()
1130 while (count != 0 && (pos - (OnigUChar *)string) < (ptrdiff_t)string_len) { in PHP_FUNCTION()
1132 …ch(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), pos, (OnigUChar *)(string + string… in PHP_FUNCTION()
1139 if ((size_t)beg < string_len && beg >= (chunk_pos - (OnigUChar *)string)) { in PHP_FUNCTION()
1166 n = ((OnigUChar *)(string + string_len) - chunk_pos); in PHP_FUNCTION()
1183 size_t string_len; in PHP_FUNCTION() local
1195 &arg_pattern, &arg_pattern_len, &string, &string_len, in PHP_FUNCTION()
1208 if (!php_mb_check_encoding(string, string_len, in PHP_FUNCTION()
1218 …err = onig_match(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string,… in PHP_FUNCTION()
1497 size_t string_len; in PHP_FUNCTION() local
1501 &string, &string_len) == FAILURE) { in PHP_FUNCTION()
1507 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL); in PHP_FUNCTION()