Home
last modified time | relevance | path

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

1234

/external/valgrind/memcheck/tests/
Dorigin5-bz2.c5952 char inbuf[M_BLOCK]; variable
5992 inbuf[0] = 0; in set_inbuf()
5993 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
5994 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
5995 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
5996 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
5997 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
5998 my_strcat(inbuf, "\n"); in set_inbuf()
5999 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
6000 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
Dvarinfo6.c5989 char inbuf[M_BLOCK]; variable
6029 inbuf[0] = 0; in set_inbuf()
6030 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
6031 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
6032 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
6033 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
6034 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
6035 my_strcat(inbuf, "\n"); in set_inbuf()
6036 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
6037 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
/external/valgrind/exp-sgcheck/tests/
Dhackedbz2.c5960 char inbuf[M_BLOCK]; variable
6000 inbuf[0] = 0; in set_inbuf()
6001 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
6002 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
6003 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
6004 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
6005 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
6006 my_strcat(inbuf, "\n"); in set_inbuf()
6007 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
6008 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
/external/valgrind/perf/
Dbz2.c5949 char inbuf[M_BLOCK]; variable
5989 inbuf[0] = 0; in set_inbuf()
5990 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
5991 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
5992 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
5993 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
5994 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
5995 my_strcat(inbuf, "\n"); in set_inbuf()
5996 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
5997 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
Dtest_input_for_tinycc.c4433 char inbuf[1000000]; variable
4453 inbuf[0] = 0; in set_inbuf()
4454 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
4455 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
4456 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
4457 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
4458 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
4459 my_strcat(inbuf, "\n"); in set_inbuf()
4460 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
4461 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
/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/golang-protobuf/_conformance/
Dconformance.go49 inbuf := make([]byte, 0, 4096)
59 if int(size) > cap(inbuf) {
60 inbuf = make([]byte, size)
62 inbuf = inbuf[:size]
63 if _, err := io.ReadFull(os.Stdin, inbuf); err != nil {
69 if err := proto.Unmarshal(inbuf, req); err != nil {
/external/curl/lib/vtls/
Dschannel.c231 SecBuffer inbuf; in schannel_connect_step1() local
438 InitSecBuffer(&inbuf, SECBUFFER_APPLICATION_PROTOCOLS, alpn_buffer, cur); in schannel_connect_step1()
439 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
443 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
444 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
447 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
448 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
537 SecBuffer inbuf[2]; in schannel_connect_step2() local
628 InitSecBuffer(&inbuf[0], SECBUFFER_TOKEN, malloc(BACKEND->encdata_offset), in schannel_connect_step2()
630 InitSecBuffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step2()
[all …]
/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/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()
348 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_encerror()
382 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror()
400 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/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/selinux/libselinux/src/
Dbooleans.c389 char *inbuf = NULL; in save_booleans() local
421 inbuf = NULL; in save_booleans()
423 while ((len = getline(&inbuf, &size, boolf)) > 0) { in save_booleans()
424 buffer = strdup(inbuf); in save_booleans()
428 process_boolean(inbuf, boolname, sizeof(boolname), in save_booleans()
460 free(inbuf); in save_booleans()
461 inbuf = NULL; in save_booleans()
473 free(inbuf); in save_booleans()
527 char *inbuf; in security_load_booleans() local
538 while (getline(&inbuf, &len, boolf) > 0) { in security_load_booleans()
[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/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 snprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c27 const unsigned char *inbuf, *inbuf_top, *inbuf_end; member
373 esize = (Py_ssize_t)(buf->inbuf_end - buf->inbuf); in multibytecodec_decerror()
394 buf->inbuf += esize; in multibytecodec_decerror()
398 start = (Py_ssize_t)(buf->inbuf - buf->inbuf_top); in multibytecodec_decerror()
447 buf->inbuf = buf->inbuf_top + newpos; in multibytecodec_decerror()
654 buf.inbuf = buf.inbuf_top = (unsigned char *)data; in _multibytecodec_MultibyteCodec_decode_impl()
661 while (buf.inbuf < buf.inbuf_end) { in _multibytecodec_MultibyteCodec_decode_impl()
664 inleft = (Py_ssize_t)(buf.inbuf_end - buf.inbuf); in _multibytecodec_MultibyteCodec_decode_impl()
667 &buf.inbuf, inleft, &buf.writer); in _multibytecodec_MultibyteCodec_decode_impl()
748 PyObject *inbuf = NULL; in encoder_encode_stateful() local
[all …]
/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/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/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/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/libopus/tests/
Dtest_opus_encode.c146 opus_int16 *inbuf; in test_encode() local
153 inbuf = (opus_int16*)malloc(sizeof(*inbuf)*SSAMPLES); in test_encode()
154 generate_music(inbuf, SSAMPLES/2); in test_encode()
161 len = opus_encode(enc, &inbuf[samp_count*channels], frame_size, packet, MAX_PACKET); in test_encode()
179 free(inbuf); in test_encode()
284 short *inbuf; in run_test1() local
373 inbuf=(short *)malloc(sizeof(short)*SAMPLES*2); in run_test1()
376 if(inbuf==NULL || outbuf==NULL || out2buf==NULL)test_failed(); in run_test1()
378 generate_music(inbuf,SAMPLES); in run_test1()
387 if(opus_encode(enc, inbuf, 500, packet, MAX_PACKET)!=OPUS_BAD_ARG)test_failed(); in run_test1()
[all …]
/external/dtc/
Dflattree.c580 struct inbuf { struct
584 static void inbuf_init(struct inbuf *inb, void *base, void *limit) in inbuf_init() argument
591 static void flat_read_chunk(struct inbuf *inb, void *p, int len) in flat_read_chunk()
601 static uint32_t flat_read_word(struct inbuf *inb) in flat_read_word()
612 static void flat_realign(struct inbuf *inb, int align) in flat_realign()
621 static char *flat_read_string(struct inbuf *inb) in flat_read_string()
642 static struct data flat_read_data(struct inbuf *inb, int len) in flat_read_data()
659 static char *flat_read_stringtable(struct inbuf *inb, int offset) in flat_read_stringtable()
678 static struct property *flat_read_property(struct inbuf *dtbuf, in flat_read_property()
679 struct inbuf *strbuf, int flags) in flat_read_property()
[all …]

1234