Home
last modified time | relevance | path

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

12345678910>>...34

/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/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java42 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload")); in testIsValid()
43 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "nonexist")); in testIsValid()
44 assertTrue(FieldMaskUtil.isValid( in testIsValid()
46 assertTrue(FieldMaskUtil.isValid( in testIsValid()
48 assertTrue(FieldMaskUtil.isValid( in testIsValid()
50 assertTrue(FieldMaskUtil.isValid( in testIsValid()
52 assertFalse(FieldMaskUtil.isValid( in testIsValid()
55 assertTrue(FieldMaskUtil.isValid( in testIsValid()
57 assertFalse(FieldMaskUtil.isValid( in testIsValid()
59 assertFalse(FieldMaskUtil.isValid( in testIsValid()
[all …]
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h212 assert(isValid() && "Cannot move off the end of the list."); in advance()
221 bool isValid() const { return List; } in isValid() function
502 bool isValid() const { return SRIter.isValid(); } in isValid() function
528 for (MCSuperRegIterator I(RegA, this); I.isValid(); ++I) in isSuperRegister()
593 bool isValid() const { return RUIter.isValid(); } in isValid() function
629 bool isValid() const { in isValid() function
635 assert(isValid() && "Cannot move off the end of the list.");
659 for (RI = MCRegUnitIterator(Reg, MCRI); RI.isValid(); ++RI) { in MCRegAliasIterator()
660 for (RRI = MCRegUnitRootIterator(*RI, MCRI); RRI.isValid(); ++RRI) { in MCRegAliasIterator()
661 for (SI = MCSuperRegIterator(*RRI, MCRI, true); SI.isValid(); ++SI) { in MCRegAliasIterator()
[all …]
/external/skia/include/core/
DSkTLazy.h30 if (this->isValid()) { in ~SkTLazy()
36 if (src.isValid()) {
51 if (this->isValid()) { in init()
65 if (this->isValid()) { in set()
77 if (this->isValid()) { in reset()
87 bool isValid() const { return SkToBool(fPtr); } in isValid() function
93 T* get() const { SkASSERT(this->isValid()); return fPtr; } in get()
142 SkASSERT(!fLazy.isValid()); in init()
151 if (!fLazy.isValid()) { in writable()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVIsValidEnum.h57 isValid(spv::SourceLanguage V) { in isValid() function
71 isValid(spv::ExecutionModel V) { in isValid() function
87 isValid(spv::AddressingModel V) { in isValid() function
99 isValid(spv::MemoryModel V) { in isValid() function
111 isValid(spv::ExecutionMode V) { in isValid() function
155 isValid(spv::StorageClass V) { in isValid() function
176 isValid(spv::Dim V) { in isValid() function
192 isValid(spv::SamplerAddressingMode V) { in isValid() function
206 isValid(spv::SamplerFilterMode V) { in isValid() function
217 isValid(spv::ImageFormat V) { in isValid() function
[all …]
/external/clang/include/clang/Basic/
DSourceLocation.h46 bool isValid() const { return ID != 0; } in isValid() function
108 bool isValid() const { return ID != 0; } in isValid() function
207 bool isValid() const { return B.isValid() && E.isValid(); } in isValid() function
208 bool isInvalid() const { return !isValid(); } in isInvalid()
261 bool isValid() const { return Range.isValid(); } in isValid() function
262 bool isInvalid() const { return !isValid(); } in isInvalid()
318 assert(Loc.isValid()); in isBeforeInTranslationUnitThan()
371 bool isValid() const { return Filename != nullptr; } in isValid() function
376 const char *getFilename() const { assert(isValid()); return Filename; } in getFilename()
381 unsigned getLine() const { assert(isValid()); return Line; } in getLine()
[all …]
/external/skia/src/gpu/
DGrResourceCache.cpp123 if (resource->resourcePriv().getScratchKey().isValid() && in insertResource()
124 !resource->getUniqueKey().isValid()) { in insertResource()
152 if (resource->resourcePriv().getScratchKey().isValid() && in removeResource()
153 !resource->getUniqueKey().isValid()) { in removeResource()
156 if (resource->getUniqueKey().isValid()) { in removeResource()
215 SkASSERT(!resource->getUniqueKey().isValid() && in operator ()()
216 resource->resourcePriv().getScratchKey().isValid()); in operator ()()
230 SkASSERT(scratchKey.isValid()); in findAndRefScratchResource()
260 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
261 if (!resource->getUniqueKey().isValid()) { in willRemoveScratchKey()
[all …]
DGrStencilSettings.h62 bool isValid() const { return !(fFlags & kInvalid_PrivateFlag); } in isValid() function
63 bool isDisabled() const { SkASSERT(this->isValid()); return fFlags & kDisabled_StencilFlag; } in isDisabled()
64 bool doesWrite() const { SkASSERT(this->isValid()); in doesWrite()
66 bool isTwoSided() const { SkASSERT(this->isValid()); in isTwoSided()
68 bool usesWrapOp() const { SkASSERT(this->isValid()); in usesWrapOp()
/external/llvm/include/llvm/Support/
DSMLoc.h29 bool isValid() const { return Ptr != nullptr; } in isValid() function
54 assert(Start.isValid() == End.isValid() && in SMRange()
58 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()
164 if (!BI->First.isValid() || StartI < BI->First) in update()
177 if (!BI->First.isValid() || StartI < BI->First) in update()
184 SlotIndex Limit = BI->First.isValid() ? BI->First : Stop; in update()
194 if (BI->First.isValid()) in update()
217 if (!BI->Last.isValid() || StopI > BI->Last) in update()
234 if (!BI->Last.isValid() || StopI > BI->Last) in update()
[all …]
DRegisterPressure.cpp35 for (; PSetI.isValid(); ++PSetI) in increaseSetPressure()
49 for (; PSetI.isValid(); ++PSetI) { in decreaseSetPressure()
103 if (!Change.isValid()) in dump()
120 for (; PSetI.isValid(); ++PSetI) { in increaseRegPressure()
254 return static_cast<IntervalPressure&>(P).TopIdx.isValid(); in isTopClosed()
262 return static_cast<IntervalPressure&>(P).BottomIdx.isValid(); in isBottomClosed()
439 for (ConstMIBundleOperands OperI(MI); OperI.isValid(); ++OperI) in collectInstr()
448 for (ConstMIBundleOperands OperI(MI); OperI.isValid(); ++OperI) in collectInstrLanes()
483 for (MCRegUnitIterator Units(Reg, &TRI); Units.isValid(); ++Units) in pushReg()
518 for (MCRegUnitIterator Units(Reg, &TRI); Units.isValid(); ++Units) in pushRegLanes()
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java110 if (type != null && !isValid(type, path)) { in fromStringList()
151 public static boolean isValid(Class<? extends Message> type, FieldMask fieldMask) { in isValid() method in FieldMaskUtil
155 return isValid(descriptor, fieldMask); in isValid()
161 public static boolean isValid(Descriptor descriptor, FieldMask fieldMask) { in isValid() method in FieldMaskUtil
163 if (!isValid(descriptor, path)) { in isValid()
173 public static boolean isValid(Class<? extends Message> type, String path) { in isValid() method in FieldMaskUtil
177 return isValid(descriptor, path); in isValid()
183 public static boolean isValid(Descriptor descriptor, String path) { in isValid() method in FieldMaskUtil
/external/llvm/include/llvm/ADT/
DTwine.h173 assert(isValid() && "Invalid twine!"); in Twine()
179 assert(isValid() && "Invalid twine!"); in Twine()
213 bool isValid() const { in isValid() function
256 assert(isValid() && "Invalid twine!"); in Twine()
274 assert(isValid() && "Invalid twine!"); in Twine()
281 assert(isValid() && "Invalid twine!"); in Twine()
288 assert(isValid() && "Invalid twine!"); in Twine()
295 assert(isValid() && "Invalid twine!"); in Twine()
362 assert(isValid() && "Invalid twine!"); in Twine()
370 assert(isValid() && "Invalid twine!"); in Twine()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleValidityChecker.java69 public boolean isValid(ULocale locale, Where where) { in isValid() method in LocaleValidityChecker
84 if (!isValid(Datatype.language, language, where)) { in isValid()
92 if (!isValid(Datatype.script, script, where)) return false; in isValid()
93 if (!isValid(Datatype.region, region, where)) return false; in isValid()
96 if (!isValid(Datatype.variant, variant, where)) return false; in isValid()
232 if (!isValid(Datatype.region, subtag.substring(0,subtag.length()-4), where)) { in isValidU()
270 … if (ValidIdentifiers.isValid(Datatype.subdivision, datasubtypes, region, subdivision) == null) { in isSubdivision()
299 return ValidIdentifiers.isValid(Datatype.script, REGULAR_ONLY, subtag) != null; in isScriptReorder()
316 return isValid(locale, where); in isValidLocale()
331 private boolean isValid(Datatype datatype, String code, Where where) { in isValid() method in LocaleValidityChecker
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleValidityChecker.java71 public boolean isValid(ULocale locale, Where where) { in isValid() method in LocaleValidityChecker
86 if (!isValid(Datatype.language, language, where)) { in isValid()
94 if (!isValid(Datatype.script, script, where)) return false; in isValid()
95 if (!isValid(Datatype.region, region, where)) return false; in isValid()
98 if (!isValid(Datatype.variant, variant, where)) return false; in isValid()
234 if (!isValid(Datatype.region, subtag.substring(0,subtag.length()-4), where)) { in isValidU()
272 … if (ValidIdentifiers.isValid(Datatype.subdivision, datasubtypes, region, subdivision) == null) { in isSubdivision()
301 return ValidIdentifiers.isValid(Datatype.script, REGULAR_ONLY, subtag) != null; in isScriptReorder()
318 return isValid(locale, where); in isValidLocale()
333 private boolean isValid(Datatype datatype, String code, Where where) { in isValid() method in LocaleValidityChecker
[all …]
/external/skia/tests/
DHighContrastFilterTest.cpp65 REPORTER_ASSERT(reporter, config.isValid()); in DEF_TEST()
69 REPORTER_ASSERT(reporter, config.isValid()); in DEF_TEST()
71 REPORTER_ASSERT(reporter, config.isValid()); in DEF_TEST()
77 REPORTER_ASSERT(reporter, !config.isValid()); in DEF_TEST()
84 REPORTER_ASSERT(reporter, config.isValid()); in DEF_TEST()
90 REPORTER_ASSERT(reporter, !config.isValid()); in DEF_TEST()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DTwine.h174 assert(isValid() && "Invalid twine!"); in Twine()
181 assert(isValid() && "Invalid twine!"); in Twine()
211 bool isValid() const { in isValid() function
254 assert(isValid() && "Invalid twine!"); in Twine()
270 assert(isValid() && "Invalid twine!"); in Twine()
277 assert(isValid() && "Invalid twine!"); in Twine()
284 assert(isValid() && "Invalid twine!"); in Twine()
351 assert(isValid() && "Invalid twine!"); in Twine()
359 assert(isValid() && "Invalid twine!"); in Twine()
/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.h60 if (isValid(V)) in ValueHandleBase()
75 if (isValid(V)) in ValueHandleBase()
80 if (isValid(V)) in ~ValueHandleBase()
86 if (isValid(V)) RemoveFromUseList();
88 if (isValid(V)) AddToUseList();
94 if (isValid(V)) RemoveFromUseList();
96 if (isValid(V)) AddToExistingUseList(RHS.getPrevPtr());
106 static bool isValid(Value *V) { in isValid() function
296 assert(ValueHandleBase::isValid(VP) && "Tracked Value was deleted!");
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DValueHandle.h64 if (isValid(VP)) in ValueHandleBase()
69 if (isValid(VP)) in ValueHandleBase()
73 if (isValid(VP)) in ~ValueHandleBase()
79 if (isValid(VP)) RemoveFromUseList();
81 if (isValid(VP)) AddToUseList();
87 if (isValid(VP)) RemoveFromUseList();
89 if (isValid(VP)) AddToExistingUseList(RHS.getPrevPtr());
98 static bool isValid(Value *V) { in isValid() function
292 assert(ValueHandleBase::isValid(VP) && "Tracked Value was deleted!");
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.cpp78 for(MCRegAliasIterator SRI(R, &RI, !MCSubRegIterator(R, &RI).isValid()); in init()
79 SRI.isValid(); in init()
81 if (!MCSubRegIterator(*SRI, &RI).isValid()) in init()
127 for(MCRegAliasIterator SRI(R, &RI, !MCSubRegIterator(R, &RI).isValid()); in init()
128 SRI.isValid(); in init()
130 if (MCSubRegIterator(*SRI, &RI).isValid()) in init()
180 for(MCRegAliasIterator SRI(R, &RI, !MCSubRegIterator(R, &RI).isValid()); in init()
181 SRI.isValid(); in init()
183 if (!MCSubRegIterator(*SRI, &RI).isValid()) in init()
193 for(MCRegAliasIterator SRI(R2, &RI, !MCSubRegIterator(R2, &RI).isValid()); in init()
[all …]
/external/libxml2/python/tests/
Dvalidate.py12 valid = ctxt.isValid()
32 valid = ctxt.isValid()
49 valid = ctxt.isValid()
68 valid = ctxt.isValid()
/external/llvm/lib/Option/
DOption.cpp28 assert((!Info || !getAlias().isValid() || !getAlias().getAlias().isValid()) && in Option()
32 assert(getAlias().isValid() && "Only alias options can have alias args."); in Option()
69 if (Group.isValid()) { in print()
75 if (Alias.isValid()) { in print()
91 if (Alias.isValid()) in matches()
99 if (Group.isValid()) in matches()
/external/llvm/lib/CodeGen/GlobalISel/
DRegisterBank.cpp25 assert(isValid() && "Invalid register bank"); in verify()
56 assert(isValid() && "RB hasn't been initialized yet"); in covers()
60 bool RegisterBank::isValid() const { in isValid() function in RegisterBank
85 << "isValid:" << isValid() << '\n' in print()
/external/clang/tools/libclang/
DCIndexInclusionStack.cpp32 const bool HasPreamble = SM.getPreambleFileID().isValid(); in getInclusions()
53 while (L.isValid()) { in getInclusions()
56 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation(); in getInclusions()
89 if (n == 1 || SM.getPreambleFileID().isValid()) { in clang_getInclusions()

12345678910>>...34