Searched refs:has_task (Results 1 – 13 of 13) sorted by relevance
126 p->has_task = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()127 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()194 if (!parsed_name->has_task) { in CompleteName()196 parsed_name->has_task = true; in CompleteName()221 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()248 if (pn.has_task) strings::StrAppend(&buf, "/task:", pn.task); in ParsedNameToString()272 if (less_specific.has_task && in IsSpecification()273 (!more_specific.has_task || (less_specific.task != more_specific.task))) { in IsSpecification()296 if (a.has_task && b.has_task && (a.task != b.task)) { in AreCompatibleDevNames()318 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) &&85 bool has_task = false; member119 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
94 EXPECT_TRUE(p.has_task); in TEST()112 EXPECT_TRUE(p.has_task); in TEST()128 EXPECT_TRUE(p.has_task); in TEST()142 EXPECT_FALSE(p.has_task); in TEST()154 EXPECT_FALSE(p.has_task); in TEST()166 EXPECT_FALSE(p.has_task); in TEST()178 EXPECT_FALSE(p.has_task); in TEST()190 EXPECT_FALSE(p.has_task); in TEST()200 EXPECT_FALSE(p.has_task); in TEST()212 EXPECT_FALSE(p.has_task); in TEST()[all …]
246 if (caller_parsed_device_.has_task && !ndef_parsed_device.has_task) { in BodyNodeDevice()247 ndef_parsed_device.has_task = caller_parsed_device_.has_task; in BodyNodeDevice()
28 !parsed.has_job || !parsed.has_replica || !parsed.has_task || in RegisterCustomDevice()
467 !device_parsed_name_.has_task) in IsLocal()
1189 (!pn.has_task || !pf.has_task || pn.task == pf.task) && in FilterDevicesForRemoteWorkers()
106 !worker_name_parsed.has_task) { in NewRemoteDevices()
335 (!x.has_task || !y.has_task || x.task == y.task) && in Intersects()
1358 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
180 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
333 int32 task = parsed.has_task ? parsed.task : -1; in TranslateTask()
2491 if (var_device.has_job && var_device.has_replica && var_device.has_task && in FindVariableInputs()2807 TF_RET_CHECK(parsed_device.has_task); in CreateOrGetPerHostVariableCopy()