Home
last modified time | relevance | path

Searched refs:testLine (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Ddcfmtest.cpp267 UnicodeString testLine = lineMat.group(1, status); in DataDrivenTests() local
269 if (testLine.length() == 0) { in DataDrivenTests()
278 commentMat.reset(testLine); in DataDrivenTests()
288 parseLineMat.reset(testLine); in DataDrivenTests()
302 formatLineMat.reset(testLine); in DataDrivenTests()
326 lineNum, UnicodeStringPiece(testLine).data()); in DataDrivenTests()
Ddtfmttst.cpp3431 const char **testLine = fallbackTests[i]; in TestTimeZoneDisplayName() local
3434 info[j] = UnicodeString(testLine[j], -1, US_INV); in TestTimeZoneDisplayName()
3437 logln("%s;%s;%s;%s", testLine[0], testLine[1], testLine[2], testLine[3]); in TestTimeZoneDisplayName()
3441 UDate d = testfmt.parse(testLine[2], status); in TestTimeZoneDisplayName()
3444 errln(UnicodeString("Failed to set date: ") + testLine[2]); in TestTimeZoneDisplayName()
3447 SimpleDateFormat fmt(info[3], Locale(testLine[0]),status); in TestTimeZoneDisplayName()
3489 const char **testLine = tests[i]; in TestTimeZoneInLocale() local
3490 Locale locale(testLine[0]); in TestTimeZoneInLocale()
3491 UnicodeString expectedTimezone(testLine[1], -1, US_INV); in TestTimeZoneInLocale()
3499 testLine[2], smptfmt.getCalendar()->getType()); in TestTimeZoneInLocale()
[all …]
Dregextst.cpp3213 UnicodeString testLine = lineMat.group(1, status); in Extended() local
3214 if (testLine.length() == 0) { in Extended()
3223 commentMat.reset(testLine); in Extended()
3232 quotedStuffMat.reset(testLine); in Extended()
3235 testLine.remove(0, quotedStuffMat.end(0, status)); in Extended()
3245 flagsMat.reset(testLine); in Extended()
3253 testLine.remove(0, flagsMat.end(0, status)); in Extended()
3259 quotedStuffMat.reset(testLine); in Extended()
3262 testLine.remove(0, quotedStuffMat.end(0, status)); in Extended()
3271 commentMat.reset(testLine); in Extended()
Dcaltest.cpp2845 const char **testLine = tests[i]; in TestTimeZoneInLocale() local
2846 Locale locale(testLine[0]); in TestTimeZoneInLocale()
2847 UnicodeString expected(testLine[1], -1, US_INV); in TestTimeZoneInLocale()
2858 testLine[2], calendar->getType()); in TestTimeZoneInLocale()
/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp113 auto& testLine = testVisitor.fTestLines[lineIndex]; in UNIX_ONLY_TEST() local
123 …for (RunIndex runIndex = testLine.runRange.fEnd; runIndex > testLine.runRange.fStart; --runIndex) { in UNIX_ONLY_TEST()
133 REPORTER_ASSERT(reporter, boxLine.fTrailingSpacesEnd == testLine.trailingSpaces.fEnd); in UNIX_ONLY_TEST()
135 REPORTER_ASSERT(reporter, boxLine.fTextRange == testLine.lineText); in UNIX_ONLY_TEST()
137 REPORTER_ASSERT(reporter, boxLine.fIsHardBreak == testLine.hardBreak); in UNIX_ONLY_TEST()
138 REPORTER_ASSERT(reporter, boxLine.fBounds == testLine.bounds); in UNIX_ONLY_TEST()
/third_party/icu/tools/colprobe/
Dcolprobe.cpp602 Line testLine; in noteExpansion() local
603 Line *l = &testLine; in noteExpansion()
605 u_strcpy(testLine.name, (*(gLines+i))->name); in noteExpansion()
606 u_strcat(testLine.name, line->expansionString); in noteExpansion()
607 testLine.len = (*(gLines+i))->len + line->expLen; in noteExpansion()
640 Line testLine, prevTestLine; in positionExpansions() local
641 Line *l = &testLine; in positionExpansions()
664 u_strcpy(testLine.name, current->name); in positionExpansions()
666 u_strcat(testLine.name, line->expansionString); in positionExpansions()
667 testLine.len = current->len + line->expLen; in positionExpansions()
[all …]
/third_party/skia/src/pathops/
DSkOpAngle.cpp272 SkDVector testLine = testCurve[index] - origin; in linesOnOriginalSide() local
273 double xy1 = line.fX * testLine.fY; in linesOnOriginalSide()
274 double xy2 = line.fY * testLine.fX; in linesOnOriginalSide()
275 dots[index] = line.fX * testLine.fX + line.fY * testLine.fY; in linesOnOriginalSide()
/third_party/skia/src/core/
DSkGeometry.cpp1089 SkVector testLine = src[testIndex + index] - origin; in on_same_side() local
1090 crosses[index] = line.cross(testLine); in on_same_side()