Searched refs:safe_strtou32 (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | numbers_test.cc | 154 TEST(safe_strtou32, UInt32s) { in TEST() argument 157 EXPECT_TRUE(safe_strtou32("0", &result)); in TEST() 159 EXPECT_TRUE(safe_strtou32("1", &result)); in TEST() 161 EXPECT_TRUE(safe_strtou32("123", &result)); in TEST() 163 EXPECT_TRUE(safe_strtou32("4294967295", &result)); in TEST() 167 EXPECT_FALSE(safe_strtou32(" 132as ", &result)); in TEST() 168 EXPECT_FALSE(safe_strtou32(" 132.2 ", &result)); in TEST() 169 EXPECT_FALSE(safe_strtou32(" -", &result)); in TEST() 170 EXPECT_FALSE(safe_strtou32("", &result)); in TEST() 171 EXPECT_FALSE(safe_strtou32(" ", &result)); in TEST() [all …]
|
D | numbers.h | 102 bool safe_strtou32(StringPiece str, uint32* value); 131 return safe_strtou32(s, value); in ProtoParseNumeric()
|
D | numbers.cc | 315 bool safe_strtou32(StringPiece str, uint32* value) { in safe_strtou32() function
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 398 PROTOBUF_EXPORT bool safe_strtou32(const string& str, uint32* value); 405 inline bool safe_strtou32(const char* str, uint32* value) { in safe_strtou32() function 406 return safe_strtou32(string(str), value); in safe_strtou32() 408 inline bool safe_strtou32(StringPiece str, uint32* value) { in safe_strtou32() function 409 return safe_strtou32(str.ToString(), value); in safe_strtou32()
|
D | strutil.cc | 1368 bool safe_strtou32(const string& str, uint32* value) { in safe_strtou32() function
|
/external/dynamic_depth/internal/strings/ |
D | numbers.h | 54 inline bool safe_strtou32(const string& text, uint32* value) { in safe_strtou32() function
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.cc | 839 if (GetEnvVar(kRequestConnectionTimeout, strings::safe_strtou32, in GcsFileSystem() 843 if (GetEnvVar(kRequestIdleTimeout, strings::safe_strtou32, &timeout_value)) { in GcsFileSystem() 846 if (GetEnvVar(kMetadataRequestTimeout, strings::safe_strtou32, in GcsFileSystem() 850 if (GetEnvVar(kReadRequestTimeout, strings::safe_strtou32, &timeout_value)) { in GcsFileSystem() 853 if (GetEnvVar(kWriteRequestTimeout, strings::safe_strtou32, &timeout_value)) { in GcsFileSystem()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_channel.cc | 55 if (!strings::safe_strtou32(host_port.substr(colon_index + 1), &port) || in ValidateHostPortPair()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 133 return StringToNumber<uint32>(safe_strtou32); in ToUint32()
|