| /src/lib/libc/rpc/ |
| getrpcport.c | 69 struct hostent *hp; local 73 if ((hp = gethostbyname(host)) == NULL) 79 if (hp->h_length > addr.sin_len) 80 hp->h_length = addr.sin_len; 81 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
|
| /src/usr.bin/talk/ |
| get_addrs.c | 51 struct hostent *hp; local 61 hp = gethostbyname(my_machine_name); 62 if (hp == NULL) 65 memcpy(&my_machine_addr, hp->h_addr, sizeof(my_machine_addr)); 66 hp = gethostbyname(his_machine_name); 67 if (hp == NULL) 70 memcpy(&his_machine_addr, hp->h_addr, sizeof(his_machine_addr));
|
| /src/external/bsd/ipf/dist/lib/ |
| hostname.c | 17 struct hostent *hp; local 31 hp = gethostbyaddr(ip, 4, AF_INET); 32 if (hp != NULL && hp->h_name != NULL && 33 *hp->h_name != '\0') { 34 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
|
| /src/external/ibm-public/postfix/dist/src/local/ |
| biff_notify.c | 60 struct hostent *hp; local 71 if ((hp = gethostbyname("localhost")) == 0) { 75 if ((int) hp->h_length > (int) sizeof(sin.sin_addr)) { 76 msg_warn("bad address size %d for localhost", hp->h_length); 79 sin.sin_family = hp->h_addrtype; 81 memcpy((void *) &sin.sin_addr, hp->h_addr_list[0], hp->h_length);
|
| /src/lib/libm/src/ |
| e_remainderf.c | 30 int32_t hx,hp; local 35 GET_FLOAT_WORD(hp,p); 37 hp &= 0x7fffffff; 41 if(hp==0) return (x*p)/(x*p); /* p = 0 */ 43 ((hp>0x7f800000))) /* p is NaN */ 47 if (hp<=0x7effffff) x = __ieee754_fmodf(x,p+p); /* now x < 2p */ 48 if ((hx-hp)==0) return zero*x; 51 if (hp<0x01000000) {
|
| e_remainder.c | 36 int32_t hx,hp; local 41 EXTRACT_WORDS(hp,lp,p); 43 hp &= 0x7fffffff; 47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 49 ((hp>=0x7ff00000)&& /* p is NaN */ 50 (((hp-0x7ff00000)|lp)!=0))) 54 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ 55 if (((hx-hp)|(lx-lp))==0) return zero*x; 58 if (hp<0x00200000) {
|
| /src/usr.sbin/bootp/common/ |
| lookup.c | 71 struct hostent *hp; local 72 hp = gethostbyname(hostname); 73 if (!hp) 75 bcopy(hp->h_addr, result, sizeof(*result));
|
| dumptab.c | 51 struct host *hp; local 109 for (hp = (struct host *) hash_FirstEntry(nmhashtable); hp != NULL; 110 hp = (struct host *) hash_NextEntry(nmhashtable)) { 111 dump_host(fp, hp); 124 * Dump all the available information on the host pointed to by "hp". 129 dump_host(FILE *fp, struct host *hp) 132 if (hp) { 133 fprintf(fp, "%s:", (hp->hostname ? 134 hp->hostname->string : "?")) [all...] |
| /src/external/bsd/am-utils/dist/fsinfo/ |
| wr_bparam.c | 70 write_boot_info(FILE *ef, host *hp) 74 fprintf(ef, "%s\troot=", hp->h_hostname); 75 errors += write_nfsname(ef, hp->h_netroot, hp->h_hostname); 77 errors += write_nfsname(ef, hp->h_netswap, hp->h_hostname); 95 host *hp; local 96 ITER(hp, host, q) 97 if (hp->h_netroot && hp->h_netswap [all...] |
| wr_dumpset.c | 79 host *hp; local 81 ITER(hp, host, q) { 82 if (hp->h_disk_fs) { 83 errors += write_dumpset_info(ef, hp->h_disk_fs);
|
| wr_exportfs.c | 87 host *hp; local 90 ITER(hp, host, q) { 91 if (hp->h_disk_fs) { 92 FILE *ef = pref_open(exportfs_pref, hp->h_hostname, gen_hdr, hp->h_hostname); 94 show_new(hp->h_hostname); 95 errors += write_dkexports(ef, hp->h_disk_fs);
|
| /src/lib/libc/db/hash/ |
| ndbm.c | 92 HTAB *hp; local 94 hp = db->internal; 95 return (hp->err); 101 HTAB *hp; local 103 hp = db->internal; 104 hp->err = 0; 111 HTAB *hp; local 113 hp = db->internal; 114 return hp->fp;
|
| /src/lib/libc/net/ |
| hostent.h | 58 struct hostent *hp; member in struct:getnamaddr
|
| /src/sys/kern/ |
| vfs_hooks.c | 73 struct vfs_hooks *hp; local 77 LIST_FOREACH(hp, &vfs_hooks_head, vfs_hooks_list) { 78 if (hp == vfs_hooks) { 79 LIST_REMOVE(hp, vfs_hooks_list); 83 if (hp == NULL) 100 struct vfs_hooks *hp; \ 105 LIST_FOREACH(hp, &vfs_hooks_head, vfs_hooks_list) { \ 106 if (hp-> hook != NULL) { \ 107 error = hp-> hook hargs; \ 126 struct vfs_hooks *hp; \ [all...] |
| /src/usr.sbin/rpc.bootparamd/ |
| test.c | 71 struct hostent *hp; local 78 if ((hp = gethostbyname(argv[1])) == NULL) 85 memcpy(&addr, hp->h_addr_list[0], sizeof(addr));
|
| /src/external/bsd/ipf/dist/ipsend/ |
| larp.c | 35 struct hostent *hp; local 41 if (!(hp = gethostbyname(host))) 46 bcopy((char *)hp->h_addr, (char *)address, 4);
|
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_inttab.c | 57 dt_inthash_t *hp, *np; local 59 for (hp = ip->int_head; hp != NULL; hp = np) { 60 np = hp->inh_next; 61 dt_free(ip->int_hdl, hp); 72 dt_inthash_t *hp; local 75 for (hp = ip->int_hash[h]; hp != NULL; hp = hp->inh_hash) 111 const dt_inthash_t *hp; local [all...] |
| /src/external/gpl3/gcc/dist/libquadmath/math/ |
| remainderq.c | 32 int64_t hx,hp; local 37 GET_FLT128_WORDS64(hp,lp,p); 39 hp &= 0x7fffffffffffffffLL; 43 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 45 ((hp>=0x7fff000000000000LL)&& /* p is NaN */ 46 (((hp-0x7fff000000000000LL)|lp)!=0))) 50 if (hp<=0x7ffdffffffffffffLL) x = fmodq(x,p+p); /* now x < 2p */ 51 if (((hx-hp)|(lx-lp))==0) return zero*x; 54 if (hp<0x0002000000000000LL) {
|
| /src/external/gpl3/gcc.old/dist/libquadmath/math/ |
| remainderq.c | 32 int64_t hx,hp; local 37 GET_FLT128_WORDS64(hp,lp,p); 39 hp &= 0x7fffffffffffffffLL; 43 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ 45 ((hp>=0x7fff000000000000LL)&& /* p is NaN */ 46 (((hp-0x7fff000000000000LL)|lp)!=0))) 50 if (hp<=0x7ffdffffffffffffLL) x = fmodq(x,p+p); /* now x < 2p */ 51 if (((hx-hp)|(lx-lp))==0) return zero*x; 54 if (hp<0x0002000000000000LL) {
|
| /src/lib/libc/resolv/ |
| res_mkquery.c | 122 register HEADER *hp; local 140 hp = (HEADER *)(void *)buf; 142 hp->id = htons(statp->id); 143 hp->opcode = op; 144 hp->rd = (statp->options & RES_RECURSE) != 0U; 145 hp->ad = (statp->options & RES_USE_DNSSEC) != 0U; 146 hp->rcode = NOERROR; 169 hp->qdcount = htons(1); 190 hp->arcount = htons(1); 212 hp->ancount = htons(1) 232 register HEADER *hp; local [all...] |
| /src/lib/libcompat/4.3/ |
| rexec.c | 68 struct hostent *hp; local 81 hp = gethostbyname(*ahost); 82 if (hp == 0) { 86 *ahost = hp->h_name; 87 (void)ruserpass(hp->h_name, &name, &pass); 93 rsin.sin_family = hp->h_addrtype; 97 if (hp->h_length > (int) sizeof(rsin.sin_addr)) 100 len = hp->h_length; 101 memcpy(&rsin.sin_addr, hp->h_addr, len); 109 warn("Cannot connect to %s", hp->h_name) [all...] |
| /src/lib/libresolv/ |
| res_sendsigned.c | 41 HEADER *hp; local 149 hp = (HEADER *)(void *)answer; 150 if (hp->tc && !usingTCP && (statp->options & RES_IGNTC) == 0U) {
|
| /src/sys/dev/rasops/ |
| rasops1_putchar_width.h | 44 * rp and hp are always half-word aligned, whereas 69 SUBST_UNIT tmp, *rp, *hp; local 71 hp = NULL; /* XXX GCC */ 90 hp = (SUBST_UNIT *)(ri->ri_hwbits + row * ri->ri_yscale + 101 *hp = bg; 102 DELTA(hp, ri->ri_stride, SUBST_UNIT *); 118 *hp = tmp; 119 DELTA(hp, ri->ri_stride, SUBST_UNIT *); 130 DELTA(hp, - ri->ri_stride * ri->ri_ul.off, 137 DELTA(hp, - ri->ri_stride, SUBST_UNIT *) [all...] |
| /src/usr.sbin/ypset/ |
| ypset.c | 97 struct hostent *hp; local 102 hp = gethostbyname(host); 103 if (hp == NULL) 106 (void) memcpy(ia, hp->h_addr, sizeof(*ia));
|
| /src/external/apache2/llvm/dist/llvm/tools/opt-viewer/ |
| opt-stats.py | 18 hp = hpy() variable 21 hp = None variable 64 if hp: 65 h = hp.heap()
|