/system/update_engine/ |
D | test_http_server.cc | 76 off_t start_offset{0}; member 128 request->start_offset = atoll(range.c_str() + strlen("bytes=")); in ParseRequest() 136 (intmax_t)request->start_offset); in ParseRequest() 184 const off_t start_offset, in WriteHeaders() argument 198 const off_t content_length = end_offset - start_offset; in WriteHeaders() 202 if (start_offset || start_offset == end_offset) { in WriteHeaders() 206 Itoa(start_offset == end_offset ? 0 : start_offset) + "-" + in WriteHeaders() 226 const off_t start_offset, in WritePayload() argument 230 CHECK_LE(start_offset, end_offset); in WritePayload() 234 << first_byte << "', offset range " << start_offset << " -> " in WritePayload() [all …]
|
/system/bt/gd/packet/parser/fields/ |
D | packet_field.cc | 43 int PacketField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds() argument 45 if ((start_offset.empty() && size.empty()) || (start_offset.empty() && end_offset.empty()) || in GenBounds() 47 …ERROR(this) << "GenBounds called without enough information. " << start_offset << end_offset << si… in GenBounds() 50 if (start_offset.bits() % 8 != 0 || end_offset.bits() % 8 != 0) { in GenBounds() 51 …< "Can not find the bounds of a field at a non byte-aligned offset." << start_offset << end_offset; in GenBounds() 54 if (!start_offset.empty()) { in GenBounds() 55 s << "size_t field_begin = (" << start_offset << ") / 8;"; in GenBounds()
|
D | scalar_field.cc | 50 int ScalarField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds() argument 53 if (!start_offset.empty()) { in GenBounds() 55 num_leading_bits = start_offset.bits() % 8; in GenBounds() 56 s << "auto " << GetName() << "_it = to_bound + (" << start_offset << ") / 8;"; in GenBounds() 97 void ScalarField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 101 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | custom_field_fixed_size.cc | 34 int CustomFieldFixedSize::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size)… in GenBounds() argument 35 if (!start_offset.empty()) { in GenBounds() 37 s << "auto " << GetName() << "_it = to_bound + (" << start_offset << ") / 8;"; in GenBounds()
|
D | payload_field.cc | 65 void PayloadField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 70 GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() 78 GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | count_field.cc | 29 void CountField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
|
D | fixed_field.cc | 25 void FixedField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 27 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
|
D | size_field.cc | 29 void SizeField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
|
D | scalar_field.h | 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 | packet_field.h | 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 | variable_length_struct_field.cc | 58 void VariableLengthStructField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) cons… in GenGetter() argument 63 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | struct_field.cc | 53 void StructField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 58 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | custom_field.cc | 59 void CustomField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() argument 65 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter()
|
D | count_field.h | 33 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
D | fixed_field.h | 34 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
D | padding_field.h | 42 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
D | custom_field_fixed_size.h | 32 …virtual int GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const overri…
|
D | size_field.h | 33 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
D | checksum_start_field.h | 40 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
D | checksum_field.h | 37 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
D | variable_length_struct_field.h | 40 virtual void GenGetter(std::ostream& s, Size start_offset, Size end_offset) const override;
|
/system/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 311 uint64_t start_offset = 0x1000; in TYPED_TEST_P() local 313 Symbols symbols(start_offset, 4 * sizeof(TypeParam), sizeof(TypeParam), str_offset, 0x1000); in TYPED_TEST_P() 320 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P() 323 start_offset += sizeof(sym); in TYPED_TEST_P() 330 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P() 333 start_offset += sizeof(sym); in TYPED_TEST_P() 338 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P() 341 start_offset += sizeof(sym); in TYPED_TEST_P() 348 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
|
/system/update_engine/payload_consumer/ |
D | verity_writer_android.cc | 77 uint64_t start_offset = std::max(offset, partition_->hash_tree_data_offset); in Update() local 79 if (start_offset < end_offset) { in Update() 81 buffer + start_offset - offset, end_offset - start_offset)); in Update()
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 132 def generate_offset(self, start_offset): argument 133 self.offset = start_offset 134 child_offset = start_offset
|
/system/core/libunwindstack/ |
D | DwarfCfa.h | 82 bool GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, 85 bool Log(uint32_t indent, uint64_t pc, uint64_t start_offset, uint64_t end_offset);
|