Home
last modified time | relevance | path

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

/PHP-7.3/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp39 size_t rules_len; in _php_intlrbbi_constructor_body() local
45 &rules, &rules_len, &compiled) == FAILURE) { in _php_intlrbbi_constructor_body()
57 if (intl_stringFromChar(rulesStr, rules, rules_len, &status) in _php_intlrbbi_constructor_body()
81 rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status); in _php_intlrbbi_constructor_body()
205 uint32_t rules_len; in PHP_FUNCTION() local
206 const uint8_t *rules = fetch_rbbi(bio)->getBinaryRules(rules_len); in PHP_FUNCTION()
208 if (rules_len > INT_MAX - 1) { in PHP_FUNCTION()
215 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_FUNCTION()
216 memcpy(ZSTR_VAL(ret_rules), rules, rules_len); in PHP_FUNCTION()
217 ZSTR_VAL(ret_rules)[rules_len] = '\0'; in PHP_FUNCTION()

Completed in 4 milliseconds