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

1 2 3 4 5 6 7

  /external/valgrind/main/none/tests/s390x/
ex_clone.c 17 char buf2[40]; local
20 memset(buf2, 0, sizeof(buf2));
32 ::"a" (buf2), "a" (source)
34 printf("%s\n", buf2);
ex_sig.c 17 char buf2[40]; local
25 ::"a" (buf2), "a" (source)
xc.c 8 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; local
18 "Q"(*buf2):"memory");
26 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; local
36 "Q"(*buf2):"memory");
45 char buf2[20] = "*U\0*\0\0UU*\0U*AUAA*UU\n"; local
86 "a"(buf2):"memory");
  /frameworks/volley/tests/src/com/android/volley/toolbox/
ByteArrayPoolTest.java 26 byte[] buf2 = pool.getBuf(16);
29 pool.returnBuf(buf2);
33 assertTrue(buf3 == buf1 || buf3 == buf2);
34 assertTrue(buf4 == buf1 || buf4 == buf2);
42 byte[] buf2 = pool.getBuf(16);
46 pool.returnBuf(buf2);
53 assertTrue(buf4 == buf2 || buf4 == buf3);
54 assertTrue(buf5 == buf2 || buf5 == buf3);
56 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3);
65 byte[] buf2 = pool.getBuf(17)
    [all...]
  /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;
23 if (memcmp (buf2, "abcd", 5) != 0
24 || rdi != (uintptr_t) buf2 + 4
34 if (memcmp (buf2, "0 0 0 ", 7) != 0
35 || rdi != (uintptr_t) buf2 + 6
43 if (rsi != (uintptr_t) buf2 + 4
48 memcpy (buf2, "abcdefghijklmnO", 16);
52 if (rdi != (uintptr_t) buf2 + 15
57 memcpy (buf2, "ababababababababcdab", 20)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ByteArrayInputStreamTest.java 95 byte[] buf2 = new byte[100];
100 is.read(buf2, 0, buf2.length);
103 buf1.length).equals(new String(buf2, 0, buf2.length)));
140 byte[] buf2 = new byte[10];
144 is.read(buf2, 0, 10);
147 .equals(new String(buf2, 0, buf2.length)));
  /external/openssl/crypto/err/
err_prn.c 71 char buf2[4096]; local
82 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf,
84 if (cb(buf2, strlen(buf2), u) <= 0)
  /external/libyuv/files/util/
compare.cc 33 uint8 buf2[kBlockSize]; local
44 amt2 = fread(buf2, 1, kBlockSize, fin2);
45 if (amt2 > 0) hash2 = libyuv::HashDjb2(buf2, amt2, hash2);
48 sum_square_err += libyuv::ComputeSumSquareError(buf1, buf2, amt_min);
  /system/core/toolbox/
cmp.c 14 char buf1[4096], buf2[4096]; local
64 res2 = read(fd2, &buf2, sizeof(buf2));
70 if(buf1[i] != buf2[i]) {
73 printf(" 0x%02x 0x%02x", buf1[i], buf2[i]);
  /libcore/luni/src/test/java/libcore/java/io/
OldBufferedInputStreamTest.java 128 byte[] buf2 = new byte[100];
143 is.read(buf2, 0, buf2.length);
146 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
156 is.read(buf2, 0, buf2.length);
159 new String(buf1, 0, buf1.length).equals(new String(buf2, 0, buf2.length)));
OldByteArrayInputStreamTest.java 105 byte[] buf2 = new byte[100];
111 is.read(buf2, 0, buf2.length);
114 buf1.length).equals(new String(buf2, 0, buf2.length)));
182 byte[] buf2 = new byte[10];
187 is.read(buf2, 0, 10);
190 .equals(new String(buf2, 0, buf2.length)));
OldPushbackInputStreamTest.java 192 byte[] buf2 = new byte[25];
193 pis.read(buf2, 0, buf2.length);
194 assertTrue("b) Incorrect bytes read", new String(buf2)
204 byte[] buf2 = str2.getBytes();
208 tobj.unread(buf2);
211 tobj.unread(buf2);
220 tobj.read(buf2);
244 byte[] buf2 = (str2 + str2 + str2).getBytes();
248 tobj.unread(buf2, 15, 10)
    [all...]
  /development/tools/line_endings/
line_endings.c 10 static void unix_to_dos(char* buf2, const char* buf);
84 char buf2[(BUFSIZE*2)+3]; local
85 unix_to_dos(buf2, buf);
86 strcpy(node->buf, buf2);
140 unix_to_dos(char* buf2, const char* buf)
143 char* q = buf2;
  /external/valgrind/main/memcheck/tests/amd64/
fxsave-amd64.c 152 unsigned char* buf2 = memalign16(512); local
161 memset(buf2, 0x55, 512);
172 do_fxsave(buf2, 0);
174 show(buf2, xx);
185 memset(buf2, 0x55, 512);
196 do_fxsave(buf2, 1);
198 show(buf2, xx);
207 free(buf1); free(buf2); free(buf3);
  /external/chromium/net/base/
nss_memio.h 72 * |buf1|, |len1| and |buf2|, |len2|.
76 const char **buf2, unsigned int *len2);
  /external/valgrind/main/VEX/test/
frstor.c 67 unsigned short* buf2 = malloc(54*sizeof(short)); local
76 /* Reload it into buf2. */
78 do_fsave(buf2);
79 show_fpustate( (unsigned char*)buf2, xx );
fxsave.c 106 unsigned char* buf2 = memalign(16,512); local
112 memset(buf2, 0x55, 512);
123 do_fxsave(buf2);
125 show(buf2, xx);
133 free(buf1); free(buf2); free(buf3);
  /ndk/sources/host-tools/toolbox/
cmp_win.c 69 char buf1[BUFSIZE], buf2[BUFSIZE]; local
73 n2 = fread(buf2, 1, BUFSIZE, f2);
74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0;
  /external/valgrind/main/memcheck/tests/x86/
fxsave.c 107 unsigned char* buf2 = memalign16(512); local
113 memset(buf2, 0x55, 512);
124 do_fxsave(buf2);
126 show(buf2, xx);
134 free(buf1); free(buf2); free(buf3);
  /external/oprofile/libutil++/
child_reader.cpp 34 buf2(0), sz_buf2(0),
49 if (buf2) {
51 free(buf2);
142 buf2 = (char *)xrealloc(buf2, sz_buf2);
145 ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2);
212 err.write(buf2, end2);
  /libcore/luni/src/test/java/libcore/java/lang/
OldStringBufferTest.java 49 StringBuffer buf2 = new StringBuffer(""); local
51 buf2.getChars(-1, 0, new char[5], 2);
58 buf2.getChars(0, -1, new char[5], 2);
65 buf2.getChars(0, -1, new char[5], 2);
72 buf2.getChars(2, 1, new char[5], 2);
79 buf2.getChars(0, 6, new char[5], 2);
86 buf2.getChars(0, 6, new char[10], 5);
  /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 );
  /frameworks/base/graphics/java/android/renderscript/
ScriptC.java 84 byte[] buf2 = new byte[pgm.length * 2];
85 System.arraycopy(pgm, 0, buf2, 0, pgm.length);
86 pgm = buf2;
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptC.java 86 byte[] buf2 = new byte[pgm.length * 2];
87 System.arraycopy(pgm, 0, buf2, 0, pgm.length);
88 pgm = buf2;
  /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 );

Completed in 1431 milliseconds

1 2 3 4 5 6 7