Searched refs:has_replica (Results 1 – 7 of 7) sorted by relevance
129 p->has_replica = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()130 if (p->has_replica && !ConsumeNumber(&fullname, &p->replica)) { in ParseFullName()195 if (!parsed_name->has_replica) { in CompleteName()197 parsed_name->has_replica = true; in CompleteName()225 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()252 if (pn.has_replica) strings::StrAppend(&buf, "/replica:", pn.replica); in ParsedNameToString()272 if (less_specific.has_replica && in IsSpecification()273 (!more_specific.has_replica || in IsSpecification()298 if (less_specific.has_replica) { in EnsureSpecification()299 more_specific->has_replica = true; 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; member102 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
92 EXPECT_TRUE(p.has_replica); in TEST()108 EXPECT_TRUE(p.has_replica); in TEST()124 EXPECT_TRUE(p.has_replica); in TEST()138 EXPECT_TRUE(p.has_replica); in TEST()150 EXPECT_TRUE(p.has_replica); in TEST()162 EXPECT_TRUE(p.has_replica); in TEST()174 EXPECT_TRUE(p.has_replica); in TEST()186 EXPECT_FALSE(p.has_replica); in TEST()196 EXPECT_TRUE(p.has_replica); in TEST()208 EXPECT_TRUE(p.has_replica); in TEST()
83 !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()
142 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
278 if (!parsed.has_replica || parsed.replica != 0) { in TranslateTask()