Home
last modified time | relevance | path

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

1234

/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/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.c52 uint8_t *inbuf, *outbuf; in main() local
105 inbuf = (uint8_t*)malloc(width * height * 3 / 2); in main()
107 inbuf_u = inbuf + width * height; in main()
113 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1) in main()
115 vp9_resize_frame420(inbuf, width, inbuf_u, inbuf_v, width / 2, in main()
127 free(inbuf); in main()
/external/curl/lib/vtls/
Dschannel.c292 SecBuffer inbuf[2]; in schannel_connect_step2() local
378 InitSecBuffer(&inbuf[0], SECBUFFER_TOKEN, malloc(connssl->encdata_offset), in schannel_connect_step2()
380 InitSecBuffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step2()
381 InitSecBufferDesc(&inbuf_desc, inbuf, 2); in schannel_connect_step2()
389 if(inbuf[0].pvBuffer == NULL) { in schannel_connect_step2()
395 memcpy(inbuf[0].pvBuffer, connssl->encdata_buffer, in schannel_connect_step2()
412 Curl_safefree(inbuf[0].pvBuffer); in schannel_connect_step2()
469 if(inbuf[1].BufferType == SECBUFFER_EXTRA && inbuf[1].cbBuffer > 0) { in schannel_connect_step2()
470 infof(data, "schannel: encrypted data length: %lu\n", inbuf[1].cbBuffer); in schannel_connect_step2()
483 if(connssl->encdata_offset > inbuf[1].cbBuffer) { in schannel_connect_step2()
[all …]
/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/opencv3/3rdparty/libjasper/
Djpc_mqdec.h226 #define jpc_mqdec_renormd(areg, creg, ctreg, in, eof, inbuf) \ argument
230 jpc_mqdec_bytein2(creg, ctreg, in, eof, inbuf); \
238 #define jpc_mqdec_bytein2(creg, ctreg, in, eof, inbuf) \ argument
247 prevbuf = (inbuf); \
248 (inbuf) = c; \
/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 sprintf(&outbuf[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()
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/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( 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/avahi/avahi-daemon/
Dsimple-protocol.c81 char inbuf[BUFFER_SIZE], outbuf[BUFFER_SIZE]; member
373 if (!(e = memchr(c->inbuf, '\n', c->inbuf_length))) in handle_input()
376 k = e - (char*) c->inbuf; in handle_input()
379 handle_line(c, c->inbuf); in handle_input()
381 memmove(c->inbuf, e+1, c->inbuf_length); in handle_input()
390 if ((events & AVAHI_WATCH_IN) && c->inbuf_length < sizeof(c->inbuf)) { in client_work()
393 … if ((r = read(c->fd, c->inbuf + c->inbuf_length, sizeof(c->inbuf) - c->inbuf_length)) <= 0) { in client_work()
401 assert(c->inbuf_length <= sizeof(c->inbuf)); in client_work()
430 (c->inbuf_length < sizeof(c->inbuf) ? AVAHI_WATCH_IN : 0)); in client_work()
/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()
888 if (data->inbuf) { in eap_pwd_process()
894 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
895 if (data->inbuf == NULL) { in eap_pwd_process()
909 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { in eap_pwd_process()
913 (int) wpabuf_len(data->inbuf)); in eap_pwd_process()
914 wpabuf_free(data->inbuf); in eap_pwd_process()
915 data->inbuf = NULL; in eap_pwd_process()
[all …]
/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/toybox/toys/other/
Dbzcat.c85 char *inbuf; member
120 if (0 >= (bd->inbufCount = read(bd->in_fd, bd->inbuf, IOBUF_SIZE))) in get_bits()
134 bd->inbufBits = (bd->inbufBits<<8) | bd->inbuf[bd->inbufPos++]; in get_bits()
605 static int start_bunzip(struct bunzip_data **bdp, int src_fd, char *inbuf, in start_bunzip() argument
618 bd->inbuf = inbuf; in start_bunzip()
622 bd->inbuf = (char *)(bd+1); in start_bunzip()

1234