Home
last modified time | relevance | path

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

/PHP-7.2/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp36 size_t rules_len; in _php_intlrbbi_constructor_body() local
42 &rules, &rules_len, &compiled) == FAILURE) { in _php_intlrbbi_constructor_body()
54 if (intl_stringFromChar(rulesStr, rules, rules_len, &status) in _php_intlrbbi_constructor_body()
78 rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status); in _php_intlrbbi_constructor_body()
202 uint32_t rules_len; in PHP_FUNCTION() local
203 const uint8_t *rules = fetch_rbbi(bio)->getBinaryRules(rules_len); in PHP_FUNCTION()
205 if (rules_len > INT_MAX - 1) { in PHP_FUNCTION()
212 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_FUNCTION()
213 memcpy(ZSTR_VAL(ret_rules), rules, rules_len); in PHP_FUNCTION()
214 ZSTR_VAL(ret_rules)[rules_len] = '\0'; in PHP_FUNCTION()

Completed in 12 milliseconds