/third_party/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 1987 UnicodeString longString=UNICODE_STRING_SIMPLE("abcdefghijklmnopqrstuvwxyz0123456789"); in TestReadOnlyAlias() local 1988 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias() 1990 … if(longString.compare(10, INT32_MAX, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+10) { in TestReadOnlyAlias() 1993 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias() 1995 if(longString.compare(0, 27, alias)!=0 || alias.getBuffer()!=longString.getBuffer()) { in TestReadOnlyAlias() 1998 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias() 2000 if(longString.compare(6, 24, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+6) { in TestReadOnlyAlias() 2008 temp.fastCopyFrom(longString.tempSubString()); in TestReadOnlyAlias() 2009 if(temp!=longString || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias() 2012 temp.fastCopyFrom(longString.tempSubString(-3, 5)); in TestReadOnlyAlias() [all …]
|
D | usettest.cpp | 751 UnicodeString longString=u"aaaaaaaaaabbbbbbbbbbcccccccccc"; in TestAPI() local 754 if( ac.span(longString, -5, USET_SPAN_CONTAINED)!=10 || in TestAPI() 755 ac.span(longString, 0, USET_SPAN_CONTAINED)!=10 || in TestAPI() 756 ac.span(longString, 5, USET_SPAN_CONTAINED)!=10 || in TestAPI() 757 ac.span(longString, 10, USET_SPAN_CONTAINED)!=10 || in TestAPI() 758 ac.span(longString, 15, USET_SPAN_CONTAINED)!=15 || in TestAPI() 759 ac.span(longString, 20, USET_SPAN_CONTAINED)!=30 || in TestAPI() 760 ac.span(longString, 25, USET_SPAN_CONTAINED)!=30 || in TestAPI() 761 ac.span(longString, 30, USET_SPAN_CONTAINED)!=30 || in TestAPI() 762 ac.span(longString, 35, USET_SPAN_CONTAINED)!=30 || in TestAPI() [all …]
|
/third_party/node/test/parallel/ |
D | test-buffer-includes.js | 189 let longString = 'A'; variable 191 longString = longString + String.fromCharCode(i) + longString; 194 const longBufferString = Buffer.from(longString);
|
D | test-buffer-indexof.js | 247 let longString = 'A'; variable 249 longString = longString + String.fromCharCode(i) + longString; 252 const longBufferString = Buffer.from(longString);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 2572 String longString = longBuffer.toString(); in testForSpanGaps() local 2573 longString = longString.replace("{","").replace("}",""); in testForSpanGaps() 2578 int problemFound = checkSpan(longString, us, SpanCondition.SIMPLE); in testForSpanGaps() 2580 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps() 2589 int problemFound = checkSpan(longString, us, SpanCondition.CONTAINED); in testForSpanGaps() 2591 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps() 2603 private int checkSpan(String longString, UnicodeSet us, SpanCondition spanCondition) { in checkSpan() argument 2605 while (start < longString.length()) { in checkSpan() 2606 int limit = us.span(longString, start, spanCondition); in checkSpan() 2607 if (limit == longString.length()) { in checkSpan() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 2570 String longString = longBuffer.toString(); in testForSpanGaps() local 2571 longString = longString.replace("{","").replace("}",""); in testForSpanGaps() 2576 int problemFound = checkSpan(longString, us, SpanCondition.SIMPLE); in testForSpanGaps() 2578 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps() 2587 int problemFound = checkSpan(longString, us, SpanCondition.CONTAINED); in testForSpanGaps() 2589 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps() 2601 private int checkSpan(String longString, UnicodeSet us, SpanCondition spanCondition) { in checkSpan() argument 2603 while (start < longString.length()) { in checkSpan() 2604 int limit = us.span(longString, start, spanCondition); in checkSpan() 2605 if (limit == longString.length()) { in checkSpan() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 5280 std::string longString; in makeLongUTF8String() local 5281 longString.reserve(num4ByteChars * 4); in makeLongUTF8String() 5284 longString += earthAfrica; in makeLongUTF8String() 5286 return longString; in makeLongUTF8String()
|