Home
last modified time | relevance | path

Searched refs:safe_strto32 (Results 1 – 11 of 11) sorted by relevance

/third_party/libphonenumber/cpp/test/phonenumbers/
Dstringutil_test.cc112 TEST(StringUtilTest, safe_strto32) { in TEST() argument
115 safe_strto32("0", &n); in TEST()
118 safe_strto32("16", &n); in TEST()
121 safe_strto32("2147483647", &n); in TEST()
124 safe_strto32("-2147483648", &n); in TEST()
/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.h396 PROTOBUF_EXPORT bool safe_strto32(const string& str, int32* value);
398 inline bool safe_strto32(const char* str, int32* value) { in safe_strto32() function
399 return safe_strto32(string(str), value); in safe_strto32()
401 inline bool safe_strto32(StringPiece str, int32* value) { in safe_strto32() function
402 return safe_strto32(str.ToString(), value); in safe_strto32()
Dstrutil.cc1347 bool safe_strto32(const string& str, int32* value) { in safe_strto32() function
/third_party/libphonenumber/cpp/src/phonenumbers/
Dstringutil.h62 void safe_strto32(const string& s, int32 *n);
Dstringutil.cc95 void safe_strto32(const string& s, int32 *n) { in safe_strto32() function
Dphonenumberutil.cc2952 safe_strto32(national_number->substr(0, i), &potential_country_code); in ExtractCountryCode()
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc118 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32()
Dprotostream_objectwriter.cc143 if (!s_nanos.empty() && !safe_strto32(s_nanos, &i_nanos)) { in GetNanosFromStringPiece()
/third_party/protobuf/
Dlibprotobuf_lite.map206 …"google::protobuf::safe_strto32(std::__h::basic_string<char, std::__h::char_traits<char>, std::__h…
276 …"google::protobuf::safe_strto32(std::__cxx11::basic_string<char, std::char_traits<char>, std::allo…
478 …"google::protobuf::safe_strto32(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1…
/third_party/protobuf/src/google/protobuf/
Dtext_format.cc451 safe_strto32(field_name, &field_number)) { in ConsumeField()
Ddescriptor_unittest.cc7056 safe_strto32( in FullMatch()