Searched defs:he (Results 1 - 25 of 33) sorted by relevance

12

/external/curl/tests/server/
H A Dresolve.c112 struct hostent *he; local
114 he = gethostbyname(host);
116 rc = !he;
/external/chromium-libpac/src/
H A Dproxy_resolver_js_bindings.cc66 struct hostent* he = gethostbyname(host.c_str()); local
68 if (he == NULL || he->h_addr == NULL || he->h_addrtype != AF_INET) {
73 if (inet_ntop(he->h_addrtype, he->h_addr, tmp, sizeof(tmp)) == NULL) {
83 struct hostent* he = gethostbyname(host.c_str()); local
85 if (he == NULL) {
89 for (char** addr = &he->h_addr; *addr != NULL; ++addr) {
97 *ip_address_list = std::string(he
[all...]
/external/curl/lib/
H A Dconncache.c176 struct curl_hash_element *he; local
183 he = Curl_hash_next_element(&iter);
184 while(he) {
185 if(he->ptr == bundle) {
188 Curl_hash_delete(&connc->hash, he->key, he->key_len);
192 he = Curl_hash_next_element(&iter);
280 struct curl_hash_element *he; local
287 he = Curl_hash_next_element(&iter);
288 while(he) {
313 struct curl_hash_element *he; local
[all...]
H A Dcurl_addrinfo.c265 Curl_he2ai(const struct hostent *he, int port) argument
278 if(!he)
282 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL));
284 for(i=0; (curr = he->h_addr_list[i]) != NULL; i++) {
288 if(he->h_addrtype == AF_INET6)
298 if((ai->ai_canonname = strdup(he->h_name)) == NULL) {
318 ai->ai_family = he->h_addrtype;
333 addr->sin_family = (unsigned short)(he->h_addrtype);
342 addr6->sin6_family = (unsigned short)(he
[all...]
H A Dhash.c103 struct curl_hash_element *he = malloc(sizeof(struct curl_hash_element)); local
105 if(he) {
111 he->key = dupkey;
112 he->key_len = key_len;
113 he->ptr = (void *) p;
117 free(he);
118 he = NULL;
121 return he;
136 struct curl_hash_element *he; local
141 he
176 struct curl_hash_element *he; local
198 struct curl_hash_element *he; local
282 struct curl_hash_element *he = le->ptr; local
347 struct curl_hash_element *he = iter->current_element->ptr; local
[all...]
H A Durl.c3011 struct curl_hash_element *he; local
3022 he = Curl_hash_next_element(&iter);
3023 while(he) {
3026 bundle = he->ptr;
3044 he = Curl_hash_next_element(&iter);
/external/openssh/
H A Dlogintest.c88 struct hostent *he; local
115 if (! (he = gethostbyname("localhost"))) {
120 memcpy((void *)&(sa_in4.sin_addr), (void *)&(he->h_addr_list[0][0]),
H A Dsession.c2700 struct hostent *he; local
2703 he = gethostbyname(hostname);
2704 if (he == NULL) {
2709 memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr));
/external/iputils/
H A Dtracepath.c308 struct hostent *he; local
382 he = gethostbyname(p);
383 if (he == NULL) {
392 memcpy(&target.sin_addr, he->h_addr, 4);
H A Darping.c91 struct sockaddr_storage he; variable in typeref:struct:sockaddr_storage
359 (struct sockaddr_ll *)&me, (struct sockaddr_ll *)&he);
477 memcpy(((struct sockaddr_ll *)&he)->sll_addr, p, ((struct sockaddr_ll *)&me)->sll_halen);
1189 he = me;
1191 set_device_broadcast(&device, ((struct sockaddr_ll *)&he)->sll_addr,
1192 ((struct sockaddr_ll *)&he)->sll_halen);
/external/libedit/examples/
H A Dfileman.c328 HIST_ENTRY *he; local
334 for (he = current_history(); he != NULL; he = previous_history()) {
335 //printf("%5d %s\n", *((int*)he->data) - 1, he->line);
336 printf("%s\n", he->line);
/external/icu/icu4c/source/tools/toolutil/
H A Dxmlparser.cpp655 const UHashElement *he=fNames.find(s); local
656 if(he!=NULL) {
658 return (const UnicodeString *)he->key.pointer;
662 he=fNames.find(s);
663 return (const UnicodeString *)he->key.pointer;
669 const UHashElement *he=fNames.find(s); local
670 if(he!=NULL) {
672 return (const UnicodeString *)he->key.pointer;
/external/guice/extensions/persist/lib/
H A Dhibernate-entitymanager.jar ... .transaction.SystemException se org.hibernate.HibernateException he RuntimeException re boolean flush org.hibernate.transaction. ...
/external/icu/icu4c/source/test/cintltst/
H A Dcrestst.c113 UResourceBundle *he = NULL; local
118 he = ures_open(NULL, "he", &status);
124 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status);
128 ures_close(he);
H A Dcreststn.c338 UResourceBundle *he = NULL; local
347 he = ures_open(NULL, "he", &status);
353 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status);
357 ures_close(he);
2459 t2 = ures_open(NULL, "he", &status);
2469 t2 = ures_open(NULL, "he", &status);
2496 t = ures_open(NULL, "he", &status);
2503 t = ures_open(NULL, "he", &status);
2509 if (uprv_strcmp("he", local
[all...]
/external/ltp/testcases/kernel/syscalls/epoll2/examples/
H A Depoll-test.c700 struct hostent *he; local
758 if ((he = gethostbyname(server)) == NULL) {
763 memcpy(&inadr.s_addr, he->h_addr_list[0], he->h_length);
/external/mdnsresponder/mDNSWindows/mdnsNSP/
H A DmdnsNSP.c1543 struct hostent * he; local
1550 he = (struct hostent *) dst;
1551 dst += sizeof( *he );
1553 he->h_name = (char *)( dst - base );
1557 he->h_aliases = (char **)( dst - base );
1562 he->h_addrtype = AF_INET;
1563 he->h_length = 4;
1565 he->h_addr_list = (char **)( dst - base );
/external/icu/icu4c/source/i18n/
H A Drbt_pars.cpp1112 const UHashElement* he = variableNames.nextElement(pos); local
1113 while (he != NULL) {
1114 UnicodeString* tempus = (UnicodeString*)(((UnicodeString*)(he->value.pointer))->clone());
1119 data->variableNames.put(*((UnicodeString*)(he->key.pointer)),
1121 he = variableNames.nextElement(pos);
/external/libedit/src/
H A Dreadline.c1406 HIST_ENTRY *he; local
1412 if ((he = el_malloc(sizeof(*he))) == NULL)
1415 if (history(h, &ev, H_DELDATA, num, &he->data) != 0) {
1416 el_free(he);
1420 he->line = ev.str;
1424 return he;
1434 HIST_ENTRY *he; local
1450 if ((he = el_malloc(sizeof(*he)))
[all...]
/external/compiler-rt/lib/msan/tests/
H A Dmsan_test.cc962 #define EXPECT_HOSTENT_NOT_POISONED(he) \
964 EXPECT_NOT_POISONED(*(he)); \
965 ASSERT_NE((void *) 0, (he)->h_name); \
966 ASSERT_NE((void *) 0, (he)->h_aliases); \
967 ASSERT_NE((void *) 0, (he)->h_addr_list); \
968 EXPECT_NOT_POISONED(strlen((he)->h_name)); \
969 char **p = (he)->h_aliases; \
974 char **q = (he)->h_addr_list; \
983 struct hostent *he = gethostent(); local
984 ASSERT_NE((void *)NULL, he);
991 struct hostent *he = gethostbyname("localhost"); local
1069 struct hostent *he = gethostbyname2("localhost", AF_INET); local
1077 struct hostent *he = gethostbyaddr(&addr, sizeof(addr), AF_INET); local
1084 struct hostent he; local
1097 struct hostent he; local
1110 struct hostent he; local
1120 struct hostent he; local
1130 struct hostent he; local
1144 struct hostent he; local
[all...]
/external/iproute2/misc/
H A Dss.c1333 static int remember_he(struct aafilter *a, struct hostent *he) argument
1335 char **ptr = he->h_addr_list;
1339 if (he->h_addrtype == AF_INET)
1341 else if (he->h_addrtype == AF_INET6)
1358 b->addr.family = he->h_addrtype;
1369 struct hostent *he; local
1376 he = gethostbyname2(addr, fam == AF_UNSPEC ? AF_INET : fam);
1377 if (he)
1378 cnt = remember_he(a, he);
1380 he
[all...]
/external/libevent/
H A Devdns.c4061 struct hosts_entry *he; local
4071 he = mm_calloc(1, sizeof(struct hosts_entry)+namelen);
4072 if (!he)
4074 EVUTIL_ASSERT(socklen <= (int)sizeof(he->addr));
4075 memcpy(&he->addr, &ss, socklen);
4076 memcpy(he->hostname, hostname, namelen+1);
4077 he->addrlen = socklen;
4079 TAILQ_INSERT_TAIL(&base->hostsdb, he, next);
/external/syslinux/gpxe/src/drivers/infiniband/
H A DMT25218_PRM.h2460 pseudo_bit_t he[0x00001]; /* Host Endianess - Used for Atomic Operations member in struct:arbelprm_init_hca_st
H A DMT25408_PRM.h2301 pseudo_bit_t he[0x00001]; /* Host Endianess - Used for Atomic Operations member in struct:hermonprm_init_hca_st
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 3859 milliseconds

12