/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | ByteArrayInputStreamTest.java | 95 byte[] buf2 = new byte[100]; in test_markI() 100 is.read(buf2, 0, buf2.length); in test_markI() 103 buf1.length).equals(new String(buf2, 0, buf2.length))); in test_markI() 140 byte[] buf2 = new byte[10]; in test_reset() 144 is.read(buf2, 0, 10); in test_reset() 147 .equals(new String(buf2, 0, buf2.length))); in test_reset()
|
D | BufferedInputStreamTest.java | 198 byte[] buf2 = new byte[100]; in test_markI() 203 is.read(buf2, 0, buf2.length); in test_markI() 206 buf1.length).equals(new String(buf2, 0, buf2.length))); in test_markI() 384 byte[] buf2 = new byte[10]; in test_reset() 388 is.read(buf2, 0, 10); in test_reset() 391 .equals(new String(buf2, 0, buf2.length))); in test_reset()
|
D | PushbackInputStreamTest.java | 168 byte[] buf2 = new byte[25]; in test_skipJ() 169 pis.read(buf2, 0, buf2.length); in test_skipJ() 170 assertTrue("b) Incorrect bytes read", new String(buf2, "UTF-8") in test_skipJ()
|
/external/openssl/crypto/err/ |
D | err_prn.c | 71 char buf2[4096]; in ERR_print_errors_cb() local 82 BIO_snprintf(buf2, sizeof(buf2), "%lu:%s:%s:%d:%s\n", es, buf, in ERR_print_errors_cb() 84 if (cb(buf2, strlen(buf2), u) <= 0) in ERR_print_errors_cb()
|
/external/oprofile/libutil++/ |
D | child_reader.cpp | 34 buf2(0), sz_buf2(0), in child_reader() 49 if (buf2) { in ~child_reader() 51 free(buf2); in ~child_reader() 142 buf2 = (char *)xrealloc(buf2, sz_buf2); in block_read() 145 ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2); in block_read() 212 err.write(buf2, end2); in get_data()
|
/external/valgrind/main/memcheck/tests/x86/ |
D | fxsave.c | 107 unsigned char* buf2 = memalign16(512); in main() local 113 memset(buf2, 0x55, 512); in main() 124 do_fxsave(buf2); in main() 126 show(buf2, xx); in main() 134 free(buf1); free(buf2); free(buf3); in main()
|
/external/srec/srec/clib/ |
D | voc_read.c | 278 void* buf2 = 0; in mmap_zip() local 311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in mmap_zip() 312 if (buf2 == (void*)-1) goto FAILED; in mmap_zip() 315 if (decompress_zipentry(ze, buf2, size2)) goto FAILED; in mmap_zip() 325 *buf = buf2; in mmap_zip() 333 if (buf2) munmap(buf2, inflateSize(size2)); in mmap_zip()
|
/external/astl/tests/ |
D | test_sstream.cpp | 48 stringbuf buf2(str, std::ios_base::in); in testConstructor() local 52 EXPECT_TRUE(buf2.str() == str); in testConstructor() 62 stringbuf buf2(str, std::ios_base::in); in testInAvail() local 67 std::streamsize len2 = buf2.in_avail(); in testInAvail()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | StringBuffer2Test.java | 84 char[] buf2 = { 'W', 'o', 'r', 'l', 'd' }; in test_append$CII() local 87 sb.append(buf2, 0, buf2.length); in test_append$CII() 101 char buf2 = 'W'; in test_appendC() local 104 sb.append(buf2); in test_appendC() 191 String buf2 = "World"; in test_appendLjava_lang_String() local 194 sb.append(buf2); in test_appendLjava_lang_String() 311 StringBuffer buf2 = new StringBuffer(""); in test_getCharsII$CI() local 312 buf2.getChars(0, 0, new char[5], 2); in test_getCharsII$CI()
|
/external/stlport/test/unit/ |
D | cstring_test.cpp | 45 char buf1[1], buf2[1]; in import_checks() local 46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks() 47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
|
/external/dropbear/libtomcrypt/src/encauth/ccm/ |
D | ccm_test.c | 117 unsigned char buf[64], buf2[64], tag2[16], tag[16]; in ccm_test() 158 buf2, tests[x].ptlen, in ccm_test() 164 if (XMEMCMP(buf2, tests[x].pt, tests[x].ptlen)) { in ccm_test()
|
/external/liblzf/ |
D | lzf.c | 181 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; in compress_fd() local 187 cs = lzf_compress (&buf1[MAX_HDR_SIZE], us, &buf2[MAX_HDR_SIZE], us > 4 ? us - 4 : us); in compress_fd() 190 header = &buf2[MAX_HDR_SIZE - TYPE1_HDR_SIZE]; in compress_fd() 223 u8 buf2[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; in uncompress_fd() local 296 if (lzf_decompress (buf1, cs, buf2, us) != us) in uncompress_fd() 302 if (wwrite (to, buf2, us)) in uncompress_fd()
|
/external/bluetooth/glib/tests/ |
D | mainloop-test.c | 106 char buf2[32]; in adder_callback() local 113 !read_all (source, buf2, 32)) in adder_callback() 119 sprintf (result, "%d", atoi(buf1) + atoi(buf2)); in adder_callback() 217 char buf2[32]; in do_add() local 220 sprintf (buf2, "%d", b); in do_add() 223 write_all (in, buf2, 32); in do_add()
|
/external/e2fsprogs/intl/ |
D | localcharset.c | 146 char buf2[50+1]; in get_charset_aliases() local 169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases() 172 l2 = strlen (buf2); in get_charset_aliases() 190 strcpy (res_ptr + res_size - (l2 + 1), buf2); in get_charset_aliases()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | DigestInputStream2Test.java | 113 byte buf2[] = new byte[bytesToRead + 5]; in test_read$BII() 119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead); in test_read$BII() 126 if (buf1[i] != buf2[i]) { in test_read$BII()
|
/external/valgrind/main/exp-ptrcheck/tests/ |
D | syscall.c | 33 char *buf = malloc(sizeof(char)*6), *buf2 = malloc(sizeof(char)*6); in main() local 35 int diff = buf2 - buf; in main()
|
/external/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 270 char buf1[64], buf2[64]; in _Locale_strcmp() local 275 _STLP_STRNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0; in _Locale_strcmp() 277 ret = strcmp(buf1, buf2); in _Locale_strcmp() 290 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local 295 _STLP_WCSNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0; in _WLocale_strcmp() 297 ret = wcscmp(buf1, buf2); in _WLocale_strcmp()
|
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
D | milenage.c | 1025 u8 buf[16], buf2[16], buf3[16], buf4[16], buf5[16], opc[16]; in main() local 1044 if (milenage_f1(opc, t->k, t->rand, t->sqn, t->amf, buf, buf2) in main() 1049 if (memcmp(buf2, t->f1star, 8) != 0) { in main() 1054 if (milenage_f2345(opc, t->k, t->rand, buf, buf2, buf3, buf4, in main() 1060 if (memcmp(buf2, t->f3, 16) != 0) { in main() 1102 milenage_generate(t->opc, t->amf, t->k, sqn, _rand, buf, buf2, buf3, in main() 1107 wpa_hexdump(MSG_DEBUG, "IK", buf2, 16); in main()
|
/external/iproute2/tc/ |
D | m_nat.c | 173 char buf2[256]; in print_nat() local 195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)), in print_nat()
|
/external/openssl/crypto/rc2/ |
D | rc2test.c | 146 unsigned char buf[8],buf2[8]; in main() local 167 RC2_ecb_encrypt(buf,buf2,&key,RC2_DECRYPT); in main() 168 if (memcmp(&(RC2plain[n][0]),buf2,8) != 0) in main()
|
/external/icu4c/test/cintltst/ |
D | utransts.c | 138 char buf[BUF_CAP], buf2[BUF_CAP]; in TestAPI() local 169 utrans_getID(trans, buf2, BUF_CAP); in TestAPI() 170 if (0 != strcmp(buf, buf2)) { in TestAPI() 172 buf, buf2); in TestAPI() 298 char buf1[BUF_CAP], buf2[BUF_CAP], buf3[BUF_CAP]; in TestClone() local 316 utrans_getID(t2, buf2, BUF_CAP); in TestClone() 320 strcmp(buf1, buf2) == 0) { in TestClone() 326 if(strcmp(buf2, buf3) != 0 || in TestClone()
|
/external/openssl/crypto/dsa/ |
D | dsa_gen.c | 119 unsigned char buf[SHA256_DIGEST_LENGTH],buf2[SHA256_DIGEST_LENGTH]; in dsa_builtin_paramgen() local 194 memcpy(buf2, seed, qsize); in dsa_builtin_paramgen() 205 EVP_Digest(buf, qsize, buf2, NULL, evpmd, NULL); in dsa_builtin_paramgen() 207 md[i]^=buf2[i]; in dsa_builtin_paramgen()
|
/external/valgrind/main/memcheck/tests/ |
D | writev.c | 16 static char buf2[K_1]; variable 31 buf_list[1] = buf2; in main()
|
/external/stlport/src/c_locale_glibc/ |
D | c_locale_glibc2.c | 366 char buf1[64], buf2[64]; in _Locale_strcmp() local 371 strncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0; in _Locale_strcmp() 373 ret = strcoll_l(buf1, buf2, (locale_t)__loc); in _Locale_strcmp() 386 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local 391 wcsncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0; in _WLocale_strcmp() 393 ret = wcscoll_l(buf1, buf2, (locale_t)__loc); in _WLocale_strcmp()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | stack-protector.ll | 15 %buf2 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1] 16 …%2 = call i32 (i8*, ...)* @printf(i8* getelementptr ([11 x i8]* @"\01LC", i32 0, i32 0), i8* %buf2…
|