Home
last modified time | relevance | path

Searched refs:Uint64FromString (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/common/
Dstrings_test.cc38 using bluetooth::common::Uint64FromString;
180 ASSERT_THAT(Uint64FromString("42"), Optional(Eq(uint64_t(42)))); in TEST()
181 ASSERT_THAT(Uint64FromString("0"), Optional(Eq(uint64_t(0)))); in TEST()
182 ASSERT_FALSE(Uint64FromString("")); in TEST()
184 ASSERT_FALSE(Uint64FromString("0x42ab")); in TEST()
186 ASSERT_FALSE(Uint64FromString("-42")); in TEST()
188 ASSERT_FALSE(Uint64FromString("42.0")); in TEST()
189 ASSERT_FALSE(Uint64FromString("-42.0")); in TEST()
190 ASSERT_FALSE(Uint64FromString("42abc")); in TEST()
191 ASSERT_FALSE(Uint64FromString("")); in TEST()
[all …]
Dstrings.h94 std::optional<uint64_t> Uint64FromString(const std::string& str);
Dstrings.cc135 std::optional<uint64_t> Uint64FromString(const std::string& str) { in Uint64FromString() function
/system/bt/gd/storage/
Dconfig_cache_helper.cc52 return common::Uint64FromString(*value_str); in GetUint64()
/system/bt/gd/hal/
Dsnoop_logger.cc388 … auto max_packets_per_file_number = common::Uint64FromString(max_packets_per_file_prop.value()); in GetMaxPacketsPerFile()