/system/core/libcutils/ |
socket_loopback_client.c | 40 socklen_t alen; local
|
socket_network_client.c | 43 socklen_t alen; local
|
socket_inaddr_any_server.c | 39 size_t alen; local
|
socket_loopback_server.c | 39 size_t alen; local
|
socket_local_client.c | 46 struct sockaddr_un *p_addr, socklen_t *alen) 111 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; 128 socklen_t alen; local 132 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 138 if(connect(fd, (struct sockaddr *) &addr, alen) < 0) {
|
socket_local_server.c | 56 socklen_t alen; local 60 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 80 if(bind(s, (struct sockaddr *) &addr, alen) < 0) {
|
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
dhtest.c | 103 int i,alen,blen,aout,bout,ret=1; local 166 alen=DH_size(a); 167 abuf=(unsigned char *)OPENSSL_malloc(alen);
|
/external/openssl/crypto/dh/ |
dhtest.c | 103 int i,alen,blen,aout,bout,ret=1; local 166 alen=DH_size(a); 167 abuf=(unsigned char *)OPENSSL_malloc(alen);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ecdh/ |
ecdhtest.c | 131 int i,alen,blen,aout,bout,ret=0; local 209 alen=KDF1_SHA1_len; 210 abuf=(unsigned char *)OPENSSL_malloc(alen); 211 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1);
|
/external/ipsec-tools/src/racoon/ |
isakmp_unity.c | 208 int alen = ntohs(attr->lorv); local 217 if (alen) 218 count = alen / sizeof(struct unity_network); 231 if (alen) 232 count = alen / sizeof(struct unity_network);
|
/external/openssh/ |
auth2-hostbased.c | 63 u_int alen, blen, slen; local 71 pkalg = packet_get_string(&alen); 112 buffer_put_string(&b, pkalg, alen);
|
auth2-pubkey.c | 74 u_int alen, blen, slen; local 90 pkalg = buffer_get_string(&b, &alen); 93 pkalg = packet_get_string(&alen); 162 packet_put_string(pkalg, alen);
|
/external/openssl/crypto/ecdh/ |
ecdhtest.c | 131 int i,alen,blen,aout,bout,ret=0; local 209 alen=KDF1_SHA1_len; 210 abuf=(unsigned char *)OPENSSL_malloc(alen); 211 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1);
|
/system/core/libsysutils/src/ |
SocketListener.cpp | 189 socklen_t alen; local 193 alen = sizeof(addr); 194 c = accept(mSock, &addr, &alen);
|
/bionic/linker/ |
debugger.cpp | 88 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; local 95 int err = TEMP_FAILURE_RETRY(connect(s, (sockaddr*) &addr, alen));
|
/external/icu4c/samples/uresb/ |
uresb.c | 187 int alen = len; local 195 ++alen; 200 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr));
|
/external/iproute2/lib/ |
ll_map.c | 34 unsigned short alen; member in struct:ll_cache 83 int alen; local 84 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]); 85 if (alen > sizeof(im->addr)) 86 alen = sizeof(im->addr); 87 memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen); 89 im->alen = 0; 145 unsigned alen) 154 if (alen > sizeof(im->addr) [all...] |
libnetlink.c | 554 int alen) 556 int len = RTA_LENGTH(alen); 566 memcpy(RTA_DATA(rta), data, alen); local 635 const void *data, int alen) 638 int len = RTA_LENGTH(alen); 647 memcpy(RTA_DATA(subrta), data, alen); local
|
/system/core/adb/ |
adb_auth_client.c | 232 socklen_t alen; local 235 alen = sizeof(addr); 237 s = adb_socket_accept(fd, &addr, &alen);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
genperf.c | 160 ub4 alen; /* a in 0..alen-1, a power of 2 */ local 197 findhash(&tab, &tabh, &alen, &blen, &salt, &final,
|
/external/dhcpcd/ |
if-linux.c | 439 const void *data, int alen) 441 int len = RTA_LENGTH(alen); 452 memcpy(RTA_DATA(rta), data, alen); local
|
/external/libpng/contrib/gregbook/ |
rpng-win.c | 145 int rc, alen, flen; local 353 alen = strlen(appname); 355 if (alen + flen + 3 > 1023) 356 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023));
|
/external/libppp/src/ |
chap.c | 700 u_char alen; local 746 bp = mbuf_Read(bp, &alen, 1); 747 len -= alen + 1; 753 *chap->challenge.peer = alen; 754 bp = mbuf_Read(bp, chap->challenge.peer + 1, alen); 768 bp = mbuf_Read(bp, &alen, 1); 769 len -= alen + 1; 775 if ((ans = malloc(alen + 1)) == NULL) { 781 bp = mbuf_Read(bp, ans + 1, alen); 785 alen == 49 && ans[alen] == 0 [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.c | 501 size_t alen, plen, i, list_len; local 528 alen = pos[1] * 4 - 2; 530 apos, alen); 536 alen -= 2; 537 if ((!aka && (alen % GSM_RAND_LEN)) || 538 (aka && alen != EAP_AKA_RAND_LEN)) { 541 (unsigned long) alen); 545 attr->num_chal = alen / GSM_RAND_LEN; 555 alen -= 2; 556 if (alen != EAP_AKA_AUTN_LEN) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gpsk.c | 242 u16 alen; local 261 alen = WPA_GET_BE16(pos); 263 if (end - pos < alen) { 270 data->id_peer = os_malloc(alen); 273 "%d-octet ID_Peer", alen); 276 os_memcpy(data->id_peer, pos, alen); 277 data->id_peer_len = alen; 280 pos += alen; 288 alen = WPA_GET_BE16(pos); 290 if (end - pos < alen) { 460 u16 alen; local [all...] |