/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | map_v4v6.c | 112 _map_v4v6_hostent(struct hostent *hp, char **bpp, int *lenp) argument 116 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) 118 hp->h_addrtype = AF_INET6; 119 hp->h_length = IN6ADDRSZ; 120 for (ap = hp->h_addr_list; *ap; ap++) {
|
H A D | res_mkquery.c | 115 register HEADER *hp; local 135 hp = (HEADER *) buf; 136 hp->id = htons(++_res.id); 137 hp->opcode = op; 138 hp->rd = (_res.options & RES_RECURSE) != 0; 139 hp->rcode = NOERROR; 162 hp->qdcount = htons(1); 182 hp->arcount = htons(1); 204 hp->ancount = htons(1);
|
H A D | gethostnamadr.c | 126 struct hostent *hp; local 129 hp = gethostbyname2(name, AF_INET6); /* XXX */ 130 if (hp) /* XXX */ 131 return (hp); /* XXX */ 139 struct hostent *hp = 0; local 145 while (!hp) { 150 hp = _gethostbyhtname(name, type); 153 hp = _gethostbydnsname(name, type); 156 hp = _gethostbynisname(name, type); 161 return hp; 167 struct hostent *hp = 0; local 201 struct hostent *hp; local [all...] |
H A D | getnetnamadr.c | 121 struct netent *hp = 0; local 127 while (!hp) { 132 hp = _getnetbyhtname(name); 135 hp = _getnetbydnsname(name); 138 hp = _getnetbynisname(name); 143 return hp; 149 struct netent *hp = 0; local 155 while (!hp) { 160 hp = _getnetbyhtaddr(addr, af); 163 hp [all...] |
H A D | ns_addr.c | 117 int hb[6], *hp; local 201 hp = hb + i - 1; 203 while (hp > hb) { 204 (void)sscanf(bp, fmt, hp); 206 hp--; 209 (void)sscanf(buf, fmt, hp);
|
H A D | res_query.c | 128 HEADER *hp = (HEADER *) answer; local 131 hp->rcode = NOERROR; /* default */ 162 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 165 printf(";; rcode = %d, ancount=%d\n", hp->rcode, 166 ntohs(hp->ancount)); 168 switch (hp->rcode) { 206 HEADER *hp = (HEADER *) answer; local 286 if (hp->rcode == SERVFAIL) {
|
H A D | getnetbydns.c | 121 register HEADER *hp; local 147 hp = &answer->hdr; 148 ancount = ntohs(hp->ancount); /* #/records in the answer section */ 149 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */ 154 if (hp->aa)
|
H A D | res_mkupdate.c | 106 HEADER *hp; local 128 hp = (HEADER *) buf; 129 hp->id = htons(++_res.id); 130 hp->opcode = ns_o_update; 131 hp->rcode = NOERROR; 349 hp->qdcount = htons(counts[0]); 350 hp->ancount = htons(counts[1]); 351 hp->nscount = htons(counts[2]); 352 hp->arcount = htons(counts[3]);
|
H A D | res_update.c | 122 HEADER *hp = (HEADER *) answer; local 207 ancount = ntohs(hp->ancount); 208 nscount = ntohs(hp->nscount); 209 arcount = ntohs(hp->arcount); 210 rcode = hp->rcode; 303 ancount, nscount, arcount, hp->rcode); 405 dname, ancount, nscount, arcount, hp->rcode); 416 dname, ancount, nscount, arcount, hp->rcode);
|
H A D | gethostbydns.c | 200 register const HEADER *hp; local 230 hp = &answer->hdr; 231 ancount = ntohs(hp->ancount); 232 qdcount = ntohs(hp->qdcount); 642 register struct hostent *hp; local 706 if ( NULL == (hp = gethostanswer(&buf, n, qbuf, T_PTR))) 714 strncpy(hname2, hp->h_name, MAXDNAME); 744 hp->h_addrtype = af; 745 hp->h_length = len; 751 hp 783 char *hp; local [all...] |
H A D | res_send.c | 339 HEADER *hp = (HEADER *) buf; local 419 if (s < 0 || !vc || hp->opcode == ns_o_update) { 548 if (hp->id != anhp->id) { 789 if (hp->id != anhp->id) {
|
H A D | res_debug.c | 741 u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ local 813 hp = precsize_aton((char **)&cp); 831 *bcp++ = hp;
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/ |
H A D | dt_inttab.c | 59 dt_inthash_t *hp, *np; local 61 for (hp = ip->int_head; hp != NULL; hp = np) { 62 np = hp->inh_next; 63 dt_free(ip->int_hdl, hp); 74 dt_inthash_t *hp; local 77 for (hp = ip->int_hash[h]; hp != NULL; hp 113 const dt_inthash_t *hp; local [all...] |
H A D | dt_strtab.c | 103 dt_strhash_t *hp, *hq; local 107 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) { 108 hq = hp->str_next; 109 free(hp); 147 dt_strtab_compare(dt_strtab_t *sp, dt_strhash_t *hp, argument 150 ulong_t b = hp->str_buf; 151 const char *buf = hp->str_data; 211 dt_strhash_t *hp; local 231 dt_strhash_t *hp; local [all...] |
H A D | dt_dof.c | 584 dof_hdr(dtrace_hdl_t *dtp, uint8_t dofversion, dof_hdr_t *hp) argument 596 bzero(hp, sizeof (dof_hdr_t)); 598 hp->dofh_ident[DOF_ID_MAG0] = DOF_MAG_MAG0; 599 hp->dofh_ident[DOF_ID_MAG1] = DOF_MAG_MAG1; 600 hp->dofh_ident[DOF_ID_MAG2] = DOF_MAG_MAG2; 601 hp->dofh_ident[DOF_ID_MAG3] = DOF_MAG_MAG3; 604 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_LP64; 606 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_ILP32; 608 hp->dofh_ident[DOF_ID_ENCODING] = DOF_ENCODE_NATIVE; 609 hp [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ |
H A D | ctf_hash.c | 37 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems) argument 47 bzero(hp, sizeof (ctf_hash_t)); 48 hp->h_buckets = (ushort_t *)_CTF_EMPTY; 49 hp->h_nbuckets = 1; 53 hp->h_nbuckets = 211; /* use a prime number of hash buckets */ 54 hp->h_nelems = nelems + 1; /* we use index zero as a sentinel */ 55 hp->h_free = 1; /* first free element is index 1 */ 57 hp->h_buckets = ctf_alloc(sizeof (ushort_t) * hp->h_nbuckets); 58 hp 72 ctf_hash_size(const ctf_hash_t *hp) argument 97 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) argument 134 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) argument 147 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) argument 169 ctf_hash_destroy(ctf_hash_t *hp) argument [all...] |
H A D | ctf_lookup.c | 88 const ctf_helem_t *hp; local 148 if ((hp = ctf_hash_lookup(lp->ctl_hash, fp, p, 154 type = hp->h_type;
|
H A D | ctf_open.c | 121 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, argument 128 uint_t objtoff = hp->cth_objtoff; 129 uint_t funcoff = hp->cth_funcoff; 162 if (objtoff >= hp->cth_funcoff || 173 if (funcoff >= hp->cth_typeoff) { 219 ctf_hash_t *hp; local 464 hp = &fp->ctf_structs; 467 hp = &fp->ctf_unions; 470 hp = &fp->ctf_enums; 473 hp 558 ctf_header_t hp; local [all...] |
H A D | ctf_create.c | 724 ctf_hash_t *hp = &fp->ctf_structs; local 730 hep = ctf_hash_lookup(hp, fp, name, strlen(name)); 746 ctf_hash_t *hp = &fp->ctf_unions; local 752 hep = ctf_hash_lookup(hp, fp, name, strlen(name)); 768 ctf_hash_t *hp = &fp->ctf_enums; local 774 hep = ctf_hash_lookup(hp, fp, name, strlen(name)); 790 ctf_hash_t *hp; local 797 hp = &fp->ctf_structs; 800 hp = &fp->ctf_unions; 803 hp 1106 ctf_hash_t *hp; local [all...] |
/vbox/src/VBox/GuestHost/OpenGL/util/ |
H A D | udptcpip.c | 629 struct hostent *hp; local 649 hp = gethostbyname( conn->hostname ); 650 if ( !hp ) 660 memcpy( (char *) &conn->remoteaddr.sin_addr, hp->h_addr,
|
H A D | tcpip.c | 1190 struct hostent *hp; local 1210 hp = gethostbyname( conn->hostname ); 1211 if ( !hp ) 1222 crMemcpy((char *) &servaddr.sin_addr, hp->h_addr, sizeof(servaddr.sin_addr));
|
/vbox/src/libs/libxml2-2.6.31/ |
H A D | nanoftp.c | 856 struct hostent *hp; local 930 hp = gethostbyname (proxy); 932 hp = gethostbyname (ctxt->hostname); 933 if (hp == NULL) { 937 if ((unsigned int) hp->h_length > 948 hp->h_addr_list[0], hp->h_length);
|