/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); 195 …ps->SetDocument(std::make_unique<AidlDocument>(loc(@1), comments, std::move(*$2), std::move(*$3))); 217 $$ = new AidlPackage(loc(@1, @3), $1->GetComments()); 241 $$ = new AidlImport(loc(@2), $2->GetText(), $1->GetComments()); 313 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), "", $3); 318 …$$ = new AidlStructuredParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $3, $5… 323 … $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4->GetText()); 354 $$ = 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/unwinding/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/chre/chpp/test/ |
D | transport_test.cpp | 407 size_t loc = 0; in TEST_P() local 408 addPreambleToBuf(mBuf, &loc); in TEST_P() 409 ChppTransportHeader *transHeader = addTransportHeaderToBuf(mBuf, &loc); in TEST_P() 412 loc += len; in TEST_P() 414 addTransportFooterToBuf(mBuf, &loc); in TEST_P() 516 size_t loc = 0; in TEST_F() local 517 addPreambleToBuf(mBuf, &loc); in TEST_F() 518 ChppTransportHeader *transHeader = addTransportHeaderToBuf(mBuf, &loc); in TEST_F() 520 loc += payloadLen; in TEST_F() 521 addTransportFooterToBuf(mBuf, &loc); in TEST_F() [all …]
|
/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/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_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 | 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 | 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 | 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 | 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 | 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 | 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 | 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()
|
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 | group_field.cc | 19 GroupField::GroupField(ParseLocation loc, std::list<PacketField*>* fields) in GroupField() argument 20 : PacketField("Groups have no name", loc), fields_(fields) {} in GroupField()
|
/system/chre/chpp/clients/ |
D | loopback.c | 112 for (size_t loc = CHPP_LOOPBACK_HEADER_LEN; in chppDispatchLoopbackServiceResponse() local 113 loc < MIN(context->loopbackClientContext->testResult.requestLen, in chppDispatchLoopbackServiceResponse() 115 loc++) { in chppDispatchLoopbackServiceResponse() 117 ->loopbackData[loc - CHPP_LOOPBACK_HEADER_LEN] != response[loc]) { in chppDispatchLoopbackServiceResponse() 122 loc - CHPP_LOOPBACK_HEADER_LEN); in chppDispatchLoopbackServiceResponse()
|
/system/unwinding/libunwindstack/ |
D | DwarfSection.cpp | 383 bool DwarfSectionImpl<AddressType>::EvalExpression(const DwarfLocation& loc, Memory* regular_memory, in EvalExpression() argument 391 uint64_t end = loc.values[1]; in EvalExpression() 392 uint64_t start = end - loc.values[0]; in EvalExpression() 424 bool DwarfSectionImpl<AddressType>::EvalRegister(const DwarfLocation* loc, uint32_t reg, in EvalRegister() argument 428 switch (loc->type) { in EvalRegister() 430 … if (!regular_memory->ReadFully(eval_info->cfa + loc->values[0], reg_ptr, sizeof(AddressType))) { in EvalRegister() 432 last_error_.address = eval_info->cfa + loc->values[0]; in EvalRegister() 437 *reg_ptr = eval_info->cfa + loc->values[0]; in EvalRegister() 440 uint32_t cur_reg = loc->values[0]; in EvalRegister() 445 *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()
|