/external/valgrind/none/tests/s390x/ |
H A D | ex_clone.c | 17 char buf2[40]; local 20 memset(buf2, 0, sizeof(buf2)); 32 ::"a" (buf2), "a" (source) 34 printf("%s\n", buf2);
|
H A D | ex_sig.c | 17 char buf2[40]; local 25 ::"a" (buf2), "a" (source)
|
H A D | 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");
|
/external/valgrind/none/tests/amd64/ |
H A D | 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, "ababababababababcda [all...] |
/external/webrtc/webrtc/base/ |
H A D | buffer_unittest.cc | 68 Buffer buf1(kTestData), buf2(buf1); 69 EXPECT_EQ(buf2.size(), 16u); 70 EXPECT_EQ(buf2.capacity(), 16u); 71 EXPECT_EQ(0, memcmp(buf2.data(), kTestData, 16)); 72 EXPECT_NE(buf1.data(), buf2.data()); 73 EXPECT_EQ(buf1, buf2); 77 Buffer buf1, buf2(kTestData, sizeof(kTestData), 256); 78 EXPECT_NE(buf1, buf2); 79 buf1 = buf2; 80 EXPECT_EQ(buf1, buf2); [all...] |
/external/curl/src/ |
H A D | tool_homedir.c | 36 char buf1[1024], buf2[1024]; local 48 /* buf2 == variable if not expanded */ 49 rc = ExpandEnvironmentStrings (variable, buf2, sizeof(buf2)); 50 if(rc > 0 && rc < sizeof(buf2) && 51 !strchr(buf2, '%')) /* no vars still unexpanded */ 52 env = buf2;
|
/external/vboot_reference/tests/ |
H A D | vb21_common2_tests.c | 118 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 D | vb21_common_tests.c | 260 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 D | tlcl_tests.c | 110 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");
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-4665.js | 14 var buf2 = buf.subarray(2) 15 assertEquals(8, buf2.length);
|
/external/libyuv/files/util/ |
H A D | compare.cc | 33 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/lzma/C/ |
H A D | Bcj2.h | 28 const Byte *buf2, SizeT size2,
|
/external/toybox/toys/posix/ |
H A D | cmp.c | 35 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 D | fxsave-amd64.c | 160 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/opencv3/modules/cudaarithm/test/ |
H A D | test_buffer_pool.cpp | 76 GpuMat buf2 = pool.getBuffer(Size(1280, 1024), CV_32SC1); local 77 EXPECT_FALSE( buf2.empty() ); 79 buf2.setTo(Scalar::all(2), stream); 81 buf2.download(dst_2, stream);
|
/external/valgrind/VEX/test/ |
H A D | 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 );
|
H A D | 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);
|
/external/valgrind/memcheck/tests/x86/ |
H A D | 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/guava/guava-tests/test/com/google/common/io/ |
H A D | CharSequenceReaderTest.java | 212 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/icu/icu4c/source/tools/gencolusb/ |
H A D | extract_unsafe_backwards.cpp | 82 char buf2[2048]; local 83 int32_t len2 = pattern.extract(0, pattern.length(), buf2, "utf-8"); 84 buf2[len2]=0; 85 fprintf(stderr,"===\n%s\n===\n", buf2);
|
/external/libavc/decoder/ |
H A D | ih264d_mem_request.h | 60 void * buf2; /** memory location for buf2 */ member in struct:PicMemBlock 68 UWORD32 u4_size2; /** Size of the buf2 in PicMemBlock */
|
/external/opencv3/modules/core/src/ |
H A D | conjugate_gradient.cpp | 86 static void minimizeOnTheLine(Ptr<MinProblemSolver::Function> _f,Mat_<double>& x,const Mat_<double>& d,Mat_<double>& buf1,Mat_<double>& buf2); 90 Mat_<double>& buf2){ 93 buf2=0.0; 106 _f->getGradient((double*)x.data,(double*)buf2.data); 107 dprintf(("buf2:\n")); 108 print_matrix(buf2); 109 double d1=buf1.dot(d), d2=buf2.dot(d); 114 dprintf(("(buf2.dot(d)-buf1.dot(d))=%f\nalpha=%f\n",(buf2.dot(d)-buf1.dot(d)),alpha)); 89 minimizeOnTheLine(Ptr<MinProblemSolver::Function> _f,Mat_<double>& x,const Mat_<double>& d,Mat_<double>& buf1, Mat_<double>& buf2) argument
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | DigestInputStream2Test.java | 113 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 D | sanitizer_printf_test.cc | 112 char buf2[1024]; local 113 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2); 115 EXPECT_STREQ(buf2, buf);
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | rfkill.c | 110 char buf2[31 + 11 + 1]; local 158 os_snprintf(buf2, sizeof(buf2), 160 rfk_phy = realpath(buf2, NULL);
|