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

123

/external/compiler-rt/test/msan/
H A Diconv.cc20 const char *inbuf = inbuf_; local
22 char *inbuf = inbuf_; local
43 res = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
/external/libxml2/os400/
H A Dlibxmlmain.c40 char * inbuf; local
58 inbuf = argv[i];
64 &inbuf, &inbytesleft, &outbuf, &outbytesleft);
80 inbuf = ebcdic_argv[i];
82 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
/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/e2fsprogs/lib/ext2fs/
H A Ddirblock.c75 void *inbuf, int flags EXT2FS_ATTR((unused)))
87 memcpy(buf, inbuf, fs->blocksize);
111 return io_channel_write_blk64(fs->io, block, 1, (char *) inbuf);
116 void *inbuf, int flags EXT2FS_ATTR((unused)))
118 return ext2fs_write_dir_block3(fs, block, inbuf, flags);
122 void *inbuf)
124 return ext2fs_write_dir_block3(fs, block, inbuf, 0);
74 ext2fs_write_dir_block3(ext2_filsys fs, blk64_t block, void *inbuf, int flags EXT2FS_ATTR((unused))) argument
115 ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, void *inbuf, int flags EXT2FS_ATTR((unused))) argument
121 ext2fs_write_dir_block(ext2_filsys fs, blk_t block, void *inbuf) argument
H A Dext_attr.c81 errcode_t ext2fs_write_ext_attr2(ext2_filsys fs, blk64_t block, void *inbuf) argument
92 ext2fs_swap_ext_attr(buf, inbuf, fs->blocksize, 1);
94 write_buf = (char *) inbuf;
105 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) argument
107 return ext2fs_write_ext_attr2(fs, block, inbuf);
/external/libvpx/libvpx/examples/
H A Dresize_util.c52 uint8_t *inbuf, *outbuf; local
105 inbuf = (uint8_t*)malloc(width * height * 3 / 2);
107 inbuf_u = inbuf + width * height;
113 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1)
115 vp9_resize_frame420(inbuf, width, inbuf_u, inbuf_v, width / 2,
127 free(inbuf);
/external/libxml2/os400/iconv/
H A Diconv.c127 Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft, argument
136 return iconv(*(iconv_t *) cd, inbuf, inbytesleft, outbuf, outbytesleft);
/external/curl/tests/server/
H A Dfake_ntlm.c50 static char *printable(char *inbuf, size_t inlength) argument
65 inlength = strlen(inbuf);
96 if((inbuf[i] > 0x20) && (inbuf[i] < 0x7F)) {
97 outbuf[o] = inbuf[i];
101 snprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_upload_mgr.c241 struct pipe_resource *inbuf,
250 inbuf,
237 u_upload_buffer( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned offset, unsigned size, struct pipe_resource *inbuf, unsigned *out_offset, struct pipe_resource **outbuf) argument
/external/vboot_reference/host/lib/
H A Dhost_signature.c161 * an argument, contents of [inbuf] passed redirected to stdin,
166 const uint8_t* inbuf,
196 if (write(p_to_c[STDOUT_FILENO], inbuf, size) != size) {
165 InvokeExternalSigner(uint64_t size, const uint8_t* inbuf, uint8_t* outbuf, uint64_t outbufsize, const char* pem_file, const char* external_signer) argument
/external/curl/lib/
H A Dhttp.h207 char *inbuf; /* buffer to receive data from underlying socket */ member in struct:http_conn
208 size_t inbuflen; /* number of bytes filled in inbuf */
209 size_t nread_inbuf; /* number of bytes read from in inbuf */
/external/libedit/src/
H A Dmap.c1249 Char inbuf[EL_BUFSIZ]; local
1315 else if ((in = parse__string(inbuf, argv[argc++])) == NULL) {
/external/libjpeg-turbo/
H A Dbmp.c312 unsigned char *inbuf; int row; local
314 if(bottomup) inbuf=&buf[(h-row-1)*w*srcps];
315 else inbuf=&buf[row*w*srcps];
316 pixelconvert(inbuf, srcpf, bottomup, dst->buffer[i], dstpf, 0, w,
/external/selinux/libselinux/src/
H A Dbooleans.c386 char *inbuf = NULL; local
418 inbuf = NULL;
420 while ((len = getline(&inbuf, &size, boolf)) > 0) {
421 buffer = strdup(inbuf);
425 process_boolean(inbuf, boolname, sizeof(boolname),
457 free(inbuf);
458 inbuf = NULL;
470 free(inbuf);
524 char *inbuf; local
535 while (getline(&inbuf,
[all...]
/external/selinux/policycoreutils/run_init/
H A Dopen_init_pty.c220 struct ring_buffer inbuf; local
222 rb_init(&inbuf, inbuf_mem, sizeof(inbuf_mem));
304 if (!rb_isempty(&inbuf) && err_n_wpty < MAXRETR) {
309 if (rb_space(&inbuf) > 0 && err_n_stdin < MAXRETR) {
358 ssize_t n = rb_write(&inbuf, pty_master);
373 ssize_t n = rb_read(&inbuf, STDIN_FILENO);
403 || !(rb_isempty(&inbuf) || err_n_wpty >= MAXRETR)
407 fprintf(stderr, "inbuf: %u bytes left, outbuf: %u bytes left\n", inbuf.count, outbuf.count);
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub.c82 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, argument
/external/vboot_reference/futility/
H A Dcmd_gbb_utility.c364 uint8_t *inbuf = NULL; local
467 inbuf = read_entire_file(infile, &filesize);
468 if (!inbuf)
471 gbb = FindGbbHeader(inbuf, filesize);
527 inbuf = read_entire_file(infile, &filesize);
528 if (!inbuf)
531 gbb = FindGbbHeader(inbuf, filesize);
548 memcpy(outbuf, inbuf, filesize);
633 if (inbuf)
634 free(inbuf);
[all...]
/external/vboot_reference/tests/
H A Dvboot_region_tests.c164 VbError_t VbExDecompress(void *inbuf, uint32_t in_size, argument
/external/zlib/src/examples/
H A Dgun.c83 unsigned char *inbuf; member in struct:ind
96 next = me->inbuf;
161 unsigned char inbuf[SIZE]; /* input buffer */ variable
393 ind.inbuf = inbuf;
/external/avahi/avahi-daemon/
H A Dsimple-protocol.c81 char inbuf[BUFFER_SIZE], outbuf[BUFFER_SIZE]; member in struct:Client
373 if (!(e = memchr(c->inbuf, '\n', c->inbuf_length)))
376 k = e - (char*) c->inbuf;
379 handle_line(c, c->inbuf);
381 memmove(c->inbuf, e+1, c->inbuf_length);
390 if ((events & AVAHI_WATCH_IN) && c->inbuf_length < sizeof(c->inbuf)) {
393 if ((r = read(c->fd, c->inbuf + c->inbuf_length, sizeof(c->inbuf) - c->inbuf_length)) <= 0) {
401 assert(c->inbuf_length <= sizeof(c->inbuf));
430 (c->inbuf_length < sizeof(c->inbuf)
[all...]
/external/libopus/tests/
H A Dtest_opus_encode.c129 short *inbuf; local
218 inbuf=(short *)malloc(sizeof(short)*SAMPLES*2);
221 if(inbuf==NULL || outbuf==NULL || out2buf==NULL)test_failed();
223 generate_music(inbuf,SAMPLES);
227 fwrite(inbuf, 1, SAMPLES*2*2, foo);
280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
409 len = opus_encode(enc, &inbuf[offset<<1], frame_size, packet, MAX_PACKET);
467 free(inbuf);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_estimator.c477 double inbuf[PITCH_FRAME_LEN + QLOOKAHEAD]; local
614 memcpy(inbuf, State->inbuf, sizeof(double) * QLOOKAHEAD);
615 memcpy(inbuf+QLOOKAHEAD, in, sizeof(double) * PITCH_FRAME_LEN);
618 WebRtcIsac_PitchfilterPre_la(inbuf, out, &(State->PFstr), lags, gains);
622 State->inbuf[k] = inbuf[k + PITCH_FRAME_LEN];
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_pwd.c33 struct wpabuf *inbuf; member in struct:eap_pwd_data
138 data->inbuf = data->outbuf = NULL;
172 wpabuf_free(data->inbuf);
888 if (data->inbuf) {
894 data->inbuf = wpabuf_alloc(tot_len);
895 if (data->inbuf == NULL) {
909 if (data->in_frag_pos > wpabuf_size(data->inbuf)) {
913 (int) wpabuf_len(data->inbuf));
914 wpabuf_free(data->inbuf);
915 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));
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_pwd.c33 struct wpabuf *inbuf; member in struct:eap_pwd_data
138 data->inbuf = data->outbuf = NULL;
172 wpabuf_free(data->inbuf);
888 if (data->inbuf) {
894 data->inbuf = wpabuf_alloc(tot_len);
895 if (data->inbuf == NULL) {
909 if (data->in_frag_pos > wpabuf_size(data->inbuf)) {
913 (int) wpabuf_len(data->inbuf));
914 wpabuf_free(data->inbuf);
915 data->inbuf
[all...]

Completed in 2341 milliseconds

123