/external/tcpdump/ |
D | print-hsrp.c | 98 const struct hsrp *hp = (const struct hsrp *) bp; in hsrp_print() local 100 ND_TCHECK(hp->hsrp_version); in hsrp_print() 101 ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version)); in hsrp_print() 102 if (hp->hsrp_version != 0) in hsrp_print() 104 ND_TCHECK(hp->hsrp_op_code); in hsrp_print() 106 ND_PRINT((ndo, "%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code))); in hsrp_print() 108 ND_TCHECK(hp->hsrp_state); in hsrp_print() 109 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state))); in hsrp_print() 110 ND_TCHECK(hp->hsrp_group); in hsrp_print() 111 ND_PRINT((ndo, "group=%d ", hp->hsrp_group)); in hsrp_print() [all …]
|
/external/guava/guava-tests/test/com/google/common/net/ |
D | HostAndPortTest.java | 101 HostAndPort hp; in checkFromStringCase() local 103 hp = HostAndPort.fromString(hpString); in checkFromStringCase() 115 hp2 = hp.withDefaultPort(defaultPort); in checkFromStringCase() 123 assertTrue(hp.hasPort()); in checkFromStringCase() 124 assertEquals(expectPort, hp.getPort()); in checkFromStringCase() 126 assertFalse(hp.hasPort()); in checkFromStringCase() 128 hp.getPort(); in checkFromStringCase() 133 assertEquals(expectHost, hp.getHostText()); in checkFromStringCase() 150 HostAndPort hp = HostAndPort.fromParts("gmail.com", 81); in testFromParts() local 151 assertEquals("gmail.com", hp.getHostText()); in testFromParts() [all …]
|
/external/fdlibm/ |
D | e_remainder.c | 39 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/ |
D | histrap.c | 93 char **hfirst, **hlast, **hp, *editor = NULL; in c_fc() local 184 hp = first ? hist_get(first, false, false) : in c_fc() 186 if (!hp) in c_fc() 190 strdupx(line, *hp, ATEMP); in c_fc() 201 for (s = *hp; (s1 = strstr(s, pat)) && in c_fc() 272 for (hp = rflag ? hlast : hfirst; in c_fc() 273 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) { in c_fc() 277 (unsigned long)(histptr - hp)); in c_fc() 280 s = *hp; in c_fc() 300 for (hp = rflag ? hlast : hfirst; in c_fc() [all …]
|
/external/python/cpython2/Modules/ |
D | getaddrinfo.c | 493 struct hostent *hp; local 501 hp = getipnodebyaddr(addr, gai_afd->a_addrlen, gai_afd->a_af, &h_error); 503 hp = gethostbyaddr(addr, gai_afd->a_addrlen, AF_INET); 505 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 506 GET_AI(cur, gai_afd, hp->h_addr_list[0], port); 507 GET_CANONNAME(cur, hp->h_name); 512 if (hp) 513 freehostent(hp); 521 if (hp) 522 freehostent(hp); [all …]
|
D | getnameinfo.c | 100 struct hostent *hp; local 181 hp = getipnodebyaddr(addr, gni_afd->a_addrlen, gni_afd->a_af, &h_error); 183 hp = gethostbyaddr(addr, gni_afd->a_addrlen, gni_afd->a_af); 187 if (hp) { 189 p = strchr(hp->h_name, '.'); 192 if (strlen(hp->h_name) > hostlen) { 194 freehostent(hp); 198 strcpy(host, hp->h_name); 200 freehostent(hp);
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 51 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/ppp/pppd/plugins/radius/ |
D | ip_util.c | 31 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/valgrind/massif/tests/ |
D | custom_alloc.c | 28 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/drd/tests/ |
D | custom_alloc.c | 28 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/snakeyaml/src/test/java/examples/ |
D | Hero.java | 21 private Integer hp; field in Hero 23 public Hero(String name, Integer hp, Integer sp) { in Hero() argument 27 this.hp = hp; in Hero() 39 return hp; in getHp()
|
/external/curl/lib/ |
D | socks.c | 157 Curl_addrinfo *hp=NULL; in Curl_SOCKS4() local 174 hp=dns->addr; in Curl_SOCKS4() 175 if(hp) { in Curl_SOCKS4() 177 Curl_printable_address(hp, buf, sizeof(buf)); in Curl_SOCKS4() 179 if(hp->ai_family == AF_INET) { in Curl_SOCKS4() 182 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in Curl_SOCKS4() 191 hp = NULL; /* fail! */ in Curl_SOCKS4() 198 if(!hp) { in Curl_SOCKS4() 590 Curl_addrinfo *hp = NULL; local 608 hp=dns->addr; [all …]
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_c.c | 37 struct addrinfo *hp; in main() local 73 if ((gai = getaddrinfo(argv[1], NULL, &hints, &hp)) != 0) { in main() 77 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) { in main() 83 memcpy(&sai, hp->ai_addr, hp->ai_addrlen); in main()
|
D | testsf_s.c | 34 struct addrinfo *hp; in main() local 59 if ((gai = getaddrinfo(argv[1], NULL, &hints, &hp)) != 0) { in main() 62 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) { in main() 67 memcpy(&sa, hp->ai_addr, hp->ai_addrlen); in main()
|
/external/syslinux/gnu-efi/gnu-efi-3.0/ |
D | ChangeLog | 1 2014-01-13 Nigel Croxon <nigel.croxon@hp.com> 5 Signed-off-by: Nigel Croxon <nigel.croxon@hp.com> 7 2014-01-10 Nigel Croxon <nigel.croxon@hp.com> 13 Signed-off-by: Jerry Hoemann <jerry.hoemann@hp.com> 14 Signed-off-by: Nigel Croxon <nigel.croxon@hp.com> 16 2014-01-08 Nigel Croxon <nigel.croxon@hp.com> 22 Signed-off-by: Nigel Croxon <nigel.croxon@hp.com> 24 2013-10-11 Nigel Croxon <nigel.croxon@hp.com> 29 Signed-off-by: Nigel Croxon <nigel.croxon@hp.com> 31 2013-10-07 Nigel Croxon <nigel.croxon@hp.com> [all …]
|
/external/valgrind/memcheck/tests/ |
D | custom_alloc.c | 34 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/python/cpython2/PC/VS8.0/ |
D | kill_python.c | 29 HANDLE hp, hsp, hsm; /* process, snapshot processes, snapshot modules */ in main() local 148 hp = OpenProcess(dac, FALSE, pe.th32ProcessID); in main() 149 if (!hp) { in main() 156 if (!TerminateProcess(hp, 1)) { in main() 160 CloseHandle(hp); in main() 164 CloseHandle(hp); in main()
|
/external/python/cpython2/PC/VS9.0/ |
D | kill_python.c | 29 HANDLE hp, hsp, hsm; /* process, snapshot processes, snapshot modules */ in main() local 148 hp = OpenProcess(dac, FALSE, pe.th32ProcessID); in main() 149 if (!hp) { in main() 156 if (!TerminateProcess(hp, 1)) { in main() 160 CloseHandle(hp); in main() 164 CloseHandle(hp); in main()
|
/external/ltp/testcases/network/multicast/mc_opts/ |
D | mc_verify_opts_error.c | 17 struct hostent *hp, *gethostbyname(); in main() local 34 hp = gethostbyname(argv[1]); in main() 35 if (hp) in main() 36 memcpy(&simr.s_addr, hp->h_addr, hp->h_length); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/ |
D | rpc_clnttcp_create.c | 55 struct hostent *hp = NULL; in main() local 59 if ((hp = gethostbyname(argc[1])) == NULL) { in main() 64 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
|
D | rpc_clnttcp_create_stress.c | 56 struct hostent *hp = NULL; in main() local 63 if ((hp = gethostbyname(argc[1])) == NULL) { in main() 68 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/ |
D | rpc_clntudp_create.c | 55 struct hostent *hp = NULL; in main() local 60 if ((hp = gethostbyname(argc[1])) == NULL) { in main() 68 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/ |
D | rpc_clntudp_bufcreate.c | 55 struct hostent *hp = NULL; in main() local 60 if ((hp = gethostbyname(argc[1])) == NULL) { in main() 68 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length); in main()
|
/external/compiler-rt/lib/asan/ |
D | asan_memory_profile.cc | 76 HeapProfile *hp = reinterpret_cast<HeapProfile*>(arg); in ChunkCallback() local 81 hp->Insert(id, cv.UsedSize()); in ChunkCallback() 86 HeapProfile hp; in MemoryProfileCB() local 87 __lsan::ForEachChunk(ChunkCallback, &hp); in MemoryProfileCB() 88 hp.Print(reinterpret_cast<uptr>(argument)); in MemoryProfileCB()
|
/external/pdfium/third_party/libtiff/ |
D | tif_lzw.c | 873 register hash_t *hp; in LZWEncode() local 925 hp = &sp->enc_hashtab[h]; in LZWEncode() 926 if (hp->hash == fcode) { in LZWEncode() 927 ent = hp->code; in LZWEncode() 930 if (hp->hash >= 0) { in LZWEncode() 944 hp = &sp->enc_hashtab[h]; in LZWEncode() 945 if (hp->hash == fcode) { in LZWEncode() 946 ent = hp->code; in LZWEncode() 949 } while (hp->hash >= 0); in LZWEncode() 967 hp->code = free_ent++; in LZWEncode() [all …]
|