/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
host_resolver.cc | 120 hostent_.h_addr_list = 122 if (NULL == hostent_.h_addr_list) 135 hostent_.h_addr_list[i] = static_cast<char*>(malloc(hostent_.h_length)); 136 if (NULL == hostent_.h_addr_list[i]) 138 memcpy(hostent_.h_addr_list[i], addr_struct.addr, hostent_.h_length); 143 hostent_.h_addr_list[i] = static_cast<char*>(malloc(hostent_.h_length)); 144 if (NULL == hostent_.h_addr_list[i]) 146 memcpy(hostent_.h_addr_list[i], addr_struct.addr, hostent_.h_length); 164 if (NULL != hostent_.h_addr_list) { 165 for (int i = 0; NULL != hostent_.h_addr_list[i]; i++) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 56 *reinterpret_cast<uint32*>(result_->h_addr_list[0]))); 85 while (ent->h_addr_list[num_addrs]) { 114 result->h_addr_list = reinterpret_cast<char**>(p); 117 result->h_addr_list[i] = p; 118 memcpy(p, ent->h_addr_list[i], ent->h_length); 121 result->h_addr_list[num_addrs] = NULL;
|
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
b_sock.c | 160 ip[i]=he->h_addr_list[0][i]; 314 for (i=0; a->h_addr_list[i] != NULL; i++) 317 ret->h_addr_list=(char **)OPENSSL_malloc(i*sizeof(char *)); 318 if (ret->h_addr_list == NULL) 320 memset(ret->h_addr_list, 0, i*sizeof(char *)); 333 for (i=0; a->h_addr_list[i] != NULL; i++) 335 if ((ret->h_addr_list[i]=OPENSSL_malloc(a->h_length)) == NULL) 337 memcpy(ret->h_addr_list[i],a->h_addr_list[i],a->h_length); 363 if (a->h_addr_list != NULL [all...] |
/external/openssl/crypto/bio/ |
b_sock.c | 160 ip[i]=he->h_addr_list[0][i]; 314 for (i=0; a->h_addr_list[i] != NULL; i++) 317 ret->h_addr_list=(char **)OPENSSL_malloc(i*sizeof(char *)); 318 if (ret->h_addr_list == NULL) 320 memset(ret->h_addr_list, 0, i*sizeof(char *)); 333 for (i=0; a->h_addr_list[i] != NULL; i++) 335 if ((ret->h_addr_list[i]=OPENSSL_malloc(a->h_length)) == NULL) 337 memcpy(ret->h_addr_list[i],a->h_addr_list[i],a->h_length); 363 if (a->h_addr_list != NULL [all...] |
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 146 if ((my_hostent->h_addr_list == NULL) || (*my_hostent->h_addr_list == NULL)) { 151 char **current = my_hostent->h_addr_list;
|
/external/dropbear/ |
fake-rfc2553.c | 202 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 206 for (i = 0; hp->h_addr_list[i]; i++) { 207 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i];
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 214 for (i = 0; hp->h_addr_list[i]; i++) { 215 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i];
|
/development/ndk/platforms/android-3/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/development/ndk/sources/android/libportable/common/include/ |
netdb_portable.h | 98 char **h_addr_list; /* list of addresses from name server */ 99 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 89 char **h_addr_list; /* list of addresses from name server */ member in struct:hostent 90 #define h_addr h_addr_list[0] /* address, for backward compatibility */
|