/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-hsrp.c | 103 struct hsrp *hp = (struct hsrp *) bp; local 105 TCHECK(hp->hsrp_version); 106 printf("HSRPv%d", hp->hsrp_version); 107 if (hp->hsrp_version != 0) 109 TCHECK(hp->hsrp_op_code); 111 printf("%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)); 113 TCHECK(hp->hsrp_state); 114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)); 115 TCHECK(hp->hsrp_group); 116 printf("group=%d ", hp [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/ |
H A D | e_remainderf.c | 37 int32_t hx,hp; local 42 GET_FLOAT_WORD(hp,p); 44 hp &= 0x7fffffff; 48 if(hp==0) return (x*p)/(x*p); /* p = 0 */ 50 ((hp>0x7f800000))) /* p is NaN */ 54 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ 55 if ((hx-hp)==0) return zero*x; 58 if (hp<0x01000000) {
|
H A D | s_remquol.c | 32 int32_t ex,ep,hx,hp; local 37 GET_LDOUBLE_WORDS (ep, hp, lp, p); 44 if ((ep | hp | lp) == 0) 48 && ((hp | lp) != 0))) 54 if (((ex - ep) | (hx - hp) | (lx - lp)) == 0)
|
H A D | sincos32.h | 57 hp = {1,{1.0, 1.0, variable
|
/haiku-fatelf/src/tests/kits/net/sock/ |
H A D | sourceroute.c | 48 struct hostent *hp; local 65 } else if ( (hp = gethostbyname(argptr)) != NULL) { 66 bcopy(hp->h_addr, optr, sizeof(u_long));/* hostname */ 69 inet_ntoa(*((struct in_addr *) hp->h_addr)));
|
H A D | cliopen.c | 19 struct hostent *hp; local 43 else if ( (hp = gethostbyname(host)) != NULL) 44 bcopy(hp->h_addr, &servaddr.sin_addr, hp->h_length);
|
/haiku-fatelf/src/libs/util/ |
H A D | realhostname.c | 53 struct hostent *hp; local 56 hp = gethostbyaddr((const char *)ip, sizeof(*ip), AF_INET); 58 if (hp != NULL) { 59 strlcpy(trimmed, hp->h_name, sizeof(trimmed)); 64 strncpy(lookup, hp->h_name, sizeof(lookup) - 1); 66 hp = gethostbyname(lookup); 67 if (hp == NULL) 69 else for (; ; hp->h_addr_list++) { 70 if (*hp->h_addr_list == NULL) { 74 if (!memcmp(*hp [all...] |
/haiku-fatelf/src/kits/network/libbind/resolv/ |
H A D | res_mkquery.c | 107 register HEADER *hp; local 125 hp = (HEADER *) buf; 127 hp->id = htons(statp->id); 128 hp->opcode = op; 129 hp->rd = (statp->options & RES_RECURSE) != 0U; 130 hp->rcode = NOERROR; 153 hp->qdcount = htons(1); 174 hp->arcount = htons(1); 196 hp->ancount = htons(1); 215 register HEADER *hp; local [all...] |
H A D | res_query.c | 118 HEADER *hp = (HEADER *) answer; local 126 hp->rcode = NOERROR; /*%< default */ 174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 178 p_rcode(hp->rcode), 179 ntohs(hp->ancount), 180 ntohs(hp->nscount), 181 ntohs(hp->arcount)); 183 switch (hp->rcode) { 219 HEADER *hp local [all...] |
/haiku-fatelf/src/bin/network/atftpd/ |
H A D | tftp_def.c | 154 struct hostent *hp; local 164 hp = gethostbyname_r(addr, host, tmpbuf, tmpbuflen, &herr); 169 if (hp == NULL) 175 if (hp != host)
|
/haiku-fatelf/src/kits/network/libbind/irs/ |
H A D | lcl_ho.c | 203 struct hostent *hp; local 209 hp = ho_byname2(this, name, AF_INET6); 210 if (hp) 211 return (hp); 219 struct hostent *hp; local 228 while ((hp = ho_next(this)) != NULL) { 231 if (hp->h_addrtype != af) 233 nn = ns_namelen(hp->h_name); 234 if (strncasecmp(hp->h_name, name, Max(n, nn)) == 0) 236 for (hap = hp 255 struct hostent *hp; local 524 struct hostent *hp; local [all...] |
H A D | dns_ho.c | 163 static void map_v4v6_hostent(struct hostent *hp, char **bp, 227 struct hostent *hp; local 233 hp = ho_byname2(this, name, AF_INET6); 234 if (hp) 235 return (hp); 244 struct hostent *hp = NULL; local 283 hp = NULL; 316 if ((hp = gethostans(this, p->answer, n, name, p->qtype, 327 return(hp); 336 struct hostent *hp local 703 const HEADER *hp; local 1085 map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) argument 1132 char *hp; local [all...] |
/haiku-fatelf/src/bin/network/tcpdump/libpcap/Win32/Src/ |
H A D | getaddrinfo.c | 518 struct hostent *hp; local 555 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error); 558 hp = gethostbyname2(hostname, pai->ai_family); 562 hp = gethostbyname(hostname); 571 if (hp == NULL) { 586 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 587 || (hp->h_addr_list[0] == NULL)) { 589 freehostent(hp); 591 hp 917 struct hostent *hp = NULL; local [all...] |
/haiku-fatelf/src/bin/network/tcpdump/missing/ |
H A D | getaddrinfo.c | 514 struct hostent *hp; local 551 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error); 554 hp = gethostbyname2(hostname, pai->ai_family); 558 hp = gethostbyname(hostname); 567 if (hp == NULL) { 582 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 583 || (hp->h_addr_list[0] == NULL)) { 585 freehostent(hp); 587 hp 913 struct hostent *hp = NULL; local [all...] |
H A D | getnameinfo.c | 111 struct hostent *hp; local 244 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 246 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 254 if (hp) { 256 p = strchr(hp->h_name, '.'); 259 if (strlen(hp->h_name) + 1 > hostlen) { 261 freehostent(hp); 265 strcpy(host, hp->h_name); 267 freehostent(hp);
|
/haiku-fatelf/src/kits/network/libbind/nameser/ |
H A D | ns_verify.c | 60 HEADER *hp = (HEADER *)msg; local 70 if (hp->arcount == 0) 75 n = ns_skiprr(cp, eom, ns_s_qd, ntohs(hp->qdcount)); 80 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount)); 85 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount)); 90 n = ns_skiprr(cp, eom, ns_s_ar, ntohs(hp->arcount) - 1); 139 HEADER *hp = (HEADER *)msg; local 227 hp->arcount = htons(ntohs(hp->arcount) - 1); 305 hp 344 HEADER *hp = (HEADER *)msg; local [all...] |
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | alloca.c | 168 register header *hp; /* Traverses linked list. */ local 174 for (hp = last_alloca_header; hp != NULL;) 175 if ((STACK_DIR > 0 && hp->h.deep > depth) 176 || (STACK_DIR < 0 && hp->h.deep < depth)) 178 register header *np = hp->h.next; 180 free (hp); /* Collect garbage. */ 182 hp = np; /* -> next header. */ 187 last_alloca_header = hp; /* -> last valid storage. */
|
/haiku-fatelf/src/bin/diffutils/lib/ |
H A D | alloca.c | 186 register header *hp; /* Traverses linked list. */ local 192 for (hp = last_alloca_header; hp != NULL;) 193 if ((STACK_DIR > 0 && hp->h.deep > depth) 194 || (STACK_DIR < 0 && hp->h.deep < depth)) 196 register header *np = hp->h.next; 198 free ((pointer) hp); /* Collect garbage. */ 200 hp = np; /* -> next header. */ 205 last_alloca_header = hp; /* -> last valid storage. */
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | alloca.c | 165 register header *hp; /* Traverses linked list. */ local 171 for (hp = last_alloca_header; hp != NULL;) 172 if ((STACK_DIR > 0 && hp->h.deep > depth) 173 || (STACK_DIR < 0 && hp->h.deep < depth)) 175 register header *np = hp->h.next; 177 free (hp); /* Collect garbage. */ 179 hp = np; /* -> next header. */ 184 last_alloca_header = hp; /* -> last valid storage. */
|
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | alloca.c | 171 register header *hp; /* Traverses linked list. */ local 173 for (hp = last_alloca_header; hp != NULL;) 174 if ((STACK_DIR > 0 && hp->h.deep > depth) 175 || (STACK_DIR < 0 && hp->h.deep < depth)) 177 register header *np = hp->h.next; 179 free ((PTR) hp); /* Collect garbage. */ 181 hp = np; /* -> next header. */ 186 last_alloca_header = hp; /* -> last valid storage. */
|
/haiku-fatelf/src/bin/network/wget/lib/ |
H A D | alloca.c | 165 register header *hp; /* Traverses linked list. */ local 171 for (hp = last_alloca_header; hp != NULL;) 172 if ((STACK_DIR > 0 && hp->h.deep > depth) 173 || (STACK_DIR < 0 && hp->h.deep < depth)) 175 register header *np = hp->h.next; 177 free (hp); /* Collect garbage. */ 179 hp = np; /* -> next header. */ 184 last_alloca_header = hp; /* -> last valid storage. */
|
/haiku-fatelf/src/bin/sharutils/lib/ |
H A D | alloca.c | 177 register header *hp; /* Traverses linked list. */ local 183 for (hp = last_alloca_header; hp != NULL;) 184 if ((STACK_DIR > 0 && hp->h.deep > depth) 185 || (STACK_DIR < 0 && hp->h.deep < depth)) 187 register header *np = hp->h.next; 189 free ((pointer) hp); /* Collect garbage. */ 191 hp = np; /* -> next header. */ 196 last_alloca_header = hp; /* -> last valid storage. */
|
/haiku-fatelf/src/libs/edit/ |
H A D | hist.c | 92 const char *hp; local 113 hp = HIST_FIRST(el); 115 if (hp == NULL) 119 if ((hp = HIST_NEXT(el)) == NULL) { 123 (void) strlcpy(el->el_line.buffer, hp,
|
H A D | common.c | 709 const char *hp; local 733 hp = HIST_FIRST(el); 734 if (hp == NULL) 740 hp = HIST_NEXT(el); 742 while (hp != NULL) { 744 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp); 746 if ((strncmp(hp, el->el_line.buffer, (size_t) 748 hp[el->el_line.lastchar - el->el_line.buffer]) && 749 c_hmatch(el, hp)) { 754 hp 777 const char *hp; local [all...] |
/haiku-fatelf/src/bin/network/tcpdump/libpcap/ |
H A D | nametoaddr.c | 107 struct hostent *hp; local 109 if ((hp = gethostbyname(name)) != NULL) { 111 hlist[0] = (bpf_u_int32 *)hp->h_addr; 112 NTOHL(hp->h_addr); 115 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) 117 return (bpf_u_int32 **)hp->h_addr_list;
|