/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedStringBuilderTest.java | 32 StringBuilder sb1 = new StringBuilder(); in testInsertAppendCharSequence() local 36 sb1.append(str); in testInsertAppendCharSequence() 39 assertCharSequenceEquals(str, sb1, sb2); in testInsertAppendCharSequence() 84 StringBuilder sb1 = new StringBuilder(); in testSplice() local 92 sb1.setLength(0); in testSplice() 93 sb1.append(input); in testSplice() 94 sb1.replace(startThis, endThis, replacement); in testSplice() 98 assertCharSequenceEquals(input, sb1, sb2); in testSplice() 104 sb1.setLength(0); in testSplice() 105 sb1.append(input); in testSplice() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | FormattedStringBuilderTest.java | 35 StringBuilder sb1 = new StringBuilder(); in testInsertAppendCharSequence() local 39 sb1.append(str); in testInsertAppendCharSequence() 42 assertCharSequenceEquals(str, sb1, sb2); in testInsertAppendCharSequence() 87 StringBuilder sb1 = new StringBuilder(); in testSplice() local 95 sb1.setLength(0); in testSplice() 96 sb1.append(input); in testSplice() 97 sb1.replace(startThis, endThis, replacement); in testSplice() 101 assertCharSequenceEquals(input, sb1, sb2); in testSplice() 107 sb1.setLength(0); in testSplice() 108 sb1.append(input); in testSplice() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | formatted_string_builder_test.cpp | 58 UnicodeString sb1; in testInsertAppendUnicodeString() local 64 sb1.append(str); in testInsertAppendUnicodeString() 69 assertEqualsImpl(sb1, sb2); in testInsertAppendUnicodeString() 116 UnicodeString sb1; in testSplice() local 123 sb1.remove(); in testSplice() 124 sb1.append(cas.input); in testSplice() 125 sb1.replace(cas.startThis, cas.endThis - cas.startThis, replacement); in testSplice() 130 assertEqualsImpl(sb1, sb2); in testSplice() 136 sb1.remove(); in testSplice() 137 sb1.append(cas.input); in testSplice() [all …]
|
D | numbertest_modifiers.cpp | 126 FormattedStringBuilder sb1(sb); in testCurrencySpacingEnabledModifier() local 127 assertModifierEquals(mod2, sb1, 3, true, u"USD\u00A0123", u"$$$niii", status); in testCurrencySpacingEnabledModifier() 136 assertTrue(sb1.toDebugString() + " vs " + sb2.toDebugString(), sb1.contentEquals(sb2)); in testCurrencySpacingEnabledModifier()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/ |
D | member_swap.pass.cpp | 40 testbuf<char> sb1; in main() local 42 test_iostream<char> is1(&sb1); in main() 45 assert(is1.rdbuf() == &sb1); in main() 63 testbuf<wchar_t> sb1; in main() local 65 test_iostream<wchar_t> is1(&sb1); in main() 68 assert(is1.rdbuf() == &sb1); in main()
|
D | move_assign.pass.cpp | 45 testbuf<char> sb1; in main() local 47 test_iostream<char> is1(&sb1); in main() 50 assert(is1.rdbuf() == &sb1); in main() 68 testbuf<wchar_t> sb1; in main() local 70 test_iostream<wchar_t> is1(&sb1); in main() 73 assert(is1.rdbuf() == &sb1); in main()
|
/external/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/ |
D | member_swap.pass.cpp | 41 testbuf<char> sb1; in main() local 43 test_istream<char> is1(&sb1); in main() 46 assert(is1.rdbuf() == &sb1); in main() 64 testbuf<wchar_t> sb1; in main() local 66 test_istream<wchar_t> is1(&sb1); in main() 69 assert(is1.rdbuf() == &sb1); in main()
|
D | move_assign.pass.cpp | 46 testbuf<char> sb1; in main() local 48 test_istream<char> is1(&sb1); in main() 51 assert(is1.rdbuf() == &sb1); in main() 69 testbuf<wchar_t> sb1; in main() local 71 test_istream<wchar_t> is1(&sb1); in main() 74 assert(is1.rdbuf() == &sb1); in main()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/ |
D | move_assign.pass.cpp | 45 testbuf<char> sb1; in main() local 47 test_ostream<char> os1(&sb1); in main() 50 assert(os1.rdbuf() == &sb1); in main() 68 testbuf<wchar_t> sb1; in main() local 70 test_ostream<wchar_t> os1(&sb1); in main() 73 assert(os1.rdbuf() == &sb1); in main()
|
D | member_swap.pass.cpp | 40 testbuf<char> sb1; in main() local 42 test_ostream<char> os1(&sb1); in main() 45 assert(os1.rdbuf() == &sb1); in main() 63 testbuf<wchar_t> sb1; in main() local 65 test_ostream<wchar_t> os1(&sb1); in main() 68 assert(os1.rdbuf() == &sb1); in main()
|
/external/llvm-project/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/ |
D | member_swap.pass.cpp | 41 testbuf<char> sb1; in main() local 43 test_ostream<char> os1(&sb1); in main() 46 assert(os1.rdbuf() == &sb1); in main() 64 testbuf<wchar_t> sb1; in main() local 66 test_ostream<wchar_t> os1(&sb1); in main() 69 assert(os1.rdbuf() == &sb1); in main()
|
D | move_assign.pass.cpp | 46 testbuf<char> sb1; in main() local 48 test_ostream<char> os1(&sb1); in main() 51 assert(os1.rdbuf() == &sb1); in main() 69 testbuf<wchar_t> sb1; in main() local 71 test_ostream<wchar_t> os1(&sb1); in main() 74 assert(os1.rdbuf() == &sb1); in main()
|
/external/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/ |
D | move_assign.pass.cpp | 46 testbuf<char> sb1; in main() local 48 test_iostream<char> is1(&sb1); in main() 51 assert(is1.rdbuf() == &sb1); in main() 69 testbuf<wchar_t> sb1; in main() local 71 test_iostream<wchar_t> is1(&sb1); in main() 74 assert(is1.rdbuf() == &sb1); in main()
|
D | member_swap.pass.cpp | 41 testbuf<char> sb1; in main() local 43 test_iostream<char> is1(&sb1); in main() 46 assert(is1.rdbuf() == &sb1); in main() 64 testbuf<wchar_t> sb1; in main() local 66 test_iostream<wchar_t> is1(&sb1); in main() 69 assert(is1.rdbuf() == &sb1); in main()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/ |
D | member_swap.pass.cpp | 40 testbuf<char> sb1; in main() local 42 test_istream<char> is1(&sb1); in main() 45 assert(is1.rdbuf() == &sb1); in main() 63 testbuf<wchar_t> sb1; in main() local 65 test_istream<wchar_t> is1(&sb1); in main() 68 assert(is1.rdbuf() == &sb1); in main()
|
D | move_assign.pass.cpp | 45 testbuf<char> sb1; in main() local 47 test_istream<char> is1(&sb1); in main() 50 assert(is1.rdbuf() == &sb1); in main() 68 testbuf<wchar_t> sb1; in main() local 70 test_istream<wchar_t> is1(&sb1); in main() 73 assert(is1.rdbuf() == &sb1); in main()
|
/external/libchrome/mojo/core/ |
D | embedder_unittest.cc | 278 MojoHandle sb1; in TEST_F() local 280 CreateSharedBufferFromRegion(shared_memory.Duplicate(), &sb1)); in TEST_F() 284 ASSERT_EQ(MOJO_RESULT_OK, MojoMapBuffer(sb1, 0, 123, nullptr, in TEST_F() 291 EXPECT_EQ(MOJO_RESULT_OK, MojoDuplicateBufferHandle(sb1, nullptr, &sb2)); in TEST_F() 307 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(sb1)); in TEST_F() 316 MojoHandle sb1; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local 317 EXPECT_EQ("hello", ReadMessageWithHandles(client_mp, &sb1, 1)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 321 ASSERT_EQ(MOJO_RESULT_OK, MojoMapBuffer(sb1, 0, 123, nullptr, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 335 ASSERT_EQ(MOJO_RESULT_OK, ExtractRegionFromSharedBuffer(sb1, &shared_memory)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 343 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(sb1)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_scoreboard.cpp | 496 const scoreboard &sb0, const scoreboard &sb1) in merge() argument 501 sb.grf_deps[i] = merge(eq, sb0.grf_deps[i], sb1.grf_deps[i]); in merge() 503 sb.addr_dep = merge(eq, sb0.addr_dep, sb1.addr_dep); in merge() 506 sb.accum_deps[i] = merge(eq, sb0.accum_deps[i], sb1.accum_deps[i]); in merge() 516 shadow(const scoreboard &sb0, const scoreboard &sb1) in shadow() argument 521 sb.grf_deps[i] = shadow(sb0.grf_deps[i], sb1.grf_deps[i]); in shadow() 523 sb.addr_dep = shadow(sb0.addr_dep, sb1.addr_dep); in shadow() 526 sb.accum_deps[i] = shadow(sb0.accum_deps[i], sb1.accum_deps[i]); in shadow() 552 operator==(const scoreboard &sb0, const scoreboard &sb1) in operator ==() argument 555 if (sb0.grf_deps[i] != sb1.grf_deps[i]) in operator ==() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
D | pointer.pass.cpp | 63 testbuf<char> sb1; in main() local 64 std::ostream os1(&sb1); in main() 68 std::string s1(sb1.str()); in main()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
D | pointer.pass.cpp | 62 testbuf<char> sb1; in main() local 63 std::ostream os1(&sb1); in main() 67 std::string s1(sb1.str()); in main()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/ |
D | TarUtilsTest.java | 37 final String sb1 = "abcdefghijklmnopqrstuvwxyz"; in testName() local 38 int off = TarUtils.formatNameBytes(sb1, buff, 1, buff.length-1); in testName() 41 assertEquals(sb2,sb1.substring(0,10)); in testName() 43 assertEquals(sb2,sb1.substring(0,19)); in testName() 45 off = TarUtils.formatNameBytes(sb1, buff, 1, buff.length-1); in testName() 48 assertEquals(sb1, sb2); in testName()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | ModifierTest.java | 107 FormattedStringBuilder sb1 = new FormattedStringBuilder(sb); in testCurrencySpacingEnabledModifier() local 108 assertModifierEquals(mod2, sb1, 3, true, "USD\u00A0123", "$$$niii"); in testCurrencySpacingEnabledModifier() 114 assertTrue(sb1.toDebugString() + " vs " + sb2.toDebugString(), sb1.contentEquals(sb2)); in testCurrencySpacingEnabledModifier()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | ModifierTest.java | 104 FormattedStringBuilder sb1 = new FormattedStringBuilder(sb); in testCurrencySpacingEnabledModifier() local 105 assertModifierEquals(mod2, sb1, 3, true, "USD\u00A0123", "$$$niii"); in testCurrencySpacingEnabledModifier() 111 assertTrue(sb1.toDebugString() + " vs " + sb2.toDebugString(), sb1.contentEquals(sb2)); in testCurrencySpacingEnabledModifier()
|
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/ |
D | set_rdbuf.pass.cpp | 36 testbuf sb1; in main() local 38 testios ios(&sb1); in main()
|
/external/llvm-project/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/ |
D | set_rdbuf.pass.cpp | 35 testbuf sb1; in main() local 37 testios ios(&sb1); in main()
|