Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 25 of 111) sorted by relevance

12345

/external/libopus/tests/
Dtest_opus_decode.c65 short *outbuf; in test_decoder_code0() local
74 outbuf=&outbuf_int[8*2]; in test_decoder_code0()
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); in test_decoder_code0()
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); in test_decoder_code0()
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); in test_decoder_code0()
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); in test_decoder_code0()
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); in test_decoder_code0()
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec); in test_decoder_code0()
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); in test_decoder_code0()
135 outbuf[0]=32749; in test_decoder_code0()
[all …]
/external/curl/tests/server/
Dfake_ntlm.c52 char *outbuf; in printable() local
74 outbuf = malloc(outsize); in printable()
75 if(!outbuf) in printable()
79 sprintf(&outbuf[0], "%s", NOTHING_STR); in printable()
80 return outbuf; in printable()
87 newbuf = realloc(outbuf, newsize); in printable()
89 free(outbuf); in printable()
92 outbuf = newbuf; in printable()
97 outbuf[o] = inbuf[i]; in printable()
101 sprintf(&outbuf[o], HEX_FMT_STR, inbuf[i]); in printable()
[all …]
Dgetpart.c249 int getpart(char **outbuf, size_t *outlen, in getpart() argument
280 *outbuf = malloc(outalloc); in getpart()
281 if(!*outbuf) in getpart()
283 *(*outbuf) = '\0'; in getpart()
295 error = appenddata(outbuf, outlen, &outalloc, buffer, base64); in getpart()
329 error = decodedata(outbuf, outlen); in getpart()
346 error = decodedata(outbuf, outlen); in getpart()
430 error = appenddata(outbuf, outlen, &outalloc, buffer, base64); in getpart()
443 free(*outbuf); in getpart()
444 *outbuf = NULL; in getpart()
/external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
DNullCipherSpiTest.java112 ByteBuffer outbuf = ByteBuffer.allocate(6); in testEngineUpdateByteBufferByteBuffer() local
115 spi.engineUpdate(null, outbuf); in testEngineUpdateByteBufferByteBuffer()
130 int result = spi.engineUpdate(inbuf, outbuf); in testEngineUpdateByteBufferByteBuffer()
133 assertEquals("incorrect outbuf", i + 4, outbuf.get(i)); in testEngineUpdateByteBufferByteBuffer()
137 outbuf = ByteBuffer.allocate(5); in testEngineUpdateByteBufferByteBuffer()
143 spi.engineUpdate(inbuf, outbuf); in testEngineUpdateByteBufferByteBuffer()
157 ByteBuffer outbuf = ByteBuffer.allocate(6); in testEngineDoFinalByteBufferByteBuffer() local
160 spi.engineDoFinal(null, outbuf); in testEngineDoFinalByteBufferByteBuffer()
175 int result = spi.engineDoFinal(inbuf, outbuf); in testEngineDoFinalByteBufferByteBuffer()
178 assertEquals("incorrect outbuf", i + 4, outbuf.get(i)); in testEngineDoFinalByteBufferByteBuffer()
[all …]
/external/vboot_reference/host/lib/
Dutil_misc.c45 uint32_t *outbuf; in vb_keyb_from_rsa() local
52 outbuf = malloc(bufsize); in vb_keyb_from_rsa()
53 if (!outbuf) in vb_keyb_from_rsa()
56 *keyb_data = (uint8_t *)outbuf; in vb_keyb_from_rsa()
59 *outbuf++ = nwords; in vb_keyb_from_rsa()
91 *outbuf++ = n0invout; in vb_keyb_from_rsa()
109 *outbuf++ = nout; in vb_keyb_from_rsa()
120 *outbuf++ = rrout; in vb_keyb_from_rsa()
125 outbuf = NULL; in vb_keyb_from_rsa()
129 free(outbuf); in vb_keyb_from_rsa()
Dhost_key.c73 uint8_t *outbuf = 0; in PrivateKeyWrite() local
77 buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); in PrivateKeyWrite()
86 free(outbuf); in PrivateKeyWrite()
93 free(outbuf); in PrivateKeyWrite()
97 if (1 != fwrite(outbuf, buflen, 1, f)) { in PrivateKeyWrite()
101 free(outbuf); in PrivateKeyWrite()
105 free(outbuf); in PrivateKeyWrite()
/external/curl/lib/vtls/
Dschannel.c98 SecBuffer outbuf; in schannel_connect_step1() local
214 InitSecBuffer(&outbuf, SECBUFFER_EMPTY, NULL, 0); in schannel_connect_step1()
215 InitSecBufferDesc(&outbuf_desc, &outbuf, 1); in schannel_connect_step1()
256 "sending %lu bytes...\n", outbuf.cbBuffer); in schannel_connect_step1()
259 result = Curl_write_plain(conn, conn->sock[sockindex], outbuf.pvBuffer, in schannel_connect_step1()
260 outbuf.cbBuffer, &written); in schannel_connect_step1()
261 s_pSecFn->FreeContextBuffer(outbuf.pvBuffer); in schannel_connect_step1()
262 if((result != CURLE_OK) || (outbuf.cbBuffer != (size_t) written)) { in schannel_connect_step1()
264 "sent %zd of %lu bytes", written, outbuf.cbBuffer); in schannel_connect_step1()
290 SecBuffer outbuf[3]; in schannel_connect_step2() local
[all …]
/external/opencv3/3rdparty/libjasper/
Djpc_mqenc.c138 if ((enc)->outbuf != 0xff) { \
140 if (++((enc)->outbuf) == 0xff) { \
143 enc->outbuf = ((creg) >> 20) & 0xff; \
148 enc->outbuf = ((creg) >> 19) & 0xff; \
154 (enc)->outbuf = ((creg) >> 19) & 0xff; \
160 (enc)->outbuf = ((creg) >> 20) & 0xff; \
168 if (enc->outbuf >= 0) { \
169 if (jas_stream_putc(enc->out, (unsigned char)enc->outbuf) == EOF) { \
173 enc->lastbyte = enc->outbuf; \
240 mqenc->outbuf = -1; in jpc_mqenc_init()
[all …]
/external/libvpx/libvpx/examples/
Dresize_util.c52 uint8_t *inbuf, *outbuf; in main() local
106 outbuf = (uint8_t*)malloc(target_width * target_height * 3 / 2); in main()
109 outbuf_u = outbuf + target_width * target_height; in main()
117 outbuf, target_width, outbuf_u, outbuf_v, in main()
120 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout); in main()
128 free(outbuf); in main()
/external/llvm/test/Transforms/GVN/
Dlpre-call-wrap-2.ll6 ; void bi_windup(unsigned char *outbuf, unsigned char bi_buf) {
7 ; outbuf[outcnt] = bi_buf;
10 ; outbuf[outcnt] = bi_buf;
16 define void @bi_windup(i8* %outbuf, i8 zeroext %bi_buf) nounwind {
20 %1 = getelementptr i8, i8* %outbuf, i32 %0 ; <i8*> [#uses=1]
35 %5 = getelementptr i8, i8* %outbuf, i32 %4 ; <i8*> [#uses=1]
/external/selinux/libselinux/src/
Dbooleans.c385 char outbuf[BUFSIZ]; in save_booleans() local
437 snprintf(outbuf, sizeof(outbuf), in save_booleans()
440 len = strlen(outbuf); in save_booleans()
442 if (write(fd, outbuf, len) != in save_booleans()
450 snprintf(outbuf, sizeof(outbuf), in save_booleans()
452 len = strlen(outbuf); in save_booleans()
453 if (write(fd, outbuf, len) != len) in save_booleans()
465 snprintf(outbuf, sizeof(outbuf), "%s=%d\n", in save_booleans()
467 len = strlen(outbuf); in save_booleans()
468 if (write(fd, outbuf, len) != len) { in save_booleans()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c35 struct wpabuf *outbuf; member
138 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
173 wpabuf_free(data->outbuf); in eap_pwd_deinit()
338 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_perform_id_exchange()
340 if (data->outbuf == NULL) { in eap_pwd_perform_id_exchange()
344 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_perform_id_exchange()
345 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_perform_id_exchange()
346 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_perform_id_exchange()
347 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange()
348 wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NONE); in eap_pwd_perform_id_exchange()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_upload_mgr.c160 struct pipe_resource **outbuf, in u_upload_alloc() argument
171 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
206 pipe_resource_reference( outbuf, upload->buffer ); in u_upload_alloc()
218 struct pipe_resource **outbuf) in u_upload_data() argument
222 out_offset, outbuf, in u_upload_data()
243 struct pipe_resource **outbuf) in u_upload_buffer() argument
267 outbuf); in u_upload_buffer()
Du_upload_mgr.h95 struct pipe_resource **outbuf,
110 struct pipe_resource **outbuf);
125 struct pipe_resource **outbuf);
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/tasks/support/gl-matrix/
Drelease_helper.rb94 outbuf = ''
97 outbuf = `#{cmd}`
99 block.call(outbuf) if block
102 [outbuf, $?]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c35 struct wpabuf *outbuf; member
129 data->inbuf = data->outbuf = NULL; in eap_pwd_init()
159 wpabuf_free(data->outbuf); in eap_pwd_reset()
174 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) + in eap_pwd_build_id_req()
176 if (data->outbuf == NULL) { in eap_pwd_build_id_req()
182 wpabuf_free(data->outbuf); in eap_pwd_build_id_req()
183 data->outbuf = NULL; in eap_pwd_build_id_req()
188 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_build_id_req()
189 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC); in eap_pwd_build_id_req()
190 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF); in eap_pwd_build_id_req()
[all …]
/external/icu/icu4c/as_is/os400/
Diculd.c122 char outbuf[100]; in main() local
138 strcpy(outbuf,mend); in main()
139 b=outbuf; in main()
156 char outbuf[100]; in main() local
172 strcpy(outbuf,mend); in main()
173 b=outbuf; in main()
/external/vboot_reference/firmware/lib/
Dregion-kernel.c190 char outbuf[OUTBUF_LEN]; in VbRegionCheckVersion() local
192 *outbuf = '\0'; in VbRegionCheckVersion()
193 used += StrnAppend(outbuf + used, "gbb.flags is nonzero: 0x", in VbRegionCheckVersion()
195 used += Uint64ToString(outbuf + used, OUTBUF_LEN - used, in VbRegionCheckVersion()
197 used += StrnAppend(outbuf + used, "\n", OUTBUF_LEN - used); in VbRegionCheckVersion()
198 (void)VbExDisplayDebugInfo(outbuf); in VbRegionCheckVersion()
/external/e2fsprogs/misc/
Dlogsave.c36 static void *outbuf = 0; variable
108 n = realloc(outbuf, outbufsize + c); in send_output()
110 outbuf = n; in send_output()
111 memcpy(((char *)outbuf)+outbufsize, buffer, c); in send_output()
309 if (outbuf) { in main()
326 write_all(outfd, outbuf, outbufsize); in main()
327 free(outbuf); in main()
/external/vboot_reference/futility/
Dcmd_gbb_utility.c366 uint8_t *outbuf = NULL; in do_gbb_utility() local
538 outbuf = (uint8_t *) malloc(filesize); in do_gbb_utility()
539 if (!outbuf) { in do_gbb_utility()
548 memcpy(outbuf, inbuf, filesize); in do_gbb_utility()
549 gbb = FindGbbHeader(outbuf, filesize); in do_gbb_utility()
604 outfile, outbuf, filesize); in do_gbb_utility()
619 outbuf = create_gbb(opt_create, &filesize); in do_gbb_utility()
620 if (!outbuf) { in do_gbb_utility()
629 outfile, outbuf, filesize); in do_gbb_utility()
635 if (outbuf) in do_gbb_utility()
[all …]
/external/bzip2/
Dunzcrash.c41 uchar outbuf[M_BLOCK_OUT]; variable
107 outbuf, &nOut, zbuf, nZ, 0, 0 ); in main()
118 if (inbuf[i] != outbuf[i]) { in main()
132 if (inbuf[i] != outbuf[i]) { in main()
/external/curl/lib/
Dstrerror.c810 char *outbuf; in Curl_sspi_strerror() local
815 outbuf = conn->syserr_buf; in Curl_sspi_strerror()
817 *outbuf = '\0'; in Curl_sspi_strerror()
1069 strncpy(outbuf, txt, outmax); in Curl_sspi_strerror()
1071 snprintf(outbuf, outmax, in Curl_sspi_strerror()
1113 snprintf(outbuf, outmax, "%s - %s", str, msg); in Curl_sspi_strerror()
1115 strncpy(outbuf, str, outmax); in Curl_sspi_strerror()
1128 strncpy(outbuf, txt, outmax); in Curl_sspi_strerror()
1132 outbuf[outmax] = '\0'; in Curl_sspi_strerror()
1134 return outbuf; in Curl_sspi_strerror()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c221 struct ring_buffer outbuf; in main() local
223 rb_init(&outbuf, outbuf_mem, sizeof(outbuf_mem)); in main()
299 if (rb_space(&outbuf) > 0 && err_n_rpty < MAXRETR) { in main()
314 if (!rb_isempty(&outbuf) && err_n_stdout < MAXRETR) { in main()
343 ssize_t n = rb_write(&outbuf, STDOUT_FILENO); in main()
388 ssize_t n = rb_read(&outbuf, pty_master); in main()
404 || !(rb_isempty(&outbuf) || err_n_stdout >= MAXRETR)); in main()
407 fprintf(stderr, "inbuf: %u bytes left, outbuf: %u bytes left\n", inbuf.count, outbuf.count); in main()
/external/eigen/bench/
DbenchFFT.cpp50 vector<Complex > outbuf(nfft); in bench() local
64 fft.fwd( outbuf , inbuf); in bench()
72 fft.fwd( outbuf , inbuf); in bench()
75 fft.inv(inbuf,outbuf); in bench()
/external/libevent/
Dbuffer.c868 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) in evbuffer_add_buffer() argument
874 EVBUFFER_LOCK2(inbuf, outbuf); in evbuffer_add_buffer()
876 out_total_len = outbuf->total_len; in evbuffer_add_buffer()
878 if (in_total_len == 0 || outbuf == inbuf) in evbuffer_add_buffer()
881 if (outbuf->freeze_end || inbuf->freeze_start) { in evbuffer_add_buffer()
894 evbuffer_free_all_chains(outbuf->first); in evbuffer_add_buffer()
895 COPY_CHAIN(outbuf, inbuf); in evbuffer_add_buffer()
897 APPEND_CHAIN(outbuf, inbuf); in evbuffer_add_buffer()
903 outbuf->n_add_for_cb += in_total_len; in evbuffer_add_buffer()
906 evbuffer_invoke_callbacks(outbuf); in evbuffer_add_buffer()
[all …]

12345