Home
last modified time | relevance | path

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

12

/external/speex/libspeex/
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/c-ares/
Dares_getnameinfo.c295 char tmpbuf[4096]; in lookup_service() local
313 memset(tmpbuf, 0, sizeof(tmpbuf)); in lookup_service()
315 if (getservbyport_r(port, proto, &se, (void *)tmpbuf, in lookup_service()
316 sizeof(tmpbuf), &sep) != 0) in lookup_service()
319 sep = getservbyport_r(port, proto, &se, (void *)tmpbuf, in lookup_service()
320 sizeof(tmpbuf)); in lookup_service()
322 if (getservbyport_r(port, proto, &se, (void *)tmpbuf) != 0) in lookup_service()
339 strcpy(tmpbuf, sep->s_name); in lookup_service()
342 sprintf(tmpbuf, "%u", (unsigned int)ntohs(port)); in lookup_service()
343 if (strlen(tmpbuf) < buflen) in lookup_service()
[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()
110 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1]; in arlib_finalize() local
124 int s = snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu", in arlib_finalize()
127 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, s); in arlib_finalize()
171 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf, in arlib_finalize()
172 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu", in arlib_finalize()
Dar.c856 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in write_member() local
865 snprintf (tmpbuf, sizeof (tmpbuf), "/%-*ld", in write_member()
867 changed_header = memcmp (arhdr.ar_name, tmpbuf, in write_member()
889 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in write_member()
1087 char tmpbuf[bufsize + 1]; in no0print() local
1088 snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val); in no0print()
1089 memcpy (buf, tmpbuf, bufsize); in no0print()
1458 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in do_oper_insert() local
1468 snprintf (tmpbuf, sizeof (arhdr.ar_name) + 1, "/%-*ld", in do_oper_insert()
1470 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in do_oper_insert()
/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/libedit/src/
Dsearch.c458 Char tmpbuf[EL_BUFSIZ]; in cv_search() local
462 tmpbuf[0] = '.'; in cv_search()
463 tmpbuf[1] = '*'; in cv_search()
469 tmplen = c_gets(el, &tmpbuf[LEN], in cv_search()
475 ch = tmpbuf[tmplen]; in cv_search()
476 tmpbuf[tmplen] = '\0'; in cv_search()
489 (void) Strncpy(tmpbuf, el->el_search.patbuf, in cv_search()
490 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1); in cv_search()
493 (void) Strncpy(&el->el_search.patbuf[2], tmpbuf, in cv_search()
503 tmpbuf[tmplen++] = '.'; in cv_search()
[all …]
/external/e2fsprogs/lib/quota/
Dquotaio_tree.c135 dqbuf_t tmpbuf = getdqbuf(); in remove_free_dqentry() local
141 if (!tmpbuf) in remove_free_dqentry()
145 read_blk(h, nextblk, tmpbuf); in remove_free_dqentry()
146 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in remove_free_dqentry()
148 write_blk(h, nextblk, tmpbuf); in remove_free_dqentry()
151 read_blk(h, prevblk, tmpbuf); in remove_free_dqentry()
152 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_next_free = in remove_free_dqentry()
154 write_blk(h, prevblk, tmpbuf); in remove_free_dqentry()
159 freedqbuf(tmpbuf); in remove_free_dqentry()
168 dqbuf_t tmpbuf = getdqbuf(); in insert_free_dqentry() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c459 uint8_t *tmpbuf = NULL; in resize_multistep() local
462 if (!tmpbuf) { in resize_multistep()
463 tmpbuf = (uint8_t *)malloc(sizeof(uint8_t) * length); in resize_multistep()
464 otmp = tmpbuf; in resize_multistep()
485 if (tmpbuf) in resize_multistep()
486 free(tmpbuf); in resize_multistep()
520 uint8_t *tmpbuf = (uint8_t *)malloc(sizeof(uint8_t) * in vp9_resize_plane() local
529 intbuf + width2 * i, width2, tmpbuf); in vp9_resize_plane()
532 resize_multistep(arrbuf, height, arrbuf + height, height2, tmpbuf); in vp9_resize_plane()
536 free(tmpbuf); in vp9_resize_plane()
[all …]
/external/libjpeg-turbo/
Dturbojpeg.c836 JSAMPROW *tmpbuf[MAX_COMPONENTS], *tmpbuf2[MAX_COMPONENTS]; in tjEncodeYUVPlanes() local
849 tmpbuf[i]=NULL; _tmpbuf[i]=NULL; in tjEncodeYUVPlanes()
926 tmpbuf[i]=(JSAMPROW *)malloc(sizeof(JSAMPROW)*cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
927 if(!tmpbuf[i]) _throw("tjEncodeYUVPlanes(): Memory allocation failure"); in tjEncodeYUVPlanes()
932 tmpbuf[i][row]=&_tmpbuf_aligned[ in tjEncodeYUVPlanes()
962 (*cinfo->cconvert->color_convert)(cinfo, &row_pointer[row], tmpbuf, 0, in tjEncodeYUVPlanes()
964 (cinfo->downsample->downsample)(cinfo, tmpbuf, 0, tmpbuf2, 0); in tjEncodeYUVPlanes()
981 if(tmpbuf[i]!=NULL) free(tmpbuf[i]); in tjEncodeYUVPlanes()
1051 JSAMPLE *_tmpbuf=NULL, *ptr; JSAMPROW *tmpbuf[MAX_COMPONENTS]; in tjCompressFromYUVPlanes() local
1057 tmpbuf[i]=NULL; inbuf[i]=NULL; in tjCompressFromYUVPlanes()
[all …]
/external/elfutils/libelf/
Delf_getarsym.c181 char tmpbuf[17]; in elf_getarsym() local
182 memcpy (tmpbuf, index_hdr->ar_size, 10); in elf_getarsym()
183 tmpbuf[10] = '\0'; in elf_getarsym()
184 size_t index_size = atol (tmpbuf); in elf_getarsym()
/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.c339 struct wpabuf tmpbuf; in eap_ikev2_process() local
410 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
411 data->in_buf = &tmpbuf; in eap_ikev2_process()
415 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
421 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
Deap_wsc.c435 struct wpabuf tmpbuf; in eap_wsc_process() local
525 wpabuf_set(&tmpbuf, pos, end - pos); in eap_wsc_process()
526 data->in_buf = &tmpbuf; in eap_wsc_process()
546 if (data->in_buf != &tmpbuf) in eap_wsc_process()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc86 rtc::scoped_ptr<int16_t[]> tmpbuf; in ReadBuffers() local
89 tmpbuf.reset(new int16_t[num_channels * audio_buffer_size]); in ReadBuffers()
90 read_ptr = tmpbuf.get(); in ReadBuffers()
/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/libvncserver/test/
Dtjbench.c213 unsigned char **jpegbuf=NULL, *tmpbuf=NULL, *srcptr, *srcptr2; in dotest() local
219 if((tmpbuf=(unsigned char *)malloc(pitch*h)) == NULL) in dotest()
253 memcpy(&tmpbuf[pitch*i], &srcbuf[w*ps*i], w*ps); in dotest()
320 if(decomptest(srcbuf, jpegbuf, jpegsize, tmpbuf, w, h, subsamp, jpegqual, in dotest()
345 if(tmpbuf) {free(tmpbuf); tmpbuf=NULL;} in dotest()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ikev2.c359 struct wpabuf tmpbuf; in eap_ikev2_process() local
433 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
434 data->in_buf = &tmpbuf; in eap_ikev2_process()
438 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
463 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
Deap_server_wsc.c357 struct wpabuf tmpbuf; in eap_wsc_process() local
432 wpabuf_set(&tmpbuf, pos, end - pos); in eap_wsc_process()
433 data->in_buf = &tmpbuf; in eap_wsc_process()
459 if (data->in_buf != &tmpbuf) in eap_wsc_process()
Deap_server_tnc.c454 struct wpabuf tmpbuf; in eap_tnc_process() local
526 wpabuf_set(&tmpbuf, pos, end - pos); in eap_tnc_process()
527 data->in_buf = &tmpbuf; in eap_tnc_process()
534 if (data->in_buf != &tmpbuf) in eap_tnc_process()
Deap_server_tls_common.c393 wpabuf_set(&data->tmpbuf, *pos, end - *pos); in eap_server_tls_reassemble()
394 data->tls_in = &data->tmpbuf; in eap_server_tls_reassemble()
403 if (data->tls_in != &data->tmpbuf) in eap_server_tls_free_in_buf()
/external/svox/pico/lib/
Dpicosa.c190 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */ member
952 sa->tmpbuf[phonesind--] = (picoos_uint8)dtresv.classvec[i]; in saDoG2P()
997 phones[i] = sa->tmpbuf[phonesind]; in saDoG2P()
1221 (rv = picodata_cbGetItem(this->cbIn, sa->tmpbuf, in saStep()
1223 rvP = picodata_get_itemparts(sa->tmpbuf, in saStep()
1543 sa->headx[sa->headxBottom].head.len, sa->tmpbuf, in saStep()
1562 sa->tmpbuf, PICOSA_MAXITEMSIZE); in saStep()
1687 sa->tmpbuf[phonWritePos++] = (picoos_uint8) sym; in saStep()
1690 … picodata_set_itemlen(sa->tmpbuf,PICODATA_ITEM_HEADSIZE,phonWritePos - PICODATA_ITEM_HEADSIZE); in saStep()
1700 rvP = picodata_cbPutItem(this->cbOut, sa->tmpbuf, in saStep()
[all …]
Dpicoacph.c139 picoos_uint8 tmpbuf[PICODATA_MAX_ITEMSIZE]; /* tmp. location for an item */ member
983 rv = picodata_put_itemparts(&tmphead, NULL, 0, acph->tmpbuf, in acphPutBoundItem()
991 rv = picodata_cbPutItem(this->cbOut, acph->tmpbuf, blen, &blen); in acphPutBoundItem()
1005 (picoos_uint8 *)"acph: ", acph->tmpbuf, blen); in acphPutBoundItem()
1077 (rv = picodata_cbGetItem(this->cbIn, acph->tmpbuf, in acphStep()
1079 rvP = picodata_get_itemparts(acph->tmpbuf, in acphStep()
1366 acph->tmpbuf, PICODATA_MAX_ITEMSIZE, in acphStep()
1369 rvP = picodata_cbPutItem(this->cbOut, acph->tmpbuf, in acphStep()
1395 acph->tmpbuf, PICODATA_MAX_ITEMSIZE); in acphStep()
/external/e2fsprogs/intl/
Dvasnprintf.c271 CHAR_T tmpbuf[700]; in VASNPRINTF() local
485 if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T)) in VASNPRINTF()
486 tmp = tmpbuf; in VASNPRINTF()
837 if (tmp != tmpbuf) in VASNPRINTF()

12