Searched refs:hp (Results 1 - 25 of 38) sorted by relevance

12

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/
H A Dctf_hash.c37 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 Dctf_open.c121 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 Dctf_create.c724 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...]
H A Dctf_lookup.c88 const ctf_helem_t *hp; local
148 if ((hp = ctf_hash_lookup(lp->ctl_hash, fp, p,
154 type = hp->h_type;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_inttab.c59 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 Ddt_strtab.c103 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 Ddt_dof.c584 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/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dgethostnamadr.c126 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 Dgetnetnamadr.c121 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 Dmap_v4v6.c112 _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 Dres_mkquery.c115 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 Dns_addr.c117 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 DSocklib_internals.h40 void _map_v4v6_hostent (struct hostent *hp, char **bp, int *len);
H A Dres_query.c128 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 Dres_mkupdate.c106 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 Dgethostbydns.c200 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 Dgetnetbydns.c121 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 Dres_update.c122 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);
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXos_r.h399 # define _XGethostbyname(h,hp) gethostbyname((h))
400 # define _XGethostbyaddr(a,al,t,hp) gethostbyaddr((a),(al),(t))
424 # define _Xg_copyHostent(hp) \
425 (memcpy(&(hp).hent, (hp).hptr, sizeof(struct hostent)), \
426 strcpy((hp).h_name, (hp).hptr->h_name), \
427 ((hp).hent.h_name = (hp).h_name), \
428 ((hp)
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dwintabx.h85 /* void Cls_OnWintabProximity(HWND hwnd, HCTX hCtx, BOOL cp, BOOL hp) */
88 #define FORWARD__WT_PROXIMITY(hwnd, bs, hCtx, cp, hp, fn) \
89 (void)(fn)((hwnd), _WT_PROXIMITY(bs), (WPARAM)(HCTX)(hCtx), MAKELPARAM((cp), (hp))
91 FORWARD__WT_PROXIMITY(hwnd, WT_DEFBASE, hCtx, cp, hp, fn)
96 #define FORWARD__WT_INFOCHANGE(hwnd, bs, hMgr, cp, hp, fn) \
99 FORWARD__WT_INFOCHANGE(hwnd, WT_DEFBASE, hMgr, cp, hp, fn)
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dwintabx.h85 /* void Cls_OnWintabProximity(HWND hwnd, HCTX hCtx, BOOL cp, BOOL hp) */
88 #define FORWARD__WT_PROXIMITY(hwnd, bs, hCtx, cp, hp, fn) \
89 (void)(fn)((hwnd), _WT_PROXIMITY(bs), (WPARAM)(HCTX)(hCtx), MAKELPARAM((cp), (hp))
91 FORWARD__WT_PROXIMITY(hwnd, WT_DEFBASE, hCtx, cp, hp, fn)
96 #define FORWARD__WT_INFOCHANGE(hwnd, bs, hMgr, cp, hp, fn) \
99 FORWARD__WT_INFOCHANGE(hwnd, WT_DEFBASE, hMgr, cp, hp, fn)
/vbox/src/VBox/RDP/client-1.8.3/
H A Dconfig.sub143 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
526 basic_machine=m68k-hp
529 basic_machine=m68k-hp
533 basic_machine=m68k-hp
537 basic_machine=hppa1.0-hp
540 basic_machine=m68000-hp
543 basic_machine=m68k-hp
546 basic_machine=hppa1.0-hp
549 basic_machine=hppa1.1-hp
552 # FIXME: really hppa2.0-hp
[all...]
H A Dconfig.guess294 echo alpha-hp-vms
571 echo m68k-hp-bsd
574 echo m68k-hp-bsd4.4
646 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
650 echo ia64-hp-hpux${HPUX_REV}
683 echo hppa1.1-hp-bsd
686 echo hppa1.0-hp-bsd
689 echo hppa1.0-hp-mpeix
692 echo hppa1.1-hp-osf
695 echo hppa1.0-hp
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A Dconfig.sub147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
579 basic_machine=m68k-hp
582 basic_machine=m68k-hp
586 basic_machine=m68k-hp
590 basic_machine=hppa1.0-hp
593 basic_machine=m68000-hp
596 basic_machine=m68k-hp
599 basic_machine=hppa1.0-hp
602 basic_machine=hppa1.1-hp
605 # FIXME: really hppa2.0-hp
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dauth.c880 struct hostent *hp;
884 hp = gethostbyname(p);
885 if (hp != NULL && hp->h_addrtype == AF_INET)
886 a = *(u32_t *)hp->h_addr;

Completed in 160 milliseconds

12