Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 25 of 106) sorted by relevance

12345

/external/e2fsprogs/lib/ext2fs/
Ddirblock.c67 void *inbuf, int flags EXT2FS_ATTR((unused)), in ext2fs_write_dir_block4() argument
71 char *buf = inbuf; in ext2fs_write_dir_block4()
77 memcpy(buf, inbuf, fs->blocksize); in ext2fs_write_dir_block4()
97 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block3() argument
99 return ext2fs_write_dir_block4(fs, block, inbuf, flags, 0); in ext2fs_write_dir_block3()
103 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block2() argument
105 return ext2fs_write_dir_block3(fs, block, inbuf, flags); in ext2fs_write_dir_block2()
109 void *inbuf) in ext2fs_write_dir_block() argument
111 return ext2fs_write_dir_block3(fs, block, inbuf, 0); in ext2fs_write_dir_block()
/external/eigen/bench/
DbenchFFT.cpp49 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/libaom/libaom/examples/
Dresize_util.c51 uint8_t *inbuf, *outbuf; in main() local
103 inbuf = (uint8_t *)malloc(width * height * 3 / 2); in main()
105 inbuf_u = inbuf + width * height; in main()
111 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1) break; in main()
112 av1_resize_frame420(inbuf, width, inbuf_u, inbuf_v, width / 2, height, in main()
122 free(inbuf); in main()
/external/libvpx/libvpx/examples/
Dresize_util.c50 uint8_t *inbuf, *outbuf; in main() local
101 inbuf = (uint8_t *)malloc(width * height * 3 / 2); in main()
103 inbuf_u = inbuf + width * height; in main()
109 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1) break; in main()
110 vp9_resize_frame420(inbuf, width, inbuf_u, inbuf_v, width / 2, height, in main()
120 free(inbuf); in main()
/external/libxml2/os400/
Dlibxmlmain.c40 char * inbuf; in main() local
58 inbuf = argv[i]; in main()
64 &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
80 inbuf = ebcdic_argv[i]; in main()
82 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
/external/bzip2/
Dunzcrash.c40 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/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c13 const Py_UNICODE *inbuf, *inbuf_top, *inbuf_end; member
19 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member
243 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_encerror()
257 const Py_UNICODE replchar = '?', *inbuf = &replchar; in multibytecodec_encerror() local
264 r = codec->encode(state, codec->config, &inbuf, 1, in multibytecodec_encerror()
280 buf->inbuf += esize; in multibytecodec_encerror()
284 start = (Py_ssize_t)(buf->inbuf - buf->inbuf_top); in multibytecodec_encerror()
347 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_encerror()
381 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror()
399 buf->inbuf += esize; in multibytecodec_decerror()
[all …]
D_codecs_kr.c123 if ((*inbuf)[2] != EUCKR_JAMO_FIRSTBYTE || in DECODER()
124 (*inbuf)[4] != EUCKR_JAMO_FIRSTBYTE || in DECODER()
125 (*inbuf)[6] != EUCKR_JAMO_FIRSTBYTE) in DECODER()
128 c = (*inbuf)[3]; in DECODER()
134 c = (*inbuf)[5]; in DECODER()
137 c = (*inbuf)[7]; in DECODER()
D_codecs_iso2022.c161 ucs4_t c = **inbuf; in ENCODER()
304 const unsigned char **inbuf, Py_ssize_t *inleft) in iso2022processesc() argument
312 if (IS_ESCEND((*inbuf)[i])) { in iso2022processesc()
317 (*inbuf)[i] == '&' && (*inbuf)[i+1] == '@') in iso2022processesc()
350 (*inbuf)[3] == ESC && (*inbuf)[4] == '$' && in iso2022processesc()
351 (*inbuf)[5] == 'B') { in iso2022processesc()
375 (*inbuf) += esclen; in iso2022processesc()
392 const unsigned char **inbuf, Py_ssize_t *inleft, in iso2022processg2() argument
414 (*inbuf) += 3; in iso2022processg2()
445 inbuf, &inleft); in DECODER()
[all …]
/external/llvm/test/CodeGen/SPARC/
Dsetjmp.ll27 define i32 @foo(%struct.jmpbuf_env* byval %inbuf) #0 {
29 %0 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 0
31 %1 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 1
33 %2 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 2, i32 0
35 %4 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 3
37 store %struct.jmpbuf_env* %inbuf, %struct.jmpbuf_env** @jenv, align 4, !tbaa !3
/external/llvm-project/llvm/test/CodeGen/SPARC/
Dsetjmp.ll27 define i32 @foo(%struct.jmpbuf_env* byval(%struct.jmpbuf_env) %inbuf) #0 {
29 %0 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 0
31 %1 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 1
33 %2 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 2, i32 0
35 %4 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 3
37 store %struct.jmpbuf_env* %inbuf, %struct.jmpbuf_env** @jenv, align 4, !tbaa !3
/external/curl/lib/vtls/
Dschannel.c415 SecBuffer inbuf; in schannel_connect_step1() local
877 InitSecBuffer(&inbuf, SECBUFFER_APPLICATION_PROTOCOLS, alpn_buffer, cur); in schannel_connect_step1()
878 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
881 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
882 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
885 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
886 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
992 SecBuffer inbuf[2]; in schannel_connect_step2() local
1090 InitSecBuffer(&inbuf[0], SECBUFFER_TOKEN, malloc(BACKEND->encdata_offset), in schannel_connect_step2()
1092 InitSecBuffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step2()
[all …]
/external/curl/tests/server/
Dfake_ntlm.c48 static char *printable(char *inbuf, size_t inlength) in printable() argument
63 inlength = strlen(inbuf); in printable()
95 if((inbuf[i] > 0x20) && (inbuf[i] < 0x7F)) { in printable()
96 outbuf[o] = inbuf[i]; in printable()
100 msnprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c242 struct ring_buffer inbuf; in main() local
244 rb_init(&inbuf, inbuf_mem, sizeof(inbuf_mem)); in main()
330 if (!rb_isempty(&inbuf) && err_n_wpty < MAXRETR) { in main()
335 if (rb_space(&inbuf) > 0 && err_n_stdin < MAXRETR) { in main()
385 ssize_t n = rb_write(&inbuf, pty_master); in main()
400 ssize_t n = rb_read(&inbuf, STDIN_FILENO); in main()
430 || !(rb_isempty(&inbuf) || err_n_wpty >= MAXRETR) in main()
434 fprintf(stderr, "inbuf: %u bytes left, outbuf: %u bytes left\n", inbuf.count, outbuf.count); in main()
/external/compiler-rt/test/msan/
Diconv.cc20 const char *inbuf = inbuf_; in main() local
22 char *inbuf = inbuf_; in main() local
43 res = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c27 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member
367 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror()
388 buf->inbuf += esize; in multibytecodec_decerror()
392 start = (Py_ssize_t)(buf->inbuf - buf->inbuf_top); in multibytecodec_decerror()
441 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_decerror()
648 buf.inbuf = buf.inbuf_top = (unsigned char *)data; in _multibytecodec_MultibyteCodec_decode_impl()
655 while (buf.inbuf < buf.inbuf_end) { in _multibytecodec_MultibyteCodec_decode_impl()
658 inleft = (Py_ssize_t)(buf.inbuf_end - buf.inbuf); in _multibytecodec_MultibyteCodec_decode_impl()
661 &buf.inbuf, inleft, &buf.writer); in _multibytecodec_MultibyteCodec_decode_impl()
742 PyObject *inbuf = NULL; in encoder_encode_stateful() local
[all …]
D_codecs_kr.c127 if ((*inbuf)[2] != EUCKR_JAMO_FIRSTBYTE || in DECODER()
128 (*inbuf)[4] != EUCKR_JAMO_FIRSTBYTE || in DECODER()
129 (*inbuf)[6] != EUCKR_JAMO_FIRSTBYTE) in DECODER()
132 c = (*inbuf)[3]; in DECODER()
138 c = (*inbuf)[5]; in DECODER()
141 c = (*inbuf)[7]; in DECODER()
/external/llvm-project/compiler-rt/test/msan/
Diconv.cpp29 const char *inbuf = inbuf_; in main() local
31 char *inbuf = inbuf_; in main() local
52 res = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
/external/vboot_reference/futility/
Dcmd_gbb_utility.c364 uint8_t *inbuf = NULL; in do_gbb_utility() local
467 inbuf = read_entire_file(infile, &filesize); in do_gbb_utility()
468 if (!inbuf) in do_gbb_utility()
471 gbb = FindGbbHeader(inbuf, filesize); in do_gbb_utility()
527 inbuf = read_entire_file(infile, &filesize); in do_gbb_utility()
528 if (!inbuf) in do_gbb_utility()
531 gbb = FindGbbHeader(inbuf, filesize); in do_gbb_utility()
548 memcpy(outbuf, inbuf, filesize); in do_gbb_utility()
633 if (inbuf) in do_gbb_utility()
634 free(inbuf); in do_gbb_utility()
/external/eigen/unsupported/test/
DFFTW.cpp148 ComplexVector inbuf(nfft); in test_complex_generic() local
152 inbuf[k]= Complex( (T)(rand()/(double)RAND_MAX - .5), (T)(rand()/(double)RAND_MAX - .5) ); in test_complex_generic()
153 fft.fwd( outbuf , inbuf); in test_complex_generic()
155 VERIFY( T(fft_rmse(outbuf,inbuf)) < test_precision<T>() );// gross check in test_complex_generic()
158 VERIFY( T(dif_rmse(inbuf,buf3)) < test_precision<T>() );// gross check in test_complex_generic()
166 VERIFY( T(dif_rmse(inbuf,buf4)) < test_precision<T>() );// gross check in test_complex_generic()
171 VERIFY( T(dif_rmse(inbuf,buf3)) < test_precision<T>() );// gross check in test_complex_generic()
/external/ltp/testcases/kernel/fs/stream/
Dstream04.c58 char *inbuf; in main() local
98 if ((inbuf = malloc(strlen(junk))) == 0) { in main()
103 fread(inbuf, sizeof(*junk), strlen(junk), stream)) == 0) { in main()
/external/libopus/tests/
Dtest_opus_encode.c146 opus_int16 *inbuf; in test_encode() local
154 inbuf = (opus_int16*)malloc(sizeof(*inbuf)*SSAMPLES); in test_encode()
155 generate_music(inbuf, SSAMPLES/2); in test_encode()
162 len = opus_encode(enc, &inbuf[samp_count*channels], frame_size, packet, MAX_PACKET); in test_encode()
180 free(inbuf); in test_encode()
286 short *inbuf; in run_test1() local
375 inbuf=(short *)malloc(sizeof(short)*SAMPLES*2); in run_test1()
378 if(inbuf==NULL || outbuf==NULL || out2buf==NULL)test_failed(); in run_test1()
380 generate_music(inbuf,SAMPLES); in run_test1()
389 if(opus_encode(enc, inbuf, 500, packet, MAX_PACKET)!=OPUS_BAD_ARG)test_failed(); in run_test1()
[all …]
/external/dtc/
Dflattree.c565 struct inbuf { struct
569 static void inbuf_init(struct inbuf *inb, void *base, void *limit) in inbuf_init() argument
576 static void flat_read_chunk(struct inbuf *inb, void *p, int len) in flat_read_chunk()
586 static uint32_t flat_read_word(struct inbuf *inb) in flat_read_word()
597 static void flat_realign(struct inbuf *inb, int align) in flat_realign()
606 static char *flat_read_string(struct inbuf *inb) in flat_read_string()
627 static struct data flat_read_data(struct inbuf *inb, int len) in flat_read_data()
644 static char *flat_read_stringtable(struct inbuf *inb, int offset) in flat_read_stringtable()
663 static struct property *flat_read_property(struct inbuf *dtbuf, in flat_read_property()
664 struct inbuf *strbuf, int flags) in flat_read_property()
[all …]
/external/libcups/vcnet/regex/
Dmain.c129 char inbuf[1000]; local
141 while (fgets(inbuf, sizeof(inbuf), in) != NULL) {
143 if (inbuf[0] == '#' || inbuf[0] == '\n')
145 inbuf[strlen(inbuf)-1] = '\0'; /* get rid of stupid \n */
148 nf = split(inbuf, f, MAXF, "\t\t");
/external/oj-libjdwp/src/solaris/npt/
Dutf_md.c114 char *inbuf; in iconvConvert() local
117 inbuf = bytes; in iconvConvert()
121 returnValue = iconv(ic, (void*)&inbuf, &inLeft, &outbuf, &outLeft); in iconvConvert()

12345