Searched refs:safe_strto32 (Results 1 – 11 of 11) sorted by relevance
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | stringutil_test.cc | 112 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/ |
D | strutil.h | 396 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()
|
D | strutil.cc | 1347 bool safe_strto32(const string& str, int32* value) { in safe_strto32() function
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | stringutil.h | 62 void safe_strto32(const string& s, int32 *n);
|
D | stringutil.cc | 95 void safe_strto32(const string& s, int32 *n) { in safe_strto32() function
|
D | phonenumberutil.cc | 2952 safe_strto32(national_number->substr(0, i), &potential_country_code); in ExtractCountryCode()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 118 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32()
|
D | protostream_objectwriter.cc | 143 if (!s_nanos.empty() && !safe_strto32(s_nanos, &i_nanos)) { in GetNanosFromStringPiece()
|
/third_party/protobuf/ |
D | libprotobuf_lite.map | 206 …"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/ |
D | text_format.cc | 451 safe_strto32(field_name, &field_number)) { in ConsumeField()
|
D | descriptor_unittest.cc | 7056 safe_strto32( in FullMatch()
|