Home
last modified time | relevance | path

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

/PHP-7.4/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()
80 rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status); in _php_intlrbbi_constructor_body()
198 uint32_t rules_len; in PHP_FUNCTION() local
199 const uint8_t *rules = fetch_rbbi(bio)->getBinaryRules(rules_len); in PHP_FUNCTION()
201 if (rules_len > INT_MAX - 1) { in PHP_FUNCTION()
208 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_FUNCTION()
209 memcpy(ZSTR_VAL(ret_rules), rules, rules_len); in PHP_FUNCTION()
210 ZSTR_VAL(ret_rules)[rules_len] = '\0'; in PHP_FUNCTION()

Completed in 4 milliseconds