/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/ |
D | NullCipherSpiTest.java | 112 ByteBuffer inbuf = ByteBuffer.wrap(b,0,b.length); in testEngineUpdateByteBufferByteBuffer() local 122 spi.engineUpdate(inbuf, null); in testEngineUpdateByteBufferByteBuffer() 127 inbuf.get(); in testEngineUpdateByteBufferByteBuffer() 128 inbuf.get(); in testEngineUpdateByteBufferByteBuffer() 129 inbuf.get(); in testEngineUpdateByteBufferByteBuffer() 130 inbuf.get(); in testEngineUpdateByteBufferByteBuffer() 131 int result = spi.engineUpdate(inbuf, outbuf); in testEngineUpdateByteBufferByteBuffer() 137 inbuf = ByteBuffer.wrap(b,0,b.length); in testEngineUpdateByteBufferByteBuffer() 139 inbuf.get(); in testEngineUpdateByteBufferByteBuffer() 140 inbuf.get(); in testEngineUpdateByteBufferByteBuffer() [all …]
|
/external/valgrind/main/memcheck/tests/ |
D | origin5-bz2.c | 5952 char inbuf[M_BLOCK]; variable 5992 inbuf[0] = 0; in set_inbuf() 5993 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf() 5994 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf() 5995 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf() 5996 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf() 5997 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf() 5998 my_strcat(inbuf, "\n"); in set_inbuf() 5999 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf() 6000 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf() [all …]
|
D | varinfo6.c | 5989 char inbuf[M_BLOCK]; variable 6029 inbuf[0] = 0; in set_inbuf() 6030 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf() 6031 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf() 6032 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf() 6033 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf() 6034 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf() 6035 my_strcat(inbuf, "\n"); in set_inbuf() 6036 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf() 6037 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf() [all …]
|
/external/valgrind/main/exp-sgcheck/tests/ |
D | hackedbz2.c | 5960 char inbuf[M_BLOCK]; variable 6000 inbuf[0] = 0; in set_inbuf() 6001 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf() 6002 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf() 6003 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf() 6004 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf() 6005 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf() 6006 my_strcat(inbuf, "\n"); in set_inbuf() 6007 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf() 6008 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf() [all …]
|
/external/valgrind/main/perf/ |
D | bz2.c | 5951 char inbuf[M_BLOCK]; variable 5991 inbuf[0] = 0; in set_inbuf() 5992 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf() 5993 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf() 5994 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf() 5995 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf() 5996 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf() 5997 my_strcat(inbuf, "\n"); in set_inbuf() 5998 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf() 5999 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf() [all …]
|
D | test_input_for_tinycc.c | 4433 char inbuf[1000000]; variable 4453 inbuf[0] = 0; in set_inbuf() 4454 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf() 4455 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf() 4456 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf() 4457 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf() 4458 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf() 4459 my_strcat(inbuf, "\n"); in set_inbuf() 4460 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf() 4461 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf() [all …]
|
/external/openssh/ |
D | rsa.c | 77 u_char *inbuf, *outbuf; in rsa_public_encrypt() local 87 inbuf = xmalloc(ilen); in rsa_public_encrypt() 88 BN_bn2bin(in, inbuf); in rsa_public_encrypt() 90 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, in rsa_public_encrypt() 98 memset(inbuf, 0, ilen); in rsa_public_encrypt() 100 xfree(inbuf); in rsa_public_encrypt() 106 u_char *inbuf, *outbuf; in rsa_private_decrypt() local 113 inbuf = xmalloc(ilen); in rsa_private_decrypt() 114 BN_bn2bin(in, inbuf); in rsa_private_decrypt() 116 if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key, in rsa_private_decrypt() [all …]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | schanneladapter.cc | 102 SChannelBuffer inbuf, outbuf, readable; member 213 sb_in[0].cbBuffer = static_cast<unsigned long>(impl_->inbuf.size()); in ContinueSSL() 214 sb_in[0].pvBuffer = &impl_->inbuf[0]; in ContinueSSL() 284 ASSERT(extra <= impl_->inbuf.size()); in ProcessContext() 285 size_t consumed = impl_->inbuf.size() - extra; in ProcessContext() 286 memmove(&impl_->inbuf[0], &impl_->inbuf[consumed], extra); in ProcessContext() 287 impl_->inbuf.resize(extra); in ProcessContext() 289 impl_->inbuf.clear(); in ProcessContext() 295 return impl_->inbuf.empty() ? Flush() : ContinueSSL(); in ProcessContext() 335 SChannelBuffer& inbuf = impl_->inbuf; in DecryptData() local [all …]
|
/external/dropbear/libtomcrypt/demos/ |
D | encrypt.c | 99 unsigned char inbuf[512]; /* i/o block size */ in main() local 180 y = fread(inbuf,1,sizeof(inbuf),fdin); in main() 182 if ((errno = ctr_decrypt(inbuf,plaintext,y,&ctr)) != CRYPT_OK) { in main() 191 } while (y == sizeof(inbuf)); in main() 221 y = fread(inbuf,1,sizeof(inbuf),fdin); in main() 223 if ((errno = ctr_encrypt(inbuf,ciphertext,y,&ctr)) != CRYPT_OK) { in main() 232 } while (y == sizeof(inbuf)); in main()
|
/external/chromium/third_party/libevent/ |
D | buffer.c | 100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) in evbuffer_add_buffer() argument 107 size_t oldoff = inbuf->off; in evbuffer_add_buffer() 111 SWAP(outbuf, inbuf); in evbuffer_add_buffer() 112 SWAP(inbuf, &tmp); in evbuffer_add_buffer() 119 if (inbuf->off != oldoff && inbuf->cb != NULL) in evbuffer_add_buffer() 120 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); in evbuffer_add_buffer() 127 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); in evbuffer_add_buffer() 130 evbuffer_drain(inbuf, inbuf->off); in evbuffer_add_buffer()
|
/external/eigen/bench/ |
D | benchFFT.cpp | 49 vector<T> inbuf(nfft); in bench() local 63 std::fill(inbuf.begin(),inbuf.end(),0); in bench() 64 fft.fwd( outbuf , inbuf); in bench() 72 fft.fwd( outbuf , inbuf); in bench() 75 fft.inv(inbuf,outbuf); in bench()
|
/external/bzip2/ |
D | unzcrash.c | 40 uchar inbuf[M_BLOCK]; variable 92 nIn = fread ( inbuf, 1, M_BLOCK, f ); in main() 97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); in main() 118 if (inbuf[i] != outbuf[i]) { in main() 132 if (inbuf[i] != outbuf[i]) { in main()
|
/external/e2fsprogs/lib/ext2fs/ |
D | dirblock.c | 69 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block2() argument 81 memcpy(buf, inbuf, fs->blocksize); in ext2fs_write_dir_block2() 105 return io_channel_write_blk(fs->io, block, 1, (char *) inbuf); in ext2fs_write_dir_block2() 111 void *inbuf) in ext2fs_write_dir_block() argument 113 return ext2fs_write_dir_block2(fs, block, inbuf, 0); in ext2fs_write_dir_block()
|
D | ext_attr.c | 76 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) in ext2fs_write_ext_attr() argument 87 ext2fs_swap_ext_attr(buf, inbuf, fs->blocksize, 1); in ext2fs_write_ext_attr() 89 write_buf = (char *) inbuf; in ext2fs_write_ext_attr()
|
/external/valgrind/main/VEX/switchback/ |
D | test_bzip2.c | 5937 uchar inbuf[M_BLOCK]; variable 5973 inbuf[0] = 0; in set_inbuf() 5974 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf() 5975 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf() 5976 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf() 5977 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf() 5978 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf() 5979 my_strcat(inbuf, "\n"); in set_inbuf() 5980 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf() 5981 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf() [all …]
|
/external/eigen/unsupported/test/ |
D | FFTW.cpp | 151 ComplexVector inbuf(nfft); in test_complex_generic() local 155 inbuf[k]= Complex( (T)(rand()/(double)RAND_MAX - .5), (T)(rand()/(double)RAND_MAX - .5) ); in test_complex_generic() 156 fft.fwd( outbuf , inbuf); in test_complex_generic() 158 VERIFY( fft_rmse(outbuf,inbuf) < test_precision<T>() );// gross check in test_complex_generic() 161 VERIFY( dif_rmse(inbuf,buf3) < test_precision<T>() );// gross check in test_complex_generic() 169 VERIFY( dif_rmse(inbuf,buf4) < test_precision<T>() );// gross check in test_complex_generic() 174 VERIFY( dif_rmse(inbuf,buf3) < test_precision<T>() );// gross check in test_complex_generic()
|
/external/qemu/distrib/zlib-1.2.3/ |
D | gzio.c | 61 Byte *inbuf; /* input buffer */ member 114 s->stream.next_in = s->inbuf = Z_NULL; 165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); 174 if (err != Z_OK || s->inbuf == Z_NULL) { 267 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file); 273 s->stream.next_in = s->inbuf; 301 if (len) s->inbuf[0] = s->stream.next_in[0]; 303 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file); 306 s->stream.next_in = s->inbuf; 383 TRYFREE(s->inbuf); [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_iconv.c | 43 const char **inbuf, size_t *inbytesleft, in SDL_iconv() argument 48 retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv() 50 retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv() 208 const char **inbuf, size_t *inbytesleft, in SDL_iconv() argument 218 if ( !inbuf || !*inbuf ) { in SDL_iconv() 225 src = *inbuf; in SDL_iconv() 796 *inbuf = src; in SDL_iconv() 815 char *SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesl… in SDL_iconv_string() argument 850 retCode = SDL_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in SDL_iconv_string() 868 ++inbuf; in SDL_iconv_string()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 30 struct wpabuf *inbuf; member 129 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 751 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 752 if (data->inbuf == NULL) { in eap_pwd_process() 765 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { in eap_pwd_process() 769 (int) wpabuf_len(data->inbuf)); in eap_pwd_process() 770 wpabuf_free(data->inbuf); in eap_pwd_process() 774 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process() 789 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process() 793 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process() [all …]
|
/external/zlib/src/examples/ |
D | gun.c | 82 unsigned char *inbuf; member 95 next = me->inbuf; in in() 160 unsigned char inbuf[SIZE]; /* input buffer */ variable 392 ind.inbuf = inbuf; in gunpipe()
|
/external/srec/srec/cfront/ |
D | spec_anl.c | 418 void freq_warp(front_freq *freqobj, fftdata *inbuf, int ns) in freq_warp() argument 425 ASSERT(freqobj && inbuf); in freq_warp() 460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]); in freq_warp() 464 tmpbuf[i] = inbuf[ns-1]; in freq_warp() 476 inbuf[i] = tmpbuf[i]; in freq_warp()
|
/external/chromium/net/base/ |
D | gzip_header.cc | 32 GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len, in ReadMore() argument 35 const uint8* pos = reinterpret_cast<const uint8*>(inbuf); in ReadMore()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_schannel.c | 318 SecBufferDesc inbuf, outbuf; in tls_connection_handshake() local 349 inbuf.cBuffers = 2; in tls_connection_handshake() 350 inbuf.pBuffers = inbufs; in tls_connection_handshake() 351 inbuf.ulVersion = SECBUFFER_VERSION; in tls_connection_handshake() 365 SECURITY_NATIVE_DREP, &inbuf, 0, NULL, in tls_connection_handshake() 370 SECURITY_NATIVE_DREP, &inbuf, 0, NULL, in tls_connection_handshake()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 31 struct wpabuf *inbuf; member 125 data->inbuf = data->outbuf = NULL; in eap_pwd_init() 896 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 897 if (data->inbuf == NULL) { in eap_pwd_process() 909 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) { in eap_pwd_process() 913 (int) wpabuf_size(data->inbuf)); in eap_pwd_process() 917 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process() 928 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process() 930 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process() 951 wpabuf_free(data->inbuf); in eap_pwd_process()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_estimator.c | 476 double inbuf[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis() local 613 memcpy(inbuf, State->inbuf, sizeof(double) * QLOOKAHEAD); in WebRtcIsac_PitchAnalysis() 614 memcpy(inbuf+QLOOKAHEAD, in, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_PitchAnalysis() 617 WebRtcIsac_PitchfilterPre_la(inbuf, out, &(State->PFstr), lags, gains); in WebRtcIsac_PitchAnalysis() 621 State->inbuf[k] = inbuf[k + PITCH_FRAME_LEN]; in WebRtcIsac_PitchAnalysis()
|