/packages/modules/adb/ |
D | types.h | 49 size_(std::exchange(move.size_, 0)) {} in Block() 56 size_ = std::exchange(move.size_, 0); 67 size_ = new_size; in resize() 81 size_ = 0; in clear() 85 size_t size() const { return size_; } in size() 94 char* end() { return data() + size_; } in end() 95 const char* end() const { return data() + size_; } in end() 109 CHECK_EQ(0ULL, size_); in allocate() 116 size_ = size; in allocate() 122 size_t size_ = 0; member
|
/packages/modules/Bluetooth/system/gd/packet/parser/fields/ |
D | scalar_field.cc | 25 …:ScalarField(std::string name, int size, ParseLocation loc) : PacketField(name, loc), size_(size) { in ScalarField() 26 if (size_ > 64 || size_ < 0) { in ScalarField() 27 ERROR(this) << "Not implemented for size_ = " << size_; in ScalarField() 36 return size_; in GetSize() 40 return util::GetTypeForSize(size_); in GetDataType()
|
D | reserved_field.cc | 25 : PacketField("ReservedScalar" + std::to_string(unique_id_++), loc), size_(size) {} in ReservedField() 32 return size_; in GetSize() 36 return util::GetTypeForSize(size_); in GetDataType()
|
D | padding_field.cc | 23 : PacketField("padding_" + std::to_string(size * 8), loc), size_(size * 8) {} in PaddingField() 30 return size_; in GetSize()
|
D | struct_field.cc | 23 : PacketField(name, loc), type_name_(type_name), size_(size) {} in StructField() 30 return size_; in GetSize()
|
D | fixed_enum_field.cc | 23 : FixedField("fixed_enum", enum_def->size_, loc), enum_(enum_def), value_(value) {} in FixedEnumField()
|
D | count_field.h | 48 int size_;
|
D | enum_field.cc | 24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
|
D | reserved_field.h | 52 int size_; variable
|
D | size_field.h | 52 int size_;
|
D | padding_field.h | 55 Size size_;
|
D | struct_field.h | 58 const Size size_{};
|
D | scalar_field.h | 59 const int size_;
|
/packages/modules/adb/fastdeploy/deploypatchgenerator/ |
D | apk_archive.cpp | 69 ApkArchive::ApkArchive(const std::string& path) : path_(path), size_(0) { in ApkArchive() 81 size_ = st.st_size; in ApkArchive() 113 auto sizeToRead = std::min(size_, endOfCDMaxSize); in FindEndOfCDRecord() 114 auto readOffset = size_ - sizeToRead; in FindEndOfCDRecord() 334 if (localFileHeaderOffset + kLocalFileHeaderSize > size_) { in CalculateLocalFileEntrySize() 338 static_cast<long long>(size_)); in CalculateLocalFileEntrySize() 375 if (ddOffset + int(sizeof(uint32_t)) > size_) { in CalculateLocalFileEntrySize() 379 path_.c_str(), static_cast<long long>(ddOffset), static_cast<long long>(size_)); in CalculateLocalFileEntrySize() 391 if (ddOffset + kDataDescriptorSize > size_) { in CalculateLocalFileEntrySize() 395 path_.c_str(), static_cast<long long>(ddOffset), static_cast<long long>(size_)); in CalculateLocalFileEntrySize()
|
D | apk_archive.h | 78 off_t size_; variable
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | custom_field_def.cc | 31 if (size_ == -1) { in GetNewField() 34 return new CustomFieldFixedSize(name, name_, size_, loc); in GetNewField() 63 s << "static_assert(CustomFieldFixedSizeInterface<" << name_ << ">::length() * 8 == " << size_ in GenFixedSizeCustomFieldCheck() 65 << size_ << "\");"; in GenFixedSizeCustomFieldCheck()
|
D | enum_gen.cc | 28 stream << " : " << util::GetTypeForSize(e_.size_); in GenDefinition() 57 stream << "<< std::setw(" << (e_.size_ > 0 ? e_.size_ : 0) << "/4)"; in GenLogging()
|
D | checksum_def.cc | 25 return new ChecksumField(name, name_, size_, loc); in GetNewField() 33 …s << "static_assert(ChecksumTypeChecker<" << name_ << "," << util::GetTypeForSize(size_) << ">::va… in GenChecksumCheck()
|
D | type_def.h | 27 TypeDef(std::string name, int size) : name_(name), size_(size) {} in TypeDef() 49 const int size_{-1};
|
D | enum_def.cc | 31 if (value > util::GetMaxValueForBits(size_)) { in AddEntry() 33 << name_ << "(" << util::GetMaxValueForBits(size_) << ")\n"; in AddEntry()
|
D | gen_cpp.cc | 198 if (c.second->size_ == -1 /* Variable Size */) { in generate_cpp_headers_one_file()
|
/packages/modules/Bluetooth/system/gd/common/ |
D | circular_buffer.h | 42 const size_t size_; 86 bluetooth::common::CircularBuffer<T>::CircularBuffer(size_t size) : size_(size) {} in CircularBuffer() 92 while (queue_.size() > size_) { in Push()
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_types.h | 327 size_(kDefaultCsisSetSize), in CsisGroup() 359 int GetDesiredSize(void) const { return size_; } in GetDesiredSize() 360 void SetDesiredSize(int size) { size_ = size; } in SetDesiredSize() 361 bool IsGroupComplete(void) const { return size_ == (int)devices_.size(); } in IsGroupComplete() 546 int size_; variable
|