HomeSort by relevance Sort by last modified time
    Searched full:buf1 (Results 1 - 25 of 162) sorted by null

1 2 3 4 5 6 7

  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
member_swap.pass.cpp 23 std::stringbuf buf1("testing");
25 buf.swap(buf1);
27 assert(buf1.str() == "");
30 std::stringbuf buf1("testing", std::ios_base::in);
32 buf.swap(buf1);
34 assert(buf1.str() == "");
37 std::stringbuf buf1("testing", std::ios_base::out);
39 buf.swap(buf1);
41 assert(buf1.str() == "");
44 std::wstringbuf buf1(L"testing")
    [all...]
nonmember_swap.pass.cpp 25 std::stringbuf buf1("testing");
27 swap(buf, buf1);
29 assert(buf1.str() == "");
32 std::stringbuf buf1("testing", std::ios_base::in);
34 swap(buf, buf1);
36 assert(buf1.str() == "");
39 std::stringbuf buf1("testing", std::ios_base::out);
41 swap(buf, buf1);
43 assert(buf1.str() == "");
46 std::wstringbuf buf1(L"testing")
    [all...]
move.pass.cpp 23 std::stringbuf buf1("testing");
25 buf = move(buf1);
29 std::stringbuf buf1("testing", std::ios_base::in);
31 buf = move(buf1);
35 std::stringbuf buf1("testing", std::ios_base::out);
37 buf = move(buf1);
41 std::wstringbuf buf1(L"testing");
43 buf = move(buf1);
47 std::wstringbuf buf1(L"testing", std::ios_base::in);
49 buf = move(buf1);
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.assign/
member_swap.pass.cpp 23 std::stringbuf buf1("testing");
25 buf.swap(buf1);
27 assert(buf1.str() == "");
30 std::stringbuf buf1("testing", std::ios_base::in);
32 buf.swap(buf1);
34 assert(buf1.str() == "");
37 std::stringbuf buf1("testing", std::ios_base::out);
39 buf.swap(buf1);
41 assert(buf1.str() == "");
44 std::wstringbuf buf1(L"testing")
    [all...]
nonmember_swap.pass.cpp 25 std::stringbuf buf1("testing");
27 swap(buf, buf1);
29 assert(buf1.str() == "");
32 std::stringbuf buf1("testing", std::ios_base::in);
34 swap(buf, buf1);
36 assert(buf1.str() == "");
39 std::stringbuf buf1("testing", std::ios_base::out);
41 swap(buf, buf1);
43 assert(buf1.str() == "");
46 std::wstringbuf buf1(L"testing")
    [all...]
move.pass.cpp 23 std::stringbuf buf1("testing");
25 buf = move(buf1);
29 std::stringbuf buf1("testing", std::ios_base::in);
31 buf = move(buf1);
35 std::stringbuf buf1("testing", std::ios_base::out);
37 buf = move(buf1);
41 std::wstringbuf buf1(L"testing");
43 buf = move(buf1);
47 std::wstringbuf buf1(L"testing", std::ios_base::in);
49 buf = move(buf1);
    [all...]
  /external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
move.pass.cpp 23 std::stringbuf buf1("testing");
24 std::stringbuf buf(move(buf1));
28 std::stringbuf buf1("testing", std::ios_base::in);
29 std::stringbuf buf(move(buf1));
33 std::stringbuf buf1("testing", std::ios_base::out);
34 std::stringbuf buf(move(buf1));
38 std::wstringbuf buf1(L"testing");
39 std::wstringbuf buf(move(buf1));
43 std::wstringbuf buf1(L"testing", std::ios_base::in);
44 std::wstringbuf buf(move(buf1));
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/stringbuf.cons/
move.pass.cpp 23 std::stringbuf buf1("testing");
24 std::stringbuf buf(move(buf1));
28 std::stringbuf buf1("testing", std::ios_base::in);
29 std::stringbuf buf(move(buf1));
33 std::stringbuf buf1("testing", std::ios_base::out);
34 std::stringbuf buf(move(buf1));
38 std::wstringbuf buf1(L"testing");
39 std::wstringbuf buf(move(buf1));
43 std::wstringbuf buf1(L"testing", std::ios_base::in);
44 std::wstringbuf buf(move(buf1));
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
ByteArrayPoolTest.java 30 byte[] buf1 = pool.getBuf(16);
33 pool.returnBuf(buf1);
38 assertTrue(buf3 == buf1 || buf3 == buf2);
39 assertTrue(buf4 == buf1 || buf4 == buf2);
46 byte[] buf1 = pool.getBuf(16);
50 pool.returnBuf(buf1);
61 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3);
67 byte[] buf1 = pool.getBuf(16);
68 pool.returnBuf(buf1);
71 assertNotSame(buf2, buf1);
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldByteArrayInputStreamTest.java 104 byte[] buf1 = new byte[100];
109 is.read(buf1, 0, buf1.length);
113 assertTrue("Failed to mark correct position", new String(buf1, 0,
114 buf1.length).equals(new String(buf2, 0, buf2.length)));
141 byte[] buf1 = new byte[20];
144 is.read(buf1, 0, buf1.length);
146 new String(buf1, 0, buf1.length).equals
    [all...]
