/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) {
|
/bionic/linker/ |
debugger.c | 54 socklen_t alen; local 76 alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; 81 RETRY_ON_EINTR(err,connect(s, (struct sockaddr *) &addr, 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/iproute2/lib/ |
ll_map.c | 32 int alen; member in struct:idxmap 78 int alen; local 79 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]); 80 if (alen > sizeof(im->addr)) 81 alen = sizeof(im->addr); 82 memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen); 84 im->alen = 0; 138 unsigned alen) 147 if (alen > sizeof(im->addr) [all...] |
libnetlink.c | 545 int alen) 547 int len = RTA_LENGTH(alen); 557 memcpy(RTA_DATA(rta), data, alen); local 626 const void *data, int alen) 629 int len = RTA_LENGTH(alen); 638 memcpy(RTA_DATA(subrta), data, alen); local
|
/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/openssl/crypto/ecdh/ |
ecdhtest.c | 131 int i,alen,blen,aout,bout,ret=0; local 205 alen=KDF1_SHA1_len; 206 abuf=(unsigned char *)OPENSSL_malloc(alen); 207 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1);
|
/external/quake/quake/src/QW/qwfwd/ |
qwfwd.c | 171 int alen;
local 212 alen = sizeof(fsin);
213 i1 = recvfrom(s, buffer, 4096, 0, (struct sockaddr *) &fsin, &alen);
|
/system/core/libsysutils/src/ |
SocketListener.cpp | 181 socklen_t alen; local 185 alen = sizeof(addr); 186 c = accept(mSock, &addr, &alen);
|
/bionic/libc/bionic/ |
system_properties.c | 162 socklen_t alen; local 177 alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1; 179 if(TEMP_FAILURE_RETRY(connect(s, (struct sockaddr *) &addr, alen) < 0)) {
|
/external/bluetooth/bluez/compat/ |
dun.c | 190 socklen_t alen; local 198 alen = sizeof(sa); 199 if (getpeername(sk, (struct sockaddr *) &sa, &alen) < 0) 203 alen = sizeof(sa); 204 if (getsockname(sk, (struct sockaddr *) &sa, &alen) < 0)
|
dund.c | 162 socklen_t alen = sizeof(sa); local 167 nsk = accept(sk, (struct sockaddr *) &sa, &alen);
|
/external/icu4c/samples/uresb/ |
uresb.c | 187 int alen = len; local 195 ++alen; 200 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr));
|
/system/core/adb/ |
transport_local.c | 158 socklen_t alen; local 174 alen = sizeof(addr); 176 fd = adb_socket_accept(serverfd, &addr, &alen);
|
/external/dhcpcd/ |
if-linux.c | 420 const void *data, int alen) 422 int len = RTA_LENGTH(alen); 433 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/wpa_supplicant/ |
eap_sim_common.c | 236 size_t alen, plen, i, list_len; local 263 alen = pos[1] * 4 - 2; 265 apos, alen); 271 alen -= 2; 272 if ((!aka && (alen % GSM_RAND_LEN)) || 273 (aka && alen != EAP_AKA_RAND_LEN)) { 276 (unsigned long) alen); 280 attr->num_chal = alen / GSM_RAND_LEN; 290 alen -= 2; 291 if (alen != EAP_AKA_AUTN_LEN) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_sim_common.c | 506 size_t alen, plen, i, list_len; local 533 alen = pos[1] * 4 - 2; 535 apos, alen); 541 alen -= 2; 542 if ((!aka && (alen % GSM_RAND_LEN)) || 543 (aka && alen != EAP_AKA_RAND_LEN)) { 546 (unsigned long) alen); 550 attr->num_chal = alen / GSM_RAND_LEN; 560 alen -= 2; 561 if (alen != EAP_AKA_AUTN_LEN) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_gpsk.c | 255 u16 alen; local 274 alen = WPA_GET_BE16(pos); 276 if (end - pos < alen) { 283 data->id_peer = os_malloc(alen); 286 "%d-octet ID_Peer", alen); 289 os_memcpy(data->id_peer, pos, alen); 290 data->id_peer_len = alen; 293 pos += alen; 301 alen = WPA_GET_BE16(pos); 303 if (end - pos < alen) { 473 u16 alen; local [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.c | 507 size_t alen, plen, i, list_len; local 534 alen = pos[1] * 4 - 2; 536 apos, alen); 542 alen -= 2; 543 if ((!aka && (alen % GSM_RAND_LEN)) || 544 (aka && alen != EAP_AKA_RAND_LEN)) { 547 (unsigned long) alen); 551 attr->num_chal = alen / GSM_RAND_LEN; 561 alen -= 2; 562 if (alen != EAP_AKA_AUTN_LEN) [all...] |