Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 25 of 91) 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/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/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/openssh/
Drsa.c77 u_char *inbuf = NULL, *outbuf = NULL; in rsa_public_encrypt() local
90 if ((inbuf = malloc(ilen)) == NULL) { in rsa_public_encrypt()
94 BN_bn2bin(in, inbuf); in rsa_public_encrypt()
96 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key, in rsa_public_encrypt()
113 if (inbuf != NULL) { in rsa_public_encrypt()
114 explicit_bzero(inbuf, ilen); in rsa_public_encrypt()
115 free(inbuf); in rsa_public_encrypt()
123 u_char *inbuf = NULL, *outbuf = NULL; in rsa_private_decrypt() local
133 if ((inbuf = malloc(ilen)) == NULL) { in rsa_private_decrypt()
137 BN_bn2bin(in, inbuf); in rsa_private_decrypt()
[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/curl/lib/vtls/
Dschannel.c112 SecBuffer inbuf; in schannel_connect_step1() local
313 InitSecBuffer(&inbuf, SECBUFFER_APPLICATION_PROTOCOLS, alpn_buffer, cur); in schannel_connect_step1()
314 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
318 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
319 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
322 InitSecBuffer(&inbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
323 InitSecBufferDesc(&inbuf_desc, &inbuf, 1); in schannel_connect_step1()
411 SecBuffer inbuf[2]; in schannel_connect_step2() local
499 InitSecBuffer(&inbuf[0], SECBUFFER_TOKEN, malloc(connssl->encdata_offset), in schannel_connect_step2()
501 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/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/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 …]
Dcjkcodecs.h75 const Py_UNICODE **inbuf, Py_ssize_t inleft, \
88 const unsigned char **inbuf, Py_ssize_t inleft, \
104 (*inbuf) += (i); \
119 #define IN1 ((*inbuf)[0])
120 #define IN2 ((*inbuf)[1])
121 #define IN3 ((*inbuf)[2])
122 #define IN4 ((*inbuf)[3])
/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.c50 static char *printable(char *inbuf, size_t inlength) in printable() argument
65 inlength = strlen(inbuf); in printable()
96 if((inbuf[i] > 0x20) && (inbuf[i] < 0x7F)) { in printable()
97 outbuf[o] = inbuf[i]; in printable()
101 snprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c220 struct ring_buffer inbuf; in main() local
222 rb_init(&inbuf, inbuf_mem, sizeof(inbuf_mem)); in main()
304 if (!rb_isempty(&inbuf) && err_n_wpty < MAXRETR) { in main()
309 if (rb_space(&inbuf) > 0 && err_n_stdin < MAXRETR) { in main()
359 ssize_t n = rb_write(&inbuf, pty_master); in main()
374 ssize_t n = rb_read(&inbuf, STDIN_FILENO); in main()
404 || !(rb_isempty(&inbuf) || err_n_wpty >= MAXRETR) in main()
408 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/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/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