/external/stlport/test/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 );
|
deque_test.cpp | 207 char buf2[1024]; local 208 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
list_test.cpp | 277 char buf2[1024]; local 278 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
/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 );
|
deque_test.cpp | 207 char buf2[1024]; local 208 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
list_test.cpp | 277 char buf2[1024]; local 278 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
/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 );
|
deque_test.cpp | 207 char buf2[1024]; local 208 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
list_test.cpp | 277 char buf2[1024]; local 278 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
/external/openssl/crypto/err/ |
err_prn.c | 71 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)
|
/system/core/toolbox/ |
cmp.c | 13 char buf1[4096], buf2[4096]; local 63 res2 = read(fd2, &buf2, sizeof(buf2)); 69 if(buf1[i] != buf2[i]) { 72 printf(" 0x%02x 0x%02x", buf1[i], buf2[i]);
|
/external/iproute2/tc/ |
m_nat.c | 173 char buf2[256]; local 195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)),
|
/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;
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
DoubleBufferTest.java | 850 * following usecases: 1. case for check DoubleBuffer buf2 properties 2. 851 * case for check equal between buf2 and double array[] 3. case for check a 852 * buf2 dependens to array[] 863 DoubleBuffer buf2 = DoubleBuffer.wrap(array); local 865 // case: DoubleBuffer buf2 properties is satisfy the conditions 867 assertEquals(buf2.capacity(), array.length); 868 assertEquals(buf2.limit(), array.length); 869 assertEquals(buf2.position(), 0); 871 // case: DoubleBuffer buf2 is equal to double array[] 872 assertContentEquals(buf2, array, 0, array.length) 897 DoubleBuffer buf2 = DoubleBuffer.wrap(array, offset, length); local [all...] |
FloatBufferTest.java | 857 * following usecases: 1. case for check FloatBuffer buf2 properties 2. case 858 * for check equal between buf2 and float array[] 3. case for check a buf2 870 FloatBuffer buf2 = FloatBuffer.wrap(array); local 872 // case: FloatBuffer buf2 properties is satisfy the conditions 874 assertEquals(buf2.capacity(), array.length); 875 assertEquals(buf2.limit(), array.length); 876 assertEquals(buf2.position(), 0); 878 // case: FloatBuffer buf2 is equal to float array[] 879 assertContentEquals(buf2, array, 0, array.length) 904 FloatBuffer buf2 = FloatBuffer.wrap(array, offset, length); local [all...] |
IntBufferTest.java | 833 * usecases: 1. case for check IntBuffer buf2 properties 2. case for check 834 * equal between buf2 and int array[] 3. case for check a buf2 dependens to 846 IntBuffer buf2 = IntBuffer.wrap(array); local 848 // case: IntBuffer buf2 properties is satisfy the conditions 850 assertEquals(buf2.capacity(), array.length); 851 assertEquals(buf2.limit(), array.length); 852 assertEquals(buf2.position(), 0); 854 // case: IntBuffer buf2 is equal to int array[] 855 assertContentEquals(buf2, array, 0, array.length) 880 IntBuffer buf2 = IntBuffer.wrap(array, offset, length); local [all...] |
LongBufferTest.java | 815 * following usecases: 1. case for check LongBuffer buf2 properties 2. case 816 * for check equal between buf2 and ling array[] 3. case for check a buf2 828 LongBuffer buf2 = LongBuffer.wrap(array); local 830 // case: LongBuffer buf2 properties is satisfy the conditions 832 assertEquals(buf2.capacity(), array.length); 833 assertEquals(buf2.limit(), array.length); 834 assertEquals(buf2.position(), 0); 836 // case: LongBuffer buf2 is equal to long array[] 837 assertContentEquals(buf2, array, 0, array.length) 862 LongBuffer buf2 = LongBuffer.wrap(array, offset, length); local [all...] |
ShortBufferTest.java | 826 * following usecases: 1. case for check ShortBuffer buf2 properties 2. case 827 * for check equal between buf2 and short array[] 3. case for check a buf2 839 ShortBuffer buf2 = ShortBuffer.wrap(array); local 841 // case: ShortBuffer buf2 properties is satisfy the conditions 843 assertEquals(buf2.capacity(), array.length); 844 assertEquals(buf2.limit(), array.length); 845 assertEquals(buf2.position(), 0); 847 // case: ShortBuffer buf2 is equal to short array[] 848 assertContentEquals(buf2, array, 0, array.length) 873 ShortBuffer buf2 = ShortBuffer.wrap(array, offset, length); local [all...] |
CharBufferTest.java | 1425 CharBuffer buf2 = CharBuffer.wrap(array); local 1460 CharBuffer buf2 = CharBuffer.wrap(array, offset, length); local 1564 CharBuffer buf2 = CharBuffer.wrap(buf.toString() + buf.toString()); \/\/buf.toString() + buf.toString() \/\/"123456789a123456789a" local [all...] |
/external/e2fsprogs/intl/ |
localcharset.c | 146 char buf2[50+1]; local 169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 172 l2 = strlen (buf2); 190 strcpy (res_ptr + res_size - (l2 + 1), buf2);
|
/external/icu4c/tools/icuinfo/ |
icuinfo.cpp | 140 char buf2[100]; local 146 u_UCharsToChars(buf, buf2, len+1); 147 printf("Default TZ: %s\n", buf2);
|
/external/openssl/crypto/dsa/ |
dsa_gen.c | 119 unsigned char buf[SHA256_DIGEST_LENGTH],buf2[SHA256_DIGEST_LENGTH]; local 194 memcpy(buf2, seed, qsize); 205 EVP_Digest(buf, qsize, buf2, NULL, evpmd, NULL); 207 md[i]^=buf2[i];
|
/external/openssl/crypto/rc2/ |
rc2test.c | 146 unsigned char buf[8],buf2[8]; local 167 RC2_ecb_encrypt(buf,buf2,&key,RC2_DECRYPT); 168 if (memcmp(&(RC2plain[n][0]),buf2,8) != 0)
|
/external/openssl/ssl/ |
s2_srvr.c | 924 unsigned char *p,*p2,*buf2; local 1069 buf2=OPENSSL_malloc((unsigned int)i); 1070 if (buf2 == NULL) 1075 p2=buf2; 1077 EVP_VerifyUpdate(&ctx,buf2,(unsigned int)i); 1078 OPENSSL_free(buf2);
|
/external/srec/srec/clib/ |
voc_read.c | 278 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));
|