Searched refs:has_replica (Results 1 – 11 of 11) sorted by relevance
119 p->has_replica = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()120 if (p->has_replica && !ConsumeNumber(&fullname, &p->replica)) { in ParseFullName()185 if (!parsed_name->has_replica) { in CompleteName()187 parsed_name->has_replica = true; in CompleteName()215 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()242 if (pn.has_replica) strings::StrAppend(&buf, "/replica:", pn.replica); in ParsedNameToString()262 if (less_specific.has_replica && in IsSpecification()263 (!more_specific.has_replica || in IsSpecification()288 if (a.has_replica && b.has_replica && (a.replica != b.replica)) { in AreCompatibleDevNames()309 if (less_specific.has_replica) { in EnsureSpecification()[all …]
55 has_replica = false; in Clear()68 (has_replica ? (other.has_replica && replica == other.replica)69 : !other.has_replica) &&79 bool has_replica = false; member110 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
93 EXPECT_TRUE(p.has_replica); in TEST()109 EXPECT_TRUE(p.has_replica); in TEST()125 EXPECT_TRUE(p.has_replica); in TEST()139 EXPECT_TRUE(p.has_replica); in TEST()151 EXPECT_TRUE(p.has_replica); in TEST()163 EXPECT_TRUE(p.has_replica); in TEST()175 EXPECT_TRUE(p.has_replica); in TEST()187 EXPECT_FALSE(p.has_replica); in TEST()197 EXPECT_TRUE(p.has_replica); in TEST()209 EXPECT_TRUE(p.has_replica); in TEST()
100 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
334 (!x.has_replica || !y.has_replica || x.replica == y.replica) && in Intersects()
71 if (parsed_name.has_replica) parsed_name.replica = 0; in ForceUseLocalhostDevice()
152 if (!device_parsed_name_.has_job && !device_parsed_name_.has_replica && in IsLocal()
845 pw.has_replica = true; in SetRemoteDeviceFilters()901 (!pn.has_replica || !pf.has_replica || pn.replica == pf.replica) && in FilterDevicesForRemoteWorkers()
155 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
328 if (!parsed.has_replica || parsed.replica != 0) { in TranslateTask()
1626 if (caller_parsed_device_.has_replica) { in BodyNodeDevice()1627 ndef_parsed_device.has_replica = caller_parsed_device_.has_replica; in BodyNodeDevice()