Home
last modified time | relevance | path

Searched refs:ParseLocalName (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dplacement_test.cc133 ASSERT_TRUE(DeviceNameUtils::ParseLocalName("FakeGPU:99", &requested)); in TEST_F()
148 ASSERT_TRUE(DeviceNameUtils::ParseLocalName("CPU:0", &requested)); in TEST_F()
174 ASSERT_TRUE(DeviceNameUtils::ParseLocalName("FakeGPU:99", &requested)); in TEST_F()
/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc250 EXPECT_TRUE(DeviceNameUtils::ParseLocalName("CPU:10", &p)); in TEST()
254 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("cpu:abc", &p)); in TEST()
255 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("abc:", &p)); in TEST()
256 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("abc", &p)); in TEST()
257 EXPECT_FALSE(DeviceNameUtils::ParseLocalName("myspecialdevice", &p)); in TEST()
Ddevice_name_utils.cc179 return ParseFullName(fullname, p) || ParseLocalName(fullname, p); in ParseFullOrLocalName()
228 if (ParseLocalName(fullname, &parsed_name)) { in CanonicalizeDeviceName()
504 bool DeviceNameUtils::ParseLocalName(StringPiece name, ParsedName* p) { in ParseLocalName() function in tensorflow::DeviceNameUtils
Ddevice_name_utils.h180 static bool ParseLocalName(StringPiece name, ParsedName* parsed);
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer.cc147 parsed = DeviceNameUtils::ParseLocalName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
/external/abseil-cpp/absl/debugging/internal/
Ddemangle.cc562 static bool ParseLocalName(State *state);
633 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName()
1787 static bool ParseLocalName(State *state) { in ParseLocalName() function
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Ddemangle.cc566 static bool ParseLocalName(State *state);
637 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName()
1836 static bool ParseLocalName(State *state) { in ParseLocalName() function
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc562 static bool ParseLocalName(State *state);
633 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName()
1787 static bool ParseLocalName(State *state) { in ParseLocalName() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc566 static bool ParseLocalName(State *state);
637 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName()
1836 static bool ParseLocalName(State *state) { in ParseLocalName() function
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Ddemangle.cc566 static bool ParseLocalName(State *state);
637 if (ParseNestedName(state) || ParseLocalName(state)) { in ParseName()
1836 static bool ParseLocalName(State *state) { in ParseLocalName() function
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc863 if (!DeviceNameUtils::ParseLocalName(*tf_xla_test_device_ptr, &parsed_name)) { in ExpectTfAndXlaOutputsAreClose()