Lines Matching refs:OnigUChar
449 OnigUChar err_str[ONIG_MAX_ERROR_MESSAGE_LEN]; in php_mbregex_compile_pattern()
459 …if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, … in php_mbregex_compile_pattern()
754 …if (onig_search(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string, … in _php_mb_regex_ereg_exec()
828 OnigUChar *pos; in _php_mb_regex_ereg_replace_exec()
829 OnigUChar *string_lim; in _php_mb_regex_ereg_replace_exec()
924 pos = (OnigUChar *)string; in _php_mb_regex_ereg_replace_exec()
925 string_lim = (OnigUChar*)(string + string_len); in _php_mb_regex_ereg_replace_exec()
928 …err = onig_search(re, (OnigUChar *)string, (OnigUChar *)string_lim, pos, (OnigUChar *)string_lim, … in _php_mb_regex_ereg_replace_exec()
930 OnigUChar err_str[ONIG_MAX_ERROR_MESSAGE_LEN]; in _php_mb_regex_ereg_replace_exec()
943 smart_str_appendl(&out_buf, (char *)pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos)); in _php_mb_regex_ereg_replace_exec()
1030 if ((pos - (OnigUChar *)string) < n) { in _php_mb_regex_ereg_replace_exec()
1031 pos = (OnigUChar *)string + n; in _php_mb_regex_ereg_replace_exec()
1100 OnigUChar *pos, *chunk_pos; in PHP_FUNCTION()
1126 chunk_pos = pos = (OnigUChar *)string; in PHP_FUNCTION()
1130 while (count != 0 && (pos - (OnigUChar *)string) < (ptrdiff_t)string_len) { in PHP_FUNCTION()
1132 …err = onig_search(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), pos, (OnigUChar *)(… in PHP_FUNCTION()
1138 if ((pos - (OnigUChar *)string) < end) { in PHP_FUNCTION()
1139 if ((size_t)beg < string_len && beg >= (chunk_pos - (OnigUChar *)string)) { in PHP_FUNCTION()
1140 …add_next_index_stringl(return_value, (char *)chunk_pos, ((OnigUChar *)(string + beg) - chunk_pos)); in PHP_FUNCTION()
1147 chunk_pos = pos = (OnigUChar *)string + end; in PHP_FUNCTION()
1158 OnigUChar err_str[ONIG_MAX_ERROR_MESSAGE_LEN]; in PHP_FUNCTION()
1166 n = ((OnigUChar *)(string + string_len) - chunk_pos); in PHP_FUNCTION()
1218 …err = onig_match(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string,… in PHP_FUNCTION()
1236 OnigUChar *str; in _php_mb_regex_ereg_search_exec()
1261 str = (OnigUChar *)Z_STRVAL(MBREX(search_str)); in _php_mb_regex_ereg_search_exec()
1285 OnigUChar err_str[ONIG_MAX_ERROR_MESSAGE_LEN]; in _php_mb_regex_ereg_search_exec()
1419 OnigUChar *str; in PHP_FUNCTION()
1424 str = (OnigUChar *)Z_STRVAL(MBREX(search_str)); in PHP_FUNCTION()