Home
last modified time | relevance | path

Searched refs:has_id (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc138 p->has_id = false; in ParseFullName()
140 p->has_id = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()
141 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
153 p->has_id = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()
154 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
163 p->has_id = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()
164 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
197 if (!parsed_name->has_id) { in CompleteName()
199 parsed_name->has_id = true; in CompleteName()
217 parsed_basename.has_id)) { in CanonicalizeDeviceName()
[all …]
Ddevice_name_utils.h58 has_id = false; in Clear()
74 (has_id ? (other.has_id && id == other.id) : !other.has_id);
85 bool has_id = false; member
111 name.has_id; in HasSomeDetails()
Ddevice_name_utils_test.cc96 EXPECT_TRUE(p.has_id); in TEST()
112 EXPECT_TRUE(p.has_id); in TEST()
128 EXPECT_TRUE(p.has_id); in TEST()
142 EXPECT_FALSE(p.has_id); in TEST()
154 EXPECT_FALSE(p.has_id); in TEST()
166 EXPECT_FALSE(p.has_id); in TEST()
178 EXPECT_TRUE(p.has_id); in TEST()
190 EXPECT_FALSE(p.has_id); in TEST()
200 EXPECT_TRUE(p.has_id); in TEST()
212 EXPECT_FALSE(p.has_id); in TEST()
/external/perfetto/src/traced/probes/ftrace/
Dformat_parser.cc135 bool has_id = false; in ParseFtraceEvent() local
145 if (!has_id && sscanf(line, "ID: %u", &id) == 1) { in ParseFtraceEvent()
146 has_id = true; in ParseFtraceEvent()
168 if (!has_id || !has_name || fields.empty()) { in ParseFtraceEvent()
171 !has_id ? "no ID found" in ParseFtraceEvent()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dutils_test.cc83 device.has_id = false; in TEST()
93 device.has_id = true; in TEST()
Dutils.cc158 if (device.has_id) { in GetDeviceInfo()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dtpu_rewrite_device_util.cc65 spec.has_id = true; in GetTPUSystemDevices()
106 device_spec.has_id = false; in GetTPUDevices()
/external/tensorflow/tensorflow/core/common_runtime/
Drenamed_device.cc36 CHECK(underlying_parsed_name.has_id); in NewRenamedDevice()
Dcolocation_graph.cc536 if (!assigned_device_name_.has_id) { in GetSoftDeviceName()
537 soft_device_name.has_id = false; in GetSoftDeviceName()
548 if (!assigned_device_name_.has_id && !resource_device_name_.has_id) { in GetPreferredSoftDeviceName()
549 soft_device_name.has_id = false; in GetPreferredSoftDeviceName()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util.cc66 } else if (!parsed_device.has_type || !parsed_device.has_id || in ParseShardingFromDevice()
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_parser.cc782 bool has_id = false; in ParseLegacyEventAsRawEvent() local
788 has_id = true; in ParseLegacyEventAsRawEvent()
792 has_id = true; in ParseLegacyEventAsRawEvent()
796 has_id = true; in ParseLegacyEventAsRawEvent()
799 if (has_id && legacy_event_.has_id_scope() && in ParseLegacyEventAsRawEvent()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DR.java615 public static final int has_id=0x7f070003; field in R.xml
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc156 !name.has_type || !name.has_id) { in AddDevice()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc211 soft_device_name.has_id = false; in SelectDevice()
904 (!pn.has_id || !pf.has_id || pn.id == pf.id)) { in FilterDevicesForRemoteWorkers()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc337 (!x.has_id || !y.has_id || x.id == y.id); in Intersects()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dtrt_optimization_pass.cc175 << " has_id: " << pname.has_id << " has_job: " << pname.has_job in PrintDebugInfo()
Dconvert_graph.cc271 parsed_name.has_id = true; in GetEngineInfo()
581 parsed_name.has_id) { in GetDeviceAndAllocator()
/external/webrtc/webrtc/call/
Drtc_event_log_unittest.cc164 ASSERT_TRUE(receiver_config.header_extensions(i).has_id()); in VerifyReceiveStreamConfig()
199 ASSERT_TRUE(sender_config.header_extensions(i).has_id()); in VerifySendStreamConfig()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DXmlResourceParserImplTest.java712 parser = context.getResources().getXml(R.xml.has_id); in testGetIdAttributeResourceValue_defaultValue()
/external/angle/tools/flex-bison/third_party/skeletons/
Dc.m4589 [b4_symbol_if([$1], [has_id],
Dbison.m4522 [b4_symbol_if([$1], [has_id], [$2], [$3])],