Searched refs:Int64FromString (Results 1 – 5 of 5) sorted by relevance
29 using bluetooth::common::Int64FromString;149 ASSERT_THAT(Int64FromString("42"), Optional(Eq(int64_t(42)))); in TEST()150 ASSERT_THAT(Int64FromString("-42"), Optional(Eq(int64_t(-42)))); in TEST()151 ASSERT_THAT(Int64FromString("0"), Optional(Eq(int64_t(0)))); in TEST()152 ASSERT_FALSE(Int64FromString("")); in TEST()154 ASSERT_FALSE(Int64FromString("0x42ab")); in TEST()155 ASSERT_FALSE(Int64FromString("-0x42")); in TEST()157 ASSERT_FALSE(Int64FromString("42.0")); in TEST()158 ASSERT_FALSE(Int64FromString("-42.0")); in TEST()159 ASSERT_FALSE(Int64FromString("42abc")); in TEST()[all …]
92 std::optional<int64_t> Int64FromString(const std::string& str);
112 std::optional<int64_t> Int64FromString(const std::string& str) { in Int64FromString() function
38 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString()51 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString()65 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString()79 auto raw_value = common::Int64FromString(str); in FromLegacyConfigString()
83 return common::Int64FromString(*value_str); in GetInt64()