Home
last modified time | relevance | path

Searched refs:safe_strtou64 (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dnumbers_test.cc223 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 …]
Dnumbers.h112 bool safe_strtou64(StringPiece str, uint64* value);
139 return safe_strtou64(s, value); in ProtoParseNumeric()
Dnumbers.cc272 bool safe_strtou64(StringPiece str, uint64* value) { in safe_strtou64() function
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.h413 PROTOBUF_EXPORT bool safe_strtou64(const string& str, uint64* value);
420 inline bool safe_strtou64(const char* str, uint64* value) { in safe_strtou64() function
421 return safe_strtou64(string(str), value); in safe_strtou64()
423 inline bool safe_strtou64(StringPiece str, uint64* value) { in safe_strtou64() function
424 return safe_strtou64(str.ToString(), value); in safe_strtou64()
Dstrutil.cc1376 bool safe_strtou64(const string& str, uint64* value) { in safe_strtou64() function
/external/dynamic_depth/internal/strings/
Dnumbers.h58 inline bool safe_strtou64(const string& text, uint64* value) { in safe_strtou64() function
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc784 if (GetEnvVar(kReadaheadBufferSize, strings::safe_strtou64, &value)) { in GcsFileSystem()
790 if (GetEnvVar(kBlockSize, strings::safe_strtou64, &value)) { in GcsFileSystem()
794 if (GetEnvVar(kMaxCacheSize, strings::safe_strtou64, &value)) { in GcsFileSystem()
798 if (GetEnvVar(kMaxStaleness, strings::safe_strtou64, &value)) { in GcsFileSystem()
811 if (GetEnvVar(kStatCacheMaxAge, strings::safe_strtou64, &value)) { in GcsFileSystem()
814 if (GetEnvVar(kStatCacheMaxEntries, strings::safe_strtou64, &value)) { in GcsFileSystem()
824 if (GetEnvVar(kMatchingPathsCacheMaxAge, strings::safe_strtou64, &value)) { in GcsFileSystem()
827 if (GetEnvVar(kMatchingPathsCacheMaxEntries, strings::safe_strtou64, in GcsFileSystem()
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h162 if (!strings::safe_strtou64(user_mem_bytes, &user_val)) { in Initialize()
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc158 return StringToNumber<uint64>(safe_strtou64); in ToUint64()
Djson_stream_parser.cc565 if (safe_strtou64(number, &result->uint_val)) { in ParseNumberHelper()
Dprotostream_objectwriter.cc1020 if (!safe_strtou64(s_secs, &unsigned_seconds)) { in RenderDuration()
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system.cc462 if (strings::safe_strtou64(part_size_str, &part_size_num)) { in S3FileSystem()
475 if (strings::safe_strtou64(part_size_str, &part_size_num)) { in S3FileSystem()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc705 strings::safe_strtou64(string(env_tfdbg_disk_bytes_limit), in requestDiskByteUsage()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_dataset_op.cc2023 if (!strings::safe_strtou64(max_num_str, &max_num)) { in RestoreInternal()