Searched refs:htonl (Results 1 - 25 of 29) sorted by relevance
12
/system/core/lmkd/include/ |
H A D | lmkd.h | 79 packet[idx++] = htonl(LMK_TARGET); 81 packet[idx++] = htonl(targets->minfree); 82 packet[idx++] = htonl(targets->oom_adj_score); 113 packet[0] = htonl(LMK_PROCPRIO); 114 packet[1] = htonl(params->pid); 115 packet[2] = htonl(params->uid); 116 packet[3] = htonl(params->oomadj); 140 packet[0] = htonl(LMK_PROCREMOVE); 141 packet[1] = htonl(params->pid);
|
/system/netd/server/ |
H A D | WakeupControllerTest.cpp | 115 msg.uid = htonl(kUid); 119 msg.gid = htonl(kGid); 123 msg.ts.tv_sec = htonl(kTsNs / kNsPerS); 124 msg.ts.tv_nsec = htonl(kTsNs % kNsPerS); 176 msg.uid = htonl(kUid); 180 msg.gid = htonl(kGid); 184 msg.ts.tv_sec = htonl(kTsNs / kNsPerS); 185 msg.ts.tv_nsec = htonl(kTsNs % kNsPerS); 236 msg.uid = htonl(kUid); 245 msg.gid = htonl(kGi [all...] |
H A D | DnsProxyListener.cpp | 276 uint32_t be_data = htonl(data); 301 uint32_t buf = htonl(hp->h_addrtype); 304 buf = htonl(hp->h_length);
|
H A D | SockDiag.cpp | 138 in6_addr mapped = { .s6_addr32 = { 0, 0, htonl(0xffff), 0 } }; 251 return IN_LOOPBACK(htonl(msg->id.idiag_src[0])) || 252 IN_LOOPBACK(htonl(msg->id.idiag_dst[0])) ||
|
H A D | SockDiagTest.cpp | 109 EXPECT_EQ(htonl(INADDR_LOOPBACK), msg->id.idiag_src[0]); 131 (IN6_IS_ADDR_V4MAPPED(saddr) && saddr->s6_addr32[3] == htonl(INADDR_LOOPBACK)));
|
H A D | NFLogListener.cpp | 100 msg.mode.copy_range = htonl(range);
|
H A D | XfrmControllerTest.cpp | 324 EXPECT_EQ(htonl(DROID_SPI), usersa.id.spi); 462 EXPECT_EQ(htonl(DROID_SPI), policy.tmpl.id.spi); 528 EXPECT_EQ(htonl(DROID_SPI), said.spi);
|
/system/bt/hci/src/ |
H A D | btsnoop.cc | 232 return static_cast<uint64_t>(htonl(ll & 0xffffffff)) << 32 | 233 htonl(ll >> 32); 263 header.length_original = htonl(length_he); 265 header.flags = htonl(flags);
|
H A D | btsnoop_net.cc | 113 addr.sin_addr.s_addr = htonl(LOCALHOST_);
|
/system/extras/alloc-stress/ |
H A D | alloc-stress.cpp | 160 lmk_procprio_cmd[0] = htonl(1); 161 lmk_procprio_cmd[1] = htonl(getpid()); 162 lmk_procprio_cmd[2] = htonl(getuid()); 163 lmk_procprio_cmd[3] = htonl(oomadj);
|
/system/extras/tests/tcp_nuke_addr/ |
H A D | tcp_nuke_addr_test.cpp | 52 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK); 54 while (sin.sin_addr.s_addr == htonl(INADDR_LOOPBACK)) {
|
/system/core/base/ |
H A D | endian_test.cpp | 39 ASSERT_EQ(be32, htonl(le32));
|
/system/core/base/include/android-base/ |
H A D | endian.h | 31 /* glibc keeps htons and htonl in <netinet/in.h>. */ 57 #define htonl(x) __builtin_bswap32(x) macro
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | test_channel_transport.cc | 47 listen_address.sin_addr.s_addr = htonl(INADDR_ANY);
|
/system/core/adb/sysdeps/posix/ |
H A D | network.cpp | 38 addr4->sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/system/netd/tests/ |
H A D | sock_diag_test.cpp | 107 EXPECT_EQ(htonl(INADDR_LOOPBACK), msg->id.idiag_src[0]); 131 (IN6_IS_ADDR_V4MAPPED(saddr) && saddr->s6_addr32[3] == htonl(INADDR_LOOPBACK)));
|
/system/core/debuggerd/ |
H A D | crash_dump.cpp | 166 uint32_t datum = htonl(pid); 171 datum = htonl(signal);
|
/system/bt/osi/src/ |
H A D | socket.cc | 99 addr.sin_addr.s_addr = htonl(LOCALHOST_);
|
/system/bt/tools/hci/ |
H A D | main.c | 183 addr.sin_addr.s_addr = htonl(0x7F000001);
|
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 108 uint32_t tmp = htonl(len);
|
/system/gatekeeper/tests/ |
H A D | gatekeeper_device_test.cpp | 101 ASSERT_EQ(htonl(HW_AUTH_PASSWORD), hat->authenticator_type);
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 75 mask = htonl(mask); 332 ((struct in_addr *)addr)->s_addr |= htonl((1<<(32-prefixlen))-1);
|
/system/core/libutils/ |
H A D | Unicode.cpp | 26 # undef htonl macro 31 # define htonl(x) ntohl(x) macro
|
/system/gatekeeper/ |
H A D | gatekeeper.cpp | 235 token->authenticator_type = htonl(HW_AUTH_PASSWORD);
|
/system/security/keystore/ |
H A D | blob.cpp | 213 mBlob.length = htonl(mBlob.length);
|
Completed in 257 milliseconds
12