Searched refs:Uint64FromString (Results 1 – 5 of 5) sorted by relevance
35 using bluetooth::common::Uint64FromString;136 ASSERT_THAT(Uint64FromString("42"), Optional(Eq(uint64_t(42)))); in TEST()137 ASSERT_THAT(Uint64FromString("0"), Optional(Eq(uint64_t(0)))); in TEST()138 ASSERT_FALSE(Uint64FromString("")); in TEST()140 ASSERT_FALSE(Uint64FromString("0x42ab")); in TEST()142 ASSERT_FALSE(Uint64FromString("-42")); in TEST()144 ASSERT_FALSE(Uint64FromString("42.0")); in TEST()145 ASSERT_FALSE(Uint64FromString("-42.0")); in TEST()146 ASSERT_FALSE(Uint64FromString("42abc")); in TEST()147 ASSERT_FALSE(Uint64FromString("")); in TEST()[all …]
68 std::optional<uint64_t> Uint64FromString(const std::string& str);
135 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() function
118 auto num_64bit = common::Uint64FromString(str); in FromLegacyConfigString()
52 return common::Uint64FromString(*value_str); in GetUint64()