Searched refs:binaryRules (Results 1 - 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/
H A Dubrk.cpp124 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength, argument
135 LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *status), *status);
324 uint8_t * binaryRules, int32_t rulesCapacity,
330 if ((binaryRules == NULL && rulesCapacity > 0) || rulesCapacity < 0) {
345 if (binaryRules != NULL) { // if not preflighting
350 uprv_memcpy(binaryRules, returnedRules, rulesLength);
323 ubrk_getBinaryRules(UBreakIterator *bi, uint8_t * binaryRules, int32_t rulesCapacity, UErrorCode * status) argument
/external/icu/icu4c/source/common/unicode/
H A Dubrk.h278 * @param binaryRules A set of compiled binary rules specifying the text breaking
283 * @param rulesLength The length of binaryRules in bytes; must be >= 0.
293 ubrk_openBinaryRules(const uint8_t *binaryRules, int32_t rulesLength,
606 * binaryRules=NULL and rulesCapacity=0) to get the rules length without copying them to
607 * the binaryRules buffer. However, whether preflighting or not, if the actual length
612 * @param binaryRules Buffer to receive the compiled binary rules; set to NULL for
614 * @param rulesCapacity Capacity (in bytes) of the binaryRules buffer; set to 0 for
627 uint8_t * binaryRules, int32_t rulesCapacity,
/external/icu/icu4c/source/test/cintltst/
H A Dcbiapts.c598 uint8_t* binaryRules = (uint8_t*)uprv_malloc(rulesLength); local
599 if (binaryRules == NULL) {
602 rulesLength = ubrk_getBinaryRules(bi, binaryRules, rulesLength, &status);
606 UBreakIterator* bi2 = ubrk_openBinaryRules(binaryRules, rulesLength, uData, -1, &status);
624 uprv_free(binaryRules);

Completed in 857 milliseconds