Searched refs:safe_strtou32 (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/core/lib/strings/ |
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 | 395 LIBPROTOBUF_EXPORT bool safe_strtou32(const string& str, uint32* value); 402 inline bool safe_strtou32(const char* str, uint32* value) { in safe_strtou32() function 403 return safe_strtou32(string(str), value); in safe_strtou32() 405 inline bool safe_strtou32(StringPiece str, uint32* value) { in safe_strtou32() function 406 return safe_strtou32(str.ToString(), value); in safe_strtou32()
|
D | strutil.cc | 1349 bool safe_strtou32(const string& str, uint32* value) { in safe_strtou32() function
|
/external/tensorflow/tensorflow/contrib/ffmpeg/default/ |
D | ffmpeg_lib.cc | 264 if (strings::safe_strtou32(rgb24_width, &width_value) && in ReadInfoFile() 265 strings::safe_strtou32(rgb24_height, &height_value)) { in ReadInfoFile() 281 if (strings::safe_strtou32(number, &frames_value)) { in ReadInfoFile()
|
/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 | 763 if (GetEnvVar(kRequestConnectionTimeout, strings::safe_strtou32, in GcsFileSystem() 767 if (GetEnvVar(kRequestIdleTimeout, strings::safe_strtou32, &timeout_value)) { in GcsFileSystem() 770 if (GetEnvVar(kMetadataRequestTimeout, strings::safe_strtou32, in GcsFileSystem() 774 if (GetEnvVar(kReadRequestTimeout, strings::safe_strtou32, &timeout_value)) { in GcsFileSystem() 777 if (GetEnvVar(kWriteRequestTimeout, strings::safe_strtou32, &timeout_value)) { in GcsFileSystem()
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
D | capture_profile.cc | 52 if (parts.size() != 2 || !strings::safe_strtou32(parts[1], &port) || in ValidateHostPortPair()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_channel.cc | 49 if (!strings::safe_strtou32(host_port.substr(colon_index + 1), &port) || in ValidateHostPortPair()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 128 if (type_ == TYPE_STRING) return StringToNumber<uint32>(safe_strtou32); in ToUint32()
|