/external/dropbear/ |
H A D | fake-rfc2553.c | 105 freeaddrinfo(struct addrinfo *ai) argument 109 for(; ai != NULL;) { 110 next = ai->ai_next; 111 free(ai); 112 ai = next; 121 struct addrinfo *ai; local 123 ai = malloc(sizeof(*ai) + sizeof(struct sockaddr_in)); 124 if (ai == NULL) 127 memset(ai, '\ [all...] |
/external/chromium/net/base/ |
H A D | address_list.cc | 127 struct addrinfo* ai = new addrinfo; local 128 memset(ai, 0, sizeof(addrinfo)); 130 ai->ai_family = AF_INET6; 131 ai->ai_socktype = SOCK_STREAM; 132 ai->ai_addrlen = sizeof(struct sockaddr_in6); 135 new char[ai->ai_addrlen]); 138 ai->ai_addr = reinterpret_cast<struct sockaddr*>(addr6); 142 return AddressList(new Data(ai, false /*is_system_created*/));
|
H A D | address_list.h | 55 Data(struct addrinfo* ai, bool is_system_created) argument 56 : head(ai), is_system_created(is_system_created) {}
|
H A D | host_resolver_proc.cc | 162 struct addrinfo* ai = NULL; local 211 int err = getaddrinfo(host.c_str(), NULL, &hints, &ai); 219 err = getaddrinfo(host.c_str(), NULL, &hints, &ai); 226 addrlist->Adopt(ai);
|
H A D | net_util_unittest.cc | 378 struct addrinfo* ai = &static_ai; local 379 ai->ai_socktype = SOCK_STREAM; 380 memset(ai, 0, sizeof(static_ai)); 382 ai->ai_family = AF_INET; 383 ai->ai_addrlen = sizeof(static_addr4); 388 addr4->sin_family = ai->ai_family; 391 ai->ai_addr = (sockaddr*)addr4; 392 return ai; 402 struct addrinfo* ai = &static_ai; local 403 ai 1223 const addrinfo* ai = GetIPv4Address(tests[i].addr); local 1240 const addrinfo* ai = GetIPv6Address(tests[i].addr); local [all...] |
/external/openssl/crypto/asn1/ |
H A D | a_enum.c | 138 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) argument 143 if (ai == NULL) 146 ret=ai; 170 if (ret != ai) M_ASN1_ENUMERATED_free(ret); 174 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn) argument 178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) 180 else if(ai->type == V_ASN1_NEG_ENUMERATED) BN_set_negative(ret,1);
|
H A D | evp_asn1.c | 142 ASN1_INTEGER *ai=NULL; local 162 if ((ai=d2i_ASN1_INTEGER(NULL,&c.p,c.slen)) == NULL) goto err; 170 *num=ASN1_INTEGER_get(ai); 186 if (ai != NULL) M_ASN1_INTEGER_free(ai);
|
H A D | a_int.c | 405 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) argument 410 if (ai == NULL) 413 ret=ai; 443 if (ret != ai) M_ASN1_INTEGER_free(ret); 447 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) argument 451 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) 453 else if(ai->type == V_ASN1_NEG_INTEGER)
|
/external/openssl/crypto/bn/asm/ |
H A D | co-586.pl | 18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 23 &comment("mul a[$ai]*b[$bi]"); 26 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 51 &comment("sqr a[$ai]*a[$bi]"); 54 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 57 if ($ai == $bi) 75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 80 &comment("sqr a[$ai]*a[$bi]"); 83 # &mov("eax",&DWP($ai* [all...] |
/external/openssl/crypto/bn/asm/x86/ |
H A D | comba.pl | 6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 11 &comment("mul a[$ai]*b[$bi]"); 14 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 39 &comment("sqr a[$ai]*a[$bi]"); 42 # &mov("eax",&DWP($ai*4,$a,"",0)) ; 45 if ($ai == $bi) 63 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 68 &comment("sqr a[$ai]*a[$bi]"); 71 # &mov("eax",&DWP($ai* [all...] |
/external/openssl/ssl/ |
H A D | ssl_asn1.c | 362 ASN1_INTEGER ai,*aip; local 366 aip= &ai; 372 ai.data=NULL; ai.length=0; 375 if (ai.data != NULL) { OPENSSL_free(ai.data); ai.data=NULL; ai.length=0; } 381 if (ai.data != NULL) { OPENSSL_free(ai [all...] |
/external/qemu/ |
H A D | qemu-sockets.c | 94 struct addrinfo ai,*res,*e; local 102 memset(&ai,0, sizeof(ai)); 103 ai.ai_flags = AI_PASSIVE | AI_ADDRCONFIG; 104 ai.ai_family = PF_UNSPEC; 105 ai.ai_socktype = socktype; 123 ai.ai_family = PF_INET6; 131 ai.ai_family = PF_INET; 146 ai.ai_family = PF_INET; 148 ai 229 struct addrinfo ai,*res,*e; local [all...] |
/external/tcpdump/missing/ |
H A D | getaddrinfo.c | 213 #define GET_AI(ai, afd, addr) \ 216 (ai) = get_ai(pai, (afd), (addr)); \ 217 if ((ai) == NULL) { \ 223 #define GET_PORT(ai, serv) \ 226 error = get_port((ai), (serv), 0); \ 231 #define GET_CANONNAME(ai, str) \ 234 error = get_canonname(pai, (ai), (str)); \ 261 freeaddrinfo(ai) 262 struct addrinfo *ai; 267 next = ai 297 struct addrinfo ai; local 995 struct addrinfo *ai; local [all...] |
/external/chromium/third_party/icu/source/tools/genrb/ |
H A D | rle.c | 241 int32_t ai = 0; local 269 target[ai++] = c; 275 target[ai++] = runValue; 280 target[ai++] = c; 284 if (ai != length){ 303 int32_t ai=0; local 325 for (; ai<tgtLen; ) { 354 target[ai++] = b; 362 target[ai++] = ESCAPE_BYTE; 377 if(ai<tgtLe [all...] |
/external/icu4c/tools/genrb/ |
H A D | rle.c | 241 int32_t ai = 0; local 269 target[ai++] = c; 275 target[ai++] = runValue; 280 target[ai++] = c; 284 if (ai != length){ 303 int32_t ai=0; local 325 for (; ai<tgtLen; ) { 354 target[ai++] = b; 362 target[ai++] = ESCAPE_BYTE; 377 if(ai<tgtLe [all...] |
/external/chromium/net/tools/hresolv/ |
H A D | hresolv.cc | 126 std::string FormatAddrinfoDetails(const struct addrinfo& ai, argument 128 std::string ai_flags = FormatAddrinfoFlags(ai.ai_flags); 129 const char* ai_family = FormatAddrinfoFamily(ai.ai_family); 130 const char* ai_socktype = FormatAddrinfoSocktype(ai.ai_socktype); 131 const char* ai_protocol = FormatAddrinfoProtocol(ai.ai_protocol); 132 std::string ai_addr = net::NetAddressToString(&ai); 134 if (ai.ai_canonname) { 137 ai.ai_canonname); 153 indent, ai.ai_addrlen,
|
/external/ipsec-tools/src/racoon/ |
H A D | kmpstat.c | 212 struct addrinfo hint, *ai; local 220 error = getaddrinfo(name, port, &hint, &ai); 226 return ai->ai_addr;
|
/external/chromium/net/socket/ |
H A D | tcp_client_socket_win.cc | 322 const struct addrinfo* ai = current_ai_; local 323 DCHECK(ai); 325 int rv = CreateSocket(ai); 340 if (!connect(socket_, ai->ai_addr, static_cast<int>(ai->ai_addrlen))) { 542 int TCPClientSocketWin::CreateSocket(const struct addrinfo* ai) { argument 543 socket_ = WSASocket(ai->ai_family, ai->ai_socktype, ai->ai_protocol, NULL, 0,
|
H A D | tcp_client_socket_win.h | 48 int CreateSocket(const struct addrinfo* ai);
|
H A D | socks_client_socket.cc | 265 const struct addrinfo* ai = addresses_.head(); local 266 DCHECK(ai); 270 reinterpret_cast<struct sockaddr_in*>(ai->ai_addr); 273 DLOG(INFO) << "Resolved Host is : " << NetAddressToString(ai);
|
H A D | tcp_client_socket_libevent.cc | 350 int TCPClientSocketLibevent::CreateSocket(const addrinfo* ai) { argument 351 socket_ = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
|
H A D | tcp_client_socket_libevent.h | 97 int CreateSocket(const struct addrinfo* ai);
|
/external/openssl/crypto/x509/ |
H A D | x509_cmp.c | 70 X509_CINF *ai,*bi; local 72 ai=a->cert_info; 74 i=M_ASN1_INTEGER_cmp(ai->serialNumber,bi->serialNumber); 76 return(X509_NAME_cmp(ai->issuer,bi->issuer));
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
H A D | driver_osx.m | 203 CFDictionaryRef ai; 211 ai = WirelessGetAssociationInfo(drv->wireless_ctx); 212 if (ai) { 213 wpa_driver_osx_dump_dict(ai, "WirelessGetAssociationInfo"); 214 CFRelease(ai);
|
/external/chromium/third_party/libevent/ |
H A D | http.c | 154 fake_getaddrinfo(const char *hostname, struct addrinfo *ai) argument 163 ai->ai_family = he ? he->h_addrtype : AF_INET; 164 ai->ai_socktype = SOCK_STREAM; 165 ai->ai_protocol = 0; 166 ai->ai_addrlen = sizeof(struct sockaddr_in); 167 if (NULL == (ai->ai_addr = malloc(ai->ai_addrlen))) 169 sa = (struct sockaddr_in*)ai->ai_addr; 170 memset(sa, 0, ai->ai_addrlen); 178 ai 182 fake_freeaddrinfo(struct addrinfo *ai) argument 2682 bind_socket_ai(struct addrinfo *ai, int reuse) argument 2731 struct addrinfo ai; local 2749 static struct addrinfo ai[2]; /* We will be returning the address of some of this memory so it has to last even after this call. */ local 2792 struct addrinfo *ai = make_addrinfo(address, port); local [all...] |