Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/external/clang/lib/Basic/
DSourceLocation.cpp27 if (Loc.isValid()) { in print()
39 if (!isValid()) { in print()
81 assert(isValid()); in getFileID()
87 assert(isValid()); in getExpansionLoc()
92 assert(isValid()); in getSpellingLoc()
97 assert(isValid()); in getExpansionLineNumber()
102 assert(isValid()); in getExpansionColumnNumber()
107 assert(isValid()); in getSpellingLineNumber()
112 assert(isValid()); in getSpellingColumnNumber()
117 assert(isValid()); in isInSystemHeader()
[all …]
/external/skia/include/core/
DSkTLazy.h35 if (src.isValid()) { in SkTLazy()
43 if (this->isValid()) { in ~SkTLazy()
55 if (this->isValid()) { in init()
69 if (this->isValid()) { in set()
81 if (this->isValid()) { in reset()
91 bool isValid() const { return SkToBool(fPtr); } in isValid() function
97 T* get() const { SkASSERT(this->isValid()); return fPtr; } in get()
114 SkASSERT(!lazy->isValid()); in new()
161 SkASSERT(!fLazy.isValid()); in init()
170 if (!fLazy.isValid()) { in writable()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h211 assert(isValid() && "Cannot move off the end of the list."); in advance()
220 bool isValid() const { return List; } in isValid() function
488 bool isValid() const { return SRIter.isValid(); } in isValid() function
514 for (MCSuperRegIterator I(RegA, this); I.isValid(); ++I) in isSuperRegister()
579 bool isValid() const { return RUIter.isValid(); } in isValid() function
615 bool isValid() const { in isValid() function
621 assert(isValid() && "Cannot move off the end of the list.");
645 for (RI = MCRegUnitIterator(Reg, MCRI); RI.isValid(); ++RI) { in MCRegAliasIterator()
646 for (RRI = MCRegUnitRootIterator(*RI, MCRI); RRI.isValid(); ++RRI) { in MCRegAliasIterator()
647 for (SI = MCSuperRegIterator(*RRI, MCRI, true); SI.isValid(); ++SI) { in MCRegAliasIterator()
[all …]
/external/llvm/include/llvm/Support/
DSMLoc.h28 bool isValid() const { return Ptr != nullptr; } in isValid() function
53 assert(Start.isValid() == End.isValid() && in SMRange()
57 bool isValid() const { return Start.isValid(); } in isValid() function
/external/llvm/lib/CodeGen/
DInterferenceCache.cpp89 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) in revalidate()
106 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units) { in reset()
115 for (MCRegUnitIterator Units(PhysReg, TRI); Units.isValid(); ++Units, ++i) { in valid()
130 if (!PrevPos.isValid() || Start < PrevPos) { in update()
163 if (!BI->First.isValid() || StartI < BI->First) in update()
176 if (!BI->First.isValid() || StartI < BI->First) in update()
183 SlotIndex Limit = BI->First.isValid() ? BI->First : Stop; in update()
193 if (BI->First.isValid()) in update()
216 if (!BI->Last.isValid() || StopI > BI->Last) in update()
233 if (!BI->Last.isValid() || StopI > BI->Last) in update()
[all …]
DRegisterPressure.cpp29 for (; PSetI.isValid(); ++PSetI) in increaseSetPressure()
37 for (; PSetI.isValid(); ++PSetI) { in decreaseSetPressure()
86 for (; PSetI.isValid(); ++PSetI) { in increaseRegPressure()
212 return static_cast<IntervalPressure&>(P).TopIdx.isValid(); in isTopClosed()
220 return static_cast<IntervalPressure&>(P).BottomIdx.isValid(); in isBottomClosed()
350 for (MCRegUnitIterator Units(Reg, TRI); Units.isValid(); ++Units) { in pushRegUnits()
363 for (ConstMIBundleOperands OperI(MI); OperI.isValid(); ++OperI) in collectOperands()
390 for (; PSetI.isValid(); ++PSetI) { in addPressureChange()
393 for (; I != E && I->isValid(); ++I) { in addPressureChange()
401 if (!I->isValid() || I->getPSet() != *PSetI) { in addPressureChange()
[all …]
DLiveVariables.cpp197 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in FindLastPartialDef()
221 SubRegs.isValid(); ++SubRegs) in FindLastPartialDef()
251 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandlePhysRegUse()
263 for (MCSubRegIterator SS(SubReg, TRI); SS.isValid(); ++SS) in HandlePhysRegUse()
275 SubRegs.isValid(); ++SubRegs) in HandlePhysRegUse()
290 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in FindLastRefOrPartRef()
339 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandlePhysRegKill()
353 for (MCSubRegIterator SS(SubReg, TRI, /*IncludeSelf=*/true); SS.isValid(); in HandlePhysRegKill()
370 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandlePhysRegKill()
391 SS.isValid(); ++SS) in HandlePhysRegKill()
[all …]
DMachineCopyPropagation.cpp70 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { in SourceNoLongerAvailable()
79 for (MCSubRegIterator SR(MappedDef, TRI); SR.isValid(); ++SR) in SourceNoLongerAvailable()
194 for (MCRegAliasIterator AI(Src, TRI, true); AI.isValid(); ++AI) { in CopyPropagateBlock()
218 for (MCRegAliasIterator AI(Def, TRI, false); AI.isValid(); ++AI) { in CopyPropagateBlock()
222 for (MCSubRegIterator SR(Def, TRI, /*IncludeSelf=*/true); SR.isValid(); in CopyPropagateBlock()
262 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { in CopyPropagateBlock()
303 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { in CopyPropagateBlock()
DTargetSchedule.cpp85 if (SC->isValid()) in getNumMicroOps()
107 if (!SCDesc->isValid()) in resolveSchedClass()
211 if (SCDesc->isValid() && !DefMI->getOperand(DefOperIdx).isImplicit() in computeOperandLatency()
234 if (SCDesc->isValid() && !SCDesc->isVariant()) { in computeInstrLatency()
260 if (SCDesc->isValid()) { in computeInstrLatency()
300 if (SCDesc->isValid()) { in computeOutputLatency()
DLivePhysRegs.cpp39 for (ConstMIBundleOperands O(&MI); O.isValid(); ++O) { in stepBackward()
52 for (ConstMIBundleOperands O(&MI); O.isValid(); ++O) { in stepBackward()
69 for (ConstMIBundleOperands O(&MI); O.isValid(); ++O) { in stepForward()
DRegisterScavenging.cpp35 for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI) in setRegUsed()
93 for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI) in addRegUnits()
117 for (MCRegUnitRootIterator RURI(RU, TRI); RURI.isValid(); ++RURI) { in determineKillsAndDefs()
218 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) in forward()
224 for (MCSuperRegIterator SR(Reg, TRI); SR.isValid(); ++SR) { in forward()
258 for (MCRegUnitIterator RUI(Reg, TRI); RUI.isValid(); ++RUI) in isRegUsed()
326 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI) in findSurvivorReg()
/external/llvm/include/llvm/ADT/
DTwine.h175 assert(isValid() && "Invalid twine!"); in Twine()
181 assert(isValid() && "Invalid twine!"); in Twine()
215 bool isValid() const { in isValid() function
258 assert(isValid() && "Invalid twine!"); in Twine()
276 assert(isValid() && "Invalid twine!"); in Twine()
283 assert(isValid() && "Invalid twine!"); in Twine()
290 assert(isValid() && "Invalid twine!"); in Twine()
297 assert(isValid() && "Invalid twine!"); in Twine()
364 assert(isValid() && "Invalid twine!"); in Twine()
372 assert(isValid() && "Invalid twine!"); in Twine()
/external/clang/include/clang/Basic/
DSourceLocation.h107 bool isValid() const { return ID != 0; } in isValid() function
206 bool isValid() const { return B.isValid() && E.isValid(); } in isValid() function
207 bool isInvalid() const { return !isValid(); } in isInvalid()
260 bool isValid() const { return Range.isValid(); } in isValid() function
261 bool isInvalid() const { return !isValid(); } in isInvalid()
317 assert(Loc.isValid()); in isBeforeInTranslationUnitThan()
370 bool isValid() const { return Filename != nullptr; } in isValid() function
/external/icu/icu4c/source/layout/
DLookupProcessor.cpp73 if (!lookupTable.isValid() ||LE_FAILURE(success) ) { in process()
102 if (!lookupTable.isValid()) { in applySingleLookup()
115 le_uint16 lookupCount = featureTable.isValid()? SWAPW(featureTable->lookupCount) : 0; in selectLookups()
154 if (langSysTable.isValid() && LE_SUCCESS(success)) { in LookupProcessor()
165 if(LE_SUCCESS(success) && lookupListTable.isValid()) { in LookupProcessor()
175 if(langSysTable.isValid()) { in LookupProcessor()
202 if(featureListTable.isValid() && LE_SUCCESS(success)) { in LookupProcessor()
209 if (!featureTable.isValid() || LE_FAILURE(success)) { in LookupProcessor()
216 if (!featureTable.isValid() || LE_FAILURE(success)) { in LookupProcessor()
269 } else if(langSysTable.isValid()) { in LookupProcessor()
/external/skia/src/gpu/
DGrGpuResource.cpp88 SkASSERT(fUniqueKey.isValid()); in removeUniqueKey()
94 SkASSERT(key.isValid()); in setUniqueKey()
144 SkASSERT(!fScratchKey.isValid()); in setScratchKey()
145 SkASSERT(scratchKey.isValid()); in setScratchKey()
154 if (!this->wasDestroyed() && fScratchKey.isValid()) { in removeScratchKey()
168 if (GrGpuResource::kCached_LifeCycle == fLifeCycle && !fUniqueKey.isValid()) { in makeUnbudgeted()
DGrResourceCache.cpp148 if (resource->resourcePriv().getScratchKey().isValid()) { in insertResource()
176 if (resource->resourcePriv().getScratchKey().isValid()) { in removeResource()
179 if (resource->getUniqueKey().isValid()) { in removeResource()
250 SkASSERT(scratchKey.isValid()); in findAndRefScratchResource()
274 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
281 if (resource->getUniqueKey().isValid()) { in removeUniqueKey()
294 if (resource->getUniqueKey().isValid()) { in changeUniqueKey()
301 if (newKey.isValid()) { in changeUniqueKey()
304 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey()
373 resource->resourcePriv().getScratchKey().isValid()) { in notifyCntReachedZero()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h165 : K(s->getLocStart().isValid() ? StmtK : SingleLocK), in PathDiagnosticLocation()
171 assert(K == SingleLocK || Loc.isValid()); in PathDiagnosticLocation()
172 assert(K == SingleLocK || Range.isValid()); in PathDiagnosticLocation()
180 assert(Loc.isValid()); in PathDiagnosticLocation()
181 assert(Range.isValid()); in PathDiagnosticLocation()
190 assert(Loc.isValid()); in PathDiagnosticLocation()
191 assert(Range.isValid()); in PathDiagnosticLocation()
271 bool isValid() const { in isValid() function
283 const Stmt *asStmt() const { assert(isValid()); return S; } in asStmt()
284 const Decl *asDecl() const { assert(isValid()); return D; } in asDecl()
[all …]
/external/llvm/include/llvm/IR/
DValueHandle.h67 if (isValid(V)) in ValueHandleBase()
72 if (isValid(V)) in ValueHandleBase()
76 if (isValid(V)) in ~ValueHandleBase()
82 if (isValid(V)) RemoveFromUseList();
84 if (isValid(V)) AddToUseList();
90 if (isValid(V)) RemoveFromUseList();
92 if (isValid(V)) AddToExistingUseList(RHS.getPrevPtr());
102 static bool isValid(Value *V) { in isValid() function
288 assert(ValueHandleBase::isValid(VP) && "Tracked Value was deleted!");
/external/skia/src/gpu/gl/
DGrGLXferProcessor.cpp63 if (fDstCopyTopLeftUni.isValid()) { in setData()
69 SkASSERT(!fDstCopyScaleUni.isValid()); in setData()
72 SkASSERT(!fDstCopyTopLeftUni.isValid()); in setData()
73 SkASSERT(!fDstCopyScaleUni.isValid()); in setData()
DGrGLPrimitiveProcessor.h102 bool isValid() const { return fHandle > -1; } in isValid() function
104 ShaderVarHandle(int value) : fHandle(value) { SkASSERT(this->isValid()); } in ShaderVarHandle()
105 int handle() const { SkASSERT(this->isValid()); return fHandle; } in handle()
107 SkASSERT(this->isValid()); in convertToUniformHandle()
/external/llvm/lib/Option/
DOption.cpp27 assert((!Info || !getAlias().isValid() || !getAlias().getAlias().isValid()) && in Option()
31 assert(getAlias().isValid() && "Only alias options can have alias args."); in Option()
67 if (Group.isValid()) { in dump()
73 if (Alias.isValid()) { in dump()
87 if (Alias.isValid()) in matches()
95 if (Group.isValid()) in matches()
/external/libxml2/python/tests/
Dvalidate.py12 valid = ctxt.isValid()
32 valid = ctxt.isValid()
49 valid = ctxt.isValid()
68 valid = ctxt.isValid()
/external/lldb/test/lang/objc/radar-9691614/
Dmain.m11 - (BOOL)isValid; method
26 - (BOOL)isValid
49 if ([my isValid])
53 // Test 'p (int)[my isValid]'.
/external/clang/unittests/Driver/
DMultilibTest.cpp25 ASSERT_TRUE(Multilib().isValid()) << "Empty multilib is not valid"; in TEST()
27 ASSERT_TRUE(Multilib().flag("+foo").isValid()) in TEST()
30 ASSERT_TRUE(Multilib().flag("-foo").isValid()) in TEST()
33 ASSERT_FALSE(Multilib().flag("+foo").flag("-foo").isValid()) in TEST()
36 ASSERT_TRUE(Multilib().flag("+foo").flag("+foo").isValid()) in TEST()
39 ASSERT_TRUE(Multilib().flag("+foo").flag("-foobar").isValid()) in TEST()
204 ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid"; in TEST()
/external/nist-sip/java/gov/nist/core/
DLexerCore.java489 boolean isValid = false; in consumeValidChars()
494 isValid = isAlpha(nextChar); in consumeValidChars()
497 isValid = isDigit(nextChar); in consumeValidChars()
500 isValid = isAlphaDigit(nextChar); in consumeValidChars()
503 isValid = nextChar == validChar; in consumeValidChars()
505 if (isValid) { in consumeValidChars()
509 if (isValid) { in consumeValidChars()

12345678910>>...25