/external/elfutils/0.153/libcpu/ |
memory-access.h | 50 # define read_2ubyte_unaligned(Addr) \ 52 ? bswap_16 (*((const uint16_t *) (Addr))) \ 53 : *((const uint16_t *) (Addr))) 54 # define read_2sbyte_unaligned(Addr) \ 56 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \ 57 : *((const int16_t *) (Addr))) 59 # define read_4ubyte_unaligned_noncvt(Addr) \ 60 *((const uint32_t *) (Addr)) 61 # define read_4ubyte_unaligned(Addr) \ 63 ? bswap_32 (*((const uint32_t *) (Addr))) \ [all...] |
/external/llvm/lib/Support/ |
StringRefMemoryObject.cpp | 14 int StringRefMemoryObject::readByte(uint64_t Addr, uint8_t *Byte) const { 15 if (Addr >= Base + getExtent() || Addr < Base) 17 *Byte = Bytes[Addr - Base]; 21 int StringRefMemoryObject::readBytes(uint64_t Addr, 24 uint64_t Offset = Addr - Base; 25 if (Addr >= Base + getExtent() || Offset + Size > getExtent() || Addr < Base)
|
/external/chromium_org/net/disk_cache/blockfile/ |
addr_unittest.cc | 5 #include "net/disk_cache/blockfile/addr.h" 12 Addr addr1(0); 20 Addr addr2(BLOCK_1K, 3, 5, 25); 29 Addr addr3(BLOCK_4K, 0x44, 0x41508, 0x952536); 39 EXPECT_TRUE(Addr(0).SanityCheckV2()); 40 EXPECT_TRUE(Addr(0x80001000).SanityCheckV2()); 41 EXPECT_TRUE(Addr(0xC3FFFFFF).SanityCheckV2()); 42 EXPECT_TRUE(Addr(0xC0FFFFFF).SanityCheckV2()); 43 EXPECT_TRUE(Addr(0xD0001000).SanityCheckV3()); 46 EXPECT_FALSE(Addr(0x20).SanityCheckV2()) [all...] |
addr.cc | 5 #include "net/disk_cache/blockfile/addr.h" 11 int Addr::start_block() const { 16 int Addr::num_blocks() const { 21 bool Addr::SetFileNumber(int file_number) { 29 bool Addr::SanityCheckV2() const { 42 bool Addr::SanityCheckV3() const { 56 bool Addr::SanityCheckForEntryV2() const { 66 bool Addr::SanityCheckForEntryV3() const { 82 bool Addr::SanityCheckForRankings() const {
|
block_bitmaps_v3.h | 12 #include "net/disk_cache/blockfile/addr.h" 33 bool CreateBlock(FileType block_type, int block_count, Addr* block_address); 36 void DeleteBlock(Addr address); 46 bool IsValid(Addr address); 50 int GetHeaderNumber(Addr address);
|
storage_block.h | 10 #include "net/disk_cache/blockfile/addr.h" 33 StorageBlock(MappedFile* file, Addr address); 42 bool LazyInit(MappedFile* file, Addr address); 72 const Addr address() const; 87 Addr address_;
|
/external/elfutils/0.153/libdw/ |
memory-access.h | 61 #define get_uleb128_step(var, addr, nth, break) \ 62 __b = *(addr)++; \ 67 #define get_uleb128(var, addr) \ 71 get_uleb128_step (var, addr, 0, break); \ 72 var = __libdw_get_uleb128 (var, 1, &(addr)); \ 88 #define get_sleb128_step(var, addr, nth, break) \ 89 __b = *(addr)++; \ 98 #define get_sleb128(var, addr) \ 102 get_sleb128_step (var, addr, 0, break); \ 103 var = __libdw_get_sleb128 (_v, 1, &(addr)); \ [all...] |
/bionic/linker/ |
linker_phdr.h | 48 ElfW(Addr) load_start() { return reinterpret_cast<ElfW(Addr)>(load_start_); } 50 ElfW(Addr) load_bias() { return load_bias_; } 60 bool CheckPhdr(ElfW(Addr)); 71 ElfW(Addr) phdr_size_; 78 ElfW(Addr) load_bias_; 85 ElfW(Addr)* min_vaddr = nullptr, ElfW(Addr)* max_vaddr = nullptr); 87 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); 89 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias) [all...] |
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
linker_phdr.h | 46 ELF::Addr* min_vaddr = NULL, 47 ELF::Addr* max_vaddr = NULL); 51 ELF::Addr load_bias); 55 ELF::Addr load_bias); 59 ELF::Addr load_bias, 60 ELF::Addr* relro_start, 61 ELF::Addr* relro_size); 65 ELF::Addr load_bias); 70 ELF::Addr load_bias, 71 ELF::Addr** arm_exidx [all...] |
crazy_linker_elf_loader.h | 50 ELF::Addr load_start() { return reinterpret_cast<ELF::Addr>(load_start_); } 51 ELF::Addr load_size() { return load_size_; } 52 ELF::Addr load_bias() { return load_bias_; } 64 ELF::Addr phdr_size_; // and its size. 69 ELF::Addr load_size_; // Size in bytes of reserved address space. 70 ELF::Addr load_bias_; // load_bias, add this value to all "vaddr" 82 bool CheckPhdr(ELF::Addr, Error* error);
|
crazy_linker_elf_view.h | 38 bool InitUnmapped(ELF::Addr load_address, 73 ELF::Addr GetTag() const { return dyn_->d_tag; } 75 ELF::Addr GetValue() const { return dyn_->d_un.d_val; } 77 ELF::Addr* GetValuePointer() const { 78 return const_cast<ELF::Addr*>(&dyn_->d_un.d_ptr); 102 ELF::Addr load_address_;
|
crazy_linker_elf_relocations.h | 70 ELF::Addr reloc, 71 ELF::Addr* sym_addr, 74 ELF::Addr sym_addr, 78 ELF::Addr sym_addr, 92 ELF::Addr src_reloc, 125 ELF::Addr relocations_type_; 126 ELF::Addr plt_relocations_; 128 ELF::Addr* plt_got_; 130 ELF::Addr relocations_;
|
linker_phdr.cpp | 143 ELF::Addr* out_min_vaddr, 144 ELF::Addr* out_max_vaddr) { 145 ELF::Addr min_vaddr = ~static_cast<ELF::Addr>(0); 146 ELF::Addr max_vaddr = 0x00000000U; 187 ELF::Addr load_bias, 196 ELF::Addr seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; 197 ELF::Addr seg_page_end = 223 ELF::Addr load_bias) { 245 ELF::Addr load_bias) [all...] |
/external/llvm/lib/MC/ |
MCInstrAnalysis.cpp | 13 bool MCInstrAnalysis::evaluateBranch(const MCInst &Inst, uint64_t Addr, 20 Target = Addr+Size+Imm;
|
/external/llvm/lib/Target/Sparc/ |
SparcISelDAGToDAG.cpp | 74 bool SparcDAGToDAGISel::SelectADDRri(SDValue Addr, 76 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { 82 if (Addr.getOpcode() == ISD::TargetExternalSymbol || 83 Addr.getOpcode() == ISD::TargetGlobalAddress || 84 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) 87 if (Addr.getOpcode() == ISD::ADD) { 88 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1))) { 91 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0))) { 96 Base = Addr.getOperand(0); 102 if (Addr.getOperand(0).getOpcode() == SPISD::Lo) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILISelDAGToDAG.cpp | 51 bool SelectADDRParam(SDValue Addr, SDValue& R1, SDValue& R2); 70 bool SelectADDR8BitOffset(SDValue Addr, SDValue& Base, SDValue& Offset); 71 bool SelectADDRReg(SDValue Addr, SDValue& Base, SDValue& Offset); 72 bool SelectADDRVTX_READ(SDValue Addr, SDValue &Base, SDValue &Offset); 101 SDValue Addr, SDValue& R1, SDValue& R2) { 103 if (Addr.getOpcode() == ISD::FrameIndex) { 104 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { 108 R1 = Addr; 111 } else if (Addr.getOpcode() == ISD::ADD) { 112 R1 = Addr.getOperand(0) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILISelDAGToDAG.cpp | 51 bool SelectADDRParam(SDValue Addr, SDValue& R1, SDValue& R2); 70 bool SelectADDR8BitOffset(SDValue Addr, SDValue& Base, SDValue& Offset); 71 bool SelectADDRReg(SDValue Addr, SDValue& Base, SDValue& Offset); 72 bool SelectADDRVTX_READ(SDValue Addr, SDValue &Base, SDValue &Offset); 101 SDValue Addr, SDValue& R1, SDValue& R2) { 103 if (Addr.getOpcode() == ISD::FrameIndex) { 104 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { 108 R1 = Addr; 111 } else if (Addr.getOpcode() == ISD::ADD) { 112 R1 = Addr.getOperand(0) [all...] |
/bionic/libc/include/ |
link.h | 43 ElfW(Addr) dlpi_addr; 58 ElfW(Addr) l_addr; 69 ElfW(Addr) r_brk; 75 ElfW(Addr) r_ldbase;
|
/development/ndk/platforms/android-L/include/ |
link.h | 43 ElfW(Addr) dlpi_addr; 58 ElfW(Addr) l_addr; 69 ElfW(Addr) r_brk; 75 ElfW(Addr) r_ldbase;
|
/external/llvm/include/llvm/Support/ |
StringRefMemoryObject.h | 35 int readByte(uint64_t Addr, uint8_t *Byte) const override; 36 int readBytes(uint64_t Addr, uint64_t Size, uint8_t *Buf) const override;
|
/external/llvm/lib/Target/ARM/ |
ARMJITInfo.h | 118 void addConstantPoolEntryAddr(unsigned CPI, intptr_t Addr) { 120 ConstPoolId2AddrMap[CPI] = Addr; 135 void addJumpTableBaseAddr(unsigned JTI, intptr_t Addr) { 137 JumpTableId2AddrMap[JTI] = Addr; 149 void addPCLabelAddr(unsigned Id, intptr_t Addr) { 150 PCLabelMap.insert(std::make_pair(Id, Addr)); 156 intptr_t getIndirectSymAddr(void *Addr) const { 157 DenseMap<void*,intptr_t>::const_iterator I= Sym2IndirectSymMap.find(Addr);
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
SectionMemoryManager.cpp | 47 uintptr_t Addr = 0; 54 Addr = (uintptr_t)MB.base(); 55 uintptr_t EndOfBlock = Addr + MB.size(); 57 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); 59 MemGroup.FreeMem[i] = sys::MemoryBlock((void*)(Addr + Size), 60 EndOfBlock - Addr - Size); 61 return (uint8_t*)Addr; 89 Addr = (uintptr_t)MB.base(); 90 uintptr_t EndOfBlock = Addr + MB.size() [all...] |
/external/llvm/tools/lli/ChildTarget/ |
ChildTarget.cpp | 30 void sendAllocationResult(uint64_t Addr); 115 uint64_t Addr; 116 RT->allocateSpace(AllocSize, Alignment, Addr); 119 sendAllocationResult(Addr); 130 uint64_t Addr; 131 rc = ReadBytes(&Addr, 8); 135 if (!RT->isAllocatedMemory(Addr, BufferSize)) 139 rc = ReadBytes((void*)Addr, BufferSize); 145 sys::Memory::InvalidateInstructionCache((void *)Addr, BufferSize); 160 uint64_t Addr; [all...] |
/external/llvm/lib/MC/MCAnalysis/ |
MCModule.cpp | 18 static bool AtomComp(const MCAtom *L, uint64_t Addr) { 19 return L->getEndAddr() < Addr; 22 static bool AtomCompInv(uint64_t Addr, const MCAtom *R) { 23 return Addr < R->getEndAddr(); 76 const MCAtom *MCModule::findAtomContaining(uint64_t Addr) const { 78 Addr, AtomComp); 79 if (I != atom_end() && (*I)->getBeginAddr() <= Addr) 84 MCAtom *MCModule::findAtomContaining(uint64_t Addr) { 86 const_cast<const MCModule *>(this)->findAtomContaining(Addr)); 89 const MCAtom *MCModule::findFirstAtomAfter(uint64_t Addr) const [all...] |
/external/chromium_org/components/nacl/loader/nonsfi/ |
elf_loader.cc | 44 const ElfW(Addr) kNonSfiPageSize = 4096; 45 const ElfW(Addr) kNonSfiPageMask = kNonSfiPageSize - 1; 86 // Returns the address of the page starting at address 'addr' for non-SFI mode. 87 ElfW(Addr) GetPageStart(ElfW(Addr) addr) { 88 return addr & ~kNonSfiPageMask; 91 // Returns the offset of address 'addr' in its memory page. In other words, 92 // this equals to 'addr' - GetPageStart(addr) [all...] |