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