/external/elfutils/libasm/ |
asm_adduleb128.c | 55 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local 56 char *dest = tmpbuf; 74 size_t nbytes = dest - tmpbuf; 82 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
|
asm_addsleb128.c | 55 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local 56 char *dest = tmpbuf; 78 size_t nbytes = dest - tmpbuf; 86 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_verify_hash.c | 41 unsigned char *tmpbuf; local 75 tmpbuf = XMALLOC(siglen); 76 if (tmpbuf == NULL) { 82 if ((err = ltc_mp.rsa_me(sig, siglen, tmpbuf, &x, PK_PUBLIC, key)) != CRYPT_OK) { 83 XFREE(tmpbuf); 89 XFREE(tmpbuf); 95 err = pkcs_1_pss_decode(hash, hashlen, tmpbuf, x, saltlen, hash_idx, modulus_bitlen, stat); 117 if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded)) != CRYPT_OK) { 134 LTC_SET_ASN1(siginfo, 1, LTC_ASN1_OCTET_STRING, tmpbuf, siglen); 157 zeromem(tmpbuf, siglen) [all...] |
rsa_import.c | 31 unsigned char *tmpbuf; local 47 tmpbuf = XCALLOC(1, MAX_RSA_SIZE*8); 48 if (tmpbuf == NULL) { 61 LTC_SET_ASN1(ssl_pubkey, 1, LTC_ASN1_BIT_STRING, tmpbuf, MAX_RSA_SIZE*8); 68 y = (y << 1) | tmpbuf[x]; 70 tmpbuf[t++] = (unsigned char)y; 77 if ((err = der_decode_sequence_multi(tmpbuf, t, 81 XFREE(tmpbuf); 84 XFREE(tmpbuf); 88 XFREE(tmpbuf); [all...] |
/external/speex/libspeex/ |
kiss_fftr.c | 25 kiss_fft_cpx * tmpbuf; member in struct:kiss_fftr_state 58 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); 59 st->super_twiddles = st->tmpbuf + nfft; 94 kiss_fft( st->substate , (const kiss_fft_cpx*)timedata, st->tmpbuf ); 95 /* The real part of the DC element of the frequency spectrum in st->tmpbuf 105 tdc.r = st->tmpbuf[0].r; 106 tdc.i = st->tmpbuf[0].i; 119 fpk = st->tmpbuf[k]; 120 fpnk.r = st->tmpbuf[ncfft-k].r; 121 fpnk.i = - st->tmpbuf[ncfft-k].i [all...] |
/bootable/bootloader/legacy/nandwrite/ |
nandwrite.c | 131 static unsigned char *tmpbuf = 0; variable 137 if(tmpbuf == 0) { 138 tmpbuf = alloc(4096); 156 if(flash_read_page(p->start * 64, tmpbuf, tmpbuf + 2048)){ 163 hexdump(tmpbuf, 256); 165 hexdump(tmpbuf, 16);
|
/external/openssl/crypto/des/ |
enc_read.c | 102 static unsigned char *tmpbuf=NULL; 107 if (tmpbuf == NULL) 109 tmpbuf=OPENSSL_malloc(BSIZE); 110 if (tmpbuf == NULL) return(-1); 217 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv, 220 DES_cbc_encrypt(net,tmpbuf,num,sched,iv, 225 memcpy(buf,tmpbuf,num);
|
/external/elfutils/src/ |
arlib.c | 68 char tmpbuf[sizeof (ar_hdr.ar_date) + 1]; local 69 memcpy (ar_hdr.ar_date, tmpbuf, 70 snprintf (tmpbuf, sizeof (tmpbuf), "%-*lld", 116 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1]; local 130 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, 131 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu", 177 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf, 178 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu" [all...] |
ar.c | 840 char tmpbuf[sizeof (arhdr.ar_name) + 1]; local 849 snprintf (tmpbuf, sizeof (tmpbuf), "/%-*ld", 851 changed_header = memcmp (arhdr.ar_name, tmpbuf, 873 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); 1071 char tmpbuf[bufsize + 1]; local 1072 snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val); 1073 memcpy (buf, tmpbuf, bufsize); 1440 char tmpbuf[sizeof (arhdr.ar_name) + 1]; local [all...] |
/bionic/libc/netbsd/inet/ |
nsap_addr.c | 93 static char tmpbuf[2+255*3]; local 101 ascii = tmpbuf; 102 start = tmpbuf;
|
/external/elfutils/libcpu/ |
i386_data.h | 182 char tmpbuf[sizeof ("-0x1234(%rr,%rr)")]; local 185 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx16, disp); 190 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx16, 194 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%b%c,%%%ci)", 197 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%%s)", 204 memcpy (&bufp[*bufcntp], tmpbuf, n + 1) 224 char tmpbuf[sizeof ("-0x12345678(%rrrr)")]; local 298 char tmpbuf[sizeof ("-0x12345678(%rrrr,%rrrr,N)")]; local [all...] |
/external/openssl/crypto/rand/ |
rand_unix.c | 242 unsigned char tmpbuf[ENTROPY_NEEDED]; local 347 r = read(fd,(unsigned char *)tmpbuf+n, ENTROPY_NEEDED-n); 383 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n, 393 RAND_add(tmpbuf,sizeof tmpbuf,(double)n); 394 OPENSSL_cleanse(tmpbuf,n);
|
/external/openssl/apps/ |
asn1pars.c | 96 unsigned char *tmpbuf; local 307 tmpbuf=(unsigned char *)str; 319 tmpbuf+=j; 322 ctmpbuf = tmpbuf; 341 tmpbuf=at->value.asn1_string->data; 344 str=(char *)tmpbuf;
|
/external/bluetooth/bluez/src/ |
sdpd-request.c | 786 sdp_buf_t tmpbuf; local 789 tmpbuf.data = NULL; 850 tmpbuf.data = malloc(USHRT_MAX); 851 tmpbuf.data_size = 0; 852 tmpbuf.buf_size = USHRT_MAX; 853 memset(tmpbuf.data, 0, USHRT_MAX); 873 status = extract_attrs(rec, seq, &tmpbuf); 876 SDPDBG("Local PDU size : %d", tmpbuf.data_size); 881 if (buf->data_size + tmpbuf.data_size < buf->buf_size) { 883 sdp_append_to_buf(buf, tmpbuf.data, tmpbuf.data_size) [all...] |
/external/elfutils/libelf/ |
elf_getarsym.c | 176 char tmpbuf[17]; local 177 memcpy (tmpbuf, index_hdr->ar_size, 10); 178 tmpbuf[10] = '\0'; 179 size_t index_size = atol (tmpbuf);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tls_common.h | 31 struct wpabuf tmpbuf; member in struct:eap_ssl_data
|
eap_ikev2.c | 354 struct wpabuf tmpbuf; local 426 wpabuf_set(&tmpbuf, pos, end - pos); 427 data->in_buf = &tmpbuf; 431 if (data->in_buf == &tmpbuf) 456 if (data->in_buf != &tmpbuf)
|
eap_tls_common.c | 322 wpabuf_set(&data->tmpbuf, *pos, end - *pos); 323 data->in_buf = &data->tmpbuf; 332 if (data->in_buf != &data->tmpbuf)
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_tls_common.h | 52 struct wpabuf tmpbuf; member in struct:eap_ssl_data
|
eap_server_ikev2.c | 349 struct wpabuf tmpbuf; local 421 wpabuf_set(&tmpbuf, pos, end - pos); 422 data->in_buf = &tmpbuf; 426 if (data->in_buf == &tmpbuf) 451 if (data->in_buf != &tmpbuf)
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_ikev2.c | 337 struct wpabuf tmpbuf; local 411 wpabuf_set(&tmpbuf, pos, end - pos); 412 data->in_buf = &tmpbuf; 416 if (data->in_buf == &tmpbuf) 422 if (data->in_buf != &tmpbuf)
|
eap_tnc.c | 217 struct wpabuf tmpbuf; local 289 wpabuf_set(&tmpbuf, pos, end - pos); 290 data->in_buf = &tmpbuf; 344 if (data->in_buf != &tmpbuf) 409 if (data->in_buf == &tmpbuf)
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_ikev2.c | 331 struct wpabuf tmpbuf; local 405 wpabuf_set(&tmpbuf, pos, end - pos); 406 data->in_buf = &tmpbuf; 410 if (data->in_buf == &tmpbuf) 416 if (data->in_buf != &tmpbuf)
|
eap_tnc.c | 211 struct wpabuf tmpbuf; local 283 wpabuf_set(&tmpbuf, pos, end - pos); 284 data->in_buf = &tmpbuf; 338 if (data->in_buf != &tmpbuf) 403 if (data->in_buf == &tmpbuf)
|
/external/srec/srec/cfront/ |
spec_anl.c | 423 fftdata *tmpbuf; local 431 tmpbuf = (fftdata *) CALLOC(ns, sizeof(fftdata), "cfront.tmpbuf"); 460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]); 464 tmpbuf[i] = inbuf[ns-1]; 476 inbuf[i] = tmpbuf[i]; 478 FREE((char *) tmpbuf);
|