Home
last modified time | relevance | path

Searched refs:rel (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java43 private <T> void assertComparatorEq(T lhs, T rhs, Comparator<T> rel) { in assertComparatorEq() argument
44 assertEquals(String.format("%s should be equal to %s", lhs, rhs), rel.compare(lhs, rhs), 0); in assertComparatorEq()
46 rel.compare(rhs, lhs), 0); in assertComparatorEq()
49 private <T> void assertComparatorLt(T lhs, T rhs, Comparator<T> rel) { in assertComparatorLt() argument
50 assertTrue(String.format("%s should be less than %s", lhs, rhs), rel.compare(lhs, rhs) < 0); in assertComparatorLt()
52 rel.compare(rhs, lhs) > 0); in assertComparatorLt()
60 Comparator<Size> rel = new CameraTooActivity.CompareSizesByArea(); in compareSizesByArea() local
62 assertComparatorEq(empty, fatAndFlat, rel); in compareSizesByArea()
63 assertComparatorEq(empty, tallAndThin, rel); in compareSizesByArea()
64 assertComparatorEq(fatAndFlat, empty, rel); in compareSizesByArea()
[all …]
/frameworks/compile/mclinker/lib/LD/
DIdenticalCodeFolding.cpp141 RelocData::iterator rel, relEnd = (*sect)->getRelocData()->end(); in findCandidates() local
142 for (rel = (*sect)->getRelocData()->begin(); rel != relEnd; ++rel) { in findCandidates()
143 LDSymbol* sym = rel->symInfo()->outSymbol(); in findCandidates()
147 if (!isSymCtorOrDtor(*rel->symInfo()) && in findCandidates()
150 ->mayHaveFunctionPointerAccess(*rel)) { in findCandidates()
235 for (Relocation& rel : *reloc_sect->getRelocData()) { in initConstantContent()
240 rel.type(), in initConstantContent()
241 rel.symValue(), in initConstantContent()
242 rel.addend(), in initConstantContent()
243 rel.place()); in initConstantContent()
[all …]
DEhFrame.cpp230 const Relocation& rel = *ri; in setupAttributes() local
231 if (rel.targetRef().getOutputOffset() == in setupAttributes()
234 cie->setPersonalityName(rel.symInfo()->outSymbol()->name()); in setupAttributes()
235 cie->setRelocation(rel); in setupAttributes()
259 const Relocation& rel = *ri; in removeDiscardedFDE() local
260 if (rel.targetRef().getOutputOffset() == in removeDiscardedFDE()
262 bool has_section = rel.symInfo()->outSymbol()->hasFragRef(); in removeDiscardedFDE()
286 Relocation& rel = const_cast<Relocation&>(*ri++); in removeDiscardedFDE() local
287 if (rel.targetRef().getOutputOffset() >= fde.getOffset() && in removeDiscardedFDE()
288 rel.targetRef().getOutputOffset() < fde.getOffset() + fde.size()) { in removeDiscardedFDE()
[all …]
DRelocData.cpp53 Relocation* rel = m_Relocations.remove(iter); in remove() local
54 return *rel; in remove()
DELFObjectWriter.cpp485 ElfXX_Rel* rel = reinterpret_cast<ElfXX_Rel*>(pRegion.begin()); in emitRel() local
492 ++it, ++rel) { in emitRel()
514 target().emitRelocation(*rel, relocation->type(), r_sym, r_offset); in emitRel()
527 ElfXX_Rela* rel = reinterpret_cast<ElfXX_Rela*>(pRegion.begin()); in emitRela() local
534 ++it, ++rel) { in emitRela()
557 *rel, relocation->type(), r_sym, r_offset, relocation->addend()); in emitRela()
/frameworks/compile/mclinker/lib/Target/X86/
DX86RelocationFunctions.h19 DECL_X86_32_APPLY_RELOC_FUNC(rel) \
35 { &rel, 2, "R_386_PC32", 32 }, \
54 { &rel, 21, "R_386_PC16", 16 }, \
56 { &rel, 23, "R_386_PC8", 8 }, \
89 DECL_X86_64_APPLY_RELOC_FUNC(rel) \
95 { &rel, 2, "R_X86_64_PC32", 32 }, \
106 { &rel, 13, "R_X86_64_PC16", 16 }, \
108 { &rel, 15, "R_X86_64_PC8", 8 }, \
DX86Relocator.cpp899 Relocator::Result rel(Relocation& pReloc, X86_32Relocator& pParent) { in rel() function
1648 Relocator::Result rel(Relocation& pReloc, X86_64Relocator& pParent) { in rel() function
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationFunctions.h19 DECL_AARCH64_APPLY_RELOC_FUNC(rel) \
37 …ValueType(0x104, MappedType(&rel, "R_AARCH64_PREL64", 64)), /* NO…
38 …ValueType(0x105, MappedType(&rel, "R_AARCH64_PREL32", 32)), /* NO…
39 …ValueType(0x106, MappedType(&rel, "R_AARCH64_PREL16", 16)), /* NO…
DAArch64Relocator.cpp508 Relocator::Result rel(Relocation& pReloc, AArch64Relocator& pParent) { in rel() function
/frameworks/native/libs/binder/
DIMemory.cpp464 sp<IMemoryHeap> rel; in free_heap() local
478 rel = mHeapCache.valueAt(i).heap; in free_heap()
/frameworks/base/
DAndroid.bp1353 "sdk.rel.id 1",