/system/tools/aidl/ |
D | aidl_language_y.yy | 31 AidlLocation loc(const yy::parser::location_type& begin, const yy::parser::location_type& end) { 46 AidlLocation loc(const yy::parser::location_type& l) { 47 return loc(l, l); 189 { ps->SetDocument(std::make_unique<AidlDocument>(loc(@1), *$2, std::move(*$3))); 231 $$ = new AidlImport(loc(@2), $2->GetText()); 298 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments()); 303 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), "", $4); 308 … $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4->GetText()); 314 $$ = new AidlStructuredParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4); 338 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText()); [all …]
|
/system/tools/hidl/ |
D | Location.cpp | 90 bool Location::operator<(const Location& loc) const { in operator <() 91 return std::tie(mBegin, mEnd) < std::tie(loc.mBegin, loc.mEnd); in operator <() 94 std::ostream& operator<<(std::ostream& ostr, const Location& loc) { in operator <<() argument 95 Position last = Position(loc.end().filename(), loc.end().line(), in operator <<() 96 std::max<size_t>(1u, loc.end().column() - 1)); in operator <<() 97 ostr << loc.begin(); in operator <<() 98 if (loc.begin().filename() != last.filename()) { in operator <<() 100 } else if (loc.begin().line() != last.line()) { in operator <<() 102 } else if (loc.begin().column() != last.column()) { in operator <<()
|
D | NamedType.cpp | 23 NamedType::NamedType(const std::string& localName, const FQName& fullName, const Location& loc, in NamedType() argument 25 : Type(parent, localName), mFullName(fullName), mLocation(loc) {} in NamedType()
|
/system/core/libpixelflinger/codeflinger/ |
D | disassem.c | 295 u_int loc); 297 u_int loc); 299 u_int loc); 304 disasm(const disasm_interface_t *di, u_int loc, int __unused altfmt) in disasm() argument 307 u_int insn = di->di_readword(loc); in disasm() 325 return(loc + INSN_SIZE); in disasm() 384 disasm_insn_ldrstr(di, insn, loc); in disasm() 388 disasm_insn_ldrhstrh(di, insn, loc); in disasm() 426 di->di_printaddr(loc + 8 + branch); in disasm() 434 di->di_printaddr(loc + 8 + branch); in disasm() [all …]
|
D | mips_disassem.c | 179 db_addr_t mips_disassem(db_addr_t loc, char *di_buffer, int alt_dis_format); 187 db_disasm_insn(int insn, db_addr_t loc, bool altfmt __unused) in db_disasm_insn() argument 377 print_addr(loc + 4 + ((short)i.IType.imm << 2)); in db_disasm_insn() 462 print_addr((loc & 0xF0000000) | (i.JType.target << 2)); in db_disasm_insn() 543 return (loc + 4); in db_disasm_insn() 547 print_addr(db_addr_t loc) in print_addr() argument 549 db_printf("0x%08x", loc); in print_addr() 578 mips_disassem(db_addr_t loc, char *di_buffer, int alt_dis_format) in mips_disassem() argument 589 instr = *(u_int32_t *)loc; in mips_disassem() 590 return (db_disasm_insn(instr, loc, false)); in mips_disassem()
|
D | mips64_disassem.c | 144 db_addr_t mips_disassem(db_addr_t loc, char *di_buffer, int alt_dis_format); 152 db_disasm_insn(int insn, db_addr_t loc, bool altfmt __unused) in db_disasm_insn() argument 378 print_addr(loc + 4 + ((short)i.IType.imm << 2)); in db_disasm_insn() 463 print_addr((loc & 0xFFFFFFFFF0000000) | (i.JType.target << 2)); in db_disasm_insn() 539 return (loc + 4); in db_disasm_insn() 543 print_addr(db_addr_t loc) in print_addr() argument 545 db_printf("0x%08lx", loc); in print_addr() 571 mips_disassem(db_addr_t loc, char *di_buffer, int alt_dis_format) in mips_disassem() argument 582 instr = *(u_int32_t *)loc; in mips_disassem() 583 return (db_disasm_insn(instr, loc, false)); in mips_disassem()
|
/system/core/libunwindstack/tools/ |
D | unwind_reg_info.cpp | 82 for (auto& loc : regs) { in PrintRegInformation() local 83 loc_regs.push_back(loc); in PrintRegInformation() 95 const DwarfLocation* loc = &entry.second; in PrintRegInformation() local 101 switch (loc->type) { in PrintRegInformation() 104 PrintSignedValue(loc->values[0]); in PrintRegInformation() 110 PrintSignedValue(loc->values[0]); in PrintRegInformation() 115 printf("r%" PRId64 " ", loc->values[0]); in PrintRegInformation() 116 PrintSignedValue(loc->values[1]); in PrintRegInformation() 122 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation() 128 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation() [all …]
|
/system/bt/gd/packet/parser/fields/ |
D | array_field.cc | 25 ArrayField::ArrayField(std::string name, int element_size, int array_size, ParseLocation loc) in ArrayField() argument 26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in ArrayField() 35 ArrayField::ArrayField(std::string name, TypeDef* type_def, int array_size, ParseLocation loc) in ArrayField() argument 36 : PacketField(name, loc), element_field_(type_def->GetNewField("val", loc)), in ArrayField()
|
D | fixed_enum_field.cc | 22 FixedEnumField::FixedEnumField(EnumDef* enum_def, std::string value, ParseLocation loc) in FixedEnumField() argument 23 : FixedField("fixed_enum", enum_def->size_, loc), enum_(enum_def), value_(value) {} in FixedEnumField()
|
D | fixed_scalar_field.cc | 22 FixedScalarField::FixedScalarField(int size, int64_t value, ParseLocation loc) in FixedScalarField() argument 23 : FixedField("fixed_scalar", size, loc), value_(value) {} in FixedScalarField()
|
D | vector_field.cc | 25 …ield::VectorField(std::string name, int element_size, std::string size_modifier, ParseLocation loc) in VectorField() argument 26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in VectorField() 35 …eld::VectorField(std::string name, TypeDef* type_def, std::string size_modifier, ParseLocation loc) in VectorField() argument 36 : PacketField(name, loc), element_field_(type_def->GetNewField("val", loc)), in VectorField()
|
D | count_field.cc | 22 CountField::CountField(std::string name, int size, ParseLocation loc) in CountField() argument 23 : ScalarField(name + "_count", size, loc), sized_field_name_(name) {} in CountField()
|
D | padding_field.cc | 22 PaddingField::PaddingField(int size, ParseLocation loc) in PaddingField() argument 23 : PacketField("padding_" + std::to_string(size * 8), loc), size_(size * 8) {} in PaddingField()
|
D | fixed_field.cc | 22 FixedField::FixedField(std::string name, int size, ParseLocation loc) in FixedField() argument 23 : ScalarField(name + std::to_string(unique_id_++), size, loc) {} in FixedField()
|
D | checksum_start_field.cc | 22 ChecksumStartField::ChecksumStartField(std::string name, ParseLocation loc) in ChecksumStartField() argument 23 : PacketField(name + "_start", loc), started_field_name_(name) {} in ChecksumStartField()
|
D | reserved_field.cc | 24 ReservedField::ReservedField(int size, ParseLocation loc) in ReservedField() argument 25 : PacketField("ReservedScalar" + std::to_string(unique_id_++), loc), size_(size) {} in ReservedField()
|
D | size_field.cc | 22 SizeField::SizeField(std::string name, int size, ParseLocation loc) in SizeField() argument 23 : ScalarField(name + "_size", size, loc), sized_field_name_(name) {} in SizeField()
|
D | enum_field.cc | 23 EnumField::EnumField(std::string name, EnumDef enum_def, std::string value, ParseLocation loc) in EnumField() argument 24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
|
D | checksum_field.cc | 22 ChecksumField::ChecksumField(std::string name, std::string type_name, int size, ParseLocation loc) in ChecksumField() argument 23 : ScalarField(name, size, loc), type_name_(type_name) {} in ChecksumField()
|
/system/bt/gd/packet/parser/ |
D | custom_field_def.cc | 30 PacketField* CustomFieldDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() 32 return new CustomField(name, name_, loc); in GetNewField() 34 return new CustomFieldFixedSize(name, name_, size_, loc); in GetNewField()
|
D | checksum_def.cc | 24 PacketField* ChecksumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() 25 return new ChecksumField(name, name_, size_, loc); in GetNewField()
|
D | enum_def.cc | 40 PacketField* EnumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() 41 return new EnumField(name, *this, "What is this for", loc); in GetNewField()
|
/system/extras/tests/framebuffer/ |
D | fb_test.c | 210 uint16_t *loc = _loc; in draw_grid() local 216 loc[i + j*(stride)] = red; in draw_grid() 221 loc[i + j*(stride)] = green; in draw_grid() 229 loc[i + j*(stride)] = blue; in draw_grid() 234 loc[i + j*(stride)] = white; in draw_grid() 245 uint16_t *loc = _loc; in clear_screen() local 251 loc[i + j*(stride)] = black; in clear_screen()
|
/system/core/libunwindstack/ |
D | DwarfSection.cpp | 377 bool DwarfSectionImpl<AddressType>::EvalExpression(const DwarfLocation& loc, Memory* regular_memory, in EvalExpression() argument 385 uint64_t end = loc.values[1]; in EvalExpression() 386 uint64_t start = end - loc.values[0]; in EvalExpression() 418 bool DwarfSectionImpl<AddressType>::EvalRegister(const DwarfLocation* loc, uint32_t reg, in EvalRegister() argument 422 switch (loc->type) { in EvalRegister() 424 … if (!regular_memory->ReadFully(eval_info->cfa + loc->values[0], reg_ptr, sizeof(AddressType))) { in EvalRegister() 426 last_error_.address = eval_info->cfa + loc->values[0]; in EvalRegister() 431 *reg_ptr = eval_info->cfa + loc->values[0]; in EvalRegister() 434 uint32_t cur_reg = loc->values[0]; in EvalRegister() 439 *reg_ptr = eval_info->regs_info.Get(cur_reg) + loc->values[1]; in EvalRegister() [all …]
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | ApkArchive.java | 187 private byte[] readMetadata(Location loc) throws IOException { in readMetadata() argument 188 byte[] payload = new byte[(int) loc.size]; in readMetadata() 189 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, loc.offset, loc.size); in readMetadata()
|