/external/ppp/pppd/plugins/radius/ |
ip_util.c | 31 struct hostent *hp; local 37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) 42 return ntohl((*(UINT4 *) hp->h_addr)); 105 struct hostent *hp; local 108 if ((hp = gethostbyaddr ((char *) &n_ipaddr, sizeof (struct in_addr), 113 return ((hp==NULL)?"unknown":hp->h_name);
|
/external/python/cpython2/PC/VS8.0/ |
kill_python.c | 29 HANDLE hp, hsp, hsm; /* process, snapshot processes, snapshot modules */ local 148 hp = OpenProcess(dac, FALSE, pe.th32ProcessID); 149 if (!hp) { 156 if (!TerminateProcess(hp, 1)) { 160 CloseHandle(hp); 164 CloseHandle(hp);
|
/external/python/cpython2/PC/VS9.0/ |
kill_python.c | 29 HANDLE hp, hsp, hsm; /* process, snapshot processes, snapshot modules */ local 148 hp = OpenProcess(dac, FALSE, pe.th32ProcessID); 149 if (!hp) { 156 if (!TerminateProcess(hp, 1)) { 160 CloseHandle(hp); 164 CloseHandle(hp);
|
/external/tcpdump/ |
print-hsrp.c | 98 const struct hsrp *hp = (const struct hsrp *) bp; local 100 ND_TCHECK(hp->hsrp_version); 101 ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version)); 102 if (hp->hsrp_version != 0) 104 ND_TCHECK(hp->hsrp_op_code); 106 ND_PRINT((ndo, "%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code))); 108 ND_TCHECK(hp->hsrp_state); 109 ND_PRINT((ndo, "state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state))); 110 ND_TCHECK(hp->hsrp_group); 111 ND_PRINT((ndo, "group=%d ", hp->hsrp_group)) [all...] |
/external/valgrind/drd/tests/ |
custom_alloc.c | 28 static void* hp = 0; // current heap pointer local 33 if (hp + size2 > hp_lim) { 34 hp = get_superblock(); 35 hp_lim = hp + SUPERBLOCK_SIZE - 1; 38 p = hp + RZ; 39 hp += size2;
|
/external/valgrind/massif/tests/ |
custom_alloc.c | 28 static void* hp = 0; // current heap pointer local 33 if (hp + size2 > hp_lim) { 34 hp = get_superblock(); 35 hp_lim = hp + SUPERBLOCK_SIZE - 1; 38 p = hp + RZ; 39 hp += size2;
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
VendorInfo.java | 17 package com.android.printservice.recommendation.plugin.hp;
|
/external/compiler-rt/lib/asan/ |
asan_memory_profile.cc | 76 HeapProfile *hp = reinterpret_cast<HeapProfile*>(arg); local 81 hp->Insert(id, cv.UsedSize()); 86 HeapProfile hp; local 87 __lsan::ForEachChunk(ChunkCallback, &hp); 88 hp.Print(reinterpret_cast<uptr>(argument));
|
/external/ltp/testcases/network/multicast/mc_commo/ |
mc_recv.c | 29 struct hostent *hp, *gethostbyname(); local 48 if ((hp = gethostbyname(argv[2]))) 49 memcpy(&imr.imr_interface.s_addr, hp->h_addr, hp->h_length);
|
mc_send.c | 24 struct hostent *hp, *gethostbyname(); local 49 if ((hp = gethostbyname(argv[2]))) { 50 memcpy(&imr.imr_interface.s_addr, hp->h_addr, hp->h_length);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/ |
rpc_pmap_rmtcall_stress.c | 54 struct hostent *hp = NULL; local 66 if ((hp = gethostbyname(argc[1])) == NULL) { 72 sin.sin_addr.s_addr = *(u_int *) hp->h_addr;
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/ |
rpc_clntudp_bufcreate_limits.c | 66 struct hostent *hp = NULL; local 71 if ((hp = gethostbyname(argc[1])) == NULL) { 79 bcopy(hp->h_addr, (caddr_t) & server_addr.sin_addr, hp->h_length);
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 51 struct hostent *hp; local 70 hp = gethostbyaddr((char *)&sin->sin_addr, 72 if (hp == NULL) 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 158 struct hostent *hp; local 209 hp = gethostbyname(hostname); 210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) [all...] |
/external/valgrind/memcheck/tests/ |
custom_alloc.c | 34 static void* hp = 0; // current heap pointer local 39 if (hp + size2 > hp_lim) { 40 hp = get_superblock(); 41 hp_lim = hp + SUPERBLOCK_SIZE - 1; 44 p = hp + RZ; 45 hp += size2;
|
/external/guava/guava-tests/test/com/google/common/net/ |
HostAndPortTest.java | 101 HostAndPort hp; local 103 hp = HostAndPort.fromString(hpString); 115 hp2 = hp.withDefaultPort(defaultPort); 123 assertTrue(hp.hasPort()); 124 assertEquals(expectPort, hp.getPort()); 126 assertFalse(hp.hasPort()); 128 hp.getPort(); 133 assertEquals(expectHost, hp.getHostText()); 150 HostAndPort hp = HostAndPort.fromParts("gmail.com", 81); local 151 assertEquals("gmail.com", hp.getHostText()) 169 HostAndPort hp = HostAndPort.fromHost("gmail.com"); local [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpTransportSE.java | 182 HeaderProperty hp = (HeaderProperty) headers.get(i); local 183 connection.setRequestProperty(hp.getKey(), hp.getValue()); 213 HeaderProperty hp = (HeaderProperty) retHeaders.get(i); local 215 if (null == hp.getKey()) { 220 if (hp.getKey().equalsIgnoreCase("Content-Encoding") 221 && hp.getValue().equalsIgnoreCase("gzip")) {
|
/bionic/libc/dns/net/ |
sethostent.c | 91 struct hostent *hp; local 108 hp = _hf_gethtbyname2(name, AF_INET6, info); 110 hp = NULL; 111 if (hp == NULL) 112 hp = _hf_gethtbyname2(name, AF_INET, info); 116 hp = _hf_gethtbyname2(name, af, info); 118 if (hp == NULL) { 130 struct hostent *hp, hent; local 159 info->hp->h_addrtype = af; 160 info->hp->h_length = 0 244 struct hostent *hp; local [all...] |
/bionic/tests/ |
netdb_test.cpp | 186 hostent* hp = gethostbyname("localhost"); local 187 VerifyLocalhost(hp); 191 hostent* hp = gethostbyname2("localhost", AF_INET); local 192 VerifyLocalhost(hp); 197 hostent *hp; local 200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); 202 VerifyLocalhost(hp); 204 // Change hp->h_addr to test reentrancy. 205 hp->h_addr[0] = 0; 214 ASSERT_EQ(0, hp->h_addr[0]) 219 hostent *hp; local 241 hostent *hp = gethostbyaddr(&addr, sizeof(addr), AF_INET); local 248 hostent *hp; local 270 hostent *hp; local 280 hostent *hp; local 291 hostent *hp; local [all...] |
/device/google/dragon/audio/hal/dsp/ |
crossover2.h | 43 * Each lp or hp is an LR4 filter, which consists of two second-order 47 struct lr42 lp[3], hp[3]; member in struct:crossover2
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnetnamadr.c | 121 struct netent *hp = 0;
local 127 while (!hp) {
132 hp = _getnetbyhtname(name);
135 hp = _getnetbydnsname(name);
138 hp = _getnetbynisname(name);
143 return hp;
149 struct netent *hp = 0;
local 155 while (!hp) {
160 hp = _getnetbyhtaddr(addr, af);
163 hp = _getnetbydnsaddr(addr, af); [all...] |
ns_addr.c | 118 int hb[6], *hp;
local 202 hp = hb + i - 1;
204 while (hp > hb) {
205 (void)sscanf(bp, fmt, hp);
207 hp--;
210 (void)sscanf(buf, fmt, hp);
|
/external/ipsec-tools/src/racoon/ |
isakmp_frag.c | 169 int *hp; local 171 hp = (int *)(gen + 1); 173 return ntohl(hp[MD5_DIGEST_LENGTH / sizeof(*hp)]);
|
/external/libmojo/mojo/public/c/system/tests/ |
core_unittest.cc | 176 MojoHandle hp, hc; local 183 hp = MOJO_HANDLE_INVALID; 185 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateDataPipe(nullptr, &hp, &hc)); 186 EXPECT_NE(hp, MOJO_HANDLE_INVALID); 198 // The producer |hp| should be writable. 200 MojoWait(hp, MOJO_HANDLE_SIGNAL_WRITABLE, 0, &state)); 217 // Write to |hp|. 221 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteData(hp, kHello, &buffer_size, 236 // Do a two-phase write to |hp|. 237 EXPECT_EQ(MOJO_RESULT_OK, MojoBeginWriteData(hp, &write_pointer, &buffer_size [all...] |
/external/libnl/lib/route/qdisc/ |
prio.c | 71 int i, hp; local 85 hp = (((TC_PRIO_MAX/2) + 1) & ~1); 87 for (i = 0; i < hp; i++) { 92 if (hp+i <= TC_PRIO_MAX) { 94 rtnl_prio2str(hp+i, a, sizeof(a)), 95 prio->qp_priomap[hp+i]); 96 if (i < (hp - 1)) {
|
/external/ltp/testcases/network/multicast/mc_member/ |
mc_member_test.c | 26 struct hostent *hp, *gethostbyname(); local 75 hp = gethostbyname(interface); 76 if (hp != NULL) { 77 memcpy(&imr.imr_interface.s_addr, hp->h_addr, hp->h_length);
|