Searched refs:buf2 (Results 1 - 25 of 102) sorted by relevance

12345

/external/valgrind/main/none/tests/s390x/
H A Dex_clone.c17 char buf2[40]; local
20 memset(buf2, 0, sizeof(buf2));
32 ::"a" (buf2), "a" (source)
34 printf("%s\n", buf2);
H A Dex_sig.c17 char buf2[40]; local
25 ::"a" (buf2), "a" (source)
H A Dxc.c8 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");
/external/valgrind/main/none/tests/amd64/
H A Dasorep.c5 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, "ababababababababcda
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DByteArrayInputStreamTest.java95 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)));
H A DPushbackInputStreamTest.java168 byte[] buf2 = new byte[25];
169 pis.read(buf2, 0, buf2.length);
170 assertTrue("b) Incorrect bytes read", new String(buf2, "UTF-8")
H A DBufferedInputStreamTest.java198 byte[] buf2 = new byte[100];
203 is.read(buf2, 0, buf2.length);
206 buf1.length).equals(new String(buf2, 0, buf2.length)));
384 byte[] buf2 = new byte[10];
388 is.read(buf2, 0, 10);
391 .equals(new String(buf2, 0, buf2.length)));
/external/openssl/crypto/err/
H A Derr_prn.c71 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/valgrind/main/memcheck/tests/amd64/
H A Dfxsave-amd64.c152 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/astl/tests/
H A Dtest_sstream.cpp48 stringbuf buf2(str, std::ios_base::in);
52 EXPECT_TRUE(buf2.str() == str);
62 stringbuf buf2(str, std::ios_base::in);
67 std::streamsize len2 = buf2.in_avail();
/external/chromium/net/base/
H A Dnss_memio.h72 * |buf1|, |len1| and |buf2|, |len2|.
76 const char **buf2, unsigned int *len2);
/external/valgrind/main/VEX/test/
H A Dfrstor.c67 unsigned short* buf2 = malloc(54*sizeof(short)); local
76 /* Reload it into buf2. */
78 do_fsave(buf2);
79 show_fpustate( (unsigned char*)buf2, xx );
H A Dfxsave.c106 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);
/external/valgrind/main/memcheck/tests/x86/
H A Dfxsave.c107 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++/
H A Dchild_reader.cpp34 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);
H A Dchild_reader.h32 * child. in this case child stderr is acumulated in buf2 and can be read
89 // already input in the pipe buffer or in buf2.
102 char * buf2; member in class:child_reader
/external/stlport/test/unit/
H A Dcstring_test.cpp45 char buf1[1], buf2[1]; local
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL );
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL );
/external/compiler-rt/lib/tsan/unit_tests/
H A Dtsan_printf_test.cc91 char buf2[1024]; local
92 snprintf(buf2, sizeof(buf2), fmt, min, max);
94 EXPECT_EQ(0, strcmp(buf, buf2));
/external/jmonkeyengine/engine/src/test/jme3test/app/
H A DTestReleaseDirectMemory.java66 FloatBuffer buf2 = BufferUtils.createFloatBuffer(500000);
67 BufferUtils.destroyDirectBuffer(buf2);
/external/srec/srec/clib/
H A Dvoc_read.c278 void* buf2 = 0; local
311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0);
312 if (buf2 == (void*)-1) goto FAILED;
315 if (decompress_zipentry(ze, buf2, size2)) goto FAILED;
325 *buf = buf2;
333 if (buf2) munmap(buf2, inflateSize(size2));
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestInputStream2Test.java113 byte buf2[] = new byte[bytesToRead + 5];
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead);
126 if (buf1[i] != buf2[i]) {
/external/valgrind/main/memcheck/tests/
H A Dwritev1.c16 static char buf2[K_1]; variable
31 buf_list[1] = buf2;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DStringBuffer2Test.java84 char[] buf2 = { 'W', 'o', 'r', 'l', 'd' };
87 sb.append(buf2, 0, buf2.length);
101 char buf2 = 'W';
104 sb.append(buf2);
191 String buf2 = "World";
194 sb.append(buf2);
311 StringBuffer buf2 = new StringBuffer("");
312 buf2.getChars(0, 0, new char[5], 2);
/external/iproute2/tc/
H A Dm_nat.c173 char buf2[256]; local
195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)),
/external/liblzf/
H A Dlzf.c181 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; local
187 cs = lzf_compress (&buf1[MAX_HDR_SIZE], us, &buf2[MAX_HDR_SIZE], us > 4 ? us - 4 : us);
190 header = &buf2[MAX_HDR_SIZE - TYPE1_HDR_SIZE];
223 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; local
296 if (lzf_decompress (buf1, cs, buf2, us) != us)
302 if (wwrite (to, buf2, us))

Completed in 499 milliseconds

12345