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

1234

/external/valgrind/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/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/vboot_reference/tests/
H A Dvb21_common2_tests.c118 uint8_t *buf2; local
123 buf2 = malloc(size);
124 sig2 = (struct vb2_signature *)buf2;
126 memcpy(buf2, sig, size);
132 memcpy(buf2, sig, size);
137 memcpy(buf2, sig, size);
144 memcpy(buf2, sig, size);
150 memcpy(buf2, sig, size);
155 memcpy(buf2, sig, size);
160 memcpy(buf2, si
178 uint8_t *buf2; local
[all...]
H A Dvb21_common_tests.c260 uint8_t *buf, *buf2; local
286 buf2 = malloc(buf_size);
287 memcpy(buf2, buf, buf_size);
295 memcpy(buf, buf2, buf_size);
299 memcpy(buf, buf2, buf_size);
304 memcpy(buf, buf2, buf_size);
310 memcpy(buf, buf2, buf_size);
316 memcpy(buf, buf2, buf_size);
322 memcpy(buf, buf2, buf_size);
331 memcpy(buf, buf2, buf_siz
387 uint8_t *buf, *buf2; local
[all...]
H A Dtlcl_tests.c110 uint8_t buf[32], buf2[32]; local
132 TEST_EQ(TlclSendReceive(buf, buf2, sizeof(buf2)), 0, "SendReceive");
139 TEST_EQ(TlclSendReceive(buf, buf2, sizeof(buf2)), VBERROR_SIMULATED,
145 TEST_EQ(TlclSendReceive(buf, buf2, sizeof(buf2)), 123,
273 uint8_t buf[kPcrDigestLength], buf2[kPcrDigestLength]; local
284 TEST_EQ(TlclExtend(1, buf, buf2), 0, "Extend");
H A Dvb21_host_key_tests.c43 uint8_t *buf, *buf2; local
97 buf2 = malloc(bufsize);
98 memcpy(buf2, buf, bufsize);
104 memcpy(buf, buf2, bufsize);
111 memcpy(buf, buf2, bufsize);
117 memcpy(buf, buf2, bufsize);
123 memcpy(buf, buf2, bufsize);
129 memcpy(buf, buf2, bufsize);
135 memcpy(buf, buf2, bufsize);
141 memcpy(buf, buf2, bufsiz
[all...]
/external/libyuv/files/util/
H A Dcompare.cc33 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);
/external/lzma/C/
H A DBcj2.h30 const Byte *buf2, SizeT size2,
H A DBcj2.c36 const Byte *buf2, SizeT size2,
111 v = buf2;
114 buf2 += 4;
33 Bcj2_Decode( const Byte *buf0, SizeT size0, const Byte *buf1, SizeT size1, const Byte *buf2, SizeT size2, const Byte *buf3, SizeT size3, Byte *outBuf, SizeT outSize) argument
/external/toybox/toys/posix/
H A Dcmp.c35 char *buf2 = toybuf+size; local
48 len2 = readall(fd, buf2, size);
52 if (toybuf[i] != buf2[i]) {
55 printf("%ld %o %o\n", byte_no, toybuf[i], buf2[i]);
/external/valgrind/memcheck/tests/amd64/
H A Dfxsave-amd64.c160 unsigned char* buf2 = memalign16(512); local
169 memset(buf2, 0x55, 512);
180 do_fxsave(buf2, 0);
182 show(buf2, xx);
193 memset(buf2, 0x55, 512);
204 do_fxsave(buf2, 1);
206 show(buf2, xx);
215 free(buf1); free(buf2); free(buf3);
/external/valgrind/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/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/guava/guava-tests/test/com/google/common/io/
H A DCharSequenceReaderTest.java212 CharBuffer buf2 = CharBuffer.allocate(expected.length());
213 assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2));
214 buf2.flip();
215 assertEquals(expected, buf2.toString());
220 buf2 = CharBuffer.allocate(5);
222 while (reader.read(buf2) != -1) {
223 buf2.flip();
224 builder.append(buf2);
225 buf2.clear();
/external/libavc/decoder/
H A Dih264d_mem_request.h60 void * buf2; /** memory location for buf2 */ member in struct:PicMemBlock
68 UWORD32 u4_size2; /** Size of the buf2 in PicMemBlock */
/external/jmonkeyengine/engine/src/test/jme3test/app/
H A DTestReleaseDirectMemory.java66 FloatBuffer buf2 = BufferUtils.createFloatBuffer(500000);
67 BufferUtils.destroyDirectBuffer(buf2);
/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/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_printf_test.cc112 char buf2[1024]; local
113 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2);
115 EXPECT_STREQ(buf2, buf);
/external/valgrind/memcheck/tests/
H A Dwritev1.c16 static char buf2[K_1]; variable
31 buf_list[1] = buf2;
/external/mesa3d/src/mesa/main/
H A Ddebug.c498 GLubyte *buf2; local
502 buf2 = (GLubyte *) malloc(w * h * 3); /* 3 bpp */
512 buf2[i*3+0] = (buf[i] >> 24) & 0xff;
513 buf2[i*3+1] = (buf[i] >> 16) & 0xff;
514 buf2[i*3+2] = (buf[i] >> 8) & 0xff;
518 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE);
523 free(buf2);
534 GLubyte *buf2; local
538 buf2 = (GLubyte *) malloc(w * h * 3); /* 3 bpp */
547 buf2[
[all...]
/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 3068 milliseconds

1234