/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 43 private <T> void assertComparatorEq(T lhs, T rhs, Comparator<T> rel) { argument 44 assertEquals(String.format("%s should be equal to %s", lhs, rhs), rel.compare(lhs, rhs), 0); 46 rel.compare(rhs, lhs), 0); 49 private <T> void assertComparatorLt(T lhs, T rhs, Comparator<T> rel) { argument 50 assertTrue(String.format("%s should be less than %s", lhs, rhs), rel.compare(lhs, rhs) < 0); 52 rel.compare(rhs, lhs) > 0); 60 Comparator<Size> rel = new CameraTooActivity.CompareSizesByArea(); 62 assertComparatorEq(empty, fatAndFlat, rel); 63 assertComparatorEq(empty, tallAndThin, rel); 64 assertComparatorEq(fatAndFlat, empty, rel); [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86RelocationFunctions.h | 16 DECL_X86_32_APPLY_RELOC_FUNC(rel) \ 33 { &rel, 2, "R_386_PC32", 32 }, \ 52 { &rel, 21, "R_386_PC16", 16 }, \ 54 { &rel, 23, "R_386_PC8", 8 }, \ 86 DECL_X86_64_APPLY_RELOC_FUNC(rel) \ 92 { &rel, 2, "R_X86_64_PC32", 32 }, \ 103 { &rel, 13, "R_X86_64_PC16", 16 }, \ 105 { &rel, 15, "R_X86_64_PC8", 8 }, \
|
H A D | X86Relocator.cpp | 30 /// helper_DynRel - Get an relocation entry in .rel.dyn 124 // initialize plt and the corresponding gotplt and dyn rel entry. 130 // init the corresponding rel entry in .rel.plt 356 // Reserve an entry in .rel.dyn 361 // set up the dyn rel directly 374 // Reserve an entry in .rel.dyn 376 // set up the dyn rel directly 403 // entry in .rel.dyn 451 // set up a pair of got entries and a dyn rel 923 Relocator::Result rel(Relocation& pReloc, X86_32Relocator& pParent) function 1704 Relocator::Result rel(Relocation& pReloc, X86_64Relocator& pParent) function [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFSectionRelTable.hxx | 99 ELFRelocTy *rel = table[i]; local 101 switch (rel->getType()) { 106 sym_index_set.insert(rel->getSymTabIndex()); 119 ELFRelocTy *rel = table[i]; local 121 switch (rel->getType()) { 124 sym_index_set.insert(rel->getSymTabIndex()); 137 ELFRelocTy *rel = table[i]; local 139 if (rel->getType() == R_MIPS_26) { 140 sym_index_set.insert(rel->getSymTabIndex());
|
H A D | ELFObject.hxx | 140 ELFRelocTy *rel = (*reltab)[i]; local 141 ELFSymbolTy *sym = (*symtab)[rel->getSymTabIndex()]; 145 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; 154 relinfo_t reltype = rel->getType(); 374 ELFRelocTy *rel = (*reltab)[i]; local 375 ELFSymbolTy *sym = (*symtab)[rel->getSymTabIndex()]; 378 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; 401 relinfo_t reltype = rel->getType(); 411 A = *inst + rel->getAddend(); 416 A = *inst + rel 671 ELFRelocTy *rel = (*reltab)[i]; local 800 ELFRelocTy *rel = (*reltab)[i]; local 850 ELFRelocTy *rel = (*reltab)[i]; local [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | RelocData.cpp | 59 Relocation* rel = m_Relocations.remove(iter); local 60 return *rel;
|
H A D | EhFrame.cpp | 243 const Relocation& rel = *ri; local 244 if (rel.targetRef().getOutputOffset() == cie->getOffset() + 247 cie->setPersonalityName(rel.symInfo()->outSymbol()->name()); 248 cie->setRelocation(rel); 271 const Relocation& rel = *ri; local 272 if (rel.targetRef().getOutputOffset() == fde.getOffset() + 274 bool has_section = rel.symInfo()->outSymbol()->hasFragRef(); 295 Relocation& rel = const_cast<Relocation&>(*ri++); local 296 if (rel.targetRef().getOutputOffset() >= fde.getOffset() && 297 rel 308 Relocation* rel = const_cast<Relocation*>(pInCIE.getRelocation()); local [all...] |
H A D | ELFObjectWriter.cpp | 496 ElfXX_Rel* rel = reinterpret_cast<ElfXX_Rel*>(pRegion.begin()); local 502 ie = pRelocData.end(); it != ie; ++it, ++rel) { 525 target().emitRelocation(*rel, relocation->type(), r_sym, r_offset); 539 ElfXX_Rela* rel = reinterpret_cast<ElfXX_Rela*>(pRegion.begin()); local 545 ie = pRelocData.end(); it != ie; ++it, ++rel) { 568 target().emitRelocation(*rel, relocation->type(),
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64RelocationFunctions.h | 16 DECL_AARCH64_APPLY_RELOC_FUNC(rel) \ 32 ValueType(0x104, MappedType(&rel, "R_AARCH64_PREL64", 64)), \ 33 ValueType(0x105, MappedType(&rel, "R_AARCH64_PREL32", 32)), \ 34 ValueType(0x106, MappedType(&rel, "R_AARCH64_PREL16", 16)), \
|
H A D | AArch64Relocator.cpp | 164 // Reserve an entry in .rel.dyn 169 // set up the dyn rel directly 183 // Reserve an entry in .rel.dyn 185 // set up the dyn rel directly 235 // in .got and .rel.plt. 250 // set Rel bit and the dyn rel 283 // in .got and .rel.plt. 325 // in .got and .rel.plt. 347 // in .got and .rel.plt. 474 Relocator::Result rel(Relocatio function [all...] |
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 429 sp<IMemoryHeap> rel; local 443 rel = mHeapCache.valueAt(i).heap;
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsRelocator.cpp | 304 // TODO: (simon) The gold linker does not create an entry in .rel.dyn 740 Relocation* rel = getTarget().getRelPLT().consumeEntry(); local 742 rel->setType(llvm::ELF::R_MIPS_JUMP_SLOT); 743 rel->targetRef().assign(*got); 744 rel->setSymInfo(&rsym);
|
/frameworks/base/ |
H A D | Android.mk | 760 -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
|