Home
last modified time | relevance | path

Searched refs:metadata_buffer (Results 1 – 25 of 31) sorted by relevance

12

/external/libtextclassifier/native/utils/flatbuffers/
Dreflection_test.cc29 std::string metadata_buffer = LoadTestMetadata(); in TEST() local
31 flatbuffers::GetRoot<reflection::Schema>(metadata_buffer.data()); in TEST()
47 std::string metadata_buffer = LoadTestMetadata(); in TEST() local
49 flatbuffers::GetRoot<reflection::Schema>(metadata_buffer.data()); in TEST()
/external/pigweed/pw_hdlc/
Dencoder.cc77 std::array<std::byte, 16> metadata_buffer; in StartFrame() local
79 varint::Encode(address, metadata_buffer, kAddressFormat); in StartFrame()
84 metadata_buffer[metadata_size++] = control; in StartFrame()
85 return WriteData(span(metadata_buffer).first(metadata_size)); in StartFrame()
/external/icing/icing/join/
Dqualified-id-type-joinable-index_test.cc116 auto metadata_buffer = std::make_unique<uint8_t[]>( in TEST_P() local
119 filesystem_.PRead(metadata_file_path.c_str(), metadata_buffer.get(), in TEST_P()
126 metadata_buffer.get() + in TEST_P()
133 metadata_buffer.get() + in TEST_P()
300 auto metadata_buffer = std::make_unique<uint8_t[]>( in TEST_P() local
303 filesystem_.PRead(metadata_sfd.get(), metadata_buffer.get(), in TEST_P()
310 metadata_buffer.get() + in TEST_P()
313 metadata_buffer.get() + in TEST_P()
319 metadata_sfd.get(), /*offset=*/0, metadata_buffer.get(), in TEST_P()
357 auto metadata_buffer = std::make_unique<uint8_t[]>( in TEST_P() local
[all …]
Dqualified-id-type-joinable-index.h188 std::unique_ptr<uint8_t[]> metadata_buffer, in QualifiedIdTypeJoinableIndex() argument
194 metadata_buffer_(std::move(metadata_buffer)), in QualifiedIdTypeJoinableIndex()
Dqualified-id-type-joinable-index.cc307 auto metadata_buffer = std::make_unique<uint8_t[]>(kMetadataFileSize); in InitializeExistingFiles() local
309 metadata_buffer.get(), kMetadataFileSize, in InitializeExistingFiles()
353 filesystem, std::move(working_path), std::move(metadata_buffer), in InitializeExistingFiles()
/external/pigweed/pw_blob_store/public/pw_blob_store/
Dblob_store.h65 constexpr BlobWriter(BlobStore& store, ByteSpan metadata_buffer) in BlobWriter() argument
66 : store_(store), metadata_buffer_(metadata_buffer), open_(false) {} in BlobWriter()
199 constexpr DeferredWriter(BlobStore& store, ByteSpan metadata_buffer) in DeferredWriter() argument
200 : BlobWriter(store, metadata_buffer) {} in DeferredWriter()
/external/tflite-support/tensorflow_lite_support/metadata/cc/
Dmetadata_extractor.cc206 const auto metadata_buffer = in InitFromModelBuffer() local
208 if (!tflite::ModelMetadataBufferHasIdentifier(metadata_buffer)) { in InitFromModelBuffer()
219 flatbuffers::GetBufferIdentifier(metadata_buffer)) in InitFromModelBuffer()
225 model_metadata_ = tflite::GetModelMetadata(metadata_buffer); in InitFromModelBuffer()
/external/pigweed/pw_blob_store/size_report/
Dbasic_blob.cc104 std::array<std::byte, kMetadataBufferSize> metadata_buffer; in main() local
105 BlobStore::BlobWriter writer(blob, metadata_buffer); in main()
Ddeferred_write_blob.cc105 std::array<std::byte, kMetadataBufferSize> metadata_buffer; in main() local
106 pw::blob_store::BlobStore::DeferredWriter writer(blob, metadata_buffer); in main()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_transfer_manager.cc123 auto metadata_buffer = in ReadDynamicShapes() local
125 copies.push_back(std::make_pair(metadata_buffer, &device_sub_shape)); in ReadDynamicShapes()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dparsing.cc442 &s->metadata_buffer[0], grpc_core::ExecCtx::Get()->Now() + timeout); in on_initial_header()
446 const size_t new_size = s->metadata_buffer[0].size + GRPC_MDELEM_LENGTH(md); in on_initial_header()
466 grpc_chttp2_incoming_metadata_buffer_add(&s->metadata_buffer[0], md); in on_initial_header()
500 const size_t new_size = s->metadata_buffer[1].size + GRPC_MDELEM_LENGTH(md); in on_trailing_header()
520 grpc_chttp2_incoming_metadata_buffer_add(&s->metadata_buffer[1], md); in on_trailing_header()
Dframe_rst_stream.cc98 if (reason != GRPC_HTTP2_NO_ERROR || s->metadata_buffer[1].size == 0) { in grpc_chttp2_rst_stream_parser_parse()
Dchttp2_transport.cc680 grpc_chttp2_incoming_metadata_buffer_init(&s->metadata_buffer[0], arena); in init_stream()
681 grpc_chttp2_incoming_metadata_buffer_init(&s->metadata_buffer[1], arena); in init_stream()
751 grpc_chttp2_incoming_metadata_buffer_destroy(&s->metadata_buffer[0]); in destroy_stream_locked()
752 grpc_chttp2_incoming_metadata_buffer_destroy(&s->metadata_buffer[1]); in destroy_stream_locked()
1865 grpc_chttp2_incoming_metadata_buffer_publish(&s->metadata_buffer[0], in grpc_chttp2_maybe_complete_recv_initial_metadata()
2002 grpc_chttp2_incoming_metadata_buffer_publish(&s->metadata_buffer[1], in grpc_chttp2_maybe_complete_recv_trailing_metadata()
2097 &s->metadata_buffer[1], in grpc_chttp2_fake_status()
2105 &s->metadata_buffer[1], in grpc_chttp2_fake_status()
Dinternal.h545 grpc_chttp2_incoming_metadata_buffer metadata_buffer[2]; member
Dhpack_parser.cc1644 if (s->header_frames_received == GPR_ARRAY_SIZE(s->metadata_buffer)) { in grpc_chttp2_header_parser_parse()
1651 parse_stream_compression_md(t, s, &s->metadata_buffer[0].batch); in grpc_chttp2_header_parser_parse()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dparsing.cc444 &s->metadata_buffer[0], grpc_core::ExecCtx::Get()->Now() + timeout); in handle_timeout()
497 const size_t new_size = s->metadata_buffer[0].size + GRPC_MDELEM_LENGTH(md); in on_initial_header()
506 grpc_chttp2_incoming_metadata_buffer_add(&s->metadata_buffer[0], md); in on_initial_header()
532 const size_t new_size = s->metadata_buffer[1].size + GRPC_MDELEM_LENGTH(md); in on_trailing_header()
555 grpc_chttp2_incoming_metadata_buffer_add(&s->metadata_buffer[1], md); in on_trailing_header()
Dframe_rst_stream.cc108 if (reason != GRPC_HTTP2_NO_ERROR || s->metadata_buffer[1].size == 0) { in grpc_chttp2_rst_stream_parser_parse()
Dchttp2_transport.cc652 metadata_buffer{grpc_chttp2_incoming_metadata_buffer(arena), in grpc_chttp2_stream()
1865 grpc_chttp2_incoming_metadata_buffer_publish(&s->metadata_buffer[0], in grpc_chttp2_maybe_complete_recv_initial_metadata()
2015 grpc_chttp2_incoming_metadata_buffer_publish(&s->metadata_buffer[1], in grpc_chttp2_maybe_complete_recv_trailing_metadata()
2109 &s->metadata_buffer[1], in grpc_chttp2_fake_status()
2117 &s->metadata_buffer[1], in grpc_chttp2_fake_status()
Dinternal.h591 grpc_chttp2_incoming_metadata_buffer metadata_buffer[2]; member
Dhpack_parser.cc1755 if (s->header_frames_received == GPR_ARRAY_SIZE(s->metadata_buffer)) { in grpc_chttp2_header_parser_parse()
1762 parse_stream_compression_md(t, s, &s->metadata_buffer[0].batch); in grpc_chttp2_header_parser_parse()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_xfeed.cc303 auto metadata_buffer = reinterpret_cast<int32_t*>(buffer_8 + offset); in ReadDynamicShapesOnCpu() local
307 device_sub_shape.mutable_dimensions()[i] = metadata_buffer[i]; in ReadDynamicShapesOnCpu()
/external/tensorflow/tensorflow/core/data/
Dsnapshot_utils.cc287 auto metadata_buffer = new std::string(); in WriteTensors() local
288 metadata.SerializeToString(metadata_buffer); in WriteTensors()
290 *metadata_buffer, in WriteTensors()
291 [metadata_buffer](absl::string_view) { delete metadata_buffer; }); in WriteTensors()
/external/tensorflow/tensorflow/lite/delegates/gpu/
Dgl_delegate.cc493 if (!model || !model->metadata_buffer() || !model->buffers()) return nullptr; in TfLiteGpuDelegateGetModelMetadata()
494 for (int32_t buffer_index : *model->metadata_buffer()) { in TfLiteGpuDelegateGetModelMetadata()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtransfer_manager.cc229 auto metadata_buffer = in ReadDynamicShapes() local
236 metadata_buffer)); in ReadDynamicShapes()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc168 auto metadata_buffer = in UpdateMetadata() local
174 stream, *metadata_literal, metadata_buffer)); in UpdateMetadata()

12