Home
last modified time | relevance | path

Searched refs:getBase (Results 1 – 25 of 157) sorted by relevance

1234567

/external/scudo/standalone/
Dmem_map_base.h35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity())); in unmap()
44 DCHECK((Addr >= getBase()) || (Addr + Size <= getBase() + getCapacity()));
52 DCHECK((Addr >= getBase()) || (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission()
62 DCHECK((From >= getBase()) || (From + Size <= getBase() + getCapacity())); in releasePagesToOS()
69 DCHECK((From >= getBase()) || (From + Size <= getBase() + getCapacity())); in releaseAndZeroPagesToOS()
73 uptr getBase() { return invokeImpl(&Derived::getBaseImpl); } in getBase() function
76 bool isAllocated() { return getBase() != 0U; } in isAllocated()
112 DCHECK((Addr >= getBase()) || (Addr + Size <= getBase() + getCapacity())); in dispatch()
116 uptr getBase() { return invokeImpl(&Derived::getBaseImpl); } in getBase() function
119 bool isCreated() { return getBase() != 0U; } in isCreated()
Dsecondary.h72 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in unmap()
225 Entry.MemMap.unmap(Entry.MemMap.getBase(), Entry.MemMap.getCapacity()); in store()
323 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in disableMemoryTagging()
361 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in empty()
542 MemMapT MemMap = ReservedMemory.dispatch(ReservedMemory.getBase(), in allocate()
544 uptr MapBase = MemMap.getBase(); in allocate()
/external/scudo/standalone/tests/
Dmap_test.cpp29 EXPECT_NE(ReservedMemory.getBase(), 0U); in TEST()
31 memset(reinterpret_cast<void *>(ReservedMemory.getBase()), 0xaa, Size), in TEST()
46 scudo::uptr P = MemMap.getBase(); in TEST()
49 MemMap.unmap(MemMap.getBase(), Size); in TEST()
62 ASSERT_NE(ReservedMemory.getBase(), 0U); in TEST()
65 ReservedMemory.dispatch(ReservedMemory.getBase(), Size + 2 * PageSize); in TEST()
67 scudo::uptr Q = MemMap.getBase() + PageSize; in TEST()
71 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in TEST()
82 ReservedMemory.dispatch(ReservedMemory.getBase(), Size); in TEST()
84 scudo::uptr Q = MemMap.getBase() + PageSize; in TEST()
[all …]
Dcommon_test.cpp40 ASSERT_NE(MemMap.getBase(), 0U); in TEST()
41 void *P = reinterpret_cast<void *>(MemMap.getBase()); in TEST()
47 MemMap.releasePagesToOS(MemMap.getBase(), Size); in TEST()
53 MemMap.unmap(MemMap.getBase(), Size); in TEST()
61 ASSERT_NE(MemMap.getBase(), 0U); in TEST()
62 uptr *P = reinterpret_cast<uptr *>(MemMap.getBase()); in TEST()
69 MemMap.releasePagesToOS(MemMap.getBase(), Size); in TEST()
72 MemMap.unmap(MemMap.getBase(), Size); in TEST()
Dmemtag_test.cpp51 ASSERT_NE(MemMap.getBase(), 0U); in SetUp()
52 Addr = MemMap.getBase(); in SetUp()
61 MemMap.unmap(MemMap.getBase(), MemMap.getCapacity()); in TearDown()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGAddressAnalysis.cpp94 if (!(BasePtr0.getBase().getNode() && BasePtr1.getBase().getNode())) in computeAliasing()
116 if (auto *A = dyn_cast<FrameIndexSDNode>(BasePtr0.getBase())) in computeAliasing()
117 if (auto *B = dyn_cast<FrameIndexSDNode>(BasePtr1.getBase())) { in computeAliasing()
128 bool IsFI0 = isa<FrameIndexSDNode>(BasePtr0.getBase()); in computeAliasing()
129 bool IsFI1 = isa<FrameIndexSDNode>(BasePtr1.getBase()); in computeAliasing()
130 bool IsGV0 = isa<GlobalAddressSDNode>(BasePtr0.getBase()); in computeAliasing()
131 bool IsGV1 = isa<GlobalAddressSDNode>(BasePtr1.getBase()); in computeAliasing()
132 bool IsCV0 = isa<ConstantPoolSDNode>(BasePtr0.getBase()); in computeAliasing()
133 bool IsCV1 = isa<ConstantPoolSDNode>(BasePtr1.getBase()); in computeAliasing()
/external/clang/lib/AST/
DVTTBuilder.cpp57 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVTTs()
82 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVirtualPointers()
148 VTableIndex, Base.getBase(), VBases); in LayoutSecondaryVirtualPointers()
177 const CXXRecordDecl *RD = Base.getBase(); in LayoutVTT()
185 bool IsPrimaryVTT = Base.getBase() == MostDerivedClass; in LayoutVTT()
207 LayoutVirtualVTTs(Base.getBase(), VBases); in LayoutVTT()
DExprClassification.cpp201 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
202 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
304 return ClassifyInternal(Ctx, cast<ExtVectorElementExpr>(E)->getBase()); in ClassifyInternal()
471 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
497 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
500 return ClassifyInternal(Ctx, E->getBase()); in ClassifyMemberExpr()
DVTableBuilder.cpp330 const CXXRecordDecl *RD = Base.getBase(); in ComputeBaseOffsets()
380 const CXXRecordDecl *RD = Base.getBase(); in dump()
614 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Base.getBase()); in AddVCallAndVBaseOffsets()
652 AddVBaseOffsets(Base.getBase(), RealBaseOffset); in AddVCallAndVBaseOffsets()
674 const CXXRecordDecl *RD = Base.getBase(); in AddVCallOffsets()
1213 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset()
1214 const CXXRecordDecl *DerivedRD = Derived.getBase(); in ComputeThisAdjustmentBaseOffset()
1454 const CXXRecordDecl *RD = Base.getBase(); in AddMethods()
1640 assert(Base.getBase()->isDynamicClass() && "class does not have a vtable!"); in LayoutPrimaryAndSecondaryVTables()
1650 VCallOffsetMap &VCallOffsets = VCallOffsetsForVBases[Base.getBase()]; in LayoutPrimaryAndSecondaryVTables()
[all …]
/external/clang/lib/Sema/
DScopeInfo.cpp73 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
79 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
90 const Expr *DoubleBase = BaseProp->getBase(); in getBaseInfo()
126 const OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(PropE->getBase()); in WeakObjectProfileTy()
152 : Base(getBaseInfo(IvarE->getBase())), Property(IvarE->getDecl()) { in WeakObjectProfileTy()
189 if (isa<OpaqueValueExpr>(RefExpr->getBase())) in markSafeWeakUse()
192 markSafeWeakUse(RefExpr->getBase()); in markSafeWeakUse()
/external/clang/include/clang/AST/
DExprOpenMP.h82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } in getBase() function
83 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); } in getBase() function
105 return getBase()->getLocStart(); in getLocStart()
116 return getBase()->getExprLoc(); in getExprLoc()
DVTTBuilder.h37 : BaseAndIsVirtual(Base.getBase(), BaseIsVirtual), in VTTVTable()
40 const CXXRecordDecl *getBase() const { in getBase() function
53 return BaseSubobject(getBase(), getBaseOffset()); in getBaseSubobject()
DBaseSubobject.h40 const CXXRecordDecl *getBase() const { return Base; } in getBase() function
69 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
DExprObjC.h509 const Expr *getBase() const { return cast<Expr>(Base); }
510 Expr *getBase() { return cast<Expr>(Base); }
522 return isFreeIvar() ? Loc : getBase()->getLocStart();
682 const Expr *getBase() const {
685 Expr *getBase() {
707 return isObjectReceiver() ? getBase()->getLocStart() :getReceiverLocation();
1408 Expr *getBase() const { return cast<Expr>(Base); }
1422 return getBase()->getLocStart();
1426 return getBase()->getLocEnd();
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLazyMachineBlockFrequencyInfo.cpp78 OwnedMDT->getBase().recalculate(*MF); in calculateIfNotAvailable()
84 OwnedMLI->getBase().analyze(MDT->getBase()); in calculateIfNotAvailable()
DXRayInstrumentation.cpp168 ComputedMDT.getBase().recalculate(MF); in runOnMachineFunction()
176 ComputedMLI.getBase().analyze(MDT->getBase()); in runOnMachineFunction()
/external/clang/lib/StaticAnalyzer/Checkers/
DDereferenceChecker.cpp135 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
143 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
157 if (M->isArrow() || bugreporter::isDeclRefExprToReference(M->getBase())) { in reportBug()
160 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug()
169 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGAddressAnalysis.h48 SDValue getBase() { return Base; } in getBase() function
49 SDValue getBase() const { return Base; } in getBase() function
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DSingleUnitImpl.java130 int unitBase = this.unitPrefix.getBase(); in compareTo()
131 int otherUnitBase = other.unitPrefix.getBase(); in compareTo()
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DSingleUnitImpl.java132 int unitBase = this.unitPrefix.getBase(); in compareTo()
133 int otherUnitBase = other.unitPrefix.getBase(); in compareTo()
/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp151 Value *getBase() const { return Base; } in getBase() function in __anonafd511020111::GuardWideningImpl::RangeCheck
526 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks()
531 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
536 } else if (match(Check.getBase(), in parseRangeChecks()
561 Value *CurrentBase = Checks.front().getBase(); in combineRangeChecks()
567 return RC.getBase() == CurrentBase && RC.getLength() == CurrentLength; in combineRangeChecks()
/external/clang/include/clang/Analysis/Analyses/
DDominators.h49 llvm::DominatorTreeBase<CFGBlock>& getBase() { return *DT; } in getBase() function
74 if (DT->compare(Other.getBase())) in compare()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp208 const Value *getBase() const { return Base; } in getBase() function in __anonecd827240111::GuardWideningImpl::RangeCheck
626 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks()
631 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
636 } else if (match(Check.getBase(), in parseRangeChecks()
659 const Value *CurrentBase = Checks.front().getBase(); in combineRangeChecks()
665 return RC.getBase() == CurrentBase && RC.getLength() == CurrentLength; in combineRangeChecks()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestMultipleTypeNames.java33 public List<BaseForNamesTest> getBase() { return base; } in getBase() method in TestMultipleTypeNames.WrapperForNamesTest
55 public List<BaseForNameAndNamesTest> getBase() { return base; } in getBase() method in TestMultipleTypeNames.WrapperForNameAndNamesTest
/external/swiftshader/third_party/subzero/src/
DIceInstMIPS32.cpp258 getBase()->emit(Func); in emit()
814 Asm->ldc1(getDest(), Mem->getBase(), Mem->getOffset(), Reloc); in emitIAS()
822 Asm->ll(getDest(), Mem->getBase(), Imm); in emitIAS()
830 Asm->lw(getDest(), Mem->getBase(), Imm); in emitIAS()
836 Asm->lwc1(getDest(), Mem->getBase(), Mem->getOffset(), Reloc); in emitIAS()
1011 Asm->sc(getSrc(0), Mem->getBase(), Imm); in emitIAS()
1092 Asm->sdc1(getSrc(0), Mem->getBase(), Mem->getOffset(), Reloc); in emitIAS()
1100 Asm->sw(getSrc(0), Mem->getBase(), Imm); in emitIAS()
1106 Asm->swc1(getSrc(0), Mem->getBase(), Mem->getOffset(), Reloc); in emitIAS()

1234567