Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 75) sorted by relevance

123

/system/tools/aidl/
Daidl_language_y.yy31 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/
DLocation.cpp90 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 <<()
DNamedType.cpp23 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/
Ddisassem.c295 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 …]
Dmips_disassem.c179 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()
Dmips64_disassem.c144 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/
Dunwind_reg_info.cpp82 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/
Darray_field.cc25 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()
Dfixed_enum_field.cc22 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()
Dfixed_scalar_field.cc22 FixedScalarField::FixedScalarField(int size, int64_t value, ParseLocation loc) in FixedScalarField() argument
23 : FixedField("fixed_scalar", size, loc), value_(value) {} in FixedScalarField()
Dvector_field.cc25 …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()
Dcount_field.cc22 CountField::CountField(std::string name, int size, ParseLocation loc) in CountField() argument
23 : ScalarField(name + "_count", size, loc), sized_field_name_(name) {} in CountField()
Dpadding_field.cc22 PaddingField::PaddingField(int size, ParseLocation loc) in PaddingField() argument
23 : PacketField("padding_" + std::to_string(size * 8), loc), size_(size * 8) {} in PaddingField()
Dfixed_field.cc22 FixedField::FixedField(std::string name, int size, ParseLocation loc) in FixedField() argument
23 : ScalarField(name + std::to_string(unique_id_++), size, loc) {} in FixedField()
Dchecksum_start_field.cc22 ChecksumStartField::ChecksumStartField(std::string name, ParseLocation loc) in ChecksumStartField() argument
23 : PacketField(name + "_start", loc), started_field_name_(name) {} in ChecksumStartField()
Dreserved_field.cc24 ReservedField::ReservedField(int size, ParseLocation loc) in ReservedField() argument
25 : PacketField("ReservedScalar" + std::to_string(unique_id_++), loc), size_(size) {} in ReservedField()
Dsize_field.cc22 SizeField::SizeField(std::string name, int size, ParseLocation loc) in SizeField() argument
23 : ScalarField(name + "_size", size, loc), sized_field_name_(name) {} in SizeField()
Denum_field.cc23 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()
Dchecksum_field.cc22 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/
Dcustom_field_def.cc30 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()
Dchecksum_def.cc24 PacketField* ChecksumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField()
25 return new ChecksumField(name, name_, size_, loc); in GetNewField()
Denum_def.cc40 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/
Dfb_test.c210 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/
DDwarfSection.cpp377 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/
DApkArchive.java187 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()

123