/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));
|
hash_test.cpp | 383 char buf2[2048]; local 384 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2));
|
map_test.cpp | 272 char buf2[1024]; local 273 StackAllocator<pair<const int, int> > stack2(buf2, buf2 + sizeof(buf2));
|
/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;
|
/external/openssl/crypto/dsa/ |
dsa_gen.c | 109 unsigned char buf[SHA_DIGEST_LENGTH],buf2[SHA_DIGEST_LENGTH]; local 175 memcpy(buf2,seed,SHA_DIGEST_LENGTH); 185 EVP_Digest(buf,SHA_DIGEST_LENGTH,buf2,NULL,HASH, NULL); 187 md[i]^=buf2[i];
|
/external/openssl/crypto/err/ |
err_prn.c | 71 char buf2[4096]; local 80 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf, 82 cb(buf2, strlen(buf2), u);
|
/dalvik/libcore/nio/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/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));
|
/external/blktrace/ |
blkrawverify.c | 93 char buf2[1024]; local 94 sprintf(buf2, "| %s ", traces[i].string); 95 strcat(buf, buf2);
|
/external/bluetooth/glib/tests/ |
mainloop-test.c | 106 char buf2[32]; local 113 !read_all (source, buf2, 32)) 119 sprintf (result, "%d", atoi(buf1) + atoi(buf2)); 217 char buf2[32]; local 220 sprintf (buf2, "%d", b); 223 write_all (in, buf2, 32);
|
/external/clearsilver/cgi/ |
rfc2388.c | 513 char buf2[10]; local 533 snprintf (buf2, sizeof(buf2), "%d", i); 534 err = hdf_set_value (obj, buf2, str.buf);
|
/external/clearsilver/util/ |
neo_err.c | 295 char buf2[1024]; local 331 snprintf (buf2, sizeof(buf2), 334 string_append(str, buf2); 338 snprintf (buf2, sizeof(buf2), " File \"%s\", line %d, in %s()\n", 340 string_append(str, buf2); 343 snprintf (buf2, sizeof(buf2), " %s\n", err->desc); 344 string_append(str, buf2); [all...] |
/external/openssl/crypto/asn1/ |
asn1_lib.c | 453 char buf1[DECIMAL_SIZE(address)+1],buf2[DECIMAL_SIZE(offset)+1]; local 456 BIO_snprintf(buf2,sizeof buf2,"%d",offset); 457 ERR_add_error_data(4,"address=",buf1," offset=",buf2);
|