/external/tensorflow/tensorflow/core/lib/strings/ |
D | numbers_test.cc | 223 TEST(safe_strtou64, UInt64s) { in TEST() argument 226 EXPECT_TRUE(safe_strtou64("0", &result)); in TEST() 228 EXPECT_TRUE(safe_strtou64("1", &result)); in TEST() 230 EXPECT_TRUE(safe_strtou64("123", &result)); in TEST() 232 EXPECT_TRUE(safe_strtou64(" 345 ", &result)); in TEST() 234 EXPECT_TRUE(safe_strtou64("18446744073709551615", &result)); in TEST() 238 EXPECT_FALSE(safe_strtou64(" 132.2 ", &result)); in TEST() 239 EXPECT_FALSE(safe_strtou64(" 132.2 ", &result)); in TEST() 240 EXPECT_FALSE(safe_strtou64(" -", &result)); in TEST() 241 EXPECT_FALSE(safe_strtou64("", &result)); in TEST() [all …]
|
D | numbers.h | 112 bool safe_strtou64(StringPiece str, uint64* value); 139 return safe_strtou64(s, value); in ProtoParseNumeric()
|
D | numbers.cc | 264 bool safe_strtou64(StringPiece str, uint64* value) { in safe_strtou64() function
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 410 LIBPROTOBUF_EXPORT bool safe_strtou64(const string& str, uint64* value); 417 inline bool safe_strtou64(const char* str, uint64* value) { in safe_strtou64() function 418 return safe_strtou64(string(str), value); in safe_strtou64() 420 inline bool safe_strtou64(StringPiece str, uint64* value) { in safe_strtou64() function 421 return safe_strtou64(str.ToString(), value); in safe_strtou64()
|
D | strutil.cc | 1357 bool safe_strtou64(const string& str, uint64* value) { in safe_strtou64() function
|
/external/tensorflow/tensorflow/core/util/rpc/ |
D | rpc_factory.cc | 50 return strings::safe_strtou64(env_value, value); in GetEnvVar()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | threadpool_device.cc | 65 if (strings::safe_strtou64(user_omp_threads, &user_val)) { in ThreadPoolDevice()
|
D | mkl_cpu_allocator.h | 162 if (!strings::safe_strtou64(user_mem_bytes, &user_val)) { in Initialize()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.cc | 670 if (GetEnvVar(kReadaheadBufferSize, strings::safe_strtou64, &value)) { in GcsFileSystem() 675 if (GetEnvVar(kBlockSize, strings::safe_strtou64, &value)) { in GcsFileSystem() 678 if (GetEnvVar(kMaxCacheSize, strings::safe_strtou64, &value)) { in GcsFileSystem() 681 if (GetEnvVar(kMaxStaleness, strings::safe_strtou64, &value)) { in GcsFileSystem() 695 if (GetEnvVar(kStatCacheMaxAge, strings::safe_strtou64, &value)) { in GcsFileSystem() 698 if (GetEnvVar(kStatCacheMaxEntries, strings::safe_strtou64, &value)) { in GcsFileSystem() 708 if (GetEnvVar(kMatchingPathsCacheMaxAge, strings::safe_strtou64, &value)) { in GcsFileSystem() 711 if (GetEnvVar(kMatchingPathsCacheMaxEntries, strings::safe_strtou64, in GcsFileSystem()
|
/external/dynamic_depth/internal/strings/ |
D | numbers.h | 58 inline bool safe_strtou64(const string& text, uint64* value) { in safe_strtou64() function
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 152 if (type_ == TYPE_STRING) return StringToNumber<uint64>(safe_strtou64); in ToUint64()
|
D | json_stream_parser.cc | 543 if (!safe_strtou64(number, &result->uint_val)) { in ParseNumberHelper()
|
D | protostream_objectwriter.cc | 930 if (!safe_strtou64(s_secs, &unsigned_seconds)) { in RenderDuration()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.cc | 704 strings::safe_strtou64(string(env_tfdbg_disk_bytes_limit), in requestDiskByteUsage()
|