/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/ |
H A D | NullCipherSpiTest.java | 112 ByteBuffer inbuf = ByteBuffer.wrap(b,0,b.length); 122 spi.engineUpdate(inbuf, null); 127 inbuf.get(); 128 inbuf.get(); 129 inbuf.get(); 130 inbuf.get(); 131 int result = spi.engineUpdate(inbuf, outbuf); 137 inbuf = ByteBuffer.wrap(b,0,b.length); 139 inbuf.get(); 140 inbuf [all...] |
/external/openssh/ |
H A D | rsa.c | 77 u_char *inbuf, *outbuf; local 87 inbuf = xmalloc(ilen); 88 BN_bn2bin(in, inbuf); 90 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, 98 memset(inbuf, 0, ilen); 100 xfree(inbuf); 106 u_char *inbuf, *outbuf; local 113 inbuf = xmalloc(ilen); 114 BN_bn2bin(in, inbuf); 116 if ((len = RSA_private_decrypt(ilen, inbuf, outbu [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | origin5-bz2.c | 5952 char inbuf[M_BLOCK]; variable 5992 inbuf[0] = 0; 5993 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); 5994 my_strcat(inbuf, "blew on the cake to light the candles.\n"); 5995 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); 5996 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); 5997 my_strcat(inbuf, "rights reserved.\n"); 5998 my_strcat(inbuf, "\n"); 5999 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); 6000 my_strcat(inbuf, "modificatio [all...] |
H A D | varinfo6.c | 5989 char inbuf[M_BLOCK]; variable 6029 inbuf[0] = 0; 6030 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); 6031 my_strcat(inbuf, "blew on the cake to light the candles.\n"); 6032 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); 6033 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); 6034 my_strcat(inbuf, "rights reserved.\n"); 6035 my_strcat(inbuf, "\n"); 6036 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); 6037 my_strcat(inbuf, "modificatio [all...] |
/external/valgrind/main/exp-sgcheck/tests/ |
H A D | hackedbz2.c | 5960 char inbuf[M_BLOCK]; variable 6000 inbuf[0] = 0; 6001 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); 6002 my_strcat(inbuf, "blew on the cake to light the candles.\n"); 6003 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); 6004 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); 6005 my_strcat(inbuf, "rights reserved.\n"); 6006 my_strcat(inbuf, "\n"); 6007 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); 6008 my_strcat(inbuf, "modificatio [all...] |
/external/valgrind/main/perf/ |
H A D | bz2.c | 5951 char inbuf[M_BLOCK]; variable 5991 inbuf[0] = 0; 5992 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); 5993 my_strcat(inbuf, "blew on the cake to light the candles.\n"); 5994 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); 5995 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); 5996 my_strcat(inbuf, "rights reserved.\n"); 5997 my_strcat(inbuf, "\n"); 5998 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); 5999 my_strcat(inbuf, "modificatio [all...] |
H A D | test_input_for_tinycc.c | 4433 char inbuf[1000000]; variable 4453 inbuf[0] = 0; 4454 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); 4455 my_strcat(inbuf, "blew on the cake to light the candles.\n"); 4456 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); 4457 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); 4458 my_strcat(inbuf, "rights reserved.\n"); 4459 my_strcat(inbuf, "\n"); 4460 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); 4461 my_strcat(inbuf, "modificatio [all...] |
/external/bzip2/ |
H A D | unzcrash.c | 40 uchar inbuf[M_BLOCK]; variable 92 nIn = fread ( inbuf, 1, M_BLOCK, f ); 97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); 118 if (inbuf[i] != outbuf[i]) { 132 if (inbuf[i] != outbuf[i]) {
|
/external/dropbear/libtomcrypt/demos/ |
H A D | encrypt.c | 99 unsigned char inbuf[512]; /* i/o block size */ local 180 y = fread(inbuf,1,sizeof(inbuf),fdin); 182 if ((errno = ctr_decrypt(inbuf,plaintext,y,&ctr)) != CRYPT_OK) { 191 } while (y == sizeof(inbuf)); 221 y = fread(inbuf,1,sizeof(inbuf),fdin); 223 if ((errno = ctr_encrypt(inbuf,ciphertext,y,&ctr)) != CRYPT_OK) { 232 } while (y == sizeof(inbuf));
|
/external/eigen/bench/ |
H A D | benchFFT.cpp | 49 vector<T> inbuf(nfft); 63 std::fill(inbuf.begin(),inbuf.end(),0); 64 fft.fwd( outbuf , inbuf); 72 fft.fwd( outbuf , inbuf); 75 fft.inv(inbuf,outbuf);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | dirblock.c | 69 void *inbuf, int flags EXT2FS_ATTR((unused))) 81 memcpy(buf, inbuf, fs->blocksize); 105 return io_channel_write_blk(fs->io, block, 1, (char *) inbuf); 111 void *inbuf) 113 return ext2fs_write_dir_block2(fs, block, inbuf, 0); 68 ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, void *inbuf, int flags EXT2FS_ATTR((unused))) argument 110 ext2fs_write_dir_block(ext2_filsys fs, blk_t block, void *inbuf) argument
|
H A D | ext_attr.c | 76 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) argument 87 ext2fs_swap_ext_attr(buf, inbuf, fs->blocksize, 1); 89 write_buf = (char *) inbuf;
|
/external/chromium/third_party/libevent/ |
H A D | buffer.c | 100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument 107 size_t oldoff = inbuf->off; 111 SWAP(outbuf, inbuf); 112 SWAP(inbuf, &tmp); 117 * of data that we transfered from inbuf to outbuf 119 if (inbuf->off != oldoff && inbuf->cb != NULL) 120 (*inbuf->cb)(inbuf, oldoff, inbuf [all...] |
/external/chromium_org/third_party/libevent/ |
H A D | buffer.c | 100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument 107 size_t oldoff = inbuf->off; 111 SWAP(outbuf, inbuf); 112 SWAP(inbuf, &tmp); 117 * of data that we transfered from inbuf to outbuf 119 if (inbuf->off != oldoff && inbuf->cb != NULL) 120 (*inbuf->cb)(inbuf, oldoff, inbuf [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | schanneladapter.cc | 102 SChannelBuffer inbuf, outbuf, readable; member in struct:talk_base::SChannelAdapter::SSLImpl 213 sb_in[0].cbBuffer = static_cast<unsigned long>(impl_->inbuf.size()); 214 sb_in[0].pvBuffer = &impl_->inbuf[0]; 284 ASSERT(extra <= impl_->inbuf.size()); 285 size_t consumed = impl_->inbuf.size() - extra; 286 memmove(&impl_->inbuf[0], &impl_->inbuf[consumed], extra); 287 impl_->inbuf.resize(extra); 289 impl_->inbuf.clear(); 295 return impl_->inbuf 335 SChannelBuffer& inbuf = impl_->inbuf; local 433 SChannelBuffer& inbuf = impl_->inbuf; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | schanneladapter.cc | 102 SChannelBuffer inbuf, outbuf, readable; member in struct:talk_base::SChannelAdapter::SSLImpl 213 sb_in[0].cbBuffer = static_cast<unsigned long>(impl_->inbuf.size()); 214 sb_in[0].pvBuffer = &impl_->inbuf[0]; 281 ASSERT(extra <= impl_->inbuf.size()); 282 size_t consumed = impl_->inbuf.size() - extra; 283 memmove(&impl_->inbuf[0], &impl_->inbuf[consumed], extra); 284 impl_->inbuf.resize(extra); 286 impl_->inbuf.clear(); 292 return impl_->inbuf 332 SChannelBuffer& inbuf = impl_->inbuf; local 430 SChannelBuffer& inbuf = impl_->inbuf; local [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | ssl3gthr.c | 50 gs->inbuf.len = 0; 53 lbp = gs->inbuf.buf; 85 gs->inbuf.len += nb; 98 ** and then read in the rest of the SSL3 record into gs->inbuf. 114 gs->inbuf.len = 0; 116 if (gs->remainder > gs->inbuf.space) { 117 err = sslBuffer_Grow(&gs->inbuf, gs->remainder); 121 lbp = gs->inbuf.buf; 239 /* OK, we have at least one complete packet, copy into inbuf */ 240 if (gs->remainder > gs->inbuf [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_upload_mgr.h | 123 struct pipe_resource *inbuf,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_upload_mgr.h | 123 struct pipe_resource *inbuf,
|
/external/chromium/net/base/ |
H A D | gzip_header.h | 44 Status ReadMore(const char* inbuf,
|
H A D | gzip_header.cc | 32 GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len, argument 35 const uint8* pos = reinterpret_cast<const uint8*>(inbuf);
|
/external/chromium_org/net/base/ |
H A D | gzip_header.h | 43 Status ReadMore(const char* inbuf,
|
H A D | gzip_header.cc | 27 GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len, argument 30 const uint8* pos = reinterpret_cast<const uint8*>(inbuf);
|
/external/eigen/unsupported/test/ |
H A D | FFTW.cpp | 151 ComplexVector inbuf(nfft); 155 inbuf[k]= Complex( (T)(rand()/(double)RAND_MAX - .5), (T)(rand()/(double)RAND_MAX - .5) ); 156 fft.fwd( outbuf , inbuf); 158 VERIFY( fft_rmse(outbuf,inbuf) < test_precision<T>() );// gross check 161 VERIFY( dif_rmse(inbuf,buf3) < test_precision<T>() );// gross check 169 VERIFY( dif_rmse(inbuf,buf4) < test_precision<T>() );// gross check 174 VERIFY( dif_rmse(inbuf,buf3) < test_precision<T>() );// gross check
|
/external/qemu/distrib/zlib-1.2.3/ |
H A D | gzio.c | 61 Byte *inbuf; /* input buffer */ member in struct:gz_stream 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...] |