Home
last modified time | relevance | path

Searched refs:longString (Results 1 – 9 of 9) 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);
145 var longString = "1234567890_"; variable
147 longString += longString;
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp1978 UnicodeString longString=UNICODE_STRING_SIMPLE("abcdefghijklmnopqrstuvwxyz0123456789"); in TestReadOnlyAlias() local
1979 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1981 … if(longString.compare(10, INT32_MAX, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+10) { in TestReadOnlyAlias()
1984 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1986 if(longString.compare(0, 27, alias)!=0 || alias.getBuffer()!=longString.getBuffer()) { in TestReadOnlyAlias()
1989 alias.setTo(FALSE, longString.getBuffer(), longString.length()); in TestReadOnlyAlias()
1991 if(longString.compare(6, 24, alias)!=0 || alias.getBuffer()!=longString.getBuffer()+6) { in TestReadOnlyAlias()
1999 temp.fastCopyFrom(longString.tempSubString()); in TestReadOnlyAlias()
2000 if(temp!=longString || (hasRVO && temp.getBuffer()!=longString.getBuffer())) { in TestReadOnlyAlias()
2003 temp.fastCopyFrom(longString.tempSubString(-3, 5)); in TestReadOnlyAlias()
[all …]
Dusettest.cpp713 UnicodeString longString=UNICODE_STRING_SIMPLE("aaaaaaaaaabbbbbbbbbbcccccccccc"); in TestAPI() local
716 if( ac.span(longString, -5, USET_SPAN_CONTAINED)!=10 || in TestAPI()
717 ac.span(longString, 0, USET_SPAN_CONTAINED)!=10 || in TestAPI()
718 ac.span(longString, 5, USET_SPAN_CONTAINED)!=10 || in TestAPI()
719 ac.span(longString, 10, USET_SPAN_CONTAINED)!=10 || in TestAPI()
720 ac.span(longString, 15, USET_SPAN_CONTAINED)!=15 || in TestAPI()
721 ac.span(longString, 20, USET_SPAN_CONTAINED)!=30 || in TestAPI()
722 ac.span(longString, 25, USET_SPAN_CONTAINED)!=30 || in TestAPI()
723 ac.span(longString, 30, USET_SPAN_CONTAINED)!=30 || in TestAPI()
724 ac.span(longString, 35, USET_SPAN_CONTAINED)!=30 || in TestAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java2525 String longString = longBuffer.toString(); in testForSpanGaps() local
2526 longString = longString.replace("{","").replace("}",""); in testForSpanGaps()
2531 int problemFound = checkSpan(longString, us, SpanCondition.SIMPLE); in testForSpanGaps()
2533 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps()
2542 int problemFound = checkSpan(longString, us, SpanCondition.CONTAINED); in testForSpanGaps()
2544 assertEquals("Testing " + longString + ", found gap at", -1, problemFound); in testForSpanGaps()
2559 private int checkSpan(String longString, UnicodeSet us, SpanCondition spanCondition) { in checkSpan() argument
2561 while (start < longString.length()) { in checkSpan()
2562 int limit = us.span(longString, start, spanCondition); in checkSpan()
2563 if (limit == longString.length()) { in checkSpan()
[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()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java444 String longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1);
452 connection.newStream(headerEntries("a", longString), false, true);
457 connection.newStream(headerEntries("b", longString), false, true);
DSpdy3ConnectionTest.java1316 String longString = ByteString.of(randomBytes(2048)).base64();
1323 connection.newStream(headerEntries("a", longString), false, true);
1328 connection.newStream(headerEntries("b", longString), false, true);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp1864 std::string longString; in makeLongUTF8String() local
1865 longString.reserve(num4ByteChars * 4); in makeLongUTF8String()
1868 longString += earthAfrica; in makeLongUTF8String()
1870 return longString; in makeLongUTF8String()