Home
last modified time | relevance | path

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

/system/tools/hidl/
DLocation.cpp93 bool Location::operator<(const Location& loc) const { in operator <()
94 CHECK(inSameFile(*this, loc)) << "Cannot compare locations in different files"; in operator <()
95 CHECK(!intersect(*this, loc)); in operator <()
96 return mEnd < loc.mBegin; in operator <()
99 std::ostream& operator<<(std::ostream& ostr, const Location& loc) { in operator <<() argument
100 Position last = Position(loc.end().filename(), loc.end().line(), in operator <<()
101 std::max<size_t>(1u, loc.end().column() - 1)); in operator <<()
102 ostr << loc.begin(); in operator <<()
103 if (loc.begin().filename() != last.filename()) { in operator <<()
105 } else if (loc.begin().line() != last.line()) { in operator <<()
[all …]
DNamedType.cpp21 NamedType::NamedType(const char* localName, const FQName& fullName, const Location& loc, in NamedType() argument
23 : Type(parent), mLocalName(localName), mFullName(fullName), mLocation(loc) {} in NamedType()
DLocation.h68 bool operator<(const Location& loc) const;
79 std::ostream& operator<<(std::ostream& ostr, const Location& loc);
DNamedType.h31 NamedType(const char* localName, const FQName& fullName, const Location& loc, Scope* parent);
Dhidl-gen_y.yy55 ::android::Location convertYYLoc(const yy::parser::location_type &loc) {
57 ::android::Position(*(loc.begin.filename), loc.begin.line, loc.begin.column),
58 ::android::Position(*(loc.end.filename), loc.end.line, loc.end.column)
/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/tools/aidl/
Daidl_language_y.yy12 AidlLocation loc(const yy::parser::location_type& l) {
143 { ps->AddImport(new AidlImport(loc(@2), $2->GetDotName()));
149 $$ = new AidlQualifiedName(loc(@1), $1->GetText(), $1->GetComments());
190 $$ = new AidlParcelable(loc(@2), $2, ps->Package(), $1->GetComments());
193 $$ = new AidlParcelable(loc(@2), $2, ps->Package(), $1->GetComments(), $4->GetText());
196 AidlQualifiedName* name = new AidlQualifiedName(loc(@2), $2->GetText(), $2->GetComments());
197 $$ = new AidlStructuredParcelable(loc(@2), name, ps->Package(), $1->GetComments(), $4);
217 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText());
220 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText(), $4);
229 $$ = new AidlInterface(loc(@1), $2->GetText(), $1->GetComments(), false, $4, ps->Package());
[all …]
/system/core/libunwindstack/tools/
Dunwind_reg_info.cpp80 for (auto& loc : regs) { in PrintRegInformation() local
81 loc_regs.push_back(loc); in PrintRegInformation()
93 const DwarfLocation* loc = &entry.second; in PrintRegInformation() local
99 switch (loc->type) { in PrintRegInformation()
102 PrintSignedValue(loc->values[0]); in PrintRegInformation()
108 PrintSignedValue(loc->values[0]); in PrintRegInformation()
113 printf("r%" PRId64 " ", loc->values[0]); in PrintRegInformation()
114 PrintSignedValue(loc->values[1]); in PrintRegInformation()
120 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
126 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
/system/core/libpixelflinger/tests/arch-mips64/disassembler/
Dmips64_disassembler_test.cpp172 uint64_t loc = (uint64_t)test + 4 + (test->offset << 2); in main() local
176 sprintf(address, "0x%lx", loc); in main()
193 uint64_t loc = ((uint64_t)test & 0xfffffffff0000000) | (test->offset << 2); in main() local
197 sprintf(address, "0x%08lx", loc); in main()
/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.cpp374 bool DwarfSectionImpl<AddressType>::EvalExpression(const DwarfLocation& loc, Memory* regular_memory, in EvalExpression() argument
382 uint64_t end = loc.values[1]; in EvalExpression()
383 uint64_t start = end - loc.values[0]; in EvalExpression()
415 bool DwarfSectionImpl<AddressType>::EvalRegister(const DwarfLocation* loc, uint32_t reg, in EvalRegister() argument
419 switch (loc->type) { in EvalRegister()
421 … if (!regular_memory->ReadFully(eval_info->cfa + loc->values[0], reg_ptr, sizeof(AddressType))) { in EvalRegister()
423 last_error_.address = eval_info->cfa + loc->values[0]; in EvalRegister()
428 *reg_ptr = eval_info->cfa + loc->values[0]; in EvalRegister()
431 uint32_t cur_reg = loc->values[0]; in EvalRegister()
436 *reg_ptr = eval_info->regs_info.Get(cur_reg) + loc->values[1]; in EvalRegister()
[all …]
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp63 auto loc = strName.find_first_of('/'); in SetUp() local
64 if (loc == std::string::npos) { in SetUp()
68 const std::string fqName = strName.substr(0, loc); in SetUp()
69 const std::string instance = strName.substr(loc + 1); in SetUp()
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c173 const char* loc; member
185 static __inline int _heap_alloc(_heap** ppa, const char* loc, int size, void** ppbuf) { in _heap_alloc() argument
190 pn->loc = loc; in _heap_alloc()
202 const char* loc, in _allocator_alloc() argument
217 return _heap_alloc(&me->pheap, loc, size, ppbuf); in _allocator_alloc()
226 const char* loc = pn->loc; in _allocator_deinit() local
227 (void)loc; in _allocator_deinit()
Dchre_slpi_stub.c173 const char* loc; member
185 static __inline int _heap_alloc(_heap** ppa, const char* loc, int size, void** ppbuf) { in _heap_alloc() argument
190 pn->loc = loc; in _heap_alloc()
202 const char* loc, in _allocator_alloc() argument
217 return _heap_alloc(&me->pheap, loc, size, ppbuf); in _allocator_alloc()
226 const char* loc = pn->loc; in _allocator_deinit() local
227 (void)loc; in _allocator_deinit()
/system/core/libunwindstack/include/unwindstack/
DDwarfSection.h132 bool EvalRegister(const DwarfLocation* loc, uint32_t reg, AddressType* reg_ptr, void* info);
150 bool EvalExpression(const DwarfLocation& loc, Memory* regular_memory, AddressType* value,