/third_party/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 2003 UnicodeString longString=UNICODE_STRING_SIMPLE("abcdefghijklmnopqrstuvwxyz0123456789"); in TestReadOnlyAlias() local 2004 alias.setTo(false, longString.getBuffer(), longString.length()); in TestReadOnlyAlias() 2006 … if(longString.compare(10, INT32_MAX, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+10) { in TestReadOnlyAlias() 2009 alias.setTo(false, longString.getBuffer(), longString.length()); in TestReadOnlyAlias() 2011 if(longString.compare(0, 27, alias)!=0 || alias.getBuffer()!=longString.getBuffer()) { in TestReadOnlyAlias() 2014 alias.setTo(false, longString.getBuffer(), longString.length()); in TestReadOnlyAlias() 2016 if(longString.compare(6, 24, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+6) { in TestReadOnlyAlias() 2024 temp.fastCopyFrom(longString.tempSubString()); in TestReadOnlyAlias() 2025 if(temp!=longString || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias() 2028 temp.fastCopyFrom(longString.tempSubString(-3, 5)); in TestReadOnlyAlias() [all …]
|
D | usettest.cpp | 753 UnicodeString longString=u"aaaaaaaaaabbbbbbbbbbcccccccccc"; in TestAPI() local 756 if( ac.span(longString, -5, USET_SPAN_CONTAINED)!=10 || in TestAPI() 757 ac.span(longString, 0, USET_SPAN_CONTAINED)!=10 || in TestAPI() 758 ac.span(longString, 5, USET_SPAN_CONTAINED)!=10 || in TestAPI() 759 ac.span(longString, 10, USET_SPAN_CONTAINED)!=10 || in TestAPI() 760 ac.span(longString, 15, USET_SPAN_CONTAINED)!=15 || in TestAPI() 761 ac.span(longString, 20, USET_SPAN_CONTAINED)!=30 || in TestAPI() 762 ac.span(longString, 25, USET_SPAN_CONTAINED)!=30 || in TestAPI() 763 ac.span(longString, 30, USET_SPAN_CONTAINED)!=30 || in TestAPI() 764 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 | 254 let longString = 'A'; variable 256 longString = longString + String.fromCharCode(i) + longString; 259 const longBufferString = Buffer.from(longString);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 2573 String longString = longBuffer.toString(); in testForSpanGaps() local 2574 longString = longString.replace("{","").replace("}",""); in testForSpanGaps() 2579 int problemFound = checkSpan(longString, us, SpanCondition.SIMPLE); in testForSpanGaps() 2581 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps() 2590 int problemFound = checkSpan(longString, us, SpanCondition.CONTAINED); in testForSpanGaps() 2592 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps() 2604 private int checkSpan(String longString, UnicodeSet us, SpanCondition spanCondition) { in checkSpan() argument 2606 while (start < longString.length()) { in checkSpan() 2607 int limit = us.span(longString, start, spanCondition); in checkSpan() 2608 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()
|