Searched refs:has_task (Results 1 – 8 of 8) sorted by relevance
136 p->has_task = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()137 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()199 if (!parsed_name->has_task) { in CompleteName()201 parsed_name->has_task = true; in CompleteName()226 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()253 if (pn.has_task) strings::StrAppend(&buf, "/task:", pn.task); in ParsedNameToString()277 if (less_specific.has_task && in IsSpecification()278 (!more_specific.has_task || (less_specific.task != more_specific.task))) { in IsSpecification()302 if (less_specific.has_task) { in EnsureSpecification()303 more_specific->has_task = true; 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; member102 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
93 EXPECT_TRUE(p.has_task); in TEST()109 EXPECT_TRUE(p.has_task); in TEST()125 EXPECT_TRUE(p.has_task); in TEST()139 EXPECT_FALSE(p.has_task); in TEST()151 EXPECT_FALSE(p.has_task); in TEST()163 EXPECT_FALSE(p.has_task); in TEST()175 EXPECT_FALSE(p.has_task); in TEST()187 EXPECT_FALSE(p.has_task); in TEST()197 EXPECT_FALSE(p.has_task); in TEST()209 EXPECT_FALSE(p.has_task); in TEST()[all …]
84 !worker_name_parsed.has_task) { in NewRemoteDevices()
335 (!x.has_task || !y.has_task || x.task == y.task) && in Intersects()
1275 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
142 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
282 int32 task = parsed.has_task ? parsed.task : -1; in TranslateTask()