/system/chre/chpp/tools/ |
D | uuid_gen.py | 30 loc = 0 variable 31 while loc < len(u) - 2: # loop through UUID bytes except last byte 32 print("0x" + u[loc:loc+2] + ", ", end="") 33 loc += 2 34 print("0x" + u[loc:loc+2] + "}")
|
/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); 193 ps->MakeDocument(loc(@1), Comments(), std::move(imports), std::move(*$3)); 335 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), *$4, $3); 341 ps->CheckValidTypeName(*$2, loc(@2)); 342 …$$ = new AidlStructuredParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5… 375 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText()); 380 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText(), $4); 387 ps->CheckValidTypeName(*$2, loc(@2)); [all …]
|
D | diagnostics.cpp | 62 AidlErrorLog Report(const AidlLocation& loc, DiagnosticID id, in Report() argument 64 if (loc.IsInternal()) { in Report() 65 return AidlErrorLog(AidlErrorLog::NO_OP, loc); in Report() 71 return AidlErrorLog(AidlErrorLog::NO_OP, loc); in Report() 73 return AidlErrorLog(AidlErrorLog::WARNING, loc, suffix); in Report() 76 return AidlErrorLog(AidlErrorLog::ERROR, loc, suffix); in Report()
|
D | parser.h | 91 void CheckValidTypeName(const AidlToken& token, const AidlLocation& loc);
|
D | parser.cpp | 106 void Parser::CheckValidTypeName(const AidlToken& token, const AidlLocation& loc) { in CheckValidTypeName() argument 108 AIDL_ERROR(loc) << "Type name can't be qualified. Use `package`."; in CheckValidTypeName()
|
D | aidl_unittest.cpp | 1479 const AidlLocation& loc = AIDL_LOCATION_HERE; in TEST_F() local 1481 EXPECT_EQ('c', Ptr(AidlConstantValue::Character(loc, "'c'"))->EvaluatedValue<char16_t>()); in TEST_F() 1482 EXPECT_EQ("abc", Ptr(AidlConstantValue::String(loc, "\"abc\""))->EvaluatedValue<string>()); in TEST_F() 1483 EXPECT_FLOAT_EQ(1.0f, Ptr(AidlConstantValue::Floating(loc, "1.0f"))->EvaluatedValue<float>()); in TEST_F() 1484 EXPECT_EQ(true, Ptr(AidlConstantValue::Boolean(loc, true))->EvaluatedValue<bool>()); in TEST_F() 1486 AidlBinaryConstExpression one_plus_one(loc, Ptr(AidlConstantValue::Integral(loc, "1")), "+", in TEST_F() 1487 Ptr(AidlConstantValue::Integral(loc, "1"))); in TEST_F() 1491 values->emplace_back(AidlConstantValue::String(loc, "\"hello\"")); in TEST_F() 1492 values->emplace_back(AidlConstantValue::String(loc, "\"world\"")); in TEST_F() 1496 Ptr(AidlConstantValue::Array(loc, std::move(values)))->EvaluatedValue<vector<string>>()); in TEST_F() [all …]
|
D | aidl_language.cpp | 1596 auto loc = enumerator->GetLocation(); in AidlEnumDeclaration() local 1599 std::unique_ptr<AidlConstantValue>(AidlConstantValue::Integral(loc, "0"))); in AidlEnumDeclaration() 1601 auto prev_value = std::make_unique<AidlConstantReference>(loc, previous->GetName()); in AidlEnumDeclaration() 1603 loc, std::move(prev_value), "+", in AidlEnumDeclaration() 1604 std::unique_ptr<AidlConstantValue>(AidlConstantValue::Integral(loc, "1")))); in AidlEnumDeclaration()
|
/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()
|
D | Location.h | 71 bool operator<(const Location& loc) const; 82 std::ostream& operator<<(std::ostream& ostr, const Location& loc);
|
D | hidl-gen_y-helpers.h | 31 android::Location convertYYLoc(const yy::parser::location_type& loc, const android::AST* ast);
|
D | NamedType.h | 31 NamedType(const std::string& localName, const FQName& fullName, const Location& loc,
|
D | hidl-gen_y.yy | 56 ::android::Location convertYYLoc(const yy::parser::location_type& loc, const AST* ast) { 58 ::android::Position(ast->getCoordinator().makeRelative(*(loc.begin.filename)), 59 loc.begin.line, loc.begin.column), 60 ::android::Position(ast->getCoordinator().makeRelative(*(loc.end.filename)), 61 loc.end.line, loc.end.column));
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_reg_info.cpp | 89 for (auto& loc : regs) { in PrintRegInformation() local 90 loc_regs.push_back(loc); in PrintRegInformation() 102 const DwarfLocation* loc = &entry.second; in PrintRegInformation() local 108 switch (loc->type) { in PrintRegInformation() 111 PrintSignedValue(loc->values[0]); in PrintRegInformation() 117 PrintSignedValue(loc->values[0]); in PrintRegInformation() 122 printf("r%" PRId64 " ", loc->values[0]); in PrintRegInformation() 123 PrintSignedValue(loc->values[1]); in PrintRegInformation() 129 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation() 135 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation() [all …]
|
/system/chre/chpp/test/ |
D | transport_test.cpp | 400 size_t loc = 0; in TEST_P() local 401 addPreambleToBuf(mBuf, &loc); in TEST_P() 402 ChppTransportHeader *transHeader = addTransportHeaderToBuf(mBuf, &loc); in TEST_P() 405 loc += len; in TEST_P() 407 addTransportFooterToBuf(mBuf, &loc); in TEST_P() 505 size_t loc = 0; in TEST_F() local 506 addPreambleToBuf(mBuf, &loc); in TEST_F() 507 ChppTransportHeader *transHeader = addTransportHeaderToBuf(mBuf, &loc); in TEST_F() 509 loc += payloadLen; in TEST_F() 510 addTransportFooterToBuf(mBuf, &loc); in TEST_F() [all …]
|
/system/chre/chpp/clients/ |
D | loopback.c | 109 for (size_t loc = CHPP_LOOPBACK_HEADER_LEN; in chppDispatchLoopbackServiceResponse() local 110 loc < MIN(result->requestLen, result->responseLen); loc++) { in chppDispatchLoopbackServiceResponse() 111 if (state->loopbackData[loc - CHPP_LOOPBACK_HEADER_LEN] != response[loc]) { in chppDispatchLoopbackServiceResponse() 114 MIN(result->firstError, loc - CHPP_LOOPBACK_HEADER_LEN); in chppDispatchLoopbackServiceResponse()
|
/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/unwinding/libunwindstack/ |
D | DwarfSection.cpp | 396 bool DwarfSectionImpl<AddressType>::EvalExpression(const DwarfLocation& loc, Memory* regular_memory, in EvalExpression() argument 404 uint64_t end = loc.values[1]; in EvalExpression() 405 uint64_t start = end - loc.values[0]; in EvalExpression() 437 bool DwarfSectionImpl<AddressType>::EvalRegister(const DwarfLocation* loc, uint32_t reg, in EvalRegister() argument 441 switch (loc->type) { in EvalRegister() 443 … if (!regular_memory->ReadFully(eval_info->cfa + loc->values[0], reg_ptr, sizeof(AddressType))) { in EvalRegister() 445 last_error_.address = eval_info->cfa + loc->values[0]; in EvalRegister() 450 *reg_ptr = eval_info->cfa + loc->values[0]; in EvalRegister() 453 uint16_t cur_reg = eval_info->regs_info.regs->Convert(loc->values[0]); in EvalRegister() 458 *reg_ptr = eval_info->regs_info.Get(cur_reg) + loc->values[1]; in EvalRegister() [all …]
|
/system/chre/host/msm/daemon/generated/ |
D | chre_slpi_skel.c | 175 const char* loc; member 187 static __inline int _heap_alloc(_heap** ppa, const char* loc, int size, void** ppbuf) { in _heap_alloc() argument 192 pn->loc = loc; in _heap_alloc() 204 const char* loc, in _allocator_alloc() argument 219 return _heap_alloc(&me->pheap, loc, size, ppbuf); in _allocator_alloc() 228 const char* loc = pn->loc; in _allocator_deinit() local 229 (void)loc; in _allocator_deinit()
|
D | chre_slpi_stub.c | 175 const char* loc; member 187 static __inline int _heap_alloc(_heap** ppa, const char* loc, int size, void** ppbuf) { in _heap_alloc() argument 192 pn->loc = loc; in _heap_alloc() 204 const char* loc, in _allocator_alloc() argument 219 return _heap_alloc(&me->pheap, loc, size, ppbuf); in _allocator_alloc() 228 const char* loc = pn->loc; in _allocator_deinit() local 229 (void)loc; in _allocator_deinit()
|
/system/bpf/loader/ |
D | BpfLoadTest.cpp | 70 Location loc = { in SetUp() local 76 EXPECT_EQ(android::bpf::loadProg(progPath.c_str(), &critical, loc), -1); in SetUp()
|
/system/chre/chpp/include/chpp/ |
D | transport.h | 121 #define chppPreambleByte(loc) \ argument 122 ((CHPP_PREAMBLE_DATA >> (8 * (CHPP_PREAMBLE_LEN_BYTES - (loc)-1))) & 0xff) 390 size_t loc; member
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 127 auto loc = strName.find_first_of('/'); in SetUp() local 128 if (loc == std::string::npos) { in SetUp() 132 const std::string fqName = strName.substr(0, loc); in SetUp() 133 const std::string instance = strName.substr(loc + 1); in SetUp()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | DwarfSection.h | 151 bool EvalRegister(const DwarfLocation* loc, uint32_t reg, AddressType* reg_ptr, void* info); 175 bool EvalExpression(const DwarfLocation& loc, Memory* regular_memory, AddressType* value,
|
/system/extras/simpleperf/ |
D | cmd_debug_unwind.cpp | 164 auto& loc = debug_unwind_files_[file.path]; in ProcessFile() local 165 loc.offset = offset; in ProcessFile() 166 loc.size = file.size; in ProcessFile() 483 bool CopyDebugUnwindFile(const DebugUnwindFileLocation& loc, std::string& buffer) { in CopyDebugUnwindFile() argument 484 uint64_t offset = loc.offset; in CopyDebugUnwindFile() 485 uint64_t left_size = loc.size; in CopyDebugUnwindFile()
|