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

1234567

/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/chromium_org/net/quic/crypto/
H A Dquic_random_test.cc14 unsigned char buf2[16]; local
16 memset(buf2, 0xaf, sizeof(buf2));
17 ASSERT_EQ(0, memcmp(buf1, buf2, sizeof(buf1)));
21 EXPECT_NE(0, memcmp(buf1, buf2, sizeof(buf1)));
/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/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringBufferTest.cpp22 StringBuffer<LChar> buf2(0);
23 EXPECT_EQ(0u, buf2.length());
24 EXPECT_FALSE(buf2.characters());
/external/chromium_org/third_party/libyuv/util/
H A Dcompare.cc33 uint8 buf2[kBlockSize]; local
44 amt2 = static_cast<int>(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/chromium_org/third_party/lzma_sdk/
H A DBcj2.h30 const Byte *buf2, SizeT size2,
/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,
/external/strace/test/
H A Dwait_must_be_interruptible.c51 char buf2[80]; local
72 fgets(buf2, 80, stdin); printf("%s", buf2);
76 || strcmp(buf2, msg2) != 0
/external/chromium_org/third_party/webrtc/base/
H A Dbuffer_unittest.cc51 Buffer buf1(kTestData, sizeof(kTestData), 256), buf2(buf1);
52 EXPECT_EQ(sizeof(kTestData), buf2.length());
53 EXPECT_EQ(sizeof(kTestData), buf2.capacity()); // capacity isn't copied
54 EXPECT_EQ(0, memcmp(buf2.data(), kTestData, sizeof(kTestData)));
55 EXPECT_EQ(buf1, buf2);
59 Buffer buf1, buf2(kTestData, sizeof(kTestData), 256);
60 EXPECT_NE(buf1, buf2);
61 buf1 = buf2;
65 EXPECT_EQ(buf1, buf2);
134 Buffer buf1(kTestData, sizeof(kTestData), 256U), buf2; local
[all...]
/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/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/pixman/pixman/
H A Dpixman-android.c214 uint32_t buf2[2]; local
238 buf2[0] = buf2[1] = 0;
240 dst, buf1, buf2, weight1, weight2, 0, 0, left_pad);
246 buf2[0] = 0;
247 buf2[1] = src2[0];
249 dst, buf1, buf2, weight1, weight2,
263 buf2[0] = src2[src_width - 1];
264 buf2[1] = 0;
266 dst, buf1, buf2, weight
[all...]
/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/chromium_org/net/base/
H A Dnss_memio.h84 * writing the positions and lengths into |buf1|, |len1| and |buf2|, |len2|.
88 const char **buf2, unsigned int *len2);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_printf_test.cc115 char buf2[1024]; local
116 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2);
118 EXPECT_STREQ(buf2, buf);
/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]) {

Completed in 2346 milliseconds

1234567