Searched refs:rules_len (Results 1 – 1 of 1) sorted by relevance
/PHP-7.0/ext/intl/breakiterator/ |
H A D | rulebasedbreakiterator_methods.cpp | 36 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() 201 uint32_t rules_len; in PHP_FUNCTION() local 202 const uint8_t *rules = fetch_rbbi(bio)->getBinaryRules(rules_len); in PHP_FUNCTION() 204 if (rules_len > INT_MAX - 1) { in PHP_FUNCTION() 211 zend_string *ret_rules = zend_string_alloc(rules_len, 0); in PHP_FUNCTION() 212 memcpy(ZSTR_VAL(ret_rules), rules, rules_len); in PHP_FUNCTION() 213 ZSTR_VAL(ret_rules)[rules_len] = '\0'; in PHP_FUNCTION()
|
Completed in 5 milliseconds