/external/tcpdump/ |
D | print-hsrp.c | 97 struct hsrp *hp = (struct hsrp *) bp; in hsrp_print() local 99 ND_TCHECK(hp->hsrp_version); in hsrp_print() 100 ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version)); in hsrp_print() 101 if (hp->hsrp_version != 0) in hsrp_print() 103 ND_TCHECK(hp->hsrp_op_code); in hsrp_print() 105 ND_PRINT((ndo, "%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code))); in hsrp_print() 107 ND_TCHECK(hp->hsrp_state); in hsrp_print() 108 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state))); in hsrp_print() 109 ND_TCHECK(hp->hsrp_group); in hsrp_print() 110 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 | 99 char **hfirst, **hlast, **hp, *editor = NULL; in c_fc() local 190 hp = first ? hist_get(first, false, false) : in c_fc() 192 if (!hp) in c_fc() 196 strdupx(line, *hp, ATEMP); in c_fc() 207 for (s = *hp; (s1 = strstr(s, pat)) && in c_fc() 278 for (hp = rflag ? hlast : hfirst; in c_fc() 279 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) { in c_fc() 283 (unsigned long)(histptr - hp)); in c_fc() 286 s = *hp; in c_fc() 307 for (hp = rflag ? hlast : hfirst; in c_fc() [all …]
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 521 struct hostent *hp; local 558 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error); 561 hp = gethostbyname2(hostname, pai->ai_family); 565 hp = gethostbyname(hostname); 574 if (hp == NULL) { 589 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 590 || (hp->h_addr_list[0] == NULL)) { 592 freehostent(hp); 594 hp = NULL; 598 if (hp == NULL) [all …]
|
/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/tcpdump/missing/ |
D | getnameinfo.c | 106 struct hostent *hp; local 239 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 241 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 249 if (hp) { 251 p = strchr(hp->h_name, '.'); 254 if (strlen(hp->h_name) + 1 > hostlen) { 256 freehostent(hp); 260 strcpy(host, hp->h_name); 262 freehostent(hp);
|
/external/curl/lib/ |
D | socks.c | 153 Curl_addrinfo *hp=NULL; in Curl_SOCKS4() local 170 hp=dns->addr; in Curl_SOCKS4() 171 if(hp) { in Curl_SOCKS4() 174 Curl_printable_address(hp, buf, sizeof(buf)); in Curl_SOCKS4() 185 hp = NULL; /* fail! */ in Curl_SOCKS4() 192 if(!hp) { in Curl_SOCKS4() 577 Curl_addrinfo *hp = NULL; local 595 hp=dns->addr; 596 if(hp) { 603 if(hp->ai_family == AF_INET) { [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/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 …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_lzw.c | 864 register hash_t *hp; in LZWEncode() local 915 hp = &sp->enc_hashtab[h]; in LZWEncode() 916 if (hp->hash == fcode) { in LZWEncode() 917 ent = hp->code; in LZWEncode() 920 if (hp->hash >= 0) { in LZWEncode() 934 hp = &sp->enc_hashtab[h]; in LZWEncode() 935 if (hp->hash == fcode) { in LZWEncode() 936 ent = hp->code; in LZWEncode() 939 } while (hp->hash >= 0); in LZWEncode() 957 hp->code = free_ent++; in LZWEncode() [all …]
|
/external/libedit/src/ |
D | common.c | 708 const Char *hp; in ed_search_prev_history() local 732 hp = HIST_FIRST(el); in ed_search_prev_history() 733 if (hp == NULL) in ed_search_prev_history() 739 hp = HIST_NEXT(el); in ed_search_prev_history() 741 while (hp != NULL) { in ed_search_prev_history() 743 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp); in ed_search_prev_history() 745 if ((Strncmp(hp, el->el_line.buffer, (size_t) in ed_search_prev_history() 747 hp[el->el_line.lastchar - el->el_line.buffer]) && in ed_search_prev_history() 748 c_hmatch(el, hp)) { in ed_search_prev_history() 753 hp = HIST_NEXT(el); in ed_search_prev_history() [all …]
|
/external/libnl/lib/route/sch/ |
D | prio.c | 91 int i, hp; in prio_dump_details() local 105 hp = (((TC_PRIO_MAX/2) + 1) & ~1); in prio_dump_details() 107 for (i = 0; i < hp; i++) { in prio_dump_details() 112 if (hp+i <= TC_PRIO_MAX) { in prio_dump_details() 114 rtnl_prio2str(hp+i, a, sizeof(a)), in prio_dump_details() 115 prio->qp_priomap[hp+i]); in prio_dump_details() 116 if (i < (hp - 1)) { in prio_dump_details()
|
/external/curl/CMake/ |
D | CurlTests.c | 118 struct hostent *hp; in main() local 130 hp = gethostbyaddr_r(address, length, type, &h, buffer, 8192, &h_errnop); in main() 131 (void)hp; in main() 134 rc = gethostbyaddr_r(address, length, type, &h, buffer, 8192, &hp, &h_errnop); in main() 143 (void)hp; /* not used for test */ in main() 146 rc = gethostbyname_r(address, &h, buffer, 8192, &hp, &h_errnop); in main()
|
/external/llvm/test/CodeGen/X86/ |
D | hipe-prologue.ll | 11 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
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | HttpTransportSE.java | 182 HeaderProperty hp = (HeaderProperty) headers.get(i); in call() local 183 connection.setRequestProperty(hp.getKey(), hp.getValue()); in call() 213 HeaderProperty hp = (HeaderProperty) retHeaders.get(i); in call() local 215 if (null == hp.getKey()) { in call() 220 if (hp.getKey().equalsIgnoreCase("Content-Encoding") in call() 221 && hp.getValue().equalsIgnoreCase("gzip")) { in call()
|
/external/curl/tests/unit/ |
D | unit1305.c | 43 static struct curl_hash hp; variable 54 rc = Curl_mk_dnscache(&hp); in unit_setup() 70 Curl_hash_destroy(&hp); in unit_stop() 133 nodep = Curl_hash_add(&hp, data_key, key_len+1, data_node);
|
/external/nist-sip/java/gov/nist/core/ |
D | HostNameParser.java | 266 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/xmlrpcpp/src/ |
D | XmlRpcSocket.cpp | 154 struct hostent *hp = gethostbyname(host.c_str()); in connect() local 155 if (hp == 0) return false; in connect() 157 saddr.sin_family = hp->h_addrtype; in connect() 158 memcpy(&saddr.sin_addr, hp->h_addr, hp->h_length); in connect()
|
/external/clang/test/SemaCUDA/ |
D | function-overload.cu | 80 fp_t hp = h; in hostf() local 106 fp_t hp = h; in devicef() local 140 fp_t hp = h; in globalf() local 174 fp_t hp = h; in hostdevicef() local 230 fp_t hp = h; variable
|
/external/clang/test/CodeGenCUDA/ |
D | function-overload.cu | 86 fp_t hp = h; // CHECK-HOST: store {{.*}} @_Z1hv, {{.*}} %hp, in hostf() local 110 fp_t hp = h; // CHECK-DEVICE-NC: store {{.*}} @_Z1hv, {{.*}} %hp, in devicef() local 133 fp_t hp = h; // CHECK-BOTH-NC: store {{.*}} @_Z1hv, {{.*}} %hp, in hostdevicef() local 158 fp_t hp = h; variable
|
/external/iputils/ |
D | traceroute6.c | 341 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()
|