Home
last modified time | relevance | path

Searched refs:sb1 (Results 1 – 25 of 35) sorted by relevance

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberStringBuilderTest.java32 StringBuilder sb1 = new StringBuilder(); in testInsertAppendCharSequence() local
36 sb1.append(str); in testInsertAppendCharSequence()
39 assertCharSequenceEquals(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(sb1, sb2); in testSplice()
104 sb1.setLength(0); in testSplice()
105 sb1.append(input); in testSplice()
[all …]
DModifierTest.java104 NumberStringBuilder sb1 = new NumberStringBuilder(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/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberStringBuilderTest.java35 StringBuilder sb1 = new StringBuilder(); in testInsertAppendCharSequence() local
39 sb1.append(str); in testInsertAppendCharSequence()
42 assertCharSequenceEquals(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(sb1, sb2); in testSplice()
107 sb1.setLength(0); in testSplice()
108 sb1.append(input); in testSplice()
[all …]
DModifierTest.java107 NumberStringBuilder sb1 = new NumberStringBuilder(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/icu4c/source/test/intltest/
Dnumbertest_stringbuilder.cpp37 UnicodeString sb1; in testInsertAppendUnicodeString() local
43 sb1.append(str); in testInsertAppendUnicodeString()
49 assertEqualsImpl(sb1, sb2); in testInsertAppendUnicodeString()
96 UnicodeString sb1; in testSplice() local
103 sb1.remove(); in testSplice()
104 sb1.append(cas.input); in testSplice()
105 sb1.replace(cas.startThis, cas.endThis - cas.startThis, replacement); in testSplice()
110 assertEqualsImpl(sb1, sb2); in testSplice()
116 sb1.remove(); in testSplice()
117 sb1.append(cas.input); in testSplice()
[all …]
Dnumbertest_modifiers.cpp126 NumberStringBuilder 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/
Dmove_assign.pass.cpp45 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()
Dmember_swap.pass.cpp40 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()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/
Dmember_swap.pass.cpp40 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()
Dmove_assign.pass.cpp45 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()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/
Dmember_swap.pass.cpp40 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()
Dmove_assign.pass.cpp45 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/
Dembedder_unittest.cc278 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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarUtilsTest.java37 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/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dpointer.pass.cpp62 testbuf<char> sb1; in main() local
63 std::ostream os1(&sb1); in main()
67 std::string s1(sb1.str()); in main()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Dset_rdbuf.pass.cpp36 testbuf sb1; in main() local
38 testios ios(&sb1); in main()
Dswap.pass.cpp76 testbuf sb1; in main() local
77 testios ios1(&sb1); in main()
122 assert(ios1.rdbuf() == &sb1); in main()
Dcopyfmt.pass.cpp116 testbuf sb1; in main() local
117 std::ios ios1(&sb1); in main()
172 assert(ios1.rdbuf() == &sb1); in main()
/external/tensorflow/tensorflow/compiler/xla/service/
Dshaped_buffer_test.cc97 ScopedShapedBuffer sb1(s, s, &allocator, /*device_ordinal=*/0); in TEST() local
98 sb1.set_buffer( in TEST()
107 sb1 = std::move(sb2); in TEST()
/external/fdlibm/
Ds_erf.c182 sb1 = 3.03380607434824582924e+01, /* 0x403E568B, 0x261D5190 */ variable
237 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(
299 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DJoinerTest.java289 StringBuilder sb1 = new StringBuilder(); in testEntries() local
290 j.appendTo(sb1, ImmutableMultimap.of(1, 2, 3, 4, 5, 6, 1, 3, 5, 10).entries()); in testEntries()
291 assertEquals("1:2;1:3;3:4;5:6;5:10", sb1.toString()); in testEntries()
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java291 StringBuilder sb1 = new StringBuilder(); in testEntries() local
292 j.appendTo(sb1, ImmutableMultimap.of(1, 2, 3, 4, 5, 6, 1, 3, 5, 10).entries()); in testEntries()
293 assertEquals("1:2;1:3;3:4;5:6;5:10", sb1.toString()); in testEntries()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c436 struct stat sb1, sb2; in samefile() local
438 if (stat(path1, &sb1) != 0) in samefile()
442 return sb1.st_ino == sb2.st_ino && sb1.st_dev == sb2.st_dev; in samefile()
/external/swiftshader/third_party/LLVM/projects/sample/autoconf/
Dconfig.sub835 sb1)
/external/stressapptest/
Dconfig.sub911 sb1)

12