Home
last modified time | relevance | path

Searched refs:sb2 (Results 1 – 25 of 32) sorted by relevance

12

/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dget_streambuf_chart.pass.cpp62 testbuf<char> sb2; in main() local
63 is.get(sb2, '*'); in main()
64 assert(sb2.str() == "testing"); in main()
68 is.get(sb2, '*'); in main()
69 assert(sb2.str() == "testing..."); in main()
77 testbuf<wchar_t> sb2; in main() local
78 is.get(sb2, L'*'); in main()
79 assert(sb2.str() == L"testing"); in main()
83 is.get(sb2, L'*'); in main()
84 assert(sb2.str() == L"testing..."); in main()
Dget_streambuf.pass.cpp61 testbuf<char> sb2; in main() local
62 is.get(sb2); in main()
63 assert(sb2.str() == "testing"); in main()
67 is.get(sb2); in main()
68 assert(sb2.str() == "testing..."); in main()
76 testbuf<wchar_t> sb2; in main() local
77 is.get(sb2); in main()
78 assert(sb2.str() == L"testing"); in main()
82 is.get(sb2); in main()
83 assert(sb2.str() == L"testing..."); in main()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/
Dmove_assign.pass.cpp47 testbuf<char> sb2; in main() local
49 test_istream<char> is2(&sb2); in main()
59 assert(is2.rdbuf() == &sb2); in main()
70 testbuf<wchar_t> sb2; in main() local
72 test_istream<wchar_t> is2(&sb2); in main()
82 assert(is2.rdbuf() == &sb2); in main()
Dmember_swap.pass.cpp41 testbuf<char> sb2; in main() local
43 test_istream<char> is2(&sb2); in main()
53 assert(is2.rdbuf() == &sb2); in main()
64 testbuf<wchar_t> sb2; in main() local
66 test_istream<wchar_t> is2(&sb2); in main()
76 assert(is2.rdbuf() == &sb2); in main()
/external/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/
Dmember_swap.pass.cpp41 testbuf<char> sb2; in main() local
43 test_iostream<char> is2(&sb2); in main()
53 assert(is2.rdbuf() == &sb2); in main()
64 testbuf<wchar_t> sb2; in main() local
66 test_iostream<wchar_t> is2(&sb2); in main()
76 assert(is2.rdbuf() == &sb2); in main()
Dmove_assign.pass.cpp47 testbuf<char> sb2; in main() local
49 test_iostream<char> is2(&sb2); in main()
59 assert(is2.rdbuf() == &sb2); in main()
70 testbuf<wchar_t> sb2; in main() local
72 test_iostream<wchar_t> is2(&sb2); in main()
82 assert(is2.rdbuf() == &sb2); in main()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/
Dmember_swap.pass.cpp41 testbuf<char> sb2; in main() local
43 test_ostream<char> os2(&sb2); in main()
53 assert(os2.rdbuf() == &sb2); in main()
64 testbuf<wchar_t> sb2; in main() local
66 test_ostream<wchar_t> os2(&sb2); in main()
76 assert(os2.rdbuf() == &sb2); in main()
Dmove_assign.pass.cpp47 testbuf<char> sb2; in main() local
49 test_ostream<char> os2(&sb2); in main()
59 assert(os2.rdbuf() == &sb2); in main()
70 testbuf<wchar_t> sb2; in main() local
72 test_ostream<wchar_t> os2(&sb2); in main()
82 assert(os2.rdbuf() == &sb2); in main()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Drdbuf_streambuf.pass.cpp26 std::streambuf* sb2 = ios.rdbuf(sb); in main() local
27 assert(sb2 == 0); in main()
30 sb2 = ios.rdbuf(0); in main()
31 assert(sb2 == (std::streambuf*)1); in main()
Dset_rdbuf.pass.cpp37 testbuf sb2; in main() local
50 ios.set_rdbuf(&sb2); in main()
51 assert(ios.rdbuf() == &sb2); in main()
Dmove.pass.cpp84 testbuf sb2; in main() local
85 std::ios ios2(&sb2); in main()
138 assert(ios2.rdbuf() == &sb2); in main()
Dswap.pass.cpp96 testbuf sb2; in main() local
97 testios ios2(&sb2); in main()
151 assert(ios2.rdbuf() == &sb2); in main()
Dcopyfmt.pass.cpp136 testbuf sb2; in main() local
137 std::ios ios2(&sb2); in main()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DJoinerTest.java139 StringBuilder sb2 = new StringBuilder(); in checkNoOutput() local
140 assertSame(sb2, joiner.appendTo(sb2, array)); in checkNoOutput()
141 assertEquals(0, sb2.length()); in checkNoOutput()
192 StringBuilder sb2 = new StringBuilder().append('x'); in checkResult() local
193 joiner.appendTo(sb2, partsArray); in checkResult()
194 assertEquals("x" + expected, sb2.toString()); in checkResult()
293 StringBuilder sb2 = new StringBuilder(); in testEntries() local
294 j.appendTo(sb2, ImmutableMultimap.of(1, 2, 3, 4, 5, 6, 1, 3, 5, 10).entries().iterator()); in testEntries()
295 assertEquals("1:2;1:3;3:4;5:6;5:10", sb2.toString()); in testEntries()
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java141 StringBuilder sb2 = new StringBuilder(); in checkNoOutput() local
142 assertSame(sb2, joiner.appendTo(sb2, array)); in checkNoOutput()
143 assertEquals(0, sb2.length()); in checkNoOutput()
194 StringBuilder sb2 = new StringBuilder().append('x'); in checkResult() local
195 joiner.appendTo(sb2, partsArray); in checkResult()
196 assertEquals("x" + expected, sb2.toString()); in checkResult()
295 StringBuilder sb2 = new StringBuilder(); in testEntries() local
296 j.appendTo(sb2, ImmutableMultimap.of(1, 2, 3, 4, 5, 6, 1, 3, 5, 10).entries().iterator()); in testEntries()
297 assertEquals("1:2;1:3;3:4;5:6;5:10", sb2.toString()); in testEntries()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
Dstreambuf.pass.cpp64 testbuf<char> sb2; in main() local
65 is >> &sb2; in main()
66 assert(sb2.str() == "testing..."); in main()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dpointer.pass.cpp69 testbuf<char> sb2; in main() local
70 std::ostream os2(&sb2); in main()
74 std::string s2(sb2.str()); in main()
/external/syslinux/extlinux/
Dmain.c347 struct btrfs_super_block sb2; in install_bootblock() local
363 if (xpread(fd, &sb2, sizeof sb2, BTRFS_SUPER_INFO_OFFSET) in install_bootblock()
364 != sizeof sb2) { in install_bootblock()
368 if (!memcmp(sb2.magic, BTRFS_MAGIC, BTRFS_MAGIC_L)) in install_bootblock()
1186 struct btrfs_super_block sb2; in validate_device_btrfs() local
1204 if (xpread(dfd, &sb2, sizeof sb2, BTRFS_SUPER_INFO_OFFSET) != sizeof sb2) in validate_device_btrfs()
1207 if (memcmp(sb2.magic, BTRFS_MAGIC, BTRFS_MAGIC_L)) in validate_device_btrfs()
1210 if (memcmp(sb2.fsid, fsinfo.fsid, sizeof fsinfo.fsid)) in validate_device_btrfs()
1213 if (sb2.num_devices != 1) in validate_device_btrfs()
1216 if (sb2.dev_item.devid != devinfo.devid) in validate_device_btrfs()
[all …]
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc362 MojoHandle sb2 = MOJO_HANDLE_INVALID; in TEST_F() local
363 EXPECT_EQ(MOJO_RESULT_OK, MojoDuplicateBufferHandle(sb1, 0, &sb2)); in TEST_F()
364 EXPECT_NE(MOJO_HANDLE_INVALID, sb2); in TEST_F()
365 WriteMessageWithHandles(server_mp, "hello", &sb2, 1); in TEST_F()
441 MojoHandle sb2 = MOJO_HANDLE_INVALID; in TEST_F() local
442 EXPECT_EQ(MOJO_RESULT_OK, MojoDuplicateBufferHandle(sb1, 0, &sb2)); in TEST_F()
443 EXPECT_NE(MOJO_HANDLE_INVALID, sb2); in TEST_F()
444 WriteMessageWithHandles(server_mp, "hello", &sb2, 1); in TEST_F()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream_sentry/
Dconstruct.pass.cpp53 testbuf1<char> sb2; in main() local
54 std::ostream os2(&sb2); in main()
/external/skia/src/opts/
DSkBlitRow_opts_SSE2.cpp635 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_SSE2() local
636 sb2 = _mm_srli_epi32(sb2, 24); in S32A_D565_Opaque_SSE2()
637 __m128i sb = _mm_packs_epi32(sb1, sb2); in S32A_D565_Opaque_SSE2()
761 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32_D565_Opaque_Dither_SSE2() local
762 sb2 = _mm_srli_epi32(sb2, 24); in S32_D565_Opaque_Dither_SSE2()
763 __m128i sb = _mm_packs_epi32(sb1, sb2); in S32_D565_Opaque_Dither_SSE2()
915 __m128i sb2 = _mm_slli_epi32(src_pixel2, (24 - SK_B32_SHIFT)); in S32A_D565_Opaque_Dither_SSE2() local
916 sb2 = _mm_srli_epi32(sb2, 24); in S32A_D565_Opaque_Dither_SSE2()
917 __m128i sb = _mm_packs_epi32(sb1, sb2); in S32A_D565_Opaque_Dither_SSE2()
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
Dstreambuf.pass.cpp64 testbuf<char> sb2("testing..."); in main() local
66 os << &sb2; in main()
/external/fdlibm/
Ds_erf.c183 sb2 = 3.25792512996573918826e+02, /* 0x40745CAE, 0x221B9F0A */ 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/testng/src/main/java/org/testng/reporters/
DSuiteHTMLReporter.java176 StringBuffer sb2 = new StringBuffer("<h2>Methods that were not run</h2><table>\n"); in generateExcludedMethodsReport() local
180 sb2.append("<tr><td>") in generateExcludedMethodsReport()
184 sb2.append("<br/>").append(SP2).append("<i>").append(description).append("</i>"); in generateExcludedMethodsReport()
186 sb2.append("</td></tr>\n"); in generateExcludedMethodsReport()
189 sb2.append("</table>"); in generateExcludedMethodsReport()
191 Utils.writeFile(getOutputDirectory(xmlSuite), METHODS_NOT_RUN, sb2.toString()); in generateExcludedMethodsReport()
/external/elfutils/src/
Delf32-i386.script87 *(.gnu.linkonce.sb2.*)

12