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

1 2 3 4 5 6

  /ndk/sources/cxx-stl/llvm-libc++/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...]
  /ndk/sources/cxx-stl/llvm-libc++/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/tests/src/com/android/volley/toolbox/
ByteArrayPoolTest.java 25 byte[] buf1 = pool.getBuf(16);
28 pool.returnBuf(buf1);
33 assertTrue(buf3 == buf1 || buf3 == buf2);
34 assertTrue(buf4 == buf1 || buf4 == buf2);
41 byte[] buf1 = pool.getBuf(16);
45 pool.returnBuf(buf1);
56 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3);
62 byte[] buf1 = pool.getBuf(16);
63 pool.returnBuf(buf1);
66 assertNotSame(buf2, buf1);
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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 92 byte[] buf1 = new byte[100];
93 is.read(buf1);
94 assertTrue("Failed to read correct data", new String(buf1, 0,
95 buf1.length, "UTF-8").equals(fileString.substring(0, 100)));
102 byte[] buf1 = new byte[100];
105 is.read(buf1, 0, buf1.length);
106 assertTrue("Failed to read correct data", new String(buf1, 0,
107 buf1.length, "UTF-8").equals(fileString.substring(3000, 3100)));
126 byte[] buf1 = new byte[10]
    [all...]
FileInputStreamTest.java 172 byte[] buf1 = new byte[100];
175 is.read(buf1);
177 assertTrue("Failed to read correct data", new String(buf1, 0,
178 buf1.length).equals(fileString.substring(3000, 3100)));
185 byte[] buf1 = new byte[100];
188 is.read(buf1, 0, buf1.length);
190 assertTrue("Failed to read correct data", new String(buf1, 0,
191 buf1.length).equals(fileString.substring(3000, 3100)));
329 byte[] buf1 = new byte[10]
    [all...]
  /external/valgrind/main/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);
  /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 97 byte[] buf1 = new byte[bufSize];
102 is.read(buf1, 0, bufSize);
104 is.read(buf1, 0, bufSize);
112 Arrays.equals(buf1, buf2));
119 is.read(buf1, 0, bufSize);
121 is.read(buf1, 0, bufSize);
125 Arrays.equals(buf1, buf2));
160 byte[] buf1 = new byte[100];
161 is.read(buf1);
163 new String(buf1, 0, buf1.length).equals
    [all...]
OldFileInputStreamTest.java 153 byte[] buf1 = new byte[100];
156 is.read(buf1);
159 new String(buf1, 0, buf1.length).equals(
164 is.read(buf1);
172 byte[] buf1 = new byte[10];
175 is.read(buf1, 0, buf1.length);
177 new String(buf1, 0, buf1.length).equals
    [all...]
OldBufferedInputStreamTest.java 127 byte[] buf1 = new byte[100];
141 is.read(buf1, 0, buf1.length);
146 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
159 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
  /external/valgrind/main/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/main/VEX/test/
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);
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);
  /external/valgrind/main/memcheck/tests/amd64/
fxsave-amd64.c 151 unsigned char* buf1 = memalign16(512); local
160 memset(buf1, 0x55, 512);
165 do_setup_then_fxsave(buf1, 0);
167 show(buf1, xx);
176 /* Reload x87/xmm state from buf1 and dump it in buf3. */
177 do_fxrstor(buf1, 0);
184 memset(buf1, 0x55, 512);
189 do_setup_then_fxsave(buf1, 1);
191 show(buf1, xx);
200 /* Reload x87/xmm state from buf1 and dump it in buf3. *
    [all...]
  /system/core/toolbox/
cmp.c 14 char buf1[4096], buf2[4096]; local
63 res1 = read(fd1, &buf1, sizeof(buf1));
70 if(buf1[i] != buf2[i]) {
73 printf(" 0x%02x 0x%02x", buf1[i], buf2[i]);
  /external/valgrind/main/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/chromium/net/base/
nss_memio.h 72 * |buf1|, |len1| and |buf2|, |len2|.
75 const char **buf1, unsigned int *len1,
  /external/stlport/test/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-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 );
  /ndk/sources/host-tools/toolbox/
cmp_win.c 69 char buf1[BUFSIZE], buf2[BUFSIZE]; local
72 n1 = fread(buf1, 1, BUFSIZE, f1);
74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0;

Completed in 378 milliseconds

1 2 3 4 5 6