OldFilterInputStreamTest.java 95 byte[] buf1 = new byte[bufSize];
100 is.read(buf1, 0, bufSize);
102 is.read(buf1, 0, bufSize);
110 Arrays.equals(buf1, buf2));
117 is.read(buf1, 0, bufSize);
119 is.read(buf1, 0, bufSize);
123 Arrays.equals(buf1, buf2));
158 byte[] buf1 = new byte[100];
159 is.read(buf1);
161 new String(buf1, 0, buf1.length).equals
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ByteArrayInputStreamTest.java 94 byte[] buf1 = new byte[100];
98 is.read(buf1, 0, buf1.length);
102 assertTrue("Failed to mark correct position", new String(buf1, 0,
103 buf1.length).equals(new String(buf2, 0, buf2.length)));
127 byte[] buf1 = new byte[20];
130 is.read(buf1, 0, buf1.length);
131 assertTrue("Failed to read correct data", new String(buf1, 0,
132 buf1.length).equals(fileString.substring(50, 70)))
    [all...]
FilterInputStreamTest.java 169 byte[] buf1 = new byte[100];
170 is.read(buf1);
171 assertTrue("Failed to read correct data", new String(buf1, 0,
172 buf1.length, "UTF-8").equals(INPUT.substring(0, 100)));
179 byte[] buf1 = new byte[100];
182 is.read(buf1, 0, buf1.length);
183 assertTrue("Failed to read correct data", new String(buf1, 0,
184 buf1.length, "UTF-8").equals(INPUT.substring(500, 600)));
203 byte[] buf1 = new byte[10]
    [all...]
  /external/valgrind/none/tests/s390x/
xc.c 7 char buf1[20] = "UUUUU*UUU****U*\0\0\0\0\n"; local
17 asm volatile ("oc %O0(19,%R0),%1\n"::"Q" (*buf1),
20 dump_field(buf1, 20);
25 char buf1[20] = "UUUUU*UUU****U*\0\0\0\0\n"; local
35 asm volatile ("nc %O0(19,%R0),%1\n"::"Q" (*buf1),
38 dump_field(buf1, 20);
44 char buf1[20] = "UUUUU*UUU****U*\0\0\0\0\n"; local
85 asm volatile ("xc 0(19,%0),0(%1)\n"::"a" (buf1),
88 dump_field(buf1, 20);
  /external/valgrind/none/tests/amd64/
asorep.c 5 char buf1[64], buf2[64]; variable
11 uintptr_t b1 = (uintptr_t) buf1, b2 = (uintptr_t) buf2;
18 memcpy (buf1, "abcde", 4);
25 || rsi != (uintptr_t) buf1 + 4
47 memcpy (buf1, "abcdefghijklmno", 16);
53 || rsi != (uintptr_t) buf1 + 15
  /external/libyuv/files/util/
compare.cc 32 uint8 buf1[kBlockSize]; local
41 amt1 = fread(buf1, 1, kBlockSize, fin1);
42 if (amt1 > 0) hash1 = libyuv::HashDjb2(buf1, amt1, hash1);
48 sum_square_err += libyuv::ComputeSumSquareError(buf1, buf2, amt_min);
  /external/valgrind/VEX/test/
fxsave.c 105 unsigned char* buf1 = memalign(16,512); local
111 memset(buf1, 0x55, 512);
116 do_setup_then_fxsave(buf1);
118 show(buf1, xx);
127 /* Reload x87/xmm state from buf1 and dump it in buf3. */
128 do_fxrstor(buf1);
133 free(buf1); free(buf2); free(buf3);
frstor.c 66 unsigned short* buf1 = malloc(54*sizeof(short)); local
73 do_fsave_interesting_stuff(buf1);
74 show_fpustate( (unsigned char*)buf1, xx );
77 do_frstor(buf1);
  /external/valgrind/memcheck/tests/x86/
fxsave.c 106 unsigned char* buf1 = memalign16(512); local
112 memset(buf1, 0x55, 512);
117 do_setup_then_fxsave(buf1);
119 show(buf1, xx);
128 /* Reload x87/xmm state from buf1 and dump it in buf3. */
129 do_fxrstor(buf1);
134 free(buf1); free(buf2); free(buf3);
  /external/libavc/decoder/
ih264d_mem_request.h 59 void * buf1; /** memory location for buf1 */ member in struct:PicMemBlock
67 UWORD32 u4_size1; /** Size of the buf1 in PicMemBlock */
  /external/valgrind/memcheck/tests/amd64/
fxsave-amd64.c 159 unsigned char* buf1 = memalign16(512); local
168 memset(buf1, 0x55, 512);
173 do_setup_then_fxsave(buf1, 0);
175 show(buf1, xx);
184 /* Reload x87/xmm state from buf1 and dump it in buf3. */
185 do_fxrstor(buf1, 0);
192 memset(buf1, 0x55, 512);
197 do_setup_then_fxsave(buf1, 1);
199 show(buf1, xx);
208 /* Reload x87/xmm state from buf1 and dump it in buf3. *
    [all...]
  /external/lzma/C/
Bcj2.h 29 const Byte *buf1, SizeT size1,
  /ndk/tests/device/test-gnustl-full/unit/
cstring_test.cpp 45 char buf1[1], buf2[1]; local
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL );
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL );
48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL );
  /ndk/tests/device/test-stlport/unit/
cstring_test.cpp 45 char buf1[1], buf2[1]; local
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL );
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL );
48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL );
  /external/llvm/test/CodeGen/PowerPC/
stack-protector.ll 13 %buf1 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
15 %1 = call i8* @strcpy(i8* %buf1, i8* %0) nounwind ; <i8*> [#uses=0]

Completed in 2644 milliseconds

1 2 3 4 5 6 7