Home
last modified time | relevance | path

Searched refs:getKeyword (Results 1 – 25 of 66) sorted by relevance

123

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithModifiers.java58 … boolean alreadyPresent = existingModifiers.stream().anyMatch(m -> m.getKeyword() == newModifier); in addModifier()
71 … .filter(existingModifier -> !modifiersToRemoveAsList.contains(existingModifier.getKeyword())) in removeModifier()
87 if (m.getKeyword() == modifier) { in hasModifier()
107 switch (modifier.getKeyword()) { in getAccessSpecifier()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java143 assertEquals(PRIVATE, fieldDeclaration.getModifiers().iterator().next().getKeyword()); in testAddPrivateFieldWithType()
158 assertEquals(PUBLIC, fieldDeclaration.getModifiers().iterator().next().getKeyword()); in testAddPublicFieldWithType()
173 assertEquals(PROTECTED, fieldDeclaration.getModifiers().iterator().next().getKeyword()); in testAddProtectedFieldWithType()
191 assertEquals(PUBLIC, fieldDeclaration.getModifiers().iterator().next().getKeyword()); in testClassWithInitializersWithString()
210 assertEquals(PUBLIC, fieldDeclaration.getModifiers().iterator().next().getKeyword()); in testClassWithInitializersWithClass()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java1906 public String getKeyword() { in getKeyword() method in PluralRules.Rule
1944 String keyword = nextRule.getKeyword(); in addRule()
1946 if (keyword.equals(rule.getKeyword())) { in addRule()
1959 if ("other".equals(rule.getKeyword())) { in finish()
1985 return r.getKeyword(); in select()
1991 result.add(rule.getKeyword()); in getKeywords()
2012 if (keyword.equals(rule.getKeyword())) { in computeLimited()
2036 if (rule.getKeyword().equals(keyword)) { in getRules()
2045 if (rule.getKeyword().equals(keyword) && rule.appliesTo(sample)) { in select()
2054 if (rule.getKeyword().equals(keyword)) { in getDecimalSamples()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java1837 public String getKeyword() { in getKeyword() method in PluralRules.Rule
1876 String keyword = nextRule.getKeyword(); in addRule()
1878 if (keyword.equals(rule.getKeyword())) { in addRule()
1891 if ("other".equals(rule.getKeyword())) { in finish()
1917 return r.getKeyword(); in select()
1923 result.add(rule.getKeyword()); in getKeywords()
1944 if (keyword.equals(rule.getKeyword())) { in computeLimited()
1968 if (rule.getKeyword().equals(keyword)) { in getRules()
1977 if (rule.getKeyword().equals(keyword) && rule.appliesTo(sample)) { in select()
1986 if (rule.getKeyword().equals(keyword)) { in getDecimalSamples()
[all …]
/external/icu/icu4c/source/i18n/
Dstandardplural.h44 static const char *getKeyword(Form p);
Dstandardplural.cpp29 const char *StandardPlural::getKeyword(Form p) { in getKeyword() function in StandardPlural
Dnumber_currencysymbols.cpp99 StandardPlural::getKeyword(plural), in getPluralName()
/external/icu/libicu/cts_headers/
Dstandardplural.h44 static const char *getKeyword(Form p);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCurrencyPluralInfoAffixProvider.java22 String pattern = cpi.getCurrencyPluralPattern(plural.getKeyword()); in CurrencyPluralInfoAffixProvider()
DMutablePatternModifier.java436 … .getName(symbols.getULocale(), Currency.PLURAL_LONG_NAME, plural.getKeyword(), null); in getSymbol()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStandardPlural.java53 public final String getKeyword() { in getKeyword() method in StandardPlural
DLocaleIDParser.java576 private String getKeyword() { in getKeyword() method in LocaleIDParser
611 String key = getKeyword(); in getKeywordMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCurrencyPluralInfoAffixProvider.java18 String pattern = cpi.getCurrencyPluralPattern(plural.getKeyword()); in CurrencyPluralInfoAffixProvider()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStandardPlural.java55 public final String getKeyword() { in getKeyword() method in StandardPlural
DLocaleIDParser.java578 private String getKeyword() { in getKeyword() method in LocaleIDParser
613 String key = getKeyword(); in getKeywordMap()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DModifierValidator.java173 if (!arrayContains(allowedModifiers, m.getKeyword())) { in validateModifiers()
174 reporter.report(n, "'%s' is not allowed here.", m.getKeyword().asString()); in validateModifiers()
/external/clang/lib/AST/
DTypePrinter.cpp873 switch (T->getKeyword()) { in printAutoBefore()
1093 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printElaboratedBefore()
1094 if (T->getKeyword() != ETK_None) in printElaboratedBefore()
1127 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentNameBefore()
1128 if (T->getKeyword() != ETK_None) in printDependentNameBefore()
1143 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentTemplateSpecializationBefore()
1144 if (T->getKeyword() != ETK_None) in printDependentTemplateSpecializationBefore()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DMethodDeclarationTransformationsTest.java455 …hods().get(0).addModifier(Modifier.finalModifier().getKeyword(), Modifier.publicModifier().getKeyw… in addingModifiersWithExistingAnnotations()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DModifier.java156 public Keyword getKeyword() { in getKeyword() method in Modifier
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculator.java255 switch (modifier.getKeyword()) { in toToken()
269 throw new UnsupportedOperationException(modifier.getKeyword().name()); in toToken()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DForEachStmt.java178 …e().getModifiers().isNonEmpty() && getVariable().getModifiers().get(0).getKeyword() == Modifier.Ke… in hasFinalVariable()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DCombinedCurrencyMatcher.java69 String pluralKeyword = StandardPlural.VALUES.get(i).getKeyword(); in CombinedCurrencyMatcher()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DCombinedCurrencyMatcher.java71 String pluralKeyword = StandardPlural.VALUES.get(i).getKeyword(); in CombinedCurrencyMatcher()
/external/llvm-project/clang/include/clang/AST/
DTypeProperties.td436 let Read = [{ node->getKeyword() }];
516 let Read = [{ node->getKeyword() }];
661 let Read = [{ node->getKeyword() }];
778 let Read = [{ node->getKeyword() }];
/external/llvm-project/clang/lib/AST/
DTypePrinter.cpp1133 switch (T->getKeyword()) { in printAutoBefore()
1457 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printElaboratedBefore()
1458 if (T->getKeyword() != ETK_None) in printElaboratedBefore()
1495 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentNameBefore()
1496 if (T->getKeyword() != ETK_None) in printDependentNameBefore()
1512 OS << TypeWithKeyword::getKeywordName(T->getKeyword()); in printDependentTemplateSpecializationBefore()
1513 if (T->getKeyword() != ETK_None) in printDependentTemplateSpecializationBefore()

123