Home
last modified time | relevance | path

Searched refs:has_type (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc133 p->has_type = !absl::ConsumePrefix(&fullname, "*"); in ParseFullName()
134 if (p->has_type && !ConsumeDeviceType(&fullname, &p->type)) { in ParseFullName()
151 p->has_type = true; in ParseFullName()
161 p->has_type = true; in ParseFullName()
193 if (!parsed_name->has_type) { in CompleteName()
195 parsed_name->has_type = true; in CompleteName()
216 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
244 if (pn.has_type) { in ParsedNameToString()
271 if (less_specific.has_type && in IsSpecification()
272 (!more_specific.has_type || (less_specific.type != more_specific.type))) { in IsSpecification()
[all …]
Ddevice_name_utils.h57 has_type = false; in Clear()
72 (has_type ? (other.has_type && type == other.type)
73 : !other.has_type) &&
83 bool has_type = false; member
110 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc95 EXPECT_TRUE(p.has_type); in TEST()
111 EXPECT_TRUE(p.has_type); in TEST()
127 EXPECT_TRUE(p.has_type); in TEST()
141 EXPECT_TRUE(p.has_type); in TEST()
153 EXPECT_TRUE(p.has_type); in TEST()
165 EXPECT_TRUE(p.has_type); in TEST()
177 EXPECT_TRUE(p.has_type); in TEST()
189 EXPECT_FALSE(p.has_type); in TEST()
199 EXPECT_TRUE(p.has_type); in TEST()
211 EXPECT_TRUE(p.has_type); in TEST()
/external/webrtc/webrtc/call/
Drtc_event_log2rtp_dump.cc121 if (!FLAGS_nortp && event.has_type() && event.type() == event.RTP_EVENT) { in main()
126 event.rtp_packet().has_type()) { in main()
162 if (!FLAGS_nortcp && event.has_type() && event.type() == event.RTCP_EVENT) { in main()
164 event.rtcp_packet().has_type() && in main()
Drtc_event_log_unittest.cc78 if (!event.has_type()) in IsValidBasicEvent()
236 ASSERT_TRUE(rtp_packet.has_type()); in VerifyRtpEvent()
257 ASSERT_TRUE(rtcp_packet.has_type()); in VerifyRtcpEvent()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtc_event_log_source.cc36 if (!event.has_type() || event.type() != rtclog::Event::RTP_EVENT) in GetRtpPacket()
41 if (!rtp_packet.has_type() || rtp_packet.type() != rtclog::AUDIO || in GetRtpPacket()
52 if (!event.has_type() || event.type() != rtclog::Event::AUDIO_PLAYOUT_EVENT) in GetAudioPlayoutEvent()
/external/protobuf/php/src/Google/Protobuf/Internal/
DFieldDescriptorProto.php42 private $has_type = false; variable in Google\\Protobuf\\Internal\\FieldDescriptorProto
248 $this->has_type = true;
255 return $this->has_type;
/external/v8/src/wasm/
Dwasm-subtyping.cc313 DCHECK(sub_module->has_type(sub_index)); in IsSubtypeOfImpl()
325 DCHECK(super_module->has_type(super_index)); in IsSubtypeOfImpl()
364 DCHECK(type1.has_index() && module1->has_type(type1.ref_index()) && in EquivalentTypes()
365 type2.has_index() && module2->has_type(type2.ref_index())); in EquivalentTypes()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dtpu_rewrite_device_util.cc63 spec.has_type = true; in GetTPUSystemDevices()
103 device_spec.has_type = true; in GetTPUDevices()
/external/grpc-grpc/third_party/nanopb/tests/basic_buffer/
Ddecode_buffer.c38 if (phone->has_type) in print_person()
/external/nanopb-c/tests/basic_buffer/
Ddecode_buffer.c38 if (phone->has_type) in print_person()
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.cc484 if (parsed_name.has_type && IsXlaDevice(parsed_name.type)) { in MaybeExcludeXlaDevices()
532 if (!assigned_device_name_.has_type) { in GetSoftDeviceName()
534 soft_device_name.has_type = false; in GetSoftDeviceName()
544 if (!assigned_device_name_.has_type && !resource_device_name_.has_type) { in GetPreferredSoftDeviceName()
546 soft_device_name.has_type = false; in GetPreferredSoftDeviceName()
1114 } else if (specified_device_name.has_type) { in GetDevicesForNode()
Drenamed_device.cc35 CHECK(underlying_parsed_name.has_type); in NewRenamedDevice()
/external/grpc-grpc/third_party/nanopb/tests/basic_stream/
Ddecode_stream.c34 if (phone->has_type) in print_person()
/external/nanopb-c/tests/basic_stream/
Ddecode_stream.c34 if (phone->has_type) in print_person()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h248 InstructionValue(EnumValue&& e, const std::string& printClass, bool has_type, bool has_result) in InstructionValue() argument
252 typePresent(has_type), in InstructionValue()
/external/angle/third_party/spirv-headers/src/tools/buildHeaders/
DjsonToSpirv.h253 InstructionValue(EnumValue&& e, const std::string& printClass, bool has_type, bool has_result) in InstructionValue() argument
257 typePresent(has_type), in InstructionValue()
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.h241 InstructionValue(EnumValue&& e, bool has_type, bool has_result) in InstructionValue() argument
245 typePresent(has_type), in InstructionValue()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h253 InstructionValue(EnumValue&& e, const std::string& printClass, bool has_type, bool has_result) in InstructionValue() argument
257 typePresent(has_type), in InstructionValue()
/external/selinux/checkpolicy/
Dpolicy_define.h37 int define_genfs_context(int has_type);
/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util.cc66 } else if (!parsed_device.has_type || !parsed_device.has_id || in ParseShardingFromDevice()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc156 !name.has_type || !name.has_id) { in AddDevice()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector.cc241 !parsed_name.has_type) { in MaybeOptimizeFunctionCall()
/external/perfetto/src/trace_processor/util/
Ddescriptors.cc37 f_decoder.has_type() in CreateFieldFromDecoder()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc210 soft_device_name.has_type = false; in SelectDevice()
903 (!pn.has_type || !pf.has_type || pn.type == pf.type) && in FilterDevicesForRemoteWorkers()

12