• Home
  • Raw
  • Download

Lines Matching refs:testcase

138     Command(const UnicodeSetPerformanceTest &testcase) : testcase(testcase) {}  in Command()  argument
148 return testcase.countInputCodePoints+testcase.spanCount-1; in getOperationsPerIteration()
152 return testcase.spanCount; in getEventsPerIteration()
155 const UnicodeSetPerformanceTest &testcase; member in Command
160 Contains(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in Contains() argument
166 if(testcase.set.contains(c)) { in Contains()
170 if(set!=testcase.set) { in Contains()
175 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument
176 return new Contains(testcase); in get()
179 const UnicodeSet &set=testcase.set; in call()
180 const UChar *s=testcase.getBuffer(); in call()
181 int32_t length=testcase.getBufferLen(); in call()
190 if(count!=testcase.spanCount) { in call()
192 (long)count, (long)testcase.spanCount); in call()
210 SpanUTF16(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in SpanUTF16() argument
218 if(testcase.set.span(utf16, 1, USET_SPAN_CONTAINED)>0) { in SpanUTF16()
226 if(testcase.set.span(utf16, 2, USET_SPAN_CONTAINED)>0) { in SpanUTF16()
232 if(set!=testcase.set) { in SpanUTF16()
237 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument
238 return new SpanUTF16(testcase); in get()
241 const UnicodeSet &set=testcase.set; in call()
242 const UChar *s=testcase.getBuffer(); in call()
243 int32_t length=testcase.getBufferLen(); in call()
252 if(count!=testcase.spanCount) { in call()
254 (long)count, (long)testcase.spanCount); in call()
261 SpanBackUTF16(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in SpanBackUTF16() argument
269 if(testcase.set.spanBack(utf16, 1, USET_SPAN_CONTAINED)==0) { in SpanBackUTF16()
277 if(testcase.set.spanBack(utf16, 2, USET_SPAN_CONTAINED)==0) { in SpanBackUTF16()
283 if(set!=testcase.set) { in SpanBackUTF16()
288 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument
289 return new SpanBackUTF16(testcase); in get()
292 const UnicodeSet &set=testcase.set; in call()
293 const UChar *s=testcase.getBuffer(); in call()
294 int32_t length=testcase.getBufferLen(); in call()
301 UBool tf=(UBool)((testcase.spanCount&1)==0); in call()
307 if(count!=testcase.spanCount) { in call()
309 (long)count, (long)testcase.spanCount); in call()
316 SpanUTF8(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in SpanUTF8() argument
329 if(testcase.set.spanUTF8(utf8, length, USET_SPAN_CONTAINED)>0) { in SpanUTF8()
333 if(set!=testcase.set) { in SpanUTF8()
338 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument
339 return new SpanUTF8(testcase); in get()
342 const UnicodeSet &set=testcase.set; in call()
343 const char *s=testcase.utf8; in call()
344 int32_t length=testcase.utf8Length; in call()
353 if(count!=testcase.spanCount) { in call()
355 (long)count, (long)testcase.spanCount); in call()
362 SpanBackUTF8(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in SpanBackUTF8() argument
375 if(testcase.set.spanBackUTF8(utf8, length, USET_SPAN_CONTAINED)==0) { in SpanBackUTF8()
379 if(set!=testcase.set) { in SpanBackUTF8()
384 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument
385 return new SpanBackUTF8(testcase); in get()
388 const UnicodeSet &set=testcase.set; in call()
389 const char *s=testcase.utf8; in call()
390 int32_t length=testcase.utf8Length; in call()
397 UBool tf=(UBool)((testcase.spanCount&1)==0); in call()
403 if(count!=testcase.spanCount) { in call()
405 (long)count, (long)testcase.spanCount); in call()