/system/core/adb/ |
fdevent.cpp | 53 fdevent* fde; member in struct:PollNode 56 explicit PollNode(fdevent* fde) : fde(fde) { 58 pollfd.fd = fde->fd; 91 static std::string dump_fde(const fdevent* fde) { 93 if (fde->state & FDE_ACTIVE) { 96 if (fde->state & FDE_PENDING) { 99 if (fde->state & FDE_CREATED) { 102 if (fde->state & FDE_READ) 119 fdevent *fde = (fdevent*) malloc(sizeof(fdevent)); local 271 fdevent* fde = it->second.fde; local 335 fdevent* fde = fdevent_create(s[1], fdevent_run_func, nullptr); local 375 fdevent* fde = g_pending_list.front(); local [all...] |
fdevent.h | 58 void fdevent_destroy(fdevent *fde); 62 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg); 71 void fdevent_set(fdevent *fde, unsigned events); 72 void fdevent_add(fdevent *fde, unsigned events); 73 void fdevent_del(fdevent *fde, unsigned events); 75 void fdevent_set_timeout(fdevent *fde, int64_t timeout_ms);
|
jdwp_service.cpp | 136 this->fde = fdevent_create(socket, jdwp_process_event, this); 138 if (!this->fde) { 142 this->fde->state |= FDE_DONT_CLOSE; 145 fdevent_add(this->fde, FDE_READ); 155 if (this->fde) { 156 fdevent_destroy(this->fde); 157 this->fde = nullptr; 176 fdevent* fde = nullptr; member in struct:JdwpProcess 305 fdevent_del(proc->fde, FDE_WRITE); 332 fdevent_add(proc->fde, FDE_WRITE) 353 fdevent* fde; member in struct:JdwpControl [all...] |
fdevent_test.cpp | 141 fdevent fde; member in struct:InvalidFdArg 149 fdevent_remove(&arg->fde); 161 fdevent_install(&read_arg.fde, INVALID_READ_FD, InvalidFdEventCallback, &read_arg); 162 fdevent_add(&read_arg.fde, FDE_READ); 168 fdevent_install(&write_arg.fde, INVALID_WRITE_FD, InvalidFdEventCallback, &write_arg); 169 fdevent_add(&write_arg.fde, FDE_WRITE);
|
/external/elfutils/libdw/ |
dwarf_cfi_addrframe.c | 42 struct dwarf_fde *fde = __libdw_find_fde (cache, address); local 43 if (fde == NULL) 46 int error = __libdw_frame_at_address (cache, fde, address, frame);
|
fde.c | 0 /* FDE reading. 73 struct dwarf_fde *fde = malloc (sizeof (struct dwarf_fde)); local 74 if (fde == NULL) 80 fde->instructions = entry->start; 81 fde->instructions_end = entry->end; 83 &fde->instructions, &fde->start)) 85 &fde->instructions, &fde->end))) 87 free (fde); 162 struct dwarf_fde *fde = intern_fde (cache, &entry.fde); local 217 Dwarf_Addr fde; local 262 struct dwarf_fde *fde = __libdw_fde_by_offset (cache, offset); local 307 struct dwarf_fde *fde = intern_fde (cache, &entry.fde); local [all...] |
dwarf_frame_info.c | 48 *signalp = fs->fde->cie->signal_frame; 49 return fs->fde->cie->return_address_register;
|
cfi.c | 400 that put us past FIND_PC, the final state left by the FDE program 401 applies to this address (the caller ensured it was inside the FDE). 402 This address (FDE->end) is already in FS->end as set by the caller. */ 495 __libdw_frame_at_address (Dwarf_CFI *cache, struct dwarf_fde *fde, 498 int result = cie_cache_initial_state (cache, fde->cie); 501 Dwarf_Frame *fs = duplicate_frame_state (fde->cie->initial_state, NULL); 505 fs->fde = fde; 506 fs->start = fde->start; 507 fs->end = fde->end [all...] |
/external/libunwind_llvm/src/ |
libunwind_ext.h | 29 unw_word_t fde, 33 extern void _unw_add_dynamic_fde(unw_word_t fde); 34 extern void _unw_remove_dynamic_fde(unw_word_t fde);
|
UnwindLevel1-gcc-ext.c | 228 /// to register a dynamically generated FDE. 231 _LIBUNWIND_EXPORT void __register_frame(const void *fde) { 232 _LIBUNWIND_TRACE_API("__register_frame(%p)", fde); 233 _unw_add_dynamic_fde((unw_word_t)(uintptr_t) fde); 238 /// to unregister a dynamically generated FDE. 241 _LIBUNWIND_EXPORT void __deregister_frame(const void *fde) { 242 _LIBUNWIND_TRACE_API("__deregister_frame(%p)", fde); 243 _unw_remove_dynamic_fde((unw_word_t)(uintptr_t) fde); 256 _LIBUNWIND_EXPORT void __register_frame_info_bases(const void *fde, void *ob, 258 (void)fde; [all...] |
Unwind_AppleExtras.cpp | 28 void *fde; member in struct:libgcc_object 149 bool checkKeyMgrRegisteredFDEs(uintptr_t pc, void *&fde) { 156 // look at each FDE in keymgr 162 (uintptr_t)ob->fde, &fdeInfo, &cieInfo); 164 // Check if this FDE is for a function that includes the pc 166 fde = (void*)fdeInfo.pcStart; 178 (void)fde;
|
/toolchain/binutils/binutils-2.27/gas/ |
dw2gencfi.c | 75 # define tc_cfi_endproc(fde) ((void) (fde)) 410 /* List of FDE entries. */ 425 /* Current open FDE entry. */ 435 /* Construct a new FDE structure and add it to the end of the fde list. */ 440 struct fde_entry *fde = XCNEW (struct fde_entry); 443 frchain_now->frch_cfi_data->cur_fde_data = fde; 444 *last_fde_data = fde; 445 last_fde_data = &fde->next 437 struct fde_entry *fde = XCNEW (struct fde_entry); local 482 struct fde_entry *fde = alloc_fde_entry (); local 966 struct fde_entry *fde; local 1037 struct fde_entry *fde; local 1345 struct fde_entry *fde; local 2222 struct fde_entry *fde; local [all...] |
/system/core/libunwindstack/tests/ |
DwarfSectionTest.cpp | 76 DwarfFde fde{}; 77 fde.pc_end = 0x500; 81 EXPECT_CALL(mock_section, GetFdeFromOffset(::testing::_)).WillOnce(::testing::Return(&fde)); 90 DwarfFde fde{}; 91 fde.pc_end = 0x2000; 95 EXPECT_CALL(mock_section, GetFdeFromOffset(::testing::_)).WillOnce(::testing::Return(&fde)); 98 ASSERT_EQ(&fde, mock_section.GetFdeFromPc(0x1000)); 114 DwarfFde fde{}; 115 fde.pc_end = 0x2000; 116 fde.cie = nullptr [all...] |
DwarfEhFrameTest.cpp | 78 // FDE 32 information. 95 // FDE 32 information. 139 // FDE 32 information. 157 // FDE 64 information. 177 // FDE 64 information. 224 // FDE 64 information. 253 // FDE 32 information. 296 // FDE 32 information. 378 // FDE 32 information. 384 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x14000) local 428 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x8000); local [all...] |
DwarfEhFrameWithHdrTest.cpp | 98 // Verify a zero fde count fails to init. 349 // FDE 32 information. 355 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x14000); local 356 ASSERT_TRUE(fde != nullptr); 357 EXPECT_EQ(0x14010U, fde->cfa_instructions_offset); 358 EXPECT_EQ(0x14024U, fde->cfa_instructions_end); 359 EXPECT_EQ(0x1d008U, fde->pc_start); 360 EXPECT_EQ(0x1d108U, fde->pc_end); 361 EXPECT_EQ(0xf000U, fde->cie_offset); 362 EXPECT_EQ(0U, fde->lsda_address) 397 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x8000); local [all...] |
DwarfSectionImplTest.cpp | 60 void TestSetCachedFdeEntry(uint64_t offset, const DwarfFde& fde) { 61 this->fde_entries_[offset] = fde; 706 const DwarfFde* fde = this->section_->GetFdeFromOffset(0x4000); local 707 ASSERT_TRUE(fde != nullptr); 708 ASSERT_TRUE(fde->cie != nullptr); 709 EXPECT_EQ(0x4010U, fde->cfa_instructions_offset); 710 EXPECT_EQ(0x4024U, fde->cfa_instructions_end); 711 EXPECT_EQ(0x5000U, fde->pc_start); 712 EXPECT_EQ(0x5100U, fde->pc_end); 713 EXPECT_EQ(0x8000U, fde->cie_offset) 730 const DwarfFde* fde = this->section_->GetFdeFromOffset(0x4000); local 757 const DwarfFde* fde = this->section_->GetFdeFromOffset(0x4000); local 782 const DwarfFde* fde = this->section_->GetFdeFromOffset(0x4000); local 808 const DwarfFde* fde = this->section_->GetFdeFromOffset(0x6000); local [all...] |
DwarfDebugFrameTest.cpp | 78 // FDE 32 information. 95 // FDE 32 information. 139 // FDE 32 information. 156 // FDE 32 information. 173 // FDE 32 information. 196 // FDE 64 information. 216 // FDE 64 information. 263 // FDE 64 information. 282 // FDE 64 information. 302 // FDE 64 information 470 const DwarfFde* fde = this->debug_frame_->GetFdeFromOffset(0x14000); local 514 const DwarfFde* fde = this->debug_frame_->GetFdeFromOffset(0x8000); local [all...] |
/external/clang/test/CodeGen/ |
2009-01-21-InvalidIterator.c | 55 typedef struct dwarf_fde fde; typedef in typeref:struct:dwarf_fde 58 const fde *ret;
|
/system/core/libunwindstack/tools/ |
unwind_info.cpp | 86 for (const DwarfFde* fde : *section) { 89 if (fde == nullptr || fde->pc_start == fde->pc_end) { 92 printf("\n PC 0x%" PRIx64, fde->pc_start + load_bias); 95 if (interface->GetFunctionName(fde->pc_start, load_bias, &name, &func_offset) && !name.empty()) { 99 if (!section->Log(2, UINT64_MAX, load_bias, fde)) { 100 printf("Failed to process cfa information for entry at 0x%" PRIx64 "\n", fde->pc_start);
|
/system/core/libunwindstack/ |
DwarfSection.cpp | 44 const DwarfFde* fde = GetFdeFromOffset(fde_offset); local 45 if (fde == nullptr) { 49 // Guaranteed pc >= pc_start, need to check pc in the fde range. 50 if (pc < fde->pc_end) { 51 return fde; 62 const DwarfFde* fde = GetFdeFromPc(pc); local 63 if (fde == nullptr || fde->cie == nullptr) { 70 if (!GetCfaLocationInfo(pc, fde, &loc_regs)) { 73 loc_regs.cie = fde->cie 447 DwarfFde* fde = &fde_entries_[offset]; local [all...] |
/external/libunwind_llvm/include/ |
unwind.h | 318 // FDE for a generated (JIT) code. The FDE must use pc-rel addressing to point 321 // 10.5 it was buggy and did not actually register the FDE with the unwinder. 323 extern void __register_frame(const void *fde); 324 extern void __deregister_frame(const void *fde); 326 // _Unwind_Find_FDE() will locate the FDE if the pc is in some function that has 327 // an associated FDE. Note, Mac OS X 10.6 and later, introduces "compact unwind 329 // function will only work if the target function has an FDE but no compact 341 // function has an FDE (DWARF unwind info). 356 extern void __register_frame_info_bases(const void *fde, void *ob, void *tb [all...] |
/system/core/libunwindstack/include/unwindstack/ |
DwarfSection.h | 87 virtual bool Log(uint8_t indent, uint64_t pc, uint64_t load_bias, const DwarfFde* fde) = 0; 95 virtual bool GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, dwarf_loc_regs_t* loc_regs) = 0; 149 bool FillInFde(DwarfFde* fde); 151 bool GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, dwarf_loc_regs_t* loc_regs) override; 153 bool Log(uint8_t indent, uint64_t pc, uint64_t load_bias, const DwarfFde* fde) override;
|
/external/google-breakpad/src/common/dwarf/ |
dwarf2reader.cc | 2098 FDE fde; local [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/cris/ |
rd-pcplus.d | 14 [ ]+20:[ ]+5f7d 8f02 6fde[ ]+move\.d \[pc=r7\+655\],r13
|
/frameworks/compile/mclinker/lib/LD/ |
EhFrame.cpp | 55 // EhFrame::FDE 57 EhFrame::FDE::FDE(llvm::StringRef pRegion, EhFrame::CIE& pCIE) 61 EhFrame::FDE::~FDE() { 64 void EhFrame::FDE::setCIE(EhFrame::CIE& pCIE) { 83 : EhFrame::FDE(pRegion, pCIE) { 145 void EhFrame::addFDE(EhFrame::FDE& pFDE, bool pAlsoAddFragment) { 152 // FDE number only used by .eh_frame_hdr computation, and the number of CIE 250 typedef std::vector<FDE*> FDERemoveList 254 FDE& fde = **i; local 276 FDE& fde = **i; local [all...] |