Searched refs:inbuf (Results 1 - 25 of 53) sorted by relevance

123

/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
H A DNullCipherSpiTest.java112 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 Drsa.c77 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 Dorigin5-bz2.c5952 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 Dvarinfo6.c5989 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 Dhackedbz2.c5960 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 Dbz2.c5951 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 Dtest_input_for_tinycc.c4433 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 Dunzcrash.c40 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 Dencrypt.c99 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/e2fsprogs/lib/ext2fs/
H A Ddirblock.c69 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 Dext_attr.c76 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 Dbuffer.c100 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 Dschanneladapter.cc102 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/net/base/
H A Dgzip_header.h44 Status ReadMore(const char* inbuf,
H A Dgzip_header.cc32 GZipHeader::Status GZipHeader::ReadMore(const char* inbuf, int inbuf_len, argument
35 const uint8* pos = reinterpret_cast<const uint8*>(inbuf);
/external/qemu/distrib/zlib-1.2.3/
H A Dgzio.c61 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...]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_iconv.c32 iconv() may or may not use const char ** for the inbuf param.
43 const char **inbuf, size_t *inbytesleft,
48 retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft);
50 retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft);
208 const char **inbuf, size_t *inbytesleft,
218 if ( !inbuf || !*inbuf ) {
225 src = *inbuf;
796 *inbuf = src;
815 char *SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, size_ argument
42 SDL_iconv(SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
207 SDL_iconv(SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
[all...]
/external/valgrind/main/VEX/switchback/
H A Dtest_bzip2.c5937 uchar inbuf[M_BLOCK]; variable
5973 inbuf[0] = 0;
5974 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher ");
5975 my_strcat(inbuf, "blew on the cake to light the candles.\n");
5976 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n");
5977 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n");
5978 my_strcat(inbuf, "rights reserved.\n");
5979 my_strcat(inbuf, "\n");
5980 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n");
5981 my_strcat(inbuf, "modificatio
[all...]
/external/kernel-headers/original/linux/sunrpc/
H A Dgss_api.h57 struct xdr_buf *inbuf);
/external/zlib/src/examples/
H A Dgun.c82 unsigned char *inbuf; member in struct:ind
95 next = me->inbuf;
160 unsigned char inbuf[SIZE]; /* input buffer */ variable
392 ind.inbuf = inbuf;
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_pwd.c30 struct wpabuf *inbuf; member in struct:eap_pwd_data
129 data->inbuf = data->outbuf = NULL;
751 data->inbuf = wpabuf_alloc(tot_len);
752 if (data->inbuf == NULL) {
765 if (data->in_frag_pos > wpabuf_size(data->inbuf)) {
769 (int) wpabuf_len(data->inbuf));
770 wpabuf_free(data->inbuf);
774 wpabuf_put_data(data->inbuf, pos, len);
789 wpabuf_put_data(data->inbuf, pos, len);
793 pos = wpabuf_head_u8(data->inbuf);
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_pwd.c30 struct wpabuf *inbuf; member in struct:eap_pwd_data
129 data->inbuf = data->outbuf = NULL;
751 data->inbuf = wpabuf_alloc(tot_len);
752 if (data->inbuf == NULL) {
765 if (data->in_frag_pos > wpabuf_size(data->inbuf)) {
769 (int) wpabuf_len(data->inbuf));
770 wpabuf_free(data->inbuf);
774 wpabuf_put_data(data->inbuf, pos, len);
789 wpabuf_put_data(data->inbuf, pos, len);
793 pos = wpabuf_head_u8(data->inbuf);
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_pwd.c30 struct wpabuf *inbuf; member in struct:eap_pwd_data
129 data->inbuf = data->outbuf = NULL;
751 data->inbuf = wpabuf_alloc(tot_len);
752 if (data->inbuf == NULL) {
765 if (data->in_frag_pos > wpabuf_size(data->inbuf)) {
769 (int) wpabuf_len(data->inbuf));
770 wpabuf_free(data->inbuf);
774 wpabuf_put_data(data->inbuf, pos, len);
789 wpabuf_put_data(data->inbuf, pos, len);
793 pos = wpabuf_head_u8(data->inbuf);
[all...]
/external/srec/srec/cfront/
H A Dspec_anl.c418 void freq_warp(front_freq *freqobj, fftdata *inbuf, int ns) argument
425 ASSERT(freqobj && inbuf);
460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]);
464 tmpbuf[i] = inbuf[ns-1];
468 /* need to copy the warped fft into inbuf */
470 /* will take inbuf as input */
476 inbuf[i] = tmpbuf[i];
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dtls_schannel.c326 SecBufferDesc inbuf, outbuf; local
358 inbuf.cBuffers = 2;
359 inbuf.pBuffers = inbufs;
360 inbuf.ulVersion = SECBUFFER_VERSION;
374 SECURITY_NATIVE_DREP, &inbuf, 0, NULL,
379 SECURITY_NATIVE_DREP, &inbuf, 0, NULL,

Completed in 511 milliseconds

123