Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 25 of 61) sorted by relevance

123

/external/speex/tmv/
Dkiss_fftr_tm.h56 register int * restrict tmpbuf; in kiss_fftr() local
61 tmpbuf = (int*)st->tmpbuf; in kiss_fftr()
66 TMDEBUG_ALIGNMEM(tmpbuf); in kiss_fftr()
69 kiss_fft(st->substate , (const kiss_fft_cpx*)timedata, st->tmpbuf); in kiss_fftr()
73 tdcr = sround(st->tmpbuf[0].r * (32767/2)); in kiss_fftr()
74 tdci = sround(st->tmpbuf[0].i * (32767/2)); in kiss_fftr()
88 fpk = ld32x(tmpbuf,k); in kiss_fftr()
90 fpnk = ld32x(tmpbuf,i); in kiss_fftr()
114 register int * restrict tmpbuf; in kiss_fftri() local
119 tmpbuf = (int*)st->tmpbuf; in kiss_fftri()
[all …]
/external/speex/libspeexdsp/
Dkiss_fftr.c25 kiss_fft_cpx * tmpbuf; member
58 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); in kiss_fftr_alloc()
59 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc()
94 kiss_fft( st->substate , (const kiss_fft_cpx*)timedata, st->tmpbuf ); in kiss_fftr()
105 tdc.r = st->tmpbuf[0].r; in kiss_fftr()
106 tdc.i = st->tmpbuf[0].i; in kiss_fftr()
119 fpk = st->tmpbuf[k]; in kiss_fftr()
120 fpnk.r = st->tmpbuf[ncfft-k].r; in kiss_fftr()
121 fpnk.i = - st->tmpbuf[ncfft-k].i; in kiss_fftr()
147 st->tmpbuf[0].r = freqdata[0].r + freqdata[ncfft].r; in kiss_fftri()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_getnameinfo.c283 char tmpbuf[4096]; in lookup_service() local
304 memset(tmpbuf, 0, sizeof(tmpbuf)); in lookup_service()
306 if (getservbyport_r(port, proto, &se, (void *)tmpbuf, in lookup_service()
307 sizeof(tmpbuf), &sep) != 0) in lookup_service()
310 sep = getservbyport_r(port, proto, &se, (void *)tmpbuf, in lookup_service()
311 sizeof(tmpbuf)); in lookup_service()
313 if (getservbyport_r(port, proto, &se, (void *)tmpbuf) != 0) in lookup_service()
336 sprintf(tmpbuf, "%u", (unsigned int)ntohs(port)); in lookup_service()
337 name = tmpbuf; in lookup_service()
359 char tmpbuf[IF_NAMESIZE + 2]; in append_scopeid() local
[all …]
/external/libaom/test/
Dselfguided_filter_test.cc35 int32_t *tmpbuf, int bit_depth, int highbd);
64 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunSpeedTest() local
65 ASSERT_NE(tmpbuf, nullptr); in RunSpeedTest()
95 output_p, out_stride, tmpbuf, 8, in RunSpeedTest()
112 tmpbuf, 8, 0); in RunSpeedTest()
128 aom_free(tmpbuf); in RunSpeedTest()
151 int32_t *tmpbuf = (int32_t *)aom_memalign(32, RESTORATION_TMPBUF_SIZE); in RunCorrectnessTest() local
152 ASSERT_NE(tmpbuf, nullptr); in RunCorrectnessTest()
185 tmpbuf, 8, 0); in RunCorrectnessTest()
187 output2_p, out_stride, tmpbuf, 8, in RunCorrectnessTest()
[all …]
/external/elfutils/src/
Darlib.c61 char tmpbuf[sizeof (ar_hdr.ar_date) + 1]; in arlib_init() local
62 int s = snprintf (tmpbuf, sizeof (tmpbuf), "%-*lld", in arlib_init()
66 memcpy (ar_hdr.ar_date, tmpbuf, s); in arlib_init()
113 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1]; in arlib_finalize() local
127 int s = snprintf (tmpbuf, sizeof (tmpbuf), "%-*" PRIu32 "", in arlib_finalize()
130 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, s); in arlib_finalize()
174 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf, in arlib_finalize()
175 snprintf (tmpbuf, sizeof (tmpbuf), "%-*" PRIu32 "", in arlib_finalize()
Dar.c852 char tmpbuf[sizeof (arhdr.ar_name) + 2]; in write_member() local
861 snprintf (tmpbuf, sizeof (tmpbuf), "/%-*ld", in write_member()
863 changed_header = memcmp (arhdr.ar_name, tmpbuf, in write_member()
885 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in write_member()
1085 char tmpbuf[bufsize + 1]; in no0print() local
1086 int ret = snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", in no0print()
1088 if (ret >= (int) sizeof (tmpbuf)) in no0print()
1090 memcpy (buf, tmpbuf, bufsize); in no0print()
1461 char tmpbuf[sizeof (arhdr.ar_name) + 2]; in do_oper_insert() local
1471 snprintf (tmpbuf, sizeof (tmpbuf), "/%-*ld", in do_oper_insert()
[all …]
/external/elfutils/libcpu/
Di386_data.h185 char tmpbuf[sizeof ("-0x1234(%rr,%rr)")]; in general_mod$r_m() local
188 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx16, disp); in general_mod$r_m()
193 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx16, in general_mod$r_m()
197 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%b%c,%%%ci)", in general_mod$r_m()
200 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%%s)", in general_mod$r_m()
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
227 char tmpbuf[sizeof ("-0x12345678(%rrrr)")]; in general_mod$r_m() local
231 n = snprintf (tmpbuf, sizeof (tmpbuf), "(%%%s)", in general_mod$r_m()
240 tmpbuf[n++] = 'd'; in general_mod$r_m()
242 tmpbuf[2] = 'e'; in general_mod$r_m()
[all …]
/external/elfutils/libasm/
Dasm_adduleb128.c56 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; in asm_adduleb128() local
57 char *dest = tmpbuf; in asm_adduleb128()
75 size_t nbytes = dest - tmpbuf; in asm_adduleb128()
83 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); in asm_adduleb128()
Dasm_addsleb128.c56 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; in asm_addsleb128() local
57 char *dest = tmpbuf; in asm_addsleb128()
79 size_t nbytes = dest - tmpbuf; in asm_addsleb128()
87 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); in asm_addsleb128()
/external/e2fsprogs/lib/support/
Dquotaio_tree.c138 dqbuf_t tmpbuf = getdqbuf(); in remove_free_dqentry() local
144 if (!tmpbuf) in remove_free_dqentry()
148 read_blk(h, nextblk, tmpbuf); in remove_free_dqentry()
149 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in remove_free_dqentry()
151 write_blk(h, nextblk, tmpbuf); in remove_free_dqentry()
154 read_blk(h, prevblk, tmpbuf); in remove_free_dqentry()
155 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_next_free = in remove_free_dqentry()
157 write_blk(h, prevblk, tmpbuf); in remove_free_dqentry()
162 freedqbuf(tmpbuf); in remove_free_dqentry()
172 dqbuf_t tmpbuf = getdqbuf(); in insert_free_dqentry() local
[all …]
/external/f2fs-tools/fsck/
Dquotaio_tree.c138 dqbuf_t tmpbuf = getdqbuf(); in remove_free_dqentry() local
143 if (!tmpbuf) in remove_free_dqentry()
147 read_blk(h, nextblk, tmpbuf); in remove_free_dqentry()
148 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in remove_free_dqentry()
150 write_blk(h, nextblk, tmpbuf); in remove_free_dqentry()
153 read_blk(h, prevblk, tmpbuf); in remove_free_dqentry()
154 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_next_free = in remove_free_dqentry()
156 write_blk(h, prevblk, tmpbuf); in remove_free_dqentry()
161 freedqbuf(tmpbuf); in remove_free_dqentry()
171 dqbuf_t tmpbuf = getdqbuf(); in insert_free_dqentry() local
[all …]
/external/libjpeg-turbo/
Dturbojpeg.c763 JSAMPROW *tmpbuf[MAX_COMPONENTS], *tmpbuf2[MAX_COMPONENTS]; in tjEncodeYUVPlanes() local
773 tmpbuf[i] = NULL; _tmpbuf[i] = NULL; in tjEncodeYUVPlanes()
842 tmpbuf[i] = in tjEncodeYUVPlanes()
844 if (!tmpbuf[i]) in tjEncodeYUVPlanes()
850 tmpbuf[i][row] = &_tmpbuf_aligned[ in tjEncodeYUVPlanes()
887 (*cinfo->cconvert->color_convert) (cinfo, &row_pointer[row], tmpbuf, 0, in tjEncodeYUVPlanes()
889 (cinfo->downsample->downsample) (cinfo, tmpbuf, 0, tmpbuf2, 0); in tjEncodeYUVPlanes()
903 free(tmpbuf[i]); in tjEncodeYUVPlanes()
983 JSAMPROW *inbuf[MAX_COMPONENTS], *tmpbuf[MAX_COMPONENTS]; in tjCompressFromYUVPlanes() local
989 tmpbuf[i] = NULL; inbuf[i] = NULL; in tjCompressFromYUVPlanes()
[all …]
/external/libaom/examples/
Dscalable_decoder.c103 uint8_t tmpbuf[32]; in main() local
127 const size_t ret = fread(tmpbuf, 1, 32, inputfile); in main()
130 if (aom_codec_peek_stream_info(decoder, tmpbuf, 32, &si)) { in main()
/external/libaom/av1/common/
Drestoration.c443 int32_t *tmpbuf, int bit_depth) { in wiener_filter_stripe() argument
444 (void)tmpbuf; in wiener_filter_stripe()
914 int dst_stride, int32_t *tmpbuf, in av1_apply_selfguided_restoration_c() argument
916 int32_t *flt0 = tmpbuf; in av1_apply_selfguided_restoration_c()
956 int32_t *tmpbuf, int bit_depth) { in sgrproj_filter_stripe() argument
964 rui->sgrproj_info.xqd, dst + j, dst_stride, tmpbuf, bit_depth, 0); in sgrproj_filter_stripe()
973 int dst_stride, int32_t *tmpbuf, in wiener_filter_stripe_highbd() argument
975 (void)tmpbuf; in wiener_filter_stripe_highbd()
994 int32_t *tmpbuf, int bit_depth) { in sgrproj_filter_stripe_highbd() argument
999 rui->sgrproj_info.xqd, dst8 + j, dst_stride, tmpbuf, bit_depth, 1); in sgrproj_filter_stripe_highbd()
[all …]
Drestoration.h337 int32_t *tmpbuf,
408 int dst_stride, int32_t *tmpbuf, int optimized_lr);
443 int32_t *tmpbuf,
473 void *priv, int32_t *tmpbuf, RestorationLineBuffers *rlbs,
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c216 struct wpabuf tmpbuf; in eap_tnc_process() local
289 wpabuf_set(&tmpbuf, pos, end - pos); in eap_tnc_process()
290 data->in_buf = &tmpbuf; in eap_tnc_process()
344 if (data->in_buf != &tmpbuf) in eap_tnc_process()
404 if (data->in_buf == &tmpbuf) in eap_tnc_process()
Deap_ikev2.c337 struct wpabuf tmpbuf; in eap_ikev2_process() local
408 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
409 data->in_buf = &tmpbuf; in eap_ikev2_process()
413 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
419 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
/external/elfutils/libelf/
Delf_getarsym.c177 char tmpbuf[17]; in elf_getarsym() local
178 memcpy (tmpbuf, index_hdr->ar_size, 10); in elf_getarsym()
179 tmpbuf[10] = '\0'; in elf_getarsym()
180 size_t index_size = atol (tmpbuf); in elf_getarsym()
/external/libvpx/vp9/encoder/
Dvp9_resize.c428 uint8_t *tmpbuf = in vp9_resize_plane() local
429 (uint8_t *)calloc(width < height ? height : width, sizeof(*tmpbuf)); in vp9_resize_plane()
432 if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) in vp9_resize_plane()
440 tmpbuf); in vp9_resize_plane()
443 resize_multistep(arrbuf, height, arrbuf2, height2, tmpbuf); in vp9_resize_plane()
449 free(tmpbuf); in vp9_resize_plane()
719 uint16_t *tmpbuf = in vp9_highbd_resize_plane() local
723 if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) in vp9_highbd_resize_plane()
731 intbuf + width2 * i, width2, tmpbuf, bd); in vp9_highbd_resize_plane()
735 highbd_resize_multistep(arrbuf, height, arrbuf2, height2, tmpbuf, bd); in vp9_highbd_resize_plane()
[all …]
/external/vboot_reference/utility/
Dbmpblk_utility.cc416 uint8_t *tmpbuf = (uint8_t *)malloc(tmpsize); in load_all_image_files() local
419 tmpbuf, &tmpsize)) { in load_all_image_files()
423 it->second.compressed_content.assign((const char *)tmpbuf, tmpsize); in load_all_image_files()
425 free(tmpbuf); in load_all_image_files()
432 uint8_t *tmpbuf = (uint8_t *)malloc(tmpsize); in load_all_image_files() local
445 stream.next_out = tmpbuf; in load_all_image_files()
453 it->second.compressed_content.assign((const char *)tmpbuf, in load_all_image_files()
457 free(tmpbuf); in load_all_image_files()
/external/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc80 std::unique_ptr<int16_t[]> tmpbuf; in ReadBuffers() local
83 tmpbuf.reset(new int16_t[num_channels * audio_buffer_size]); in ReadBuffers()
84 read_ptr = tmpbuf.get(); in ReadBuffers()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java78 private final byte tmpbuf[] = new byte[4096]; field in CpioArchiveInputStream
489 if (len > this.tmpbuf.length) { in skip()
490 len = this.tmpbuf.length; in skip()
492 len = read(this.tmpbuf, 0, len); in skip()
/external/ltp/lib/
Dtst_rtnetlink.c169 char tmp, *tmpbuf, *buffer = NULL; in tst_rtnl_recv() local
191 tmpbuf = safe_realloc(file, lineno, buffer, bufsize + size); in tst_rtnl_recv()
193 if (!tmpbuf) in tst_rtnl_recv()
196 buffer = tmpbuf; in tst_rtnl_recv()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ikev2.c358 struct wpabuf tmpbuf; in eap_ikev2_process() local
432 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
433 data->in_buf = &tmpbuf; in eap_ikev2_process()
437 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
462 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
/external/pdfium/xfa/fgas/crt/
Dcfgas_decimal.cpp330 WideString tmpbuf; in ToWideString() local
335 tmpbuf += decimal_helper_div10(phi, pmid, plo) + '0'; in ToWideString()
337 uint8_t outputlen = (uint8_t)tmpbuf.GetLength(); in ToWideString()
340 tmpbuf += '0'; in ToWideString()
349 retString += tmpbuf[outputlen - 1 - idx]; in ToWideString()

123