Searched refs:has_job (Results 1 – 16 of 16) sorted by relevance
112 p->has_job = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()113 if (p->has_job && !ConsumeJobName(&fullname, &p->job)) { in ParseFullName()186 if (!parsed_name->has_job) { in CompleteName()188 parsed_name->has_job = true; in CompleteName()220 if (!(parsed_basename.has_job && parsed_basename.has_replica && in CanonicalizeDeviceName()246 if (pn.has_job) strings::StrAppend(&buf, "/job:", pn.job); in ParsedNameToString()263 if (less_specific.has_job && in IsSpecification()264 (!more_specific.has_job || (less_specific.job != more_specific.job))) { in IsSpecification()290 if (a.has_job && b.has_job && (a.job != b.job)) { in AreCompatibleDevNames()310 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) &&81 bool has_job = false; member119 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
92 EXPECT_TRUE(p.has_job); in TEST()110 EXPECT_TRUE(p.has_job); in TEST()126 EXPECT_TRUE(p.has_job); in TEST()140 EXPECT_FALSE(p.has_job); in TEST()152 EXPECT_FALSE(p.has_job); in TEST()164 EXPECT_FALSE(p.has_job); in TEST()176 EXPECT_FALSE(p.has_job); in TEST()188 EXPECT_FALSE(p.has_job); in TEST()198 EXPECT_FALSE(p.has_job); in TEST()210 EXPECT_FALSE(p.has_job); in TEST()
61 TF_RET_CHECK(parsed_name.has_job); in GetSystemDevice()100 if (system_spec.has_job) { in GetHostSystemDevices()121 TF_RET_CHECK((*host_system_devices)[0]->parsed_name().has_job); in GetHostSystemDevices()126 TF_RET_CHECK(parsed_name.has_job); in GetHostSystemDevices()
2491 if (var_device.has_job && var_device.has_replica && var_device.has_task && in FindVariableInputs()
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()
105 !worker_name_parsed.has_job || !worker_name_parsed.has_replica || in NewRemoteDevices()
148 CHECK(device_name.has_job); in ListWorkersInJob()
1358 if (!name.has_job || !name.has_task) { in CreateWorkerSessions()
236 if (caller_parsed_device_.has_job && !ndef_parsed_device.has_job) { in BodyNodeDevice()237 ndef_parsed_device.has_job = caller_parsed_device_.has_job; in BodyNodeDevice()
28 !parsed.has_job || !parsed.has_replica || !parsed.has_task || in RegisterCustomDevice()
466 if (!device_parsed_name_.has_job && !device_parsed_name_.has_replica && in IsLocal()
1187 if ((!pn.has_job || !pf.has_job || pn.job == pf.job) && in FilterDevicesForRemoteWorkers()
180 } else if (!name.has_job || !name.has_replica || !name.has_task || in AddDevice()
326 if (!parsed.has_job || parsed.job != job_id_) { in TranslateTask()
407 const string jobname = parsed_name.has_job ? parsed_name.job : ""; in GetDeviceClassForNonChannelDevice()