Home
last modified time | relevance | path

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

/PHP-8.2/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp38 size_t rules_len; in _php_intlrbbi_constructor_body() local
45 &rules, &rules_len, &compiled) == FAILURE) { in _php_intlrbbi_constructor_body()
64 if (intl_stringFromChar(rulesStr, rules, rules_len, &status) in _php_intlrbbi_constructor_body()
86 rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status); in _php_intlrbbi_constructor_body()
194 uint32_t rules_len; in PHP_METHOD() local
195 const uint8_t *rules = fetch_rbbi(bio)->getBinaryRules(rules_len); in PHP_METHOD()
197 if (rules_len > INT_MAX - 1) { in PHP_METHOD()
204 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_METHOD()
205 memcpy(ZSTR_VAL(ret_rules), rules, rules_len); in PHP_METHOD()
206 ZSTR_VAL(ret_rules)[rules_len] = '\0'; in PHP_METHOD()

Completed in 4 milliseconds