Home
last modified time | relevance | path

Searched refs:metadata_size (Results 1 – 20 of 20) sorted by relevance

/external/pigweed/pw_hdlc/
Dencoder.cc88 size_t metadata_size = in StartFrame() local
90 if (metadata_size == 0) { in StartFrame()
94 metadata_buffer[metadata_size++] = control; in StartFrame()
95 return WriteData(std::span(metadata_buffer).first(metadata_size)); in StartFrame()
/external/avb/
Daftltool682 (self.timestamp, self.revision, self.metadata_size) = struct.unpack(
687 if self.metadata_size > 0:
688 self.metadata = data[0:self.metadata_size]
698 self.metadata_size = 0
711 struct.calcsize(self.FORMAT_STRING_PART_2) + self.metadata_size)
729 self.metadata_size)
734 self.metadata_size, self.metadata)
767 if self.metadata_size < 0 or self.metadata_size > 65535:
769 cls, self.metadata_size))
771 if len(self.metadata) != self.metadata_size:
[all …]
Daftltool.py682 (self.timestamp, self.revision, self.metadata_size) = struct.unpack(
687 if self.metadata_size > 0:
688 self.metadata = data[0:self.metadata_size]
698 self.metadata_size = 0
711 struct.calcsize(self.FORMAT_STRING_PART_2) + self.metadata_size)
729 self.metadata_size)
734 self.metadata_size, self.metadata)
767 if self.metadata_size < 0 or self.metadata_size > 65535:
769 cls, self.metadata_size))
771 if len(self.metadata) != self.metadata_size:
[all …]
Daftltool_test.py266 self.test_sth_2.metadata_size = 2
960 self.assertEqual(d.metadata_size, 0)
974 self.assertEqual(d.metadata_size, 0)
980 self.assertEqual(d.metadata_size, 2)
1065 d.metadata_size = -1
1067 d.metadata_size = 70000
1072 d.metadata_size = 4
/external/icing/icing/file/
Dfile-backed-proto-log.h695 int metadata_size = sizeof(metadata); in WriteProto() local
749 if (!filesystem_->Write(fd_.get(), &metadata, metadata_size)) { in WriteProto()
946 int metadata_size = sizeof(metadata); in ReadProtoMetadata() local
947 if (file_offset + metadata_size >= file_size) { in ReadProtoMetadata()
955 ICING_RETURN_IF_ERROR(mmapped_file->Remap(file_offset, metadata_size)); in ReadProtoMetadata()
956 memcpy(&metadata, mmapped_file->region(), metadata_size); in ReadProtoMetadata()
Dportable-file-backed-proto-log.h1137 int metadata_size = sizeof(portable_metadata); in ReadProtoMetadata() local
1138 if (file_offset + metadata_size >= file_size) { in ReadProtoMetadata()
1147 ICING_RETURN_IF_ERROR(mmapped_file->Remap(file_offset, metadata_size)); in ReadProtoMetadata()
1148 memcpy(&portable_metadata, mmapped_file->region(), metadata_size); in ReadProtoMetadata()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.h124 int64 metadata_size = sizeof(int32) * shape.dimensions_size(); in GetSizeOfShape() local
125 return ShapeUtil::ByteSizeOf(shape, pointer_size) + metadata_size; in GetSizeOfShape()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtransfer_manager.cc228 int64 metadata_size = shape_size_fn(buffer_shape) - offset; in ReadDynamicShapes() local
229 if (metadata_size == 0) { in ReadDynamicShapes()
234 stream->parent()->GetSubBuffer(&buffer_8, offset, metadata_size); in ReadDynamicShapes()
/external/avb/libavb_aftl/
Davb_aftl_types.h117 uint16_t metadata_size; member
Davb_aftl_util.c419 if (!read_u16(&(icp_entry->log_root_descriptor.metadata_size), in parse_trillian_log_root_descriptor()
426 if (icp_entry->log_root_descriptor.metadata_size > in parse_trillian_log_root_descriptor()
433 if (icp_entry->log_root_descriptor.metadata_size > 0) { in parse_trillian_log_root_descriptor()
435 icp_entry->log_root_descriptor.metadata_size, in parse_trillian_log_root_descriptor()
/external/avb/test/
Davb_aftl_util_unittest.cc99 EXPECT_EQ(icp_entry->log_root_descriptor.metadata_size, 0); in TestAftlIcpEntry()
Davb_aftl_validate_unittest.cc164 icp_entry_->log_root_descriptor.metadata_size = 0; in SetUp()
Davbtool_unittest.cc707 const size_t metadata_size = 128 * 1024; in TEST_F() local
717 partition_size - metadata_size, in TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util_test.cc78 ASSERT_EQ(sharding.metadata_size(), 1); in TEST_P()
Dxla_compiler.cc1482 for (int i = 0; i < iter->second.metadata_size(); ++i) { in GetDeviceToHostShapes()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_executable.cc404 int64 metadata_size = sizeof(int32) * shape.dimensions_size(); in ShapeSizeBytes() local
405 return ShapeUtil::ByteSizeOf(shape, sizeof(void*)) + metadata_size; in ShapeSizeBytes()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dc_api_decl.h50 size_t metadata_size; member
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc167 uint64 metadata_size = shape_size_fn(compile_time_shape) - offset; in UpdateMetadata() local
169 stream->parent()->GetSubBuffer(buffer, offset, metadata_size); in UpdateMetadata()
/external/kernel-headers/original/uapi/linux/
Dkfd_ioctl.h434 __u32 metadata_size; /* to KFD (space allocated by user) member
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc1428 const size_t metadata_size = in perform_stream_op_locked() local
1436 if (metadata_size > metadata_peer_limit) { in perform_stream_op_locked()
1445 static_cast<intptr_t>(metadata_size)), in perform_stream_op_locked()
1551 const size_t metadata_size = in perform_stream_op_locked() local
1556 if (metadata_size > metadata_peer_limit) { in perform_stream_op_locked()
1565 static_cast<intptr_t>(metadata_size)), in perform_stream_op_locked()