Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/strings/
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.cc264 bool safe_strtou64(StringPiece str, uint64* value) { in safe_strtou64() function
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.h410 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()
Dstrutil.cc1357 bool safe_strtou64(const string& str, uint64* value) { in safe_strtou64() function
/external/tensorflow/tensorflow/core/util/rpc/
Drpc_factory.cc50 return strings::safe_strtou64(env_value, value); in GetEnvVar()
/external/tensorflow/tensorflow/core/common_runtime/
Dthreadpool_device.cc65 if (strings::safe_strtou64(user_omp_threads, &user_val)) { in ThreadPoolDevice()
Dmkl_cpu_allocator.h162 if (!strings::safe_strtou64(user_mem_bytes, &user_val)) { in Initialize()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc670 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/
Dnumbers.h58 inline bool safe_strtou64(const string& text, uint64* value) { in safe_strtou64() function
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc152 if (type_ == TYPE_STRING) return StringToNumber<uint64>(safe_strtou64); in ToUint64()
Djson_stream_parser.cc543 if (!safe_strtou64(number, &result->uint_val)) { in ParseNumberHelper()
Dprotostream_objectwriter.cc930 if (!safe_strtou64(s_secs, &unsigned_seconds)) { in RenderDuration()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc704 strings::safe_strtou64(string(env_tfdbg_disk_bytes_limit), in requestDiskByteUsage()