Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c790 const RBBITailoringTest * testPtr; in TestBreakIteratorTailoring() local
791 for (testPtr = tailoringTests; testPtr->locale != NULL; ++testPtr) { in TestBreakIteratorTailoring()
793 … UBreakIterator* ubrkiter = ubrk_open(testPtr->type, testPtr->locale, testPtr->test, -1, &status); in TestBreakIteratorTailoring()
800 if (!foundError && offsindx >= testPtr->numOffsets) { in TestBreakIteratorTailoring()
802 testPtr->locale, testPtr->type, offset); in TestBreakIteratorTailoring()
804 } else if (!foundError && offset != testPtr->offsFwd[offsindx]) { in TestBreakIteratorTailoring()
806 testPtr->locale, testPtr->type, testPtr->offsFwd[offsindx], offset); in TestBreakIteratorTailoring()
810 if (!foundError && offsindx < testPtr->numOffsets) { in TestBreakIteratorTailoring()
812 testPtr->locale, testPtr->type, testPtr->offsFwd[offsindx]); in TestBreakIteratorTailoring()
817 if (!foundError && offsindx >= testPtr->numOffsets) { in TestBreakIteratorTailoring()
[all …]
Dcnumtst.c1162 const SpelloutParseTest * testPtr; in TestSpelloutNumberParse() local
1163 for (testPtr = spelloutParseTests; testPtr->testname != NULL; ++testPtr) { in TestSpelloutNumberParse()
1165 int32_t value, position = testPtr->startPos; in TestSpelloutNumberParse()
1166 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse()
1168 …status, "unum_open fails for UNUM_SPELLOUT with locale %s, status %s\n", testPtr->locale, myErrorN… in TestSpelloutNumberParse()
1172 value = unum_parse(nf, testPtr->source, -1, &position, &status); in TestSpelloutNumberParse()
1173 if ( value != testPtr->value || position != testPtr->endPos || status != testPtr->status ) { in TestSpelloutNumberParse()
1175 testPtr->locale, testPtr->testname, testPtr->startPos, in TestSpelloutNumberParse()
1176 testPtr->value, testPtr->endPos, myErrorName(testPtr->status), in TestSpelloutNumberParse()
Dnucnvtst.c4607 const EmptySegmentTest * testPtr; in TestJitterbug6175() local
4608 for (testPtr = emptySegmentTests; testPtr->converterName != NULL; ++testPtr) { in TestJitterbug6175()
4610 UConverter * cnv = ucnv_open(testPtr->converterName, &err); in TestJitterbug6175()
4612 … log_data_err("Unable to open %s converter: %s\n", testPtr->converterName, u_errorName(err)); in TestJitterbug6175()
4617 …log_data_err("Unable to setToUCallBack for %s converter: %s\n", testPtr->converterName, u_errorNam… in TestJitterbug6175()
4625 const char * inCharsPtr = testPtr->inputText; in TestJitterbug6175()
4626 const char * inCharsLimit = inCharsPtr + testPtr->inputTextLength; in TestJitterbug6175()