Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 25 of 99) sorted by relevance

1234

/system/bt/gd/packet/parser/
Dsize.h24 class Size {
26 Size() {} in Size() function
28 Size(int bits) { in Size() function
33 Size(std::string dynamic) { in Size() function
38 Size(int bits, std::string dynamic) { in Size() function
44 Size(const Size& size) { in Size() function
86 Size operator+(int rhs) {
87 return Size(bits_ + rhs);
90 Size operator+(std::string rhs) {
91 auto ret = Size();
[all …]
/system/core/adb/client/
Dincremental_utils.h32 using Size = int64_t; variable
41 Size fileSize);
43 Size verity_tree_blocks_for_file(Size fileSize);
44 Size verity_tree_size_for_file(Size fileSize);
/system/bt/gd/packet/parser/fields/
Dpacket_field.h37 virtual Size GetSize() const = 0;
41 virtual Size GetBuilderSize() const;
45 virtual Size GetStructSize() const;
54 virtual int GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const;
63 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const = 0;
Dscalar_field.h30 virtual Size GetSize() const override;
34 …virtual int GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const overri…
40 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
Dstruct_field.h24 StructField(std::string name, std::string type_name, Size size, ParseLocation loc);
30 virtual Size GetSize() const override;
32 virtual Size GetBuilderSize() const override;
40 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
58 const Size size_{};
Dscalar_field.cc33 Size ScalarField::GetSize() const { in GetSize()
50 int ScalarField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds()
59 Size byte_offset = Size(num_leading_bits + size.bits()) + end_offset; in GenBounds()
68 Size size = GetSize(); in GenExtractor()
97 void ScalarField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
Dpadding_field.h32 virtual Size GetSize() const override;
34 virtual Size GetBuilderSize() const override;
42 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
55 Size size_;
Darray_field.h33 virtual Size GetSize() const override;
35 virtual Size GetBuilderSize() const override;
37 virtual Size GetStructSize() const override;
45 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
71 const Size element_size_{};
Dvector_field.h34 virtual Size GetSize() const override;
36 virtual Size GetBuilderSize() const override;
38 virtual Size GetStructSize() const override;
46 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
76 const Size element_size_{};
Dpadding_field.cc29 Size PaddingField::GetSize() const { in GetSize()
33 Size PaddingField::GetBuilderSize() const { in GetBuilderSize()
47 void PaddingField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument
Dchecksum_start_field.cc29 Size ChecksumStartField::GetSize() const { in GetSize()
30 return Size(0); in GetSize()
43 void ChecksumStartField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument
Dvariable_length_struct_field.cc29 Size VariableLengthStructField::GetSize() const { in GetSize()
30 return Size(); in GetSize()
33 Size VariableLengthStructField::GetBuilderSize() const { in GetBuilderSize()
58 void VariableLengthStructField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) cons… in GenGetter()
Dbody_field.cc34 Size BodyField::GetSize() const { in GetSize()
36 return Size(0); in GetSize()
53 void BodyField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument
Dgroup_field.cc37 Size GroupField::GetSize() const { in GetSize()
39 return Size(); in GetSize()
56 void GroupField::GenGetter(std::ostream&, Size, Size) const { in GenGetter() argument
Dstruct_field.cc22 StructField::StructField(std::string name, std::string type_name, Size size, ParseLocation loc) in StructField()
29 Size StructField::GetSize() const { in GetSize()
33 Size StructField::GetBuilderSize() const { in GetBuilderSize()
53 void StructField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
Dpacket_field.cc35 Size PacketField::GetBuilderSize() const { in GetBuilderSize()
39 Size PacketField::GetStructSize() const { in GetStructSize()
43 int PacketField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds()
Dcustom_field_fixed_size.cc34 int CustomFieldFixedSize::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size)… in GenBounds()
39 Size byte_offset = size + end_offset; in GenBounds()
Dvariable_length_struct_field.h30 virtual Size GetSize() const override;
32 virtual Size GetBuilderSize() const override;
40 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
Dcustom_field.h30 virtual Size GetSize() const override;
32 virtual Size GetBuilderSize() const override;
40 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
Dcustom_field.cc29 Size CustomField::GetSize() const { in GetSize()
30 return Size(); in GetSize()
33 Size CustomField::GetBuilderSize() const { in GetBuilderSize()
59 void CustomField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
Dvector_field.cc47 Size VectorField::GetSize() const { in GetSize()
50 return Size(); in GetSize()
66 return Size(); in GetSize()
69 Size VectorField::GetBuilderSize() const { in GetBuilderSize()
84 Size VectorField::GetStructSize() const { in GetStructSize()
87 return Size(); in GetStructSize()
103 return Size(); in GetStructSize()
153 void VectorField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
/system/core/fs_mgr/libstorage_literals/storage_literals/
Dstorage_literals.h24 struct Size { struct
26 explicit constexpr Size(uint64_t count) : value_(count) {} in Size() function
36 using B = Size<0>; argument
37 using KiB = Size<10>;
38 using MiB = Size<20>;
39 using GiB = Size<30>;
/system/core/libunwindstack/tests/
DMemoryBufferTest.cpp36 ASSERT_EQ(0U, memory_->Size()); in TEST_F()
45 ASSERT_EQ(256U, memory_->Size()); in TEST_F()
52 for (size_t i = 0; i < memory_->Size(); i++) { in TEST_F()
56 std::vector<uint8_t> buffer(memory_->Size()); in TEST_F()
82 ASSERT_EQ(256U, memory_->Size()); in TEST_F()
89 for (size_t i = 0; i < memory_->Size(); i++) { in TEST_F()
93 std::vector<uint8_t> buffer(memory_->Size()); in TEST_F()
/system/memory/libmeminfo/testdata1/
Dsmaps3 Size: 8448 kB
24 Size: 768 kB
45 Size: 256 kB
66 Size: 2560 kB
87 Size: 768 kB
108 Size: 512 kB
129 Size: 256 kB
150 Size: 1024 kB
171 Size: 256 kB
192 Size: 768 kB
[all …]
/system/nfc/utils/test/ringbuffer_fuzzer/
Dringbuffer_fuzzer.cpp10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
11 if (Size < 2) { in LLVMFuzzerTestOneInput()
24 for (size_t i = 2; i < Size;) { in LLVMFuzzerTestOneInput()
25 size_t bytes_left = Size - i - 1; in LLVMFuzzerTestOneInput()

1234