/external/valgrind/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...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ByteArrayPoolTest.java | 31 byte[] buf2 = pool.getBuf(16); 34 pool.returnBuf(buf2); 38 assertTrue(buf3 == buf1 || buf3 == buf2); 39 assertTrue(buf4 == buf1 || buf4 == buf2); 47 byte[] buf2 = pool.getBuf(16); 51 pool.returnBuf(buf2); 58 assertTrue(buf4 == buf2 || buf4 == buf3); 59 assertTrue(buf5 == buf2 || buf5 == buf3); 61 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3); 70 byte[] buf2 = pool.getBuf(17) [all...] |
/external/valgrind/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");
|
/external/vboot_reference/tests/ |
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, sig, size) 178 uint8_t *buf2; local [all...] |
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_size) 387 uint8_t *buf, *buf2; local [all...] |
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/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);
|
/external/toybox/toys/posix/ |
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]);
|
/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/libavc/decoder/ |
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/guava/guava-tests/test/com/google/common/io/ |
CharSequenceReaderTest.java | 212 CharBuffer buf2 = CharBuffer.allocate(expected.length()); local 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/lzma/C/ |
Bcj2.h | 30 const Byte *buf2, SizeT size2,
|
/external/valgrind/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);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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)));
|
/libcore/luni/src/test/java/libcore/java/io/ |
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...] |
/external/llvm/test/CodeGen/PowerPC/ |
stack-protector.ll | 16 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1] 17 %2 = call i32 (i8*, ...) @printf(i8* getelementptr ([11 x i8], [11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2) nounwind ; <i32> [#uses=0]
|
/external/valgrind/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);
|
/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);
|
/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 );
|
/ndk/tests/device/test-stlport/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/core/jni/ |
android_util_Log.cpp | 61 char buf2[200]; local 62 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %zu characters\n", 65 jniThrowException(env, "java/lang/IllegalArgumentException", buf2);
|