Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc143 p->has_type = !str_util::ConsumePrefix(&fullname, "*"); in ParseFullName()
144 if (p->has_type && !ConsumeDeviceType(&fullname, &p->type)) { in ParseFullName()
161 p->has_type = true; in ParseFullName()
171 p->has_type = true; in ParseFullName()
203 if (!parsed_name->has_type) { in CompleteName()
205 parsed_name->has_type = true; in CompleteName()
226 parsed_basename.has_task && parsed_basename.has_type && in CanonicalizeDeviceName()
254 if (pn.has_type) { in ParsedNameToString()
281 if (less_specific.has_type && in IsSpecification()
282 (!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
102 return name.has_job || name.has_replica || name.has_task || name.has_type || in HasSomeDetails()
Ddevice_name_utils_test.cc94 EXPECT_TRUE(p.has_type); in TEST()
110 EXPECT_TRUE(p.has_type); in TEST()
126 EXPECT_TRUE(p.has_type); in TEST()
140 EXPECT_TRUE(p.has_type); in TEST()
152 EXPECT_TRUE(p.has_type); in TEST()
164 EXPECT_TRUE(p.has_type); in TEST()
176 EXPECT_TRUE(p.has_type); in TEST()
188 EXPECT_FALSE(p.has_type); in TEST()
198 EXPECT_TRUE(p.has_type); in TEST()
210 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/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h231 InstructionValue(EnumValue&& e, bool has_type, bool has_result) in InstructionValue() argument
235 typePresent(has_type), in InstructionValue()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h231 InstructionValue(EnumValue&& e, bool has_type, bool has_result) in InstructionValue() argument
235 typePresent(has_type), in InstructionValue()
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.h231 InstructionValue(EnumValue&& e, bool has_type, bool has_result) in InstructionValue() argument
235 typePresent(has_type), in InstructionValue()
/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/nanopb-c/tests/basic_stream/
Ddecode_stream.c34 if (phone->has_type) in print_person()
/external/grpc-grpc/third_party/nanopb/tests/basic_stream/
Ddecode_stream.c34 if (phone->has_type) in print_person()
/external/tensorflow/tensorflow/core/common_runtime/
Drenamed_device.cc29 CHECK(underlying_parsed_name.has_type); in NewRenamedDevice()
Dcolocation_graph.cc731 soft_device_name.has_type = false; in GetDevicesForNode()
781 } else if (specified_device_name.has_type) { in GetDevicesForNode()
/external/selinux/checkpolicy/
Dpolicy_define.h37 int define_genfs_context(int has_type);
Dpolicy_define.c5543 int define_genfs_context_helper(char *fstype, int has_type) in define_genfs_context_helper() argument
5558 if (has_type) in define_genfs_context_helper()
5599 if (has_type) { in define_genfs_context_helper()
5672 int define_genfs_context(int has_type) in define_genfs_context() argument
5674 return define_genfs_context_helper(queue_remove(id_queue), has_type); in define_genfs_context()
/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.cc143 !name.has_type || !name.has_id) { in AddDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc336 (!x.has_type || !y.has_type || x.type == y.type) && in Intersects()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dtrt_optimization_pass.cc178 << "has_type: " << pname.has_type << " type =" << pname.type; in PrintDebugInfo()
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc914 if (field->has_type() && field->type() == FieldDescriptorProto::TYPE_GROUP) { in ParseMessageFieldNoLabel()
1082 if (!field->has_type()) { in ParseDefaultAssignment()
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.cc4580 if (has_type()) { in SerializeWithCachedSizes()
4670 if (has_type()) { in SerializeWithCachedSizesToArray()
4754 if (has_type()) { in ByteSize()
4844 if (from.has_type()) { in MergeFrom()
5034 bool FieldDescriptorProto::has_type() const { in has_type() function in google::protobuf::FieldDescriptorProto
Ddescriptor.cc4265 if (proto.has_type()) { in BuildFieldOrExtension()
4871 if (!proto.has_type()) { in CrossLinkField()
Ddescriptor.pb.h1110 bool has_type() const;
4743 inline bool FieldDescriptorProto::has_type() const { in has_type() function

12