Home
last modified time | relevance | path

Searched refs:isKeyword (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/include/clang/Sema/
DTypoCorrection.h189 bool isKeyword() const { in isKeyword() function
195 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() function
196 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()
219 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()
224 return isKeyword() ? CorrectionDecls.end() : CorrectionDecls.begin(); in begin()
235 return (!isKeyword() && !CorrectionDecls.empty()); in hasCorrectionDecl()
DSemaInternal.h295 NestedNameSpecifier *NNS = nullptr, bool isKeyword = false);
/external/kotlinpoet/kotlinpoet/src/main/java/com/squareup/kotlinpoet/
DUtil.kt266 internal val String.isKeyword get() = this in KEYWORDS constant
290 private fun String.escapeIfKeyword() = if (isKeyword && !alreadyEscaped()) "`$this`" else this in alreadyEscaped()
DNameAllocator.kt92 while (result.isKeyword || !allocatedNames.add(result)) { in newName()
/external/javapoet/src/main/java/com/squareup/javapoet/
DNameAllocator.java114 while (SourceVersion.isKeyword(suggestion) || !allocatedNames.add(suggestion)) { in newName()
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentCreatorValidator.java28 import static javax.lang.model.SourceVersion.isKeyword;
248 if (isKeyword(name)) { in validateClassMethodName()
DComponentValidator.java250 if (SourceVersion.isKeyword(name)) { in validateClassMethodName()
/external/cronet/third_party/icu/source/i18n/unicode/
Dplurrule.h510 UBool isKeyword(const UnicodeString& keyword) const;
/external/icu/icu4c/source/i18n/unicode/
Dplurrule.h510 UBool isKeyword(const UnicodeString& keyword) const;
/external/icu/libicu/cts_headers/unicode/
Dplurrule.h510 UBool isKeyword(const UnicodeString& keyword) const;
/external/icu/icu4c/source/i18n/
Dplurrule.cpp548 PluralRules::isKeyword(const UnicodeString& keyword) const { in isKeyword() function in PluralRules
579 if (!other.isKeyword(*ptrKeyword)) { in operator ==()
585 if (!this->isKeyword(*ptrKeyword)) { in operator ==()
1226 RuleChain::isKeyword(const UnicodeString& keywordParam) const { in isKeyword() function in RuleChain
1232 return fNext->isKeyword(keywordParam); in isKeyword()
Dplurrule_impl.h406 UBool isKeyword(const UnicodeString& keyword) const;
/external/cronet/third_party/icu/source/i18n/
Dplurrule.cpp548 PluralRules::isKeyword(const UnicodeString& keyword) const { in isKeyword() function in PluralRules
579 if (!other.isKeyword(*ptrKeyword)) { in operator ==()
585 if (!this->isKeyword(*ptrKeyword)) { in operator ==()
1226 RuleChain::isKeyword(const UnicodeString& keywordParam) const { in isKeyword() function in RuleChain
1232 return fNext->isKeyword(keywordParam); in isKeyword()
Dplurrule_impl.h406 UBool isKeyword(const UnicodeString& keyword) const;
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DAutoFactoryDeclaration.java208 return SourceVersion.isIdentifier(identifier) && !SourceVersion.isKeyword(identifier); in isValidIdentifier()
/external/dagger2/java/dagger/internal/codegen/binding/
DSourceFiles.java334 return SourceVersion.isKeyword(candidateName) ? candidateName + '_' : candidateName; in protectAgainstKeywords()
/external/icu/libicu/cts_headers/
Dplurrule_impl.h406 UBool isKeyword(const UnicodeString& keyword) const;
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DJavaToken.java231 public boolean isKeyword() { in isKeyword() method in JavaToken.Category
/external/clang/lib/Sema/
DSemaLookup.cpp3889 NestedNameSpecifier *NNS, bool isKeyword) { in addName() argument
3904 if (isKeyword) TC.makeKeyword(); in addName()
4702 if (ED == 0 && Result.isKeyword()) in CorrectTypo()
4716 else if ((*Consumer)["super"].front().isKeyword()) in CorrectTypo()
4813 if (isKeyword()) in addCorrectionDecl()
4839 if (candidate.isKeyword()) in ValidateCandidate()
4878 return candidate.isKeyword(); in ValidateCandidate()
5080 Correction.isKeyword() ? nullptr : Correction.getFoundDecl(); in diagnoseTypo()
DSemaCast.cpp1794 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
1804 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) in DiagnoseCallingConvCast()
/external/clang/include/clang/Basic/
DIdentifierTable.h276 bool isKeyword(const LangOptions &LangOpts);
/external/clang/lib/Basic/
DIdentifierTable.cpp245 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) { in isKeyword() function in IdentifierInfo
/external/clang/lib/Lex/
DPPDirectives.cpp128 if (II->isKeyword(Lang)) in shouldWarnOnMacroDef()
2234 if (!II->isKeyword(LOptions)) in isConfigurationPattern()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoValueishProcessor.java775 if (SourceVersion.isKeyword(name) || !Character.isJavaIdentifierStart(name.codePointAt(0))) { in fixReservedIdentifiers()
/external/clang/lib/Parse/
DParseTentative.cpp1090 if (Candidate.isResolved() && !Candidate.isKeyword() && in ValidateCandidate()

12