Searched defs:inbuf (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium/net/base/
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/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/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/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/chromium/base/
H A Dmd5.cc162 void MD5Update(MD5Context *pCtx, const void *inbuf, size_t len){ argument
164 const unsigned char* buf = (const unsigned 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/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/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/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/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/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c476 double inbuf[PITCH_FRAME_LEN + QLOOKAHEAD]; local
613 memcpy(inbuf, State->inbuf, sizeof(double) * QLOOKAHEAD);
614 memcpy(inbuf+QLOOKAHEAD, in, sizeof(double) * PITCH_FRAME_LEN);
617 WebRtcIsac_PitchfilterPre_la(inbuf, out, &(State->PFstr), lags, gains);
621 State->inbuf[k] = inbuf[k + PITCH_FRAME_LEN];
/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/hostapd/src/eap_server/
H A Deap_server_tnc.c360 static void tncs_process(struct eap_tnc_data *data, struct wpabuf *inbuf) argument
364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf),
365 wpabuf_len(inbuf));
H A Deap_server_pwd.c31 struct wpabuf *inbuf; member in struct:eap_pwd_data
125 data->inbuf = data->outbuf = NULL;
896 data->inbuf = wpabuf_alloc(tot_len);
897 if (data->inbuf == NULL) {
909 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) {
913 (int) wpabuf_size(data->inbuf));
917 wpabuf_put_data(data->inbuf, pos, len);
928 wpabuf_put_data(data->inbuf, pos, len);
930 pos = wpabuf_head_u8(data->inbuf);
951 wpabuf_free(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/src/eap_server/
H A Deap_server_tnc.c360 static void tncs_process(struct eap_tnc_data *data, struct wpabuf *inbuf) argument
364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf),
365 wpabuf_len(inbuf));
H A Deap_server_pwd.c31 struct wpabuf *inbuf; member in struct:eap_pwd_data
125 data->inbuf = data->outbuf = NULL;
896 data->inbuf = wpabuf_alloc(tot_len);
897 if (data->inbuf == NULL) {
909 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) {
913 (int) wpabuf_size(data->inbuf));
917 wpabuf_put_data(data->inbuf, pos, len);
928 wpabuf_put_data(data->inbuf, pos, len);
930 pos = wpabuf_head_u8(data->inbuf);
951 wpabuf_free(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/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_tnc.c360 static void tncs_process(struct eap_tnc_data *data, struct wpabuf *inbuf) argument
364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf),
365 wpabuf_len(inbuf));
/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/ppp/pppd/plugins/rp-pppoe/
H A Dif.c149 char inbuf[8192]; local
156 ifc.ifc_len = sizeof(inbuf);
157 ifc.ifc_buf = inbuf;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_schannel.c318 SecBufferDesc inbuf, outbuf; local
349 inbuf.cBuffers = 2;
350 inbuf.pBuffers = inbufs;
351 inbuf.ulVersion = SECBUFFER_VERSION;
365 SECURITY_NATIVE_DREP, &inbuf, 0, NULL,
370 SECURITY_NATIVE_DREP, &inbuf, 0, NULL,
/external/wpa_supplicant_8/src/crypto/
H A Dtls_schannel.c318 SecBufferDesc inbuf, outbuf; local
349 inbuf.cBuffers = 2;
350 inbuf.pBuffers = inbufs;
351 inbuf.ulVersion = SECBUFFER_VERSION;
365 SECURITY_NATIVE_DREP, &inbuf, 0, NULL,
370 SECURITY_NATIVE_DREP, &inbuf, 0, NULL,

Completed in 665 milliseconds

12