Home
last modified time | relevance | path

Searched refs:metadata_ (Results 1 – 25 of 118) sorted by relevance

12345

/external/tensorflow/tensorflow/core/kernels/
Dcomposite_tensor_variant.cc31 metadata_(new CompositeTensorVariantMetadata()) { in CompositeTensorVariant()
32 *metadata_ = metadata; in CompositeTensorVariant()
36 : metadata_(new CompositeTensorVariantMetadata()) {} in CompositeTensorVariant()
41 metadata_(new CompositeTensorVariantMetadata()) { in CompositeTensorVariant()
42 *metadata_ = *other.metadata_; in CompositeTensorVariant()
47 metadata_->SerializeToString(&data->metadata_string()); in Encode()
54 if (!metadata_->ParseFromString(data.metadata_string())) { in Decode()
64 metadata_->type_spec_proto().type_spec_class())); in DebugString()
Dcomposite_tensor_ops.cc33 OP_REQUIRES(context, metadata_.ParseFromString(type_spec_string), in CompositeTensorVariantFromComponents()
47 CompositeTensorVariant(metadata_, absl::MakeSpan(components)); in Compute()
51 CompositeTensorVariantMetadata metadata_; member in tensorflow::CompositeTensorVariantFromComponents
60 OP_REQUIRES(context, metadata_.ParseFromString(type_spec_string), in CompositeTensorVariantToComponents()
78 auto expected_class = metadata_.type_spec_proto().type_spec_class(); in Compute()
110 CompositeTensorVariantMetadata metadata_; member in tensorflow::CompositeTensorVariantToComponents
/external/avb/test/
Davb_atx_validate_unittest.cc231 metadata_.product_signing_key_certificate.signed_data.public_key, in Validate()
233 reinterpret_cast<const uint8_t*>(&metadata_), in Validate()
234 sizeof(metadata_), in Validate()
244 memset(metadata_.product_intermediate_key_certificate.signature, in SignPIKCertificate()
249 key.Sign(&metadata_.product_intermediate_key_certificate.signed_data, in SignPIKCertificate()
251 metadata_.product_intermediate_key_certificate.signature)); in SignPIKCertificate()
255 memset(metadata_.product_signing_key_certificate.signature, in SignPSKCertificate()
259 ASSERT_TRUE(key.Sign(&metadata_.product_signing_key_certificate.signed_data, in SignPSKCertificate()
261 metadata_.product_signing_key_certificate.signature)); in SignPSKCertificate()
304 AvbAtxPublicKeyMetadata metadata_; member in avb::AvbAtxValidateTest
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Devaluate_args.cc86 if (metadata_ != nullptr && metadata_->idx.named.path != nullptr) { in GetPath()
87 grpc_linked_mdelem* elem = metadata_->idx.named.path; in GetPath()
96 if (metadata_ != nullptr && metadata_->idx.named.host != nullptr) { in GetHost()
97 grpc_linked_mdelem* elem = metadata_->idx.named.host; in GetHost()
106 if (metadata_ != nullptr && metadata_->idx.named.method != nullptr) { in GetMethod()
107 grpc_linked_mdelem* elem = metadata_->idx.named.method; in GetMethod()
117 if (metadata_ == nullptr) { in GetHeaders()
120 for (grpc_linked_mdelem* elem = metadata_->list.head; elem != nullptr; in GetHeaders()
131 if (metadata_ == nullptr) { in GetHeaderValue()
134 return grpc_metadata_batch_get_value(metadata_, key, concatenated_value); in GetHeaderValue()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_util.cc54 if (metadata_.IsCompanionInstruction(predecessor)) { in GlobalPredecessors()
55 for (HloInstruction* instr : metadata_.Companions(predecessor)) { in GlobalPredecessors()
64 metadata_.GetAllReduceGroup(*predecessor->channel_id())) { in GlobalPredecessors()
79 if (metadata_.IsCompanionInstruction(instruction)) { in GlobalPredecessors()
80 for (HloInstruction* companion : metadata_.Companions(instruction)) { in GlobalPredecessors()
84 instruction_group = metadata_.GetAllReduceGroup(*instruction->channel_id()); in GlobalPredecessors()
101 metadata_.GetChannel(*instruction->channel_id()).send; in GlobalPredecessors()
108 metadata_.GetChannel(*instruction->channel_id()).recv_done; in GlobalPredecessors()
131 if (metadata_.IsCompanionInstruction(successor)) { in GlobalSuccessors()
132 for (HloInstruction* instr : metadata_.Companions(successor)) { in GlobalSuccessors()
[all …]
Dhlo_sharding.h321 std::vector<OpMetadata>& metadata() { return metadata_; } in metadata()
322 const std::vector<OpMetadata>& metadata() const { return metadata_; } in metadata()
365 metadata_(metadata.begin(), metadata.end()) {}
379 metadata_(metadata.begin(), metadata.end()) {}
389 metadata_(metadata.begin(), metadata.end()) {} in replicated_()
399 metadata_(metadata.begin(), metadata.end()), in replicated_()
455 std::vector<OpMetadata> metadata_; variable
/external/libwebm/webm_parser/test_utils/
Delement_parser_test.h33 metadata_.size = data.size(); in SetReaderData()
40 metadata_.size = size; in TestInit()
41 const Status status = parser_.Init(metadata_, metadata_.size); in TestInit()
59 void ParseAndVerify() override { ParseAndVerify(metadata_.size); } in ParseAndVerify()
62 TestInit(metadata_.size, Status::kOkCompleted); in IncrementalParseAndVerify()
80 if (metadata_.size != kUnknownElementSize) { in IncrementalParseAndVerify()
81 ASSERT_EQ(metadata_.size, num_bytes_read); in IncrementalParseAndVerify()
99 ParseAndExpectResult(expected, metadata_.size); in ParseAndExpectResult()
109 ElementMetadata metadata_ = {id, 0, 0, 0}; variable
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1/
DServerHeader.java54 if (metadata_ != null) { in ServerHeader()
55 subBuilder = metadata_.toBuilder(); in ServerHeader()
57metadata_ = input.readMessage(io.grpc.binarylog.v1.Metadata.parser(), extensionRegistry); in ServerHeader()
59 subBuilder.mergeFrom(metadata_); in ServerHeader()
60 metadata_ = subBuilder.buildPartial(); in ServerHeader()
90 private io.grpc.binarylog.v1.Metadata metadata_; field in ServerHeader
99 return metadata_ != null; in hasMetadata()
109 return metadata_ == null ? io.grpc.binarylog.v1.Metadata.getDefaultInstance() : metadata_; in getMetadata()
134 if (metadata_ != null) { in writeTo()
145 if (metadata_ != null) { in getSerializedSize()
[all …]
DTrailer.java57 if (metadata_ != null) { in Trailer()
58 subBuilder = metadata_.toBuilder(); in Trailer()
60metadata_ = input.readMessage(io.grpc.binarylog.v1.Metadata.parser(), extensionRegistry); in Trailer()
62 subBuilder.mergeFrom(metadata_); in Trailer()
63 metadata_ = subBuilder.buildPartial(); in Trailer()
109 private io.grpc.binarylog.v1.Metadata metadata_; field in Trailer
118 return metadata_ != null; in hasMetadata()
128 return metadata_ == null ? io.grpc.binarylog.v1.Metadata.getDefaultInstance() : metadata_; in getMetadata()
224 if (metadata_ != null) { in writeTo()
244 if (metadata_ != null) { in getSerializedSize()
[all …]
DClientHeader.java56 if (metadata_ != null) { in ClientHeader()
57 subBuilder = metadata_.toBuilder(); in ClientHeader()
59metadata_ = input.readMessage(io.grpc.binarylog.v1.Metadata.parser(), extensionRegistry); in ClientHeader()
61 subBuilder.mergeFrom(metadata_); in ClientHeader()
62 metadata_ = subBuilder.buildPartial(); in ClientHeader()
117 private io.grpc.binarylog.v1.Metadata metadata_; field in ClientHeader
126 return metadata_ != null; in hasMetadata()
136 return metadata_ == null ? io.grpc.binarylog.v1.Metadata.getDefaultInstance() : metadata_; in getMetadata()
290 if (metadata_ != null) { in writeTo()
310 if (metadata_ != null) { in getSerializedSize()
[all …]
/external/libwebm/webm_parser/tests/
Dmaster_value_parser_test.cc82 EXPECT_CALL(callback_, OnClusterBegin(metadata_, Cluster{}, NotNull())) in TEST_F()
85 EXPECT_CALL(callback_, OnClusterEnd(metadata_, Cluster{})).Times(1); in TEST_F()
112 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
116 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
145 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
149 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
188 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
192 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
213 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
216 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
[all …]
Dcluster_parser_test.cc44 EXPECT_CALL(callback_, OnClusterBegin(metadata_, Cluster{}, NotNull())) in TEST_F()
47 EXPECT_CALL(callback_, OnClusterEnd(metadata_, Cluster{})).Times(1); in TEST_F()
59 EXPECT_CALL(callback_, OnClusterBegin(metadata_, Cluster{}, NotNull())) in TEST_F()
61 EXPECT_CALL(callback_, OnClusterEnd(metadata_, Cluster{})).Times(1); in TEST_F()
93 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
105 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
157 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
175 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
221 EXPECT_CALL(callback_, OnClusterBegin(metadata_, cluster, NotNull())) in TEST_F()
233 EXPECT_CALL(callback_, OnClusterEnd(metadata_, cluster)).Times(1); in TEST_F()
[all …]
Dsegment_parser_test.cc43 EXPECT_CALL(callback_, OnSegmentBegin(metadata_, NotNull())).Times(1); in TEST_F()
44 EXPECT_CALL(callback_, OnSegmentEnd(metadata_)).Times(1); in TEST_F()
56 EXPECT_CALL(callback_, OnSegmentBegin(metadata_, NotNull())) in TEST_F()
58 EXPECT_CALL(callback_, OnSegmentEnd(metadata_)).Times(1); in TEST_F()
68 EXPECT_CALL(callback_, OnSegmentBegin(metadata_, NotNull())) in TEST_F()
73 EXPECT_CALL(callback_, OnSegmentEnd(metadata_)).Times(1); in TEST_F()
106 EXPECT_CALL(callback_, OnSegmentBegin(metadata_, NotNull())).Times(1); in TEST_F()
115 EXPECT_CALL(callback_, OnSegmentEnd(metadata_)).Times(1); in TEST_F()
248 EXPECT_CALL(callback_, OnSegmentBegin(metadata_, NotNull())).Times(1); in TEST_F()
268 EXPECT_CALL(callback_, OnSegmentEnd(metadata_)).Times(1); in TEST_F()
[all …]
Dblock_group_parser_test.cc67 EXPECT_CALL(callback_, OnBlockGroupBegin(metadata_, NotNull())).Times(1); in TEST_F()
68 EXPECT_CALL(callback_, OnBlockGroupEnd(metadata_, BlockGroup{})).Times(1); in TEST_F()
80 EXPECT_CALL(callback_, OnBlockGroupBegin(metadata_, NotNull())) in TEST_F()
82 EXPECT_CALL(callback_, OnBlockGroupEnd(metadata_, BlockGroup{})).Times(1); in TEST_F()
122 EXPECT_CALL(callback_, OnBlockGroupBegin(metadata_, NotNull())).Times(1); in TEST_F()
147 EXPECT_CALL(callback_, OnBlockGroupEnd(metadata_, block_group)).Times(1); in TEST_F()
200 EXPECT_CALL(callback_, OnBlockGroupBegin(metadata_, NotNull())).Times(1); in TEST_F()
228 EXPECT_CALL(callback_, OnBlockGroupEnd(metadata_, block_group)).Times(1); in TEST_F()
Dunknown_parser_test.cc33 EXPECT_CALL(callback_, OnUnknownElement(metadata_, NotNull(), NotNull())) in TEST_F()
42 EXPECT_CALL(callback_, OnUnknownElement(metadata_, NotNull(), NotNull())) in TEST_F()
51 EXPECT_CALL(callback_, OnUnknownElement(metadata_, NotNull(), NotNull())) in TEST_F()
Dvoid_parser_test.cc35 EXPECT_CALL(callback_, OnVoid(metadata_, NotNull(), NotNull())).Times(1); in TEST_F()
43 EXPECT_CALL(callback_, OnVoid(metadata_, NotNull(), NotNull())).Times(1); in TEST_F()
51 EXPECT_CALL(callback_, OnVoid(metadata_, NotNull(), NotNull())).Times(4); in TEST_F()
Dseek_parser_test.cc26 EXPECT_CALL(callback_, OnSeek(metadata_, Seek{})).Times(1); in TEST_F()
42 EXPECT_CALL(callback_, OnSeek(metadata_, seek)).Times(1); in TEST_F()
62 EXPECT_CALL(callback_, OnSeek(metadata_, seek)).Times(1); in TEST_F()
Dedition_entry_parser_test.cc28 EXPECT_CALL(callback_, OnEditionEntry(metadata_, EditionEntry{})).Times(1); in TEST_F()
43 EXPECT_CALL(callback_, OnEditionEntry(metadata_, edition_entry)).Times(1); in TEST_F()
72 EXPECT_CALL(callback_, OnEditionEntry(metadata_, edition_entry)).Times(1); in TEST_F()
/external/pigweed/pw_kvs/public/pw_kvs/internal/
Dentry_cache.h100 ++metadata_.descriptor_;
112 metadata_.addresses_ = entry_cache_->addresses(
113 metadata_.descriptor_ - entry_cache_->descriptors_.begin());
114 return metadata_;
119 return metadata_.descriptor_ == rhs.metadata_.descriptor_;
122 return metadata_.descriptor_ != rhs.metadata_.descriptor_;
127 return {entry_cache_, metadata_.descriptor_};
134 : entry_cache_(entry_cache), metadata_(*descriptor, {}) {} in Iterator()
140 mutable EntryMetadata metadata_; variable
/external/tensorflow/tensorflow/core/framework/
Dvariant_tensor_data.h65 std::string& metadata_string() { return metadata_; } in metadata_string()
67 const std::string& metadata_string() const { return metadata_; } in metadata_string()
95 std::string metadata_; variable
102 metadata_ = value; in SetMetadata()
108 *value = metadata_; in GetMetadata()
114 metadata_.assign(reinterpret_cast<const char*>(&value), sizeof(T)); in SetMetadata()
119 if (metadata_.size() != sizeof(T)) return false; in GetMetadata()
120 std::copy_n(metadata_.data(), sizeof(T), reinterpret_cast<char*>(value)); in GetMetadata()
/external/tensorflow/tensorflow/core/kernels/sparse/
Dsparse_matrix.h105 CSRSparseMatrix() : metadata_{false, DT_INVALID} {} in CSRSparseMatrix()
108 : metadata_(rhs.metadata_), in CSRSparseMatrix()
118 : metadata_(rhs.metadata_), in CSRSparseMatrix()
125 rhs.metadata_.validated = false; in CSRSparseMatrix()
126 rhs.metadata_.dtype = DT_INVALID; in CSRSparseMatrix()
132 metadata_ = rhs.metadata_;
133 metadata_.validated = rhs.metadata_.validated;
140 rhs.metadata_ = {false, DT_INVALID};
155 matrix->metadata_.validated = s.ok(); in CreateCSRSparseMatrix()
161 return ValidateTypesAndShapes(metadata_.dtype, dense_shape_, in Validate()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhlo_metadata_test.cc30 metadata_.set_op_type("add"); in HloMetadataTest()
31 metadata_.set_op_name("my_sum_op"); in HloMetadataTest()
40 OpMetadata metadata_; member in xla::__anon4b76cff00111::HloMetadataTest
45 builder.SetOpMetadata(metadata_); in TEST_F()
68 builder.SetOpMetadata(metadata_); in TEST_F()
/external/tensorflow/tensorflow/core/profiler/utils/
Dxplane_visitor.h47 absl::string_view Name() const { return metadata_->name(); } in Name()
51 absl::string_view Description() const { return metadata_->description(); } in Description()
81 const XStatMetadata* metadata_; variable
161 absl::string_view Name() const { return metadata_->name(); } in Name()
165 bool HasDisplayName() const { return !metadata_->display_name().empty(); } in HasDisplayName()
167 absl::string_view DisplayName() const { return metadata_->display_name(); } in DisplayName()
199 const XEventMetadata* metadata() const { return metadata_; } in metadata()
202 return XEventMetadataVisitor(plane_, metadata_); in Metadata()
211 const XEventMetadata* metadata_; variable
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc175 metadata_ = Metadata(reinterpret_cast<void *>(chunk)); in LsanMetadata()
176 CHECK(metadata_); in LsanMetadata()
180 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated; in allocated()
184 return reinterpret_cast<ChunkMetadata *>(metadata_)->tag; in tag()
188 reinterpret_cast<ChunkMetadata *>(metadata_)->tag = value; in set_tag()
192 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size()
196 return reinterpret_cast<ChunkMetadata *>(metadata_)->stack_trace_id; in stack_trace_id()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dresults.js37 this.metadata_ = {};
127 this.metadata_ = {};
129 this.metadata_[matches[index].name] = matches[index].value;
174 if (this.metadata_[metadataFieldName] == undefined) { return; }
175 if (this.metadata_[metadataFieldName] == 'None') {
180 this.audioPlayer_.src = this.metadata_[metadataFieldName];

12345