Lines Matching refs:brk
380 UBreakIterator * brk; in TestBreakIteratorSafeClone() local
426 …if (NULL == (brk = ubrk_safeClone(someIterators[i], buffer[i], NULL, &status)) || U_FAILURE(status… in TestBreakIteratorSafeClone()
430 ubrk_close(brk); in TestBreakIteratorSafeClone()
446 …if (NULL == (brk = ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status)) || U_FAILURE… in TestBreakIteratorSafeClone()
450 if (brk) in TestBreakIteratorSafeClone()
451 ubrk_close(brk); in TestBreakIteratorSafeClone()
456 …if (NULL == (brk = ubrk_safeClone(someIterators[i], NULL, &bufferSize, &status)) || status != U_SA… in TestBreakIteratorSafeClone()
460 if (brk) in TestBreakIteratorSafeClone()
461 ubrk_close(brk); in TestBreakIteratorSafeClone()
466 …if (NULL == (brk = ubrk_safeClone(someIterators[i], NULL, &bufferSize, &status)) || status != U_SA… in TestBreakIteratorSafeClone()
470 if (brk) in TestBreakIteratorSafeClone()
471 ubrk_close(brk); in TestBreakIteratorSafeClone()
478 brk = ubrk_safeClone(someIterators[i], &stackBuf[1], &bufferSize, &status); in TestBreakIteratorSafeClone()
479 if (U_FAILURE(status) || brk == NULL) { in TestBreakIteratorSafeClone()
485 if (brk) in TestBreakIteratorSafeClone()
486 ubrk_close(brk); in TestBreakIteratorSafeClone()
947 int32_t brk; in TestBug11665() local
958 for (brk=ubrk_first(bi); brk != UBRK_DONE; brk=ubrk_next(bi)) { in TestBug11665()
959 boundaries[brkIdx] = brk; in TestBug11665()
969 for (brk=ubrk_first(bi); brk != UBRK_DONE; brk=ubrk_next(bi)) { in TestBug11665()
970 if (brk != boundaries[brkIdx]) { in TestBug11665()