Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc148 p->has_id = false; in ParseFullName()
150 p->has_id = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
151 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
163 p->has_id = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
164 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
173 p->has_id = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
174 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
207 if (!parsed_name->has_id) { in CompleteName()
209 parsed_name->has_id = true; in CompleteName()
227 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
103 name.has_id; in HasSomeDetails()
Ddevice_name_utils_test.cc95 EXPECT_TRUE(p.has_id); in TEST()
111 EXPECT_TRUE(p.has_id); in TEST()
127 EXPECT_TRUE(p.has_id); in TEST()
141 EXPECT_FALSE(p.has_id); in TEST()
153 EXPECT_FALSE(p.has_id); in TEST()
165 EXPECT_FALSE(p.has_id); in TEST()
177 EXPECT_TRUE(p.has_id); in TEST()
189 EXPECT_FALSE(p.has_id); in TEST()
199 EXPECT_TRUE(p.has_id); in TEST()
211 EXPECT_FALSE(p.has_id); in TEST()
/external/perfetto/src/traced/probes/ftrace/
Dformat_parser.cc134 bool has_id = false; in ParseFtraceEvent() local
144 if (!has_id && sscanf(line, "ID: %d", &id) == 1) { in ParseFtraceEvent()
145 has_id = true; in ParseFtraceEvent()
167 if (!has_id || !has_name || fields.empty()) { in ParseFtraceEvent()
170 !has_id ? "no ID found" in ParseFtraceEvent()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dutils_test.cc71 device.has_id = false; in TEST()
79 device.has_id = true; in TEST()
Dutils.cc158 if (device.has_id) { in GetDeviceInfo()
/external/tensorflow/tensorflow/core/common_runtime/
Drenamed_device.cc30 CHECK(underlying_parsed_name.has_id); in NewRenamedDevice()
Dcolocation_graph.cc732 soft_device_name.has_id = false; in GetDevicesForNode()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util.cc66 } else if (!parsed_device.has_type || !parsed_device.has_id || in ParseShardingFromDevice()
/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.cc143 !name.has_type || !name.has_id) { in AddDevice()
/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.cc177 << " has_id: " << pname.has_id << " has_job: " << pname.has_job in PrintDebugInfo()
Dconvert_graph.cc764 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/perf_data_converter/src/
Dperf_data_handler.cc496 if (!sample.has_id()) { in GetEventIndexForSample()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DXmlResourceParserImplTest.java712 parser = context.getResources().getXml(R.xml.has_id); in testGetIdAttributeResourceValue_defaultValue()
/external/perf_data_converter/src/quipper/
Dperf_serializer.cc425 if (sample.has_id()) sample_info.id = sample.id(); in DeserializeSampleEvent()
742 if (sample.has_id()) sample_info.id = sample.id(); in DeserializeSampleInfo()
Dperf_reader_test.cc1417 EXPECT_FALSE(event.mmap_event().sample_info().has_id()); in TEST()