Home
last modified time | relevance | path

Searched refs:hp (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/tcpdump/
Dprint-hsrp.c103 struct hsrp *hp = (struct hsrp *) bp; in hsrp_print() local
105 TCHECK(hp->hsrp_version); in hsrp_print()
106 printf("HSRPv%d", hp->hsrp_version); in hsrp_print()
107 if (hp->hsrp_version != 0) in hsrp_print()
109 TCHECK(hp->hsrp_op_code); in hsrp_print()
111 printf("%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)); in hsrp_print()
113 TCHECK(hp->hsrp_state); in hsrp_print()
114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)); in hsrp_print()
115 TCHECK(hp->hsrp_group); in hsrp_print()
116 printf("group=%d ", hp->hsrp_group); in hsrp_print()
[all …]
/external/fdlibm/
De_remainder.c39 int hx,hp; local
45 hp = __HI(p); /* high word of p */
48 hp &= 0x7fffffff;
52 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
54 ((hp>=0x7ff00000)&& /* p is NaN */
55 (((hp-0x7ff00000)|lp)!=0)))
59 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */
60 if (((hx-hp)|(lx-lp))==0) return zero*x;
63 if (hp<0x00200000) {
/external/mksh/src/
Dhistrap.c96 char **hfirst, **hlast, **hp, *editor = NULL; in c_fc() local
187 hp = first ? hist_get(first, false, false) : in c_fc()
189 if (!hp) in c_fc()
193 strdupx(line, *hp, ATEMP); in c_fc()
204 for (s = *hp; (s1 = strstr(s, pat)) && in c_fc()
275 for (hp = rflag ? hlast : hfirst; in c_fc()
276 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) { in c_fc()
279 hist_source->line - (int)(histptr - hp)); in c_fc()
282 s = *hp; in c_fc()
303 for (hp = rflag ? hlast : hfirst; in c_fc()
[all …]
/external/ppp/pppd/plugins/radius/
Dip_util.c31 struct hostent *hp; in rc_get_ipaddr() local
37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) in rc_get_ipaddr()
42 return ntohl((*(UINT4 *) hp->h_addr)); in rc_get_ipaddr()
105 struct hostent *hp; in rc_ip_hostname() local
108 if ((hp = gethostbyaddr ((char *) &n_ipaddr, sizeof (struct in_addr), in rc_ip_hostname()
113 return ((hp==NULL)?"unknown":hp->h_name); in rc_ip_hostname()
/external/dropbear/
Dfake-rfc2553.c50 struct hostent *hp; in getnameinfo() local
67 hp = gethostbyaddr((char *)&sin->sin_addr, in getnameinfo()
69 if (hp == NULL) in getnameinfo()
72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
153 struct hostent *hp; in getaddrinfo() local
201 hp = gethostbyname(hostname); in getaddrinfo()
202 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo()
206 for (i = 0; hp->h_addr_list[i]; i++) { in getaddrinfo()
207 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i]; in getaddrinfo()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c51 struct hostent *hp; in getnameinfo() local
70 hp = gethostbyaddr((char *)&sin->sin_addr, in getnameinfo()
72 if (hp == NULL) in getnameinfo()
75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
158 struct hostent *hp; in getaddrinfo() local
209 hp = gethostbyname(hostname); in getaddrinfo()
210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo()
214 for (i = 0; hp->h_addr_list[i]; i++) { in getaddrinfo()
215 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i]; in getaddrinfo()
/external/tcpdump/missing/
Dgetaddrinfo.c514 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 = NULL;
591 if (hp == NULL)
[all …]
Dgetnameinfo.c111 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);
/external/valgrind/main/massif/tests/
Dcustom_alloc.c28 static void* hp = 0; // current heap pointer in custom_alloc() local
33 if (hp + size2 > hp_lim) { in custom_alloc()
34 hp = get_superblock(); in custom_alloc()
35 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
38 p = hp + RZ; in custom_alloc()
39 hp += size2; in custom_alloc()
/external/valgrind/main/drd/tests/
Dcustom_alloc.c28 static void* hp = 0; // current heap pointer in custom_alloc() local
33 if (hp + size2 > hp_lim) { in custom_alloc()
34 hp = get_superblock(); in custom_alloc()
35 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
38 p = hp + RZ; in custom_alloc()
39 hp += size2; in custom_alloc()
/external/valgrind/main/memcheck/tests/
Dcustom_alloc.c34 static void* hp = 0; // current heap pointer in custom_alloc() local
39 if (hp + size2 > hp_lim) { in custom_alloc()
40 hp = get_superblock(); in custom_alloc()
41 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
44 p = hp + RZ; in custom_alloc()
45 hp += size2; in custom_alloc()
/external/llvm/test/CodeGen/X86/
Dhipe-prologue.ll11 define {i32, i32} @test_basic(i32 %hp, i32 %p) {
20 %1 = insertvalue {i32, i32} undef, i32 %hp, 0
25 define cc 11 {i32, i32} @test_basic_hipecc(i32 %hp, i32 %p) {
48 %1 = insertvalue {i32, i32} undef, i32 %hp, 0
53 define cc 11 {i32,i32,i32} @test_nocall_hipecc(i32 %hp,i32 %p,i32 %x,i32 %y) {
63 %4 = insertvalue {i32, i32, i32} undef, i32 %hp, 0
Dghc-cc.ll7 @hp = external global i32 ; assigned to register: EDI
33 ; CHECK-NEXT: movl hp, %edi
36 %1 = load i32* @hp
/external/nist-sip/java/gov/nist/core/
DHostNameParser.java266 HostPort hp = new HostPort(); in hostPort() local
267 hp.setHost(host); in hostPort()
279 hp.setPort(Integer.parseInt(port)); in hostPort()
312 return hp; in hostPort()
334 HostPort hp = hnp.hostPort(true); in main() local
335 System.out.println("["+hp.encode()+"]"); in main()
/external/openssh/
Dumac.c328 static void nh_aux(void *kp, void *dp, void *hp, UINT32 dlen) in nh_aux() argument
342 h = *((UINT64 *)hp); in nh_aux()
358 *((UINT64 *)hp) = h; in nh_aux()
363 static void nh_aux(void *kp, void *dp, void *hp, UINT32 dlen) in nh_aux() argument
376 h1 = *((UINT64 *)hp); in nh_aux()
377 h2 = *((UINT64 *)hp + 1); in nh_aux()
404 ((UINT64 *)hp)[0] = h1; in nh_aux()
405 ((UINT64 *)hp)[1] = h2; in nh_aux()
410 static void nh_aux(void *kp, void *dp, void *hp, UINT32 dlen) in nh_aux() argument
423 h1 = *((UINT64 *)hp); in nh_aux()
[all …]
/external/iputils/
Dtraceroute6.c341 struct hostent *hp; in main() local
458 hp = gethostbyname2(idn ? idn : *argv, AF_INET6); in main()
459 if (hp) { in main()
460 memmove((caddr_t)&to->sin6_addr, hp->h_addr, sizeof(to->sin6_addr)); in main()
461 hostname = (char *)hp->h_name; in main()
909 struct hostent *hp; in print() local
914 if ((hp = gethostbyaddr((char *)&from->sin6_addr, in print()
917 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS) in print()
922 Printf(" %s (%s)", hp ? (s ? s : hp->h_name) : hostname, pa); in print()
Dclockdiff.c554 struct hostent * hp; in main() local
602 hp = gethostbyname(hostname); in main()
603 if (hp == NULL) { in main()
607 myname = strdup(hp->h_name); in main()
609 hp = gethostbyname(argv[1]); in main()
610 if (hp == NULL) { in main()
614 hisname = strdup(hp->h_name); in main()
617 server.sin_family = hp->h_addrtype; in main()
618 memcpy(&(server.sin_addr.s_addr), hp->h_addr, 4); in main()
/external/libpcap/
Dsavefile.c874 swap_hdr(struct pcap_file_header *hp) in swap_hdr() argument
876 hp->version_major = SWAPSHORT(hp->version_major); in swap_hdr()
877 hp->version_minor = SWAPSHORT(hp->version_minor); in swap_hdr()
878 hp->thiszone = SWAPLONG(hp->thiszone); in swap_hdr()
879 hp->sigfigs = SWAPLONG(hp->sigfigs); in swap_hdr()
880 hp->snaplen = SWAPLONG(hp->snaplen); in swap_hdr()
881 hp->linktype = SWAPLONG(hp->linktype); in swap_hdr()
Dnametoaddr.c107 struct hostent *hp; in pcap_nametoaddr() local
109 if ((hp = gethostbyname(name)) != NULL) { in pcap_nametoaddr()
111 hlist[0] = (bpf_u_int32 *)hp->h_addr; in pcap_nametoaddr()
112 NTOHL(hp->h_addr); in pcap_nametoaddr()
115 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p) in pcap_nametoaddr()
117 return (bpf_u_int32 **)hp->h_addr_list; in pcap_nametoaddr()
DCREDITS33 Eric Anderson <anderse@hpl.hp.com>
49 Jean Tourrilhes <jt@hpl.hp.com>
65 Mark C. Brown <mbrown@hp.com>
87 Rick Jones <raj@cup.hp.com>
101 Xianjie Zhang <xzhang@cup.hp.com>
/external/libppp/src/
Ddefs.c156 struct hostent *hp; in GetIpAddr() local
158 hp = gethostbyname(cp); in GetIpAddr()
159 if (hp && hp->h_addrtype == AF_INET) in GetIpAddr()
160 memcpy(&ipaddr, hp->h_addr, hp->h_length); in GetIpAddr()
/external/eigen/test/
Dgeo_parametrizedline.cpp57 HyperplaneType hp(p2,n2); in parametrizedline() local
58 Scalar t = l0.intersectionParameter(hp); in parametrizedline()
60 VERIFY_IS_MUCH_SMALLER_THAN(hp.signedDistance(pi), RealScalar(1)); in parametrizedline()
62 VERIFY_IS_APPROX(l0.intersectionPoint(hp), pi); in parametrizedline()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c31 const int hp = offset & 1; // high precision mv data in encode_mv_component() local
60 vp9_write(w, hp, in encode_mv_component()
61 mv_class == MV_CLASS_0 ? mvcomp->class0_hp : mvcomp->hp); in encode_mv_component()
90 hp_cost[0] = vp9_cost_zero(mvcomp->hp); in build_nmv_component_cost_table()
91 hp_cost[1] = vp9_cost_one(mvcomp->hp); in build_nmv_component_cost_table()
194 const uint32_t hp0 = nmv_count->comps[i].hp[0]; in counts_to_nmv_context()
195 const uint32_t hp1 = nmv_count->comps[i].hp[1]; in counts_to_nmv_context()
259 update_mv(bc, branch_ct_hp[i], &mvc->comps[i].hp, in vp9_write_nmv_probs()
/external/libvpx/libvpx/vp9/common/
Dvp9_entropymv.c174 comp_counts->hp[e] += usehp * incr; in inc_mv_component()
233 comp->hp = adapt_prob(pre_comp->hp, c->hp); in vp9_adapt_mv_probs()
/external/ipsec-tools/src/racoon/
Dgetcertsbyname.c210 HEADER *hp; local
252 hp = (HEADER *)answer;
253 qdcount = ntohs(hp->qdcount);
254 ancount = ntohs(hp->ancount);
264 cp = (unsigned char *)(hp + 1);

12345678910