Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance

/system/memory/lmkd/include/
Dlmkd.h57 return (enum lmk_cmd)ntohl(pack[0]); in lmkd_pack_get_cmd()
72 target->minfree = ntohl(packet[target_idx * 2 + 1]); in lmkd_pack_get_target()
73 target->oom_adj_score = ntohl(packet[target_idx * 2 + 2]); in lmkd_pack_get_target()
115 params->pid = (pid_t)ntohl(packet[1]); in lmkd_pack_get_procprio()
116 params->uid = (uid_t)ntohl(packet[2]); in lmkd_pack_get_procprio()
117 params->oomadj = ntohl(packet[3]); in lmkd_pack_get_procprio()
119 params->ptype = field_count > 3 ? (enum proc_type)ntohl(packet[4]) : PROC_TYPE_APP; in lmkd_pack_get_procprio()
146 params->pid = (pid_t)ntohl(packet[1]); in lmkd_pack_get_procremove()
181 params->min_oomadj = ntohl(packet[1]); in lmkd_pack_get_getkillcnt()
182 params->max_oomadj = ntohl(packet[2]); in lmkd_pack_get_getkillcnt()
[all …]
/system/nfc/src/gki/common/
Dgki_inet.h25 #define ntohl(n) (n) macro
32 extern uint32_t ntohl(uint32_t n);
/system/netd/server/
DWakeupController.cpp141 args.timestampNs = ntohl(ts.tv_nsec) + (ntohl(ts.tv_sec) * kNsPerS); in init()
150 args.uid = ntohl(args.uid); in init()
154 args.gid = ntohl(args.gid); in init()
DClatdControllerTest.cpp53 return (ntohl(addr) & 0xff) == 2; in only2Free()
56 return (ntohl(addr) & 0xff) >= 6; in over6Free()
59 return (ntohl(addr) & 0xff) == 10; in only10Free()
DInterfaceController.cpp459 uint32_t m = ntohl(mask); in ipv4NetmaskToPrefixLength()
DClatdController.cpp157 in_addr_t ipv4 = ntohl(ip.s_addr); in selectIpv4Address()
/system/core/libnetutils/
Ddhcpclient.c214 info->lease = ntohl(info->lease); in decode_dhcp_msg()
272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
362 if (verbose) ALOGD("Wrong Xid 0x%x != 0x%x\n", ntohl(reply->xid), in is_valid_reply()
363 ntohl(msg->xid)); in is_valid_reply()
Difc_utils.c83 uint32_t m = (uint32_t)ntohl(mask); in ipv4NetmaskToPrefixLength()
/system/libbase/include/android-base/
Dendian.h61 #define ntohl(x) __builtin_bswap32(x) macro
/system/netd/bpf_progs/
Dbpf_net_helpers.h54 #define ntohl(x) htonl(x) macro
/system/libbase/
Dendian_test.cpp43 ASSERT_EQ(le32, ntohl(be32)); in TEST()
/system/core/libcutils/
Drecord_stream.cpp85 len = ntohl(*((uint32_t *)p_begin)); in getEndOfRecord()
/system/core/libutils/
DUnicode.cpp31 # define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & … macro
32 # define htonl(x) ntohl(x)
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h83 if (v4a.s_addr != v4b.s_addr) return (ntohl(v4a.s_addr) < ntohl(v4b.s_addr));
/system/core/adb/pairing_auth/tests/
Dpairing_auth_test.cpp295 *payload = ntohl(*payload); in TEST_F()
318 *payload = ntohl(*payload); in TEST_F()
/system/core/libsysutils/src/
DNetlinkEvent.cpp318 uid = ntohl(nlAttrU32(uid_attr)); in parseNfPacketMessage()
500 const uint32_t lifetime = ntohl(rndss_opt->nd_opt_rdnss_lifetime); in parseNdUserOptMessage()
/system/security/keystore/
Dblob.cpp426 const ssize_t encryptedLength = ntohl(rawBlob->length); in readBlob()
478 rawBlob->length = ntohl(rawBlob->length); in readBlob()
/system/core/adb/pairing_connection/
Dpairing_connection.cpp242 header->payload = ntohl(*(reinterpret_cast<uint32_t*>(p))); in ReadHeader()
/system/netd/client/
DNetdClient.cpp376 *result = ntohl(tmp); in readBE32()
/system/netd/tests/
Dbinder_test.cpp2609 uint32_t m = ntohl(mask); in ipv4NetmaskToPrefixLength()