Lines Matching refs:string_len
892 size_t string_len; in _php_mb_regex_ereg_exec() local
899 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs|z/", &arg_pattern, &string, &string_len, &array) ==… in _php_mb_regex_ereg_exec()
910 string_len, in _php_mb_regex_ereg_exec()
946 …OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string, (OnigUChar *)(string … in _php_mb_regex_ereg_exec()
959 if (beg >= 0 && beg < end && (size_t)end <= string_len) { in _php_mb_regex_ereg_exec()
967 mb_regex_groups_iter_args args = {array, string, string_len, regs}; in _php_mb_regex_ereg_exec()
1014 size_t string_len; in _php_mb_regex_ereg_replace_exec() local
1048 &string, &string_len, in _php_mb_regex_ereg_replace_exec()
1056 &string, &string_len, in _php_mb_regex_ereg_replace_exec()
1064 string_len, in _php_mb_regex_ereg_replace_exec()
1120 string_lim = (OnigUChar*)(string + string_len); in _php_mb_regex_ereg_replace_exec()
1135 mb_regex_substitute(pbuf, string, string_len, replace, replace_len, re, regs, enc); in _php_mb_regex_ereg_replace_exec()
1176 mb_regex_groups_iter_args args = {&subpats, string, string_len, regs}; in _php_mb_regex_ereg_replace_exec()
1273 size_t string_len; in PHP_FUNCTION() local
1278 …ers(ZEND_NUM_ARGS(), "ss|l", &arg_pattern, &arg_pattern_len, &string, &string_len, &count) == FAIL… in PHP_FUNCTION()
1286 if (!php_mb_check_encoding(string, string_len, in PHP_FUNCTION()
1302 while (count != 0 && (size_t)(pos - (OnigUChar *)string) < string_len) { in PHP_FUNCTION()
1304 …ch(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), pos, (OnigUChar *)(string + string… in PHP_FUNCTION()
1311 if (beg < string_len && beg >= (size_t)(chunk_pos - (OnigUChar *)string)) { in PHP_FUNCTION()
1338 if ((OnigUChar *)(string + string_len) > chunk_pos) { in PHP_FUNCTION()
1339 size_t n = ((OnigUChar *)(string + string_len) - chunk_pos); in PHP_FUNCTION()
1355 size_t string_len; in PHP_FUNCTION() local
1368 &arg_pattern, &arg_pattern_len, &string, &string_len, in PHP_FUNCTION()
1381 if (!php_mb_check_encoding(string, string_len, in PHP_FUNCTION()
1396 …err = onig_match_with_param(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUCha… in PHP_FUNCTION()
1697 size_t string_len; in PHP_FUNCTION() local
1701 &string, &string_len) == FAILURE) { in PHP_FUNCTION()
1707 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL); in PHP_FUNCTION()