Home
last modified time | relevance | path

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

123

/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
DNullCipherSpiTest.java111 ByteBuffer inbuf = ByteBuffer.wrap(b, 0, b.length); in testEngineUpdateByteBufferByteBuffer() local
121 spi.engineUpdate(inbuf, null); in testEngineUpdateByteBufferByteBuffer()
126 inbuf.get(); in testEngineUpdateByteBufferByteBuffer()
127 inbuf.get(); in testEngineUpdateByteBufferByteBuffer()
128 inbuf.get(); in testEngineUpdateByteBufferByteBuffer()
129 inbuf.get(); in testEngineUpdateByteBufferByteBuffer()
130 int result = spi.engineUpdate(inbuf, outbuf); in testEngineUpdateByteBufferByteBuffer()
136 inbuf = ByteBuffer.wrap(b, 0, b.length); in testEngineUpdateByteBufferByteBuffer()
138 inbuf.get(); in testEngineUpdateByteBufferByteBuffer()
139 inbuf.get(); in testEngineUpdateByteBufferByteBuffer()
[all …]
/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/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.c75 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block3() argument
87 memcpy(buf, inbuf, fs->blocksize); in ext2fs_write_dir_block3()
111 return io_channel_write_blk64(fs->io, block, 1, (char *) inbuf); in ext2fs_write_dir_block3()
116 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block2() argument
118 return ext2fs_write_dir_block3(fs, block, inbuf, flags); in ext2fs_write_dir_block2()
122 void *inbuf) in ext2fs_write_dir_block() argument
124 return ext2fs_write_dir_block3(fs, block, inbuf, 0); in ext2fs_write_dir_block()
Dext_attr.c81 errcode_t ext2fs_write_ext_attr2(ext2_filsys fs, blk64_t block, void *inbuf) in ext2fs_write_ext_attr2() argument
92 ext2fs_swap_ext_attr(buf, inbuf, fs->blocksize, 1); in ext2fs_write_ext_attr2()
94 write_buf = (char *) inbuf; in ext2fs_write_ext_attr2()
105 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) in ext2fs_write_ext_attr() argument
107 return ext2fs_write_ext_attr2(fs, block, inbuf); in ext2fs_write_ext_attr()
/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.c44 uint8_t *inbuf, *outbuf; in main() local
95 inbuf = (uint8_t*)malloc(width * height * 3 / 2); in main()
97 inbuf_u = inbuf + width * height; in main()
103 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1) in main()
105 vp9_resize_frame420(inbuf, width, inbuf_u, inbuf_v, width / 2, in main()
117 free(inbuf); 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.c386 char *inbuf = NULL; in save_booleans() local
418 inbuf = NULL; in save_booleans()
420 while ((len = getline(&inbuf, &size, boolf)) > 0) { in save_booleans()
421 buffer = strdup(inbuf); in save_booleans()
425 process_boolean(inbuf, boolname, sizeof(boolname), in save_booleans()
457 free(inbuf); in save_booleans()
458 inbuf = NULL; in save_booleans()
470 free(inbuf); in save_booleans()
524 char *inbuf; in security_load_booleans() local
535 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/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()
358 ssize_t n = rb_write(&inbuf, pty_master); in main()
373 ssize_t n = rb_read(&inbuf, STDIN_FILENO); in main()
403 || !(rb_isempty(&inbuf) || err_n_wpty >= MAXRETR) in main()
407 fprintf(stderr, "inbuf: %u bytes left, outbuf: %u bytes left\n", inbuf.count, outbuf.count); in main()
/external/valgrind/VEX/switchback/
Dtest_bzip2.c5935 uchar inbuf[M_BLOCK]; variable
5971 inbuf[0] = 0; in set_inbuf()
5972 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
5973 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
5974 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
5975 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
5976 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
5977 my_strcat(inbuf, "\n"); in set_inbuf()
5978 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
5979 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
/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( fft_rmse(outbuf,inbuf) < test_precision<T>() );// gross check in test_complex_generic()
158 VERIFY( dif_rmse(inbuf,buf3) < test_precision<T>() );// gross check in test_complex_generic()
166 VERIFY( dif_rmse(inbuf,buf4) < test_precision<T>() );// gross check in test_complex_generic()
171 VERIFY( dif_rmse(inbuf,buf3) < test_precision<T>() );// gross check in test_complex_generic()
/external/compiler-rt/test/msan/
Diconv.cc18 char *inbuf = inbuf_; in main() local
38 res = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c33 struct wpabuf *inbuf; member
138 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
172 wpabuf_free(data->inbuf); in eap_pwd_deinit()
880 if (data->inbuf) { in eap_pwd_process()
886 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
887 if (data->inbuf == NULL) { in eap_pwd_process()
901 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { in eap_pwd_process()
905 (int) wpabuf_len(data->inbuf)); in eap_pwd_process()
906 wpabuf_free(data->inbuf); in eap_pwd_process()
907 data->inbuf = NULL; in eap_pwd_process()
[all …]
/external/toybox/toys/other/
Dbzcat.c68 char *inbuf; member
103 if (0 >= (bd->inbufCount = read(bd->in_fd, bd->inbuf, IOBUF_SIZE))) in get_bits()
117 bd->inbufBits = (bd->inbufBits<<8) | bd->inbuf[bd->inbufPos++]; in get_bits()
587 int start_bunzip(struct bunzip_data **bdp, int src_fd, char *inbuf, int len) in start_bunzip() argument
599 bd->inbuf = inbuf; in start_bunzip()
603 bd->inbuf = (char *)(bd+1); in start_bunzip()
/external/llvm/test/Transforms/SLPVectorizer/X86/
Dcrash_lencod.ll80 define fastcc void @dct36(double* %inbuf) {
82 %arrayidx41 = getelementptr inbounds double, double* %inbuf, i64 2
83 %arrayidx44 = getelementptr inbounds double, double* %inbuf, i64 1
87 %1 = load double, double* %inbuf, align 8
/external/libopus/tests/
Dtest_opus_encode.c129 short *inbuf; in run_test1() local
218 inbuf=(short *)malloc(sizeof(short)*SAMPLES*2); in run_test1()
221 if(inbuf==NULL || outbuf==NULL || out2buf==NULL)test_failed(); in run_test1()
223 generate_music(inbuf,SAMPLES); in run_test1()
280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); in run_test1()
409 len = opus_encode(enc, &inbuf[offset<<1], frame_size, packet, MAX_PACKET); in run_test1()
467 free(inbuf); in run_test1()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c33 struct wpabuf *inbuf; member
129 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
158 wpabuf_free(data->inbuf); in eap_pwd_reset()
955 if (data->inbuf) { in eap_pwd_process()
960 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
961 if (data->inbuf == NULL) { in eap_pwd_process()
974 if ((data->in_frag_pos + len) > wpabuf_size(data->inbuf)) { in eap_pwd_process()
978 (int) wpabuf_size(data->inbuf)); in eap_pwd_process()
982 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process()
993 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process()
[all …]
/external/libxml2/os400/iconv/
Diconv.c127 Iconv(Iconv_t cd, char * * inbuf, size_t * inbytesleft, in Iconv() argument
136 return iconv(*(iconv_t *) cd, inbuf, inbytesleft, outbuf, outbytesleft); in Iconv()

123