/external/libtextclassifier/native/utils/flatbuffers/ |
D | reflection_test.cc | 29 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/ |
D | encoder.cc | 87 std::array<std::byte, 16> metadata_buffer; in StartFrame() local 89 varint::Encode(address, metadata_buffer, kAddressFormat); in StartFrame() 94 metadata_buffer[metadata_size++] = control; in StartFrame() 95 return WriteData(std::span(metadata_buffer).first(metadata_size)); in StartFrame()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_allocator_test.cc | 462 const int32_t metadata_buffer[tflite::testing::kOfflinePlannerHeaderSize + in TF_LITE_MICRO_TEST() local 485 number_tensors, metadata_buffer, node_list, number_connections); in TF_LITE_MICRO_TEST() 522 const int32_t metadata_buffer[tflite::testing::kOfflinePlannerHeaderSize + in TF_LITE_MICRO_TEST() local 538 number_tensors, metadata_buffer, node_list, number_connections); in TF_LITE_MICRO_TEST() 566 const int32_t metadata_buffer[tflite::testing::kOfflinePlannerHeaderSize + in TF_LITE_MICRO_TEST() local 584 number_tensors, metadata_buffer, node_list, number_connections); in TF_LITE_MICRO_TEST() 613 const int32_t metadata_buffer[tflite::testing::kOfflinePlannerHeaderSize + in TF_LITE_MICRO_TEST() local 636 number_tensors, metadata_buffer, node_list, number_connections); in TF_LITE_MICRO_TEST() 747 const int32_t metadata_buffer[tflite::testing::kOfflinePlannerHeaderSize + in TF_LITE_MICRO_TEST() local 770 number_tensors, metadata_buffer, node_list, number_connections, in TF_LITE_MICRO_TEST() [all …]
|
D | micro_allocator.cc | 106 const uint32_t* metadata_buffer = (uint32_t*)array->data(); in CheckOfflinePlannedOffsets() local 107 int version = metadata_buffer[0]; in CheckOfflinePlannedOffsets() 108 int subgraph_idx = metadata_buffer[1]; in CheckOfflinePlannedOffsets() 109 const int nbr_offline_offsets = metadata_buffer[2]; in CheckOfflinePlannedOffsets() 111 int* offline_planner_offsets = (int*)&metadata_buffer[3]; in CheckOfflinePlannedOffsets() 297 const uint32_t* metadata_buffer = in GetOfflinePlannedOffsets() local 299 const size_t nbr_tensors = static_cast<size_t>(metadata_buffer[2]); in GetOfflinePlannedOffsets() 301 reinterpret_cast<const int32_t*>(&metadata_buffer[3]); in GetOfflinePlannedOffsets()
|
D | test_helpers.h | 124 const int32_t* metadata_buffer,
|
D | test_helpers.cc | 316 const int32_t* metadata_buffer, in BuildModelWithOfflinePlanning() argument 337 "OfflineMemoryAllocation", metadata_buffer, in BuildModelWithOfflinePlanning() 871 const int32_t* metadata_buffer, in GetModelWithOfflinePlanning() argument 876 num_tensors, metadata_buffer, node_conn, num_conns, num_subgraph_inputs); in GetModelWithOfflinePlanning()
|
/external/tflite-support/tensorflow_lite_support/metadata/cc/ |
D | metadata_extractor.cc | 162 const auto metadata_buffer = in InitFromModelBuffer() local 164 if (!tflite::ModelMetadataBufferHasIdentifier(metadata_buffer)) { in InitFromModelBuffer() 175 flatbuffers::GetBufferIdentifier(metadata_buffer)) in InitFromModelBuffer() 181 model_metadata_ = tflite::GetModelMetadata(metadata_buffer); in InitFromModelBuffer()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | parsing.cc | 442 &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()
|
D | frame_rst_stream.cc | 98 if (reason != GRPC_HTTP2_NO_ERROR || s->metadata_buffer[1].size == 0) { in grpc_chttp2_rst_stream_parser_parse()
|
D | chttp2_transport.cc | 680 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()
|
D | internal.h | 545 grpc_chttp2_incoming_metadata_buffer metadata_buffer[2]; member
|
D | hpack_parser.cc | 1644 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/ |
D | parsing.cc | 440 &s->metadata_buffer[0], grpc_core::ExecCtx::Get()->Now() + timeout); in handle_timeout() 491 const size_t new_size = s->metadata_buffer[0].size + GRPC_MDELEM_LENGTH(md); in on_initial_header() 500 grpc_chttp2_incoming_metadata_buffer_add(&s->metadata_buffer[0], md); in on_initial_header() 526 const size_t new_size = s->metadata_buffer[1].size + GRPC_MDELEM_LENGTH(md); in on_trailing_header() 549 grpc_chttp2_incoming_metadata_buffer_add(&s->metadata_buffer[1], md); in on_trailing_header()
|
D | frame_rst_stream.cc | 108 if (reason != GRPC_HTTP2_NO_ERROR || s->metadata_buffer[1].size == 0) { in grpc_chttp2_rst_stream_parser_parse()
|
D | chttp2_transport.cc | 616 metadata_buffer{grpc_chttp2_incoming_metadata_buffer(arena), in grpc_chttp2_stream() 1826 grpc_chttp2_incoming_metadata_buffer_publish(&s->metadata_buffer[0], in grpc_chttp2_maybe_complete_recv_initial_metadata() 1976 grpc_chttp2_incoming_metadata_buffer_publish(&s->metadata_buffer[1], in grpc_chttp2_maybe_complete_recv_trailing_metadata() 2070 &s->metadata_buffer[1], in grpc_chttp2_fake_status() 2078 &s->metadata_buffer[1], in grpc_chttp2_fake_status()
|
D | internal.h | 590 grpc_chttp2_incoming_metadata_buffer metadata_buffer[2]; member
|
D | hpack_parser.cc | 1726 if (s->header_frames_received == GPR_ARRAY_SIZE(s->metadata_buffer)) { in grpc_chttp2_header_parser_parse() 1733 parse_stream_compression_md(t, s, &s->metadata_buffer[0].batch); in grpc_chttp2_header_parser_parse()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | snapshot_util.cc | 271 auto metadata_buffer = new std::string(); in WriteTensors() local 272 metadata.SerializeToString(metadata_buffer); in WriteTensors() 274 *metadata_buffer, in WriteTensors() 275 [metadata_buffer](absl::string_view) { delete metadata_buffer; }); in WriteTensors()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | gl_delegate.cc | 494 if (!model || !model->metadata_buffer() || !model->buffers()) return nullptr; in TfLiteGpuDelegateGetModelMetadata() 495 for (int32_t buffer_index : *model->metadata_buffer()) { in TfLiteGpuDelegateGetModelMetadata()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | transfer_manager.cc | 233 auto metadata_buffer = in ReadDynamicShapes() local 240 metadata_buffer)); in ReadDynamicShapes()
|
/external/tensorflow/tensorflow/compiler/xrt/kernels/ |
D | xrt_execute_op.cc | 168 auto metadata_buffer = in UpdateMetadata() local 174 stream, *metadata_literal, metadata_buffer)); in UpdateMetadata()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_export.cc | 1824 VectorBufferOffset<int32_t> metadata_buffer = 0; // Deprecated in TranslateInternal() local 1838 metadata_buffer, *metadata, *signature_defs); in TranslateInternal()
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_generated.h | 11307 std::vector<int32_t> metadata_buffer; 11342 const flatbuffers::Vector<int32_t> *metadata_buffer() const { 11366 verifier.VerifyVector(metadata_buffer()) && 11398 void add_metadata_buffer(flatbuffers::Offset<flatbuffers::Vector<int32_t>> metadata_buffer) { 11399 fbb_.AddOffset(Model::VT_METADATA_BUFFER, metadata_buffer); 11426 flatbuffers::Offset<flatbuffers::Vector<int32_t>> metadata_buffer = 0, 11432 builder_.add_metadata_buffer(metadata_buffer); 11448 const std::vector<int32_t> *metadata_buffer = nullptr, 11455 auto metadata_buffer__ = metadata_buffer ? _fbb.CreateVector<int32_t>(*metadata_buffer) : 0; 14834 …= metadata_buffer(); if (_e) { _o->metadata_buffer.resize(_e->size()); for (flatbuffers::uoffset_t… [all …]
|
D | schema_v3a.fbs | 1103 metadata_buffer:[int];
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/ |
D | test_schema.fbs | 1086 metadata_buffer:[int];
|