Home
last modified time | relevance | path

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

12345

/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/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/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_util.cc55 if (metadata_.IsCompanionInstruction(predecessor)) { in GlobalPredecessors()
56 for (HloInstruction* instr : metadata_.Companions(predecessor)) { in GlobalPredecessors()
65 metadata_.GetAllReduceGroup(*predecessor->channel_id())) { in GlobalPredecessors()
80 if (metadata_.IsCompanionInstruction(instruction)) { in GlobalPredecessors()
81 for (HloInstruction* companion : metadata_.Companions(instruction)) { in GlobalPredecessors()
85 instruction_group = metadata_.GetAllReduceGroup(*instruction->channel_id()); in GlobalPredecessors()
102 metadata_.GetChannel(*instruction->channel_id()).send; in GlobalPredecessors()
109 metadata_.GetChannel(*instruction->channel_id()).recv_done; in GlobalPredecessors()
132 if (metadata_.IsCompanionInstruction(successor)) { in GlobalSuccessors()
133 for (HloInstruction* instr : metadata_.Companions(successor)) { in GlobalSuccessors()
[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()
Dcue_point_parser_test.cc28 EXPECT_CALL(callback_, OnCuePoint(metadata_, CuePoint{})).Times(1); in TEST_F()
47 EXPECT_CALL(callback_, OnCuePoint(metadata_, cue_point)).Times(1); in TEST_F()
82 EXPECT_CALL(callback_, OnCuePoint(metadata_, cue_point)).Times(1); in TEST_F()
/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Devaluate_args.cc32 if (metadata_ != nullptr && metadata_->idx.named.path != nullptr) { in GetPath()
33 grpc_linked_mdelem* elem = metadata_->idx.named.path; in GetPath()
42 if (metadata_ != nullptr && metadata_->idx.named.host != nullptr) { in GetHost()
43 grpc_linked_mdelem* elem = metadata_->idx.named.host; in GetHost()
52 if (metadata_ != nullptr && metadata_->idx.named.method != nullptr) { in GetMethod()
53 grpc_linked_mdelem* elem = metadata_->idx.named.method; in GetMethod()
63 if (metadata_ == nullptr) { in GetHeaders()
66 for (grpc_linked_mdelem* elem = metadata_->list.head; elem != nullptr; in GetHeaders()
/external/pigweed/pw_kvs/public/pw_kvs/internal/
Dentry_cache.h97 ++metadata_.descriptor_;
104 metadata_.addresses_ = entry_cache_->addresses(
105 metadata_.descriptor_ - entry_cache_->descriptors_.begin());
106 return metadata_;
111 return metadata_.descriptor_ == rhs.metadata_.descriptor_;
114 return metadata_.descriptor_ != rhs.metadata_.descriptor_;
119 return {entry_cache_, metadata_.descriptor_};
126 : entry_cache_(entry_cache), metadata_(*descriptor, {}) {} in Iterator()
132 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()
Dextension_type_variant.h51 *metadata_.mutable_type_spec_proto() = type_spec_proto; in ExtensionTypeVariant()
67 TypeSpecProto type_spec_proto() const { return metadata_.type_spec_proto(); } in type_spec_proto()
91 ExtensionTypeVariantMetadata metadata_; variable
Dextension_type_variant.cc27 metadata_.type_spec_proto().SerializeToString(&data->metadata_string()); in Encode()
34 if (!metadata_.mutable_type_spec_proto()->ParseFromString( in Decode()
46 printer.PrintToString(metadata_.type_spec_proto(), &type_spec); in DebugString()
/external/pigweed/pw_blob_store/
Dblob_store.cc43 write_address_ = metadata_.data_size_bytes; in Init()
44 flash_address_ = metadata_.data_size_bytes; in Init()
67 if (!kvs_.Get(MetadataKey(), &metadata_).ok()) { in LoadMetadata()
69 metadata_.reset(); in LoadMetadata()
156 metadata_ = {.checksum = 0, .data_size_bytes = flash_address_}; in CloseWrite()
159 std::memcpy(&metadata_.checksum, in CloseWrite()
161 std::min(checksum.size(), sizeof(metadata_.checksum))); in CloseWrite()
169 if (!kvs_.Put(MetadataKey(), metadata_).ok()) { in CloseWrite()
461 metadata_.reset(); in Invalidate()
476 if (metadata_.data_size_bytes == 0) { in ValidateChecksum()
[all …]
/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::__anon287c83d20111::HloMetadataTest
45 builder.SetOpMetadata(metadata_); in TEST_F()
68 builder.SetOpMetadata(metadata_); in TEST_F()
/external/tensorflow/tensorflow/core/profiler/utils/
Dxplane_visitor.h48 absl::string_view Name() const { return metadata_->name(); } in Name()
52 absl::string_view Description() const { return metadata_->description(); } in Description()
78 const XStatMetadata* metadata_; variable
152 absl::string_view Name() const { return metadata_->name(); } in Name()
156 bool HasDisplayName() const { return !metadata_->display_name().empty(); } in HasDisplayName()
158 absl::string_view DisplayName() const { return metadata_->display_name(); } in DisplayName()
187 const XEventMetadata* metadata() const { return metadata_; } in metadata()
190 return XEventMetadataVisitor(plane_, metadata_); in Metadata()
199 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()

12345