Searched refs:hton (Results 1 – 5 of 5) sorted by relevance
33 inline static IntType hton(const IntType& value) { in hton() function45 inline static IntType hton(const IntType& value) { return value; } in hton() function48 template <typename IntType> inline IntType hton(const IntType& value) { in hton() function49 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()54 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in ntoh()
441 inline static IntType hton(const IntType& value) { in hton() function453 inline static IntType hton(const IntType& value) { return value; } in hton() function456 template <typename IntType> inline IntType hton(const IntType& value) { in hton() function457 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in hton()462 return choose_hton<IntType, __BYTE_ORDER__>::hton(value); in ntoh()
526 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()549 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()578 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()602 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()629 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()658 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()687 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()710 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()762 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in TEST_F()763 token.timestamp = hton(kmen.current_time()); in TEST_F()[all …]
74 token->authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)); in make_token()76 token->timestamp = hton(timestamp); in make_token()
207 template <typename T> T hton(T t) { in hton() function