Home
last modified time | relevance | path

Searched refs:rel (Results 1 – 13 of 13) 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.cpp140 RelocData::iterator rel, relEnd = (*sect)->getRelocData()->end(); in findCandidates() local
141 for (rel = (*sect)->getRelocData()->begin(); rel != relEnd; ++rel) { in findCandidates()
142 LDSymbol* sym = rel->symInfo()->outSymbol(); in findCandidates()
146 if (!isSymCtorOrDtor(*rel->symInfo()) && in findCandidates()
149 ->mayHaveFunctionPointerAccess(*rel)) { in findCandidates()
234 for (Relocation& rel : *reloc_sect->getRelocData()) { in initConstantContent()
239 rel.type(), in initConstantContent()
240 rel.symValue(), in initConstantContent()
241 rel.addend(), in initConstantContent()
242 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/libs/binary_translation/assembler/
Dmachine_code.cc55 for (const auto& rel : relocations_) { in PerformRelocations() local
56 switch (rel.type) { in PerformRelocations()
59 intptr_t pc = start + rel.pc; in PerformRelocations()
60 intptr_t disp = rel.data - pc; in PerformRelocations()
62 *AddrAs<int32_t>(rel.dst) = disp; in PerformRelocations()
67 uintptr_t fault_addr = start + rel.pc; in PerformRelocations()
68 uintptr_t recovery_addr = start + rel.data; in PerformRelocations()
/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.cpp467 sp<IMemoryHeap> rel; in free_heap() local
481 rel = i->second.heap; in free_heap()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp1008 const auto rel = transformWithoutTranslation(transform, 42, 96); in TEST_F() local
1009 ASSERT_NEAR(rel.x, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0), EPSILON); in TEST_F()
1010 ASSERT_NEAR(rel.y, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), EPSILON); in TEST_F()
/frameworks/base/api/
DApiDocs.bp201 "sdk.rel.id 1",