Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcbiapts.c832 const RBBITailoringTest * testPtr; in TestBreakIteratorTailoring() local
833 for (testPtr = tailoringTests; testPtr->locale != NULL; ++testPtr) { in TestBreakIteratorTailoring()
835 … UBreakIterator* ubrkiter = ubrk_open(testPtr->type, testPtr->locale, testPtr->test, -1, &status); in TestBreakIteratorTailoring()
842 if (!foundError && offsindx >= testPtr->numOffsets) { in TestBreakIteratorTailoring()
844 testPtr->locale, testPtr->type, offset); in TestBreakIteratorTailoring()
846 } else if (!foundError && offset != testPtr->offsFwd[offsindx]) { in TestBreakIteratorTailoring()
848 testPtr->locale, testPtr->type, testPtr->offsFwd[offsindx], offset); in TestBreakIteratorTailoring()
852 if (!foundError && offsindx < testPtr->numOffsets) { in TestBreakIteratorTailoring()
854 testPtr->locale, testPtr->type, testPtr->offsFwd[offsindx]); in TestBreakIteratorTailoring()
859 if (!foundError && offsindx >= testPtr->numOffsets) { in TestBreakIteratorTailoring()
[all …]
Dcnumtst.c1177 const SpelloutParseTest * testPtr; in TestSpelloutNumberParse() local
1178 for (testPtr = spelloutParseTests; testPtr->testname != NULL; ++testPtr) { in TestSpelloutNumberParse()
1180 int32_t value, position = testPtr->startPos; in TestSpelloutNumberParse()
1181 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse()
1183 …status, "unum_open fails for UNUM_SPELLOUT with locale %s, status %s\n", testPtr->locale, myErrorN… in TestSpelloutNumberParse()
1187 value = unum_parse(nf, testPtr->source, -1, &position, &status); in TestSpelloutNumberParse()
1188 if ( value != testPtr->value || position != testPtr->endPos || status != testPtr->status ) { in TestSpelloutNumberParse()
1190 testPtr->locale, testPtr->testname, testPtr->startPos, in TestSpelloutNumberParse()
1191 testPtr->value, testPtr->endPos, myErrorName(testPtr->status), in TestSpelloutNumberParse()
Dnucnvtst.c4617 const EmptySegmentTest * testPtr; in TestJitterbug6175() local
4618 for (testPtr = emptySegmentTests; testPtr->converterName != NULL; ++testPtr) { in TestJitterbug6175()
4620 UConverter * cnv = ucnv_open(testPtr->converterName, &err); in TestJitterbug6175()
4622 … log_data_err("Unable to open %s converter: %s\n", testPtr->converterName, u_errorName(err)); in TestJitterbug6175()
4627 …log_data_err("Unable to setToUCallBack for %s converter: %s\n", testPtr->converterName, u_errorNam… in TestJitterbug6175()
4635 const char * inCharsPtr = testPtr->inputText; in TestJitterbug6175()
4636 const char * inCharsLimit = inCharsPtr + testPtr->inputTextLength; in TestJitterbug6175()