Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 25 of 84) 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/main/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/main/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/main/perf/
Dbz2.c5951 char inbuf[M_BLOCK]; variable
5991 inbuf[0] = 0; in set_inbuf()
5992 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
5993 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
5994 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
5995 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
5996 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
5997 my_strcat(inbuf, "\n"); in set_inbuf()
5998 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
5999 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/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
Dsocket_test.cc224 char inbuf[512]; in TEST_F() local
227 memset(inbuf, 0, sizeof(inbuf)); in TEST_F()
241 EXPECT_NE(0, memcmp(outbuf, inbuf, sizeof(outbuf))); in TEST_F()
246 ki_recvfrom(sock2_, inbuf, sizeof(inbuf), 0, (sockaddr*) &addr, &addrlen); in TEST_F()
252 EXPECT_EQ(0, memcmp(outbuf, inbuf, sizeof(outbuf))); in TEST_F()
257 char inbuf[512]; in TEST_F() local
260 memset(inbuf, 0, sizeof(inbuf)); in TEST_F()
290 EXPECT_NE(0, memcmp(outbuf, inbuf, sizeof(outbuf))); in TEST_F()
294 ki_recvfrom(sock2_, inbuf, sizeof(inbuf), 0, (sockaddr*) &addr, &addrlen); in TEST_F()
301 EXPECT_EQ(0, memcmp(outbuf, inbuf, sizeof(outbuf))); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/base/
Dschanneladapter.cc85 SChannelBuffer inbuf, outbuf, readable; member
197 sb_in[0].cbBuffer = static_cast<unsigned long>(impl_->inbuf.size()); in ContinueSSL()
198 sb_in[0].pvBuffer = &impl_->inbuf[0]; in ContinueSSL()
265 ASSERT(extra <= impl_->inbuf.size()); in ProcessContext()
266 size_t consumed = impl_->inbuf.size() - extra; in ProcessContext()
267 memmove(&impl_->inbuf[0], &impl_->inbuf[consumed], extra); in ProcessContext()
268 impl_->inbuf.resize(extra); in ProcessContext()
270 impl_->inbuf.clear(); in ProcessContext()
276 return impl_->inbuf.empty() ? Flush() : ContinueSSL(); in ProcessContext()
316 SChannelBuffer& inbuf = impl_->inbuf; in DecryptData() local
[all …]
/external/chromium_org/third_party/libevent/
Dbuffer.c100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) in evbuffer_add_buffer() argument
107 size_t oldoff = inbuf->off; in evbuffer_add_buffer()
111 SWAP(outbuf, inbuf); in evbuffer_add_buffer()
112 SWAP(inbuf, &tmp); in evbuffer_add_buffer()
119 if (inbuf->off != oldoff && inbuf->cb != NULL) in evbuffer_add_buffer()
120 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); in evbuffer_add_buffer()
127 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); in evbuffer_add_buffer()
130 evbuffer_drain(inbuf, inbuf->off); in evbuffer_add_buffer()
/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/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/chromium_org/net/third_party/nss/ssl/
Dssl3gthr.c50 gs->inbuf.len = 0; in ssl3_GatherData()
53 lbp = gs->inbuf.buf; in ssl3_GatherData()
85 gs->inbuf.len += nb; in ssl3_GatherData()
114 gs->inbuf.len = 0; in ssl3_GatherData()
116 if (gs->remainder > gs->inbuf.space) { in ssl3_GatherData()
117 err = sslBuffer_Grow(&gs->inbuf, gs->remainder); in ssl3_GatherData()
121 lbp = gs->inbuf.buf; in ssl3_GatherData()
240 if (gs->remainder > gs->inbuf.space) { in dtls_GatherData()
241 err = sslBuffer_Grow(&gs->inbuf, gs->remainder); in dtls_GatherData()
247 memcpy(gs->inbuf.buf, gs->dtlsPacket.buf + gs->dtlsPacketOffset, in dtls_GatherData()
[all …]
/external/chromium_org/third_party/libvpx/source/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/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/llvm/test/CodeGen/SPARC/
Dsetjmp.ll27 define i32 @foo(%struct.jmpbuf_env* byval %inbuf) #0 {
29 %0 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 0
31 %1 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 1
33 %2 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 2, i32 0
35 %4 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 3
37 store %struct.jmpbuf_env* %inbuf, %struct.jmpbuf_env** @jenv, align 4, !tbaa !3
/external/valgrind/main/VEX/switchback/
Dtest_bzip2.c5937 uchar inbuf[M_BLOCK]; variable
5973 inbuf[0] = 0; in set_inbuf()
5974 my_strcat(inbuf, "At her sixtieth birthday party, Margaret Thatcher "); in set_inbuf()
5975 my_strcat(inbuf, "blew on the cake to light the candles.\n"); in set_inbuf()
5976 my_strcat(inbuf, "This program, bzip2, the associated library libbzip2, and all\n"); in set_inbuf()
5977 my_strcat(inbuf, "documentation, are copyright (C) 1996-2004 Julian R Seward. All\n"); in set_inbuf()
5978 my_strcat(inbuf, "rights reserved.\n"); in set_inbuf()
5979 my_strcat(inbuf, "\n"); in set_inbuf()
5980 my_strcat(inbuf, "Redistribution and use in source and binary forms, with or without\n"); in set_inbuf()
5981 my_strcat(inbuf, "modification, are permitted provided that the following conditions\n"); in set_inbuf()
[all …]
/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/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_iconv.c43 const char **inbuf, size_t *inbytesleft, in SDL_iconv() argument
48 retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv()
50 retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv()
208 const char **inbuf, size_t *inbytesleft, in SDL_iconv() argument
218 if ( !inbuf || !*inbuf ) { in SDL_iconv()
225 src = *inbuf; in SDL_iconv()
796 *inbuf = src; in SDL_iconv()
815 char *SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesl… in SDL_iconv_string() argument
850 retCode = SDL_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in SDL_iconv_string()
868 ++inbuf; in SDL_iconv_string()
/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.c31 struct wpabuf *inbuf; member
134 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
168 wpabuf_free(data->inbuf); in eap_pwd_deinit()
791 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
792 if (data->inbuf == NULL) { in eap_pwd_process()
805 if (data->in_frag_pos > wpabuf_size(data->inbuf)) { in eap_pwd_process()
809 (int) wpabuf_len(data->inbuf)); in eap_pwd_process()
810 wpabuf_free(data->inbuf); in eap_pwd_process()
811 data->inbuf = NULL; in eap_pwd_process()
815 wpabuf_put_data(data->inbuf, pos, len); 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* %inbuf, i64 2
83 %arrayidx44 = getelementptr inbounds double* %inbuf, i64 1
87 %1 = load double* %inbuf, align 8
/external/chromium_org/third_party/libjpeg_turbo/
Dbmp.c252 unsigned char *inbuf; int row; in savebmp() local
254 if(bottomup) inbuf=&buf[(h-row-1)*w*srcps]; in savebmp()
255 else inbuf=&buf[row*w*srcps]; in savebmp()
256 pixelconvert(inbuf, srcpf, bottomup, dst->buffer[i], dstpf, 0, w, in savebmp()
/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()

1234