Searched refs:outbuf (Results 1 - 25 of 96) sorted by relevance

1234

/external/openssl/crypto/des/
H A Denc_writ.c93 static unsigned char *outbuf=NULL;
99 if (outbuf == NULL)
101 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE);
102 if (outbuf == NULL) return(-1);
128 p=outbuf;
146 DES_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv,
149 DES_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv,
160 i=write(fd,(void *)&(outbuf[j]),outnum-j);
162 i=_write(fd,(void *)&(outbuf[j]),outnum-j);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_upload_mgr.h88 * \param outbuf Pointer to where the upload buffer will be returned.
95 struct pipe_resource **outbuf,
110 struct pipe_resource **outbuf);
125 struct pipe_resource **outbuf);
H A Du_upload_mgr.c160 struct pipe_resource **outbuf,
171 pipe_resource_reference(outbuf, NULL);
206 pipe_resource_reference( outbuf, upload->buffer );
218 struct pipe_resource **outbuf)
222 out_offset, outbuf,
243 struct pipe_resource **outbuf)
267 outbuf);
156 u_upload_alloc( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned size, unsigned *out_offset, struct pipe_resource **outbuf, void **ptr ) argument
213 u_upload_data( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned size, const void *data, unsigned *out_offset, struct pipe_resource **outbuf) argument
237 u_upload_buffer( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned offset, unsigned size, struct pipe_resource *inbuf, unsigned *out_offset, struct pipe_resource **outbuf) argument
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_upload_mgr.h88 * \param outbuf Pointer to where the upload buffer will be returned.
95 struct pipe_resource **outbuf,
110 struct pipe_resource **outbuf);
125 struct pipe_resource **outbuf);
H A Du_upload_mgr.c160 struct pipe_resource **outbuf,
171 pipe_resource_reference(outbuf, NULL);
206 pipe_resource_reference( outbuf, upload->buffer );
218 struct pipe_resource **outbuf)
222 out_offset, outbuf,
243 struct pipe_resource **outbuf)
267 outbuf);
156 u_upload_alloc( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned size, unsigned *out_offset, struct pipe_resource **outbuf, void **ptr ) argument
213 u_upload_data( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned size, const void *data, unsigned *out_offset, struct pipe_resource **outbuf) argument
237 u_upload_buffer( struct u_upload_mgr *upload, unsigned min_out_offset, unsigned offset, unsigned size, struct pipe_resource *inbuf, unsigned *out_offset, struct pipe_resource **outbuf) argument
/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
H A DNullCipherSpiTest.java112 ByteBuffer outbuf = ByteBuffer.allocate(6);
115 spi.engineUpdate(null, outbuf);
130 int result = spi.engineUpdate(inbuf, outbuf);
133 assertEquals("incorrect outbuf", i + 4, outbuf.get(i));
137 outbuf = ByteBuffer.allocate(5);
143 spi.engineUpdate(inbuf, outbuf);
157 ByteBuffer outbuf = ByteBuffer.allocate(6);
160 spi.engineDoFinal(null, outbuf);
175 int result = spi.engineDoFinal(inbuf, outbuf);
[all...]
/external/compiler-rt/test/msan/
H A Diconv.cc19 char *outbuf = outbuf_; local
35 res = iconv(cd, 0, 0, &outbuf, &outbytesleft);
38 res = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/gl-matrix/
H A Drelease_helper.rb94 outbuf = ''
97 outbuf = `#{cmd}`
99 block.call(outbuf) if block
102 [outbuf, $?]
/external/chromium_org/third_party/libvpx/source/libvpx/examples/
H A Dresize_util.c44 uint8_t *inbuf, *outbuf; local
96 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2);
99 outbuf_u = outbuf + target_width * target_height;
107 outbuf, target_width, outbuf_u, outbuf_v,
110 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout);
118 free(outbuf);
/external/libvpx/libvpx/examples/
H A Dresize_util.c44 uint8_t *inbuf, *outbuf; local
96 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2);
99 outbuf_u = outbuf + target_width * target_height;
107 outbuf, target_width, outbuf_u, outbuf_v,
110 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout);
118 free(outbuf);
/external/qemu/
H A Dmonitor-android.c12 uint8_t outbuf[1024]; member in struct:Monitor
75 mon->fake_func(mon->fake_opaque, (void*)mon->outbuf, mon->outbuf_index);
79 qemu_chr_write(mon->chr, mon->outbuf, mon->outbuf_index);
97 mon->outbuf[mon->outbuf_index++] = '\r';
98 mon->outbuf[mon->outbuf_index++] = c;
99 if (mon->outbuf_index >= (sizeof(mon->outbuf) - 1)
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
H A Dsocket_test.cc223 char outbuf[256]; local
226 memset(outbuf, 1, sizeof(outbuf));
237 ki_sendto(sock1_, outbuf, sizeof(outbuf), 0, (sockaddr*) &addr, addrlen);
238 EXPECT_EQ(sizeof(outbuf), len1);
241 EXPECT_NE(0, memcmp(outbuf, inbuf, sizeof(outbuf)));
247 EXPECT_EQ(sizeof(outbuf), len2);
252 EXPECT_EQ(0, memcmp(outbuf, inbu
256 char outbuf[256]; local
306 char outbuf[16 * 1024]; local
336 char outbuf[256]; local
366 char outbuf[256]; local
530 char* outbuf = (char*)malloc(LARGE_SEND_BYTES); local
[all...]
/external/qemu/include/android/
H A Dmonitor.h42 mon->fake_func(mon->fake_opaque, (void*)mon->outbuf, mon->outbuf_index);
46 qemu_chr_write(mon->chr, mon->outbuf, mon->outbuf_index);
/external/bzip2/
H A Dunzcrash.c41 uchar outbuf[M_BLOCK_OUT]; variable
107 outbuf, &nOut, zbuf, nZ, 0, 0 );
118 if (inbuf[i] != outbuf[i]) {
132 if (inbuf[i] != outbuf[i]) {
/external/chromium_org/third_party/opus/src/tests/
H A Dtest_opus_decode.c65 short *outbuf; local
74 outbuf=&outbuf_int[8*2];
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec);
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec);
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec);
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec);
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec);
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec);
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec);
135 outbuf[
[all...]
/external/libopus/tests/
H A Dtest_opus_decode.c65 short *outbuf; local
74 outbuf=&outbuf_int[8*2];
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec);
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec);
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec);
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec);
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec);
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec);
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec);
135 outbuf[
[all...]
/external/valgrind/main/callgrind/
H A Ddump.c58 static HChar outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN]; variable
348 VG_(sprintf)(outbuf, "rec=%d\n\n", bbcc->rec_index);
349 my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
363 VG_(sprintf)(outbuf, "frfn=(spontaneous)\n");
364 my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
369 print_fn(fd,outbuf,"frfn", curr_from);
377 VG_(sprintf)(outbuf, "ob=");
378 print_obj(outbuf
[all...]
/external/eigen/bench/
H A DbenchFFT.cpp50 vector<Complex > outbuf(nfft);
64 fft.fwd( outbuf , inbuf);
72 fft.fwd( outbuf , inbuf);
75 fft.inv(inbuf,outbuf);
/external/chromium_org/third_party/icu/source/common/
H A Dbytestream.cpp29 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument
30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
/external/icu/icu4c/source/common/
H A Dbytestream.cpp29 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument
30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_pwd.c33 struct wpabuf *outbuf; member in struct:eap_pwd_data
134 data->inbuf = data->outbuf = NULL;
169 wpabuf_free(data->outbuf);
277 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
279 if (data->outbuf == NULL) {
283 wpabuf_put_be16(data->outbuf, data->group_num);
284 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
285 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
286 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token));
287 wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NON
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_pwd.c33 struct wpabuf *outbuf; member in struct:eap_pwd_data
134 data->inbuf = data->outbuf = NULL;
169 wpabuf_free(data->outbuf);
277 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
279 if (data->outbuf == NULL) {
283 wpabuf_put_be16(data->outbuf, data->group_num);
284 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
285 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
286 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token));
287 wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NON
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_pwd.c33 struct wpabuf *outbuf; member in struct:eap_pwd_data
134 data->inbuf = data->outbuf = NULL;
169 wpabuf_free(data->outbuf);
277 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
279 if (data->outbuf == NULL) {
283 wpabuf_put_be16(data->outbuf, data->group_num);
284 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
285 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
286 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token));
287 wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NON
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dschanneladapter.cc85 SChannelBuffer inbuf, outbuf, readable; member in struct:rtc::SChannelAdapter::SSLImpl
257 impl_->outbuf.insert(impl_->outbuf.end(),
431 SChannelBuffer& outbuf = impl_->outbuf; local
432 while (pos < outbuf.size()) {
433 int sent = AsyncSocketAdapter::Send(&outbuf[pos], outbuf.size() - pos);
443 if (int remainder = static_cast<int>(outbuf.size() - pos)) {
444 memmove(&outbuf[
476 SChannelBuffer& outbuf = impl_->outbuf; local
[all...]
/external/e2fsprogs/misc/
H A Dlogsave.c36 static void *outbuf = 0; variable
108 n = realloc(outbuf, outbufsize + c);
110 outbuf = n;
111 memcpy(((char *)outbuf)+outbufsize, buffer, c);
309 if (outbuf) {
326 write_all(outfd, outbuf, outbufsize);
327 free(outbuf);

Completed in 9464 milliseconds

1234