Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 25 of 41) 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/elfutils/src/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.c860 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in write_member() local
869 snprintf (tmpbuf, sizeof (tmpbuf), "/%-*ld", in write_member()
871 changed_header = memcmp (arhdr.ar_name, tmpbuf, in write_member()
893 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in write_member()
1091 char tmpbuf[bufsize + 1]; in no0print() local
1092 snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val); in no0print()
1093 memcpy (buf, tmpbuf, bufsize); in no0print()
1462 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in do_oper_insert() local
1472 snprintf (tmpbuf, sizeof (arhdr.ar_name) + 1, "/%-*ld", in do_oper_insert()
1474 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in do_oper_insert()
/external/elfutils/src/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/src/libasm/
Dasm_adduleb128.c58 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local
59 char *dest = tmpbuf;
77 size_t nbytes = dest - tmpbuf;
85 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
Dasm_addsleb128.c58 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local
59 char *dest = tmpbuf;
81 size_t nbytes = dest - tmpbuf;
89 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
/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/marisa-trie/lib/marisa/
Dbase.h197 char tmpbuf[100]; in android_log_exception() local
198 snprintf(tmpbuf, sizeof(tmpbuf), "marisa exception: %d", status); in android_log_exception()
199 __android_log_write(ANDROID_LOG_ERROR, "marisa-trie", tmpbuf); in android_log_exception()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c455 uint8_t *tmpbuf = NULL; in resize_multistep() local
458 if (!tmpbuf) { in resize_multistep()
459 tmpbuf = (uint8_t *)malloc(sizeof(uint8_t) * length); in resize_multistep()
460 otmp = tmpbuf; in resize_multistep()
481 if (tmpbuf) in resize_multistep()
482 free(tmpbuf); in resize_multistep()
516 uint8_t *tmpbuf = (uint8_t *)malloc(sizeof(uint8_t) * in vp9_resize_plane() local
521 intbuf + width2 * i, width2, tmpbuf); in vp9_resize_plane()
524 resize_multistep(arrbuf, height, arrbuf + height, height2, tmpbuf); in vp9_resize_plane()
528 free(tmpbuf); in vp9_resize_plane()
/external/elfutils/src/libelf/
Delf_getarsym.c180 char tmpbuf[17]; local
181 memcpy (tmpbuf, index_hdr->ar_size, 10);
182 tmpbuf[10] = '\0';
183 size_t index_size = atol (tmpbuf);
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c211 struct wpabuf tmpbuf; in eap_tnc_process() local
284 wpabuf_set(&tmpbuf, pos, end - pos); in eap_tnc_process()
285 data->in_buf = &tmpbuf; in eap_tnc_process()
339 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.c439 struct wpabuf tmpbuf; in eap_wsc_process() local
529 wpabuf_set(&tmpbuf, pos, end - pos); in eap_wsc_process()
530 data->in_buf = &tmpbuf; in eap_wsc_process()
550 if (data->in_buf != &tmpbuf) in eap_wsc_process()
/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.c384 wpabuf_set(&data->tmpbuf, *pos, end - *pos); in eap_server_tls_reassemble()
385 data->tls_in = &data->tmpbuf; in eap_server_tls_reassemble()
394 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/libvncserver/x11vnc/misc/turbovnc/
Dtight.c1409 unsigned char *tmpbuf=NULL; local
1443 if((tmpbuf=(unsigned char *)malloc(w*h*3))==NULL)
1448 dst = tmpbuf;
1470 srcbuf = tmpbuf;
1486 if(tmpbuf) {free(tmpbuf); tmpbuf=NULL;}
1491 if(tmpbuf) {free(tmpbuf); tmpbuf=NULL;}
/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()
/external/elfutils/src/libdwfl/
Drelocate.c419 union { TYPES; } tmpbuf; in relocate_section() local
424 .d_buf = &tmpbuf, in relocate_section()
445 tmpbuf.Name = value; \ in relocate_section()
465 tmpbuf.Name += (GElf_##Name) value; \ in relocate_section()

12