/system/bt/gd/packet/parser/ |
D | size.h | 24 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/ |
D | incremental_utils.h | 32 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/ |
D | packet_field.h | 37 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;
|
D | scalar_field.h | 30 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;
|
D | struct_field.h | 24 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_{};
|
D | scalar_field.cc | 33 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()
|
D | padding_field.h | 32 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_;
|
D | array_field.h | 33 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_{};
|
D | vector_field.h | 34 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_{};
|
D | padding_field.cc | 29 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
|
D | checksum_start_field.cc | 29 Size ChecksumStartField::GetSize() const { in GetSize() 30 return Size(0); in GetSize() 43 void ChecksumStartField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument
|
D | variable_length_struct_field.cc | 29 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()
|
D | body_field.cc | 34 Size BodyField::GetSize() const { in GetSize() 36 return Size(0); in GetSize() 53 void BodyField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument
|
D | group_field.cc | 37 Size GroupField::GetSize() const { in GetSize() 39 return Size(); in GetSize() 56 void GroupField::GenGetter(std::ostream&, Size, Size) const { in GenGetter() argument
|
D | struct_field.cc | 22 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()
|
D | packet_field.cc | 35 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()
|
D | custom_field_fixed_size.cc | 34 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()
|
D | variable_length_struct_field.h | 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;
|
D | custom_field.h | 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;
|
D | custom_field.cc | 29 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()
|
D | vector_field.cc | 47 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/ |
D | storage_literals.h | 24 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/ |
D | MemoryBufferTest.cpp | 36 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/ |
D | smaps | 3 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/ |
D | ringbuffer_fuzzer.cpp | 10 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()
|