Searched refs:has_job (Results 1 – 15 of 15) sorted by relevance
112 p->has_job = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()113 if (p->has_job && !ConsumeJobName(&fullname, &p->job)) { in ParseFullName()181 if (!parsed_name->has_job) { in CompleteName()183 parsed_name->has_job = true; in CompleteName()215 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()241 if (pn.has_job) strings::StrAppend(&buf, "/job:", pn.job); in ParsedNameToString()258 if (less_specific.has_job && in IsSpecification()259 (!more_specific.has_job || (less_specific.job != more_specific.job))) { in IsSpecification()285 if (a.has_job && b.has_job && (a.job != b.job)) { in AreCompatibleDevNames()305 if (less_specific.has_job) { in EnsureSpecification()[all …]
54 has_job = false; in Clear()67 return (has_job ? (other.has_job && job == other.job) : !other.has_job) &&77 bool has_job = false; member110 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
92 EXPECT_TRUE(p.has_job); in TEST()108 EXPECT_TRUE(p.has_job); in TEST()124 EXPECT_TRUE(p.has_job); in TEST()138 EXPECT_FALSE(p.has_job); in TEST()150 EXPECT_FALSE(p.has_job); in TEST()162 EXPECT_FALSE(p.has_job); in TEST()174 EXPECT_FALSE(p.has_job); in TEST()186 EXPECT_FALSE(p.has_job); in TEST()196 EXPECT_FALSE(p.has_job); in TEST()208 EXPECT_FALSE(p.has_job); in TEST()
189 all_filters_have_job = all_filters_have_job && filter.has_job; in DeviceFinder()190 if (filter.has_job) { in DeviceFinder()333 return (!x.has_job || !y.has_job || x.job == y.job) && in Intersects()
100 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
148 CHECK(device_name.has_job); in ListWorkersInJob()
1336 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
70 if (parsed_name.has_job) parsed_name.job = "localhost"; in ForceUseLocalhostDevice()
152 if (!device_parsed_name_.has_job && !device_parsed_name_.has_replica && in IsLocal()
900 if ((!pn.has_job || !pf.has_job || pn.job == pf.job) && in FilterDevicesForRemoteWorkers()
155 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
175 << " has_id: " << pname.has_id << " has_job: " << pname.has_job in PrintDebugInfo()
325 if (!parsed.has_job || parsed.job != job_id_) { in TranslateTask()
407 const string jobname = parsed_name.has_job ? parsed_name.job : ""; in GetDeviceClassForNonChannelDevice()
1621 if (caller_parsed_device_.has_job) { in BodyNodeDevice()1622 ndef_parsed_device.has_job = caller_parsed_device_.has_job; in BodyNodeDevice()