OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:be16
(Results
1 - 4
of
4
) sorted by null
/bionic/tests/
endian_test.cpp
25
static constexpr uint16_t
be16
= 0x3412;
variable
45
ASSERT_EQ(
be16
, htons(le16));
55
ASSERT_EQ(le16, ntohs(
be16
));
64
ASSERT_EQ(
be16
, htobe16(le16));
76
ASSERT_EQ(le16, be16toh(
be16
));
89
ASSERT_EQ(le16, betoh16(
be16
));
netinet_in_test.cpp
29
static constexpr uint16_t
be16
= 0x3412;
variable
49
ASSERT_EQ(
be16
, (htons)(le16));
65
ASSERT_EQ(le16, (ntohs)(
be16
));
/system/core/base/
endian_test.cpp
34
static constexpr uint16_t
be16
= 0x3412;
local
38
ASSERT_EQ(
be16
, htons(le16));
42
ASSERT_EQ(le16, ntohs(
be16
));
46
ASSERT_EQ(
be16
, htobe16(le16));
50
ASSERT_EQ(le16, betoh16(
be16
));
62
ASSERT_EQ(le16, be16toh(
be16
));
/external/wpa_supplicant_8/src/utils/
common.h
167
#define be_to_host16(n) bswap_16((__force u16) (
be16
) (n))
168
#define host_to_be16(n) ((__force
be16
) bswap_16((n)))
429
typedef u16 __bitwise
be16
;
typedef
Completed in 68 milliseconds