Home
last modified time | relevance | path

Searched refs:longString (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/mjsunit/
Ddebug-evaluate.js96 longString);
100 longString.length + '}',
102 longString);
103 var truncatedStringSuffix = '... (length: ' + longString.length + ')';
113 longString.charAt(0) + truncatedStringSuffix);
119 longString.substring(0, 80) + truncatedStringSuffix);
144 var longString = "1234567890_"; variable
146 longString += longString;
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp1986 UnicodeString longString=UNICODE_STRING_SIMPLE("abcdefghijklmnopqrstuvwxyz0123456789"); in TestReadOnlyAlias() local
1987 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1989 … if(longString.compare(10, INT32_MAX, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+10) { in TestReadOnlyAlias()
1992 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1994 if(longString.compare(0, 27, alias)!=0 || alias.getBuffer()!=longString.getBuffer()) { in TestReadOnlyAlias()
1997 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1999 if(longString.compare(6, 24, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+6) { in TestReadOnlyAlias()
2007 temp.fastCopyFrom(longString.tempSubString()); in TestReadOnlyAlias()
2008 if(temp!=longString || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias()
2011 temp.fastCopyFrom(longString.tempSubString(-3, 5)); in TestReadOnlyAlias()
[all …]
Dusettest.cpp712 UnicodeString longString=UNICODE_STRING_SIMPLE("aaaaaaaaaabbbbbbbbbbcccccccccc"); in TestAPI() local
715 if( ac.span(longString, -5, USET_SPAN_CONTAINED)!=10 || in TestAPI()
716 ac.span(longString, 0, USET_SPAN_CONTAINED)!=10 || in TestAPI()
717 ac.span(longString, 5, USET_SPAN_CONTAINED)!=10 || in TestAPI()
718 ac.span(longString, 10, USET_SPAN_CONTAINED)!=10 || in TestAPI()
719 ac.span(longString, 15, USET_SPAN_CONTAINED)!=15 || in TestAPI()
720 ac.span(longString, 20, USET_SPAN_CONTAINED)!=30 || in TestAPI()
721 ac.span(longString, 25, USET_SPAN_CONTAINED)!=30 || in TestAPI()
722 ac.span(longString, 30, USET_SPAN_CONTAINED)!=30 || in TestAPI()
723 ac.span(longString, 35, USET_SPAN_CONTAINED)!=30 || in TestAPI()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java2521 String longString = longBuffer.toString(); in testForSpanGaps() local
2522 longString = longString.replace("{","").replace("}",""); in testForSpanGaps()
2527 int problemFound = checkSpan(longString, us, SpanCondition.SIMPLE); in testForSpanGaps()
2529 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps()
2538 int problemFound = checkSpan(longString, us, SpanCondition.CONTAINED); in testForSpanGaps()
2540 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps()
2555 private int checkSpan(String longString, UnicodeSet us, SpanCondition spanCondition) { in checkSpan() argument
2557 while (start < longString.length()) { in checkSpan()
2558 int limit = us.span(longString, start, spanCondition); in checkSpan()
2559 if (limit == longString.length()) { in checkSpan()
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java282 String longString = ByteString.of(binaryData(75)).hex(); in closeTooLongThrows() local
283 serverWriter.writeClose(1000, longString); in closeTooLongThrows()