Home
last modified time | relevance | path

Searched refs:rsl_assert (Results 1 – 12 of 12) sorted by relevance

/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSymbol.hxx140 rsl_assert((section_type == SHT_PROGBITS || in getAddress()
155 rsl_assert(0 && "Unable to allocate memory for SHN_COMMON."); in getAddress()
160 rsl_assert(sec != 0 && "STT_OBJECT with null section."); in getAddress()
179 rsl_assert(0 && "posix_memalign failed."); in getAddress()
185 rsl_assert(my_addr != NULL && "memalign failed."); in getAddress()
195 rsl_assert(0 && "Unable to allocate memory for SHN_COMMON."); in getAddress()
208 rsl_assert(0 && "STT_OBJECT with special st_shndx."); in getAddress()
221 rsl_assert((*header)[idx]->getType() == SHT_PROGBITS && in getAddress()
225 rsl_assert(sec != 0 && "STT_FUNC with null section."); in getAddress()
237 rsl_assert(0 && "STT_FUNC with special st_shndx."); in getAddress()
[all …]
DELFObject.hxx69 rsl_assert(symtab && "Symtab is required."); in read()
132 rsl_assert(Bitwidth == 32 && "ARM only have 32 bits."); in relocateARM()
136 rsl_assert(symtab && "Symtab is required."); in relocateARM()
157 rsl_assert(0 && "Not implemented relocation type."); in relocateARM()
206 rsl_assert(0 && "Wrong type for R_ARM_CALL relocation."); in relocateARM()
215 rsl_assert(0 && "We should get function address at previous " in relocateARM()
258 rsl_assert(0 && "Stub is still too far"); in relocateARM()
270 rsl_assert(0 && "Stub is still too far"); in relocateARM()
364 rsl_assert(Bitwidth == 64 && "AARCH64 only have 64 bits."); in relocateAARCH64()
371 rsl_assert(symtab && "Symtab is required."); in relocateAARCH64()
[all …]
DELFSectionRelTable.hxx58 rsl_assert(sh->getType() == SHT_REL || sh->getType() == SHT_RELA); in read()
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size); in read()
76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size); in read()
152 rsl_assert(0 && "Only support ARM, MIPS, X86, and X86_64 relocation."); in getMaxNumStubs()
DELFSectionHeaderTable.hxx49 rsl_assert(header->getSectionHeaderEntrySize() == in read()
DELFSectionSymTab.hxx95 rsl_assert(sh->getEntrySize() == TypeTraits<ELFSymbolTy>::size); in read()
/frameworks/rs/cpu_ref/linkloader/utils/
Drsl_assert.h34 #define rsl_assert(EXPR) \ macro
39 #define rsl_assert(EXPR) \ macro
Dserialize.h75 rsl_assert(cursor_base == NULL); in prologue()
80 rsl_assert(cursor_base != NULL); in epilogue()
81 rsl_assert(cursor_base + size >= cursor); in epilogue()
/frameworks/rs/cpu_ref/linkloader/lib/
DGOT.cpp50 rsl_assert (got_symbol_addresses[i] == addr in search_got()
58 rsl_assert (got_symbol_count < NUM_OF_GOT_ENTRY && "MIPS GOT is full."); in search_got()
/frameworks/rs/cpu_ref/linkloader/include/
DELFObject.h47 rsl_assert(!SHNCommonDataPtr && "Can't init twice."); in initSHNCommonDataSize()
83 rsl_assert(size > 0 && align != 0);
85 rsl_assert(SHNCommonDataPtr && "Must init common data size before use!");
DELFReloc.h79 rsl_assert(r_addend == 0 && "r_addend should be zero before serialization."); in serializeRel()
/frameworks/rs/cpu_ref/linkloader/android/
Dtest-librsloader.c64 rsl_assert(0 && "Can't find symbol."); in find_sym()
/frameworks/rs/
DAndroid.mk293 cpu_ref/linkloader/utils/rsl_assert.cpp