Searched refs:has_task (Results 1 – 12 of 12) sorted by relevance
126 p->has_task = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()127 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()189 if (!parsed_name->has_task) { in CompleteName()191 parsed_name->has_task = true; in CompleteName()216 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()243 if (pn.has_task) strings::StrAppend(&buf, "/task:", pn.task); in ParsedNameToString()267 if (less_specific.has_task && in IsSpecification()268 (!more_specific.has_task || (less_specific.task != more_specific.task))) { in IsSpecification()291 if (a.has_task && b.has_task && (a.task != b.task)) { in AreCompatibleDevNames()313 if (less_specific.has_task) { in EnsureSpecification()[all …]
56 has_task = false; in Clear()70 (has_task ? (other.has_task && task == other.task)71 : !other.has_task) &&81 bool has_task = false; member110 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
94 EXPECT_TRUE(p.has_task); in TEST()110 EXPECT_TRUE(p.has_task); in TEST()126 EXPECT_TRUE(p.has_task); in TEST()140 EXPECT_FALSE(p.has_task); in TEST()152 EXPECT_FALSE(p.has_task); in TEST()164 EXPECT_FALSE(p.has_task); in TEST()176 EXPECT_FALSE(p.has_task); in TEST()188 EXPECT_FALSE(p.has_task); in TEST()198 EXPECT_FALSE(p.has_task); in TEST()210 EXPECT_FALSE(p.has_task); in TEST()[all …]
101 !worker_name_parsed.has_task) { in NewRemoteDevices()
335 (!x.has_task || !y.has_task || x.task == y.task) && in Intersects()
1336 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
72 if (parsed_name.has_task) parsed_name.task = 0; in ForceUseLocalhostDevice()
153 !device_parsed_name_.has_task) in IsLocal()
902 (!pn.has_task || !pf.has_task || pn.task == pf.task) && in FilterDevicesForRemoteWorkers()
155 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
332 int32 task = parsed.has_task ? parsed.task : -1; in TranslateTask()
1631 if (caller_parsed_device_.has_task) { in BodyNodeDevice()1632 ndef_parsed_device.has_task = caller_parsed_device_.has_task; in BodyNodeDevice()