/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | KeyboardModifierSet.java | 44 public enum Modifier { enum in KeyboardModifierSet 48 static final SetComparator<Modifier> SINGLETON_COMPARATOR = new SetComparator<Modifier>(); 53 private final Set<Set<Modifier>> variants; 62 private KeyboardModifierSet(String input, Set<EnumSet<Modifier>> variants) { in KeyboardModifierSet() 64 Set<Set<Modifier>> safe = new TreeSet<Set<Modifier>>(SINGLETON_COMPARATOR); in KeyboardModifierSet() 65 for (EnumSet<Modifier> item : variants) { in KeyboardModifierSet() 76 public Set<Set<Modifier>> getVariants() { in getVariants() 87 public boolean contains(EnumSet<Modifier> combination) { in contains() 136 Set<EnumSet<Modifier>> variants = new HashSet<EnumSet<Modifier>>(); in parseSet() 157 private static Set<EnumSet<Modifier>> parseSingleSet(String input) { in parseSingleSet() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestKeyboardModifierSet.java | 8 import org.unicode.cldr.draft.KeyboardModifierSet.Modifier; 35 EnumSet<KeyboardModifierSet.Modifier> emptySet = EnumSet in testParseSet_empty() 36 .noneOf(KeyboardModifierSet.Modifier.class); in testParseSet_empty() 46 EnumSet<Modifier> testSet = EnumSet.of(Modifier.cmd, Modifier.ctrlL, in testParseSet_allOnKeys() 47 Modifier.altR); in testParseSet_allOnKeys() 57 assertTrue("x", modifierSet.contains(EnumSet.noneOf(Modifier.class))); in testParseSet_allDontCareKeys() 58 assertTrue("x", modifierSet.contains(EnumSet.of(Modifier.cmd))); in testParseSet_allDontCareKeys() 59 assertTrue("x", modifierSet.contains(EnumSet.of(Modifier.ctrlL))); in testParseSet_allDontCareKeys() 61 modifierSet.contains(EnumSet.of(Modifier.cmd, Modifier.ctrlL))); in testParseSet_allDontCareKeys() 70 assertTrue("x", modifierSet.contains(EnumSet.of(Modifier.optR, in testParseSet_mix() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithModifiers.java | 7 import com.github.javaparser.ast.Modifier; 19 EnumSet<Modifier> getModifiers(); in getModifiers() 21 T setModifiers(EnumSet<Modifier> modifiers); in setModifiers() 24 default T addModifier(Modifier... modifiers) { in addModifier() 26 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addModifier() 31 return getModifiers().contains(Modifier.STATIC); in isStatic() 35 return getModifiers().contains(Modifier.ABSTRACT); in isAbstract() 39 return getModifiers().contains(Modifier.FINAL); in isFinal() 43 return getModifiers().contains(Modifier.NATIVE); in isNative() 47 return getModifiers().contains(Modifier.PRIVATE); in isPrivate() [all …]
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | TypeSpec.java | 32 import javax.lang.model.element.Modifier; 46 public final Set<Modifier> modifiers; 107 public boolean hasModifier(Modifier modifier) { in hasModifier() 170 void emit(CodeWriter codeWriter, String enumName, Set<Modifier> implicitModifiers) in emit() 267 if (!fieldSpec.hasModifier(Modifier.STATIC)) continue; in emit() 281 if (fieldSpec.hasModifier(Modifier.STATIC)) continue; in emit() 359 Util.immutableSet(Arrays.asList(Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL)), 360 Util.immutableSet(Arrays.asList(Modifier.PUBLIC, Modifier.ABSTRACT)), 361 Util.immutableSet(Arrays.asList(Modifier.PUBLIC, Modifier.STATIC)), 362 Util.immutableSet(Collections.singletonList(Modifier.STATIC))), [all …]
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypeSpecTest.java | 35 import javax.lang.model.element.Modifier; 63 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in basic() 123 .addModifiers(Modifier.FINAL) in anonymousInnerClass() 129 .addModifiers(Modifier.PUBLIC) in anonymousInnerClass() 138 .addModifiers(Modifier.PUBLIC) in anonymousInnerClass() 146 .addModifiers(Modifier.STATIC, Modifier.FINAL, Modifier.FINAL) in anonymousInnerClass() 174 .addModifiers(Modifier.PUBLIC) in annotatedParameters() 243 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in retrofitStyleInterface() 289 .addField(FieldSpec.builder(String.class, "thing", Modifier.PRIVATE, Modifier.FINAL) in annotatedField() 314 .addModifiers(Modifier.PUBLIC) in annotatedClass() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | AdoptingModifierStore.java | 15 private final Modifier positive; 16 private final Modifier zero; 17 private final Modifier negative; 18 final Modifier[] mods; 27 public AdoptingModifierStore(Modifier positive, Modifier zero, Modifier negative) { in AdoptingModifierStore() 46 this.mods = new Modifier[3 * StandardPlural.COUNT]; in AdoptingModifierStore() 50 public void setModifier(int signum, StandardPlural plural, Modifier mod) { in setModifier() 59 public Modifier getModifierWithoutPlural(int signum) { in getModifierWithoutPlural() 65 public Modifier getModifier(int signum, StandardPlural plural) { in getModifier()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/ |
D | ModifierSet.java | 26 import java.lang.reflect.Modifier; 37 public static final int PUBLIC = Modifier.PUBLIC; 39 public static final int PRIVATE = Modifier.PRIVATE; 41 public static final int PROTECTED = Modifier.PROTECTED; 43 public static final int STATIC = Modifier.STATIC; 45 public static final int FINAL = Modifier.FINAL; 47 public static final int SYNCHRONIZED = Modifier.SYNCHRONIZED; 49 public static final int VOLATILE = Modifier.VOLATILE; 51 public static final int TRANSIENT = Modifier.TRANSIENT; 53 public static final int NATIVE = Modifier.NATIVE; [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | AdoptingModifierStore.java | 13 private final Modifier positive; 14 private final Modifier zero; 15 private final Modifier negative; 16 final Modifier[] mods; 25 public AdoptingModifierStore(Modifier positive, Modifier zero, Modifier negative) { in AdoptingModifierStore() 44 this.mods = new Modifier[3 * StandardPlural.COUNT]; in AdoptingModifierStore() 48 public void setModifier(int signum, StandardPlural plural, Modifier mod) { in setModifier() 57 public Modifier getModifierWithoutPlural(int signum) { in getModifierWithoutPlural() 63 public Modifier getModifier(int signum, StandardPlural plural) { in getModifier()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | NodeWithMembersBuildersTest.java | 25 import com.github.javaparser.ast.Modifier; 42 … FieldDeclaration addField = classDeclaration.addField(int.class, "fieldName", Modifier.PRIVATE); in testAddField() 50 MethodDeclaration addMethod = classDeclaration.addMethod("foo", Modifier.PUBLIC); in testAddMethod() 58 ConstructorDeclaration addCtor = classDeclaration.addConstructor(Modifier.PUBLIC); in testAddCtor() 77 MethodDeclaration addMethod = classDeclaration.addMethod("foo", Modifier.PUBLIC); in testGetMethodsWithName() 78 …MethodDeclaration addMethod2 = classDeclaration.addMethod("foo", Modifier.PUBLIC).addParameter(int… in testGetMethodsWithName() 87 MethodDeclaration addMethod = classDeclaration.addMethod("foo", Modifier.PUBLIC); in testGetMethods() 88 …MethodDeclaration addMethod2 = classDeclaration.addMethod("foo", Modifier.PUBLIC).addParameter(int… in testGetMethods() 99 classDeclaration.addMethod("foo", Modifier.PUBLIC); in testGetMethodsWithParameterTypes() 100 …MethodDeclaration addMethod2 = classDeclaration.addMethod("foo", Modifier.PUBLIC).addParameter(int… in testGetMethodsWithParameterTypes() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithModifiers.java | 24 import com.github.javaparser.ast.Modifier; 44 EnumSet<Modifier> getModifiers(); in getModifiers() 46 N setModifiers(EnumSet<Modifier> modifiers); in setModifiers() 49 default N addModifier(Modifier... modifiers) { in addModifier() 50 EnumSet<Modifier> newModifiers = getModifiers().clone(); in addModifier() 52 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in addModifier() 58 default N removeModifier(Modifier... m) { in removeModifier() 59 EnumSet<Modifier> newModifiers = getModifiers().clone(); in removeModifier() 61 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))); in removeModifier() 65 default N setModifier(Modifier m, boolean set) { in setModifier()
|
/external/llvm/lib/Target/NVPTX/InstPrinter/ |
D | NVPTXInstPrinter.cpp | 93 const char *Modifier) { in printCvtMode() argument 97 if (strcmp(Modifier, "ftz") == 0) { in printCvtMode() 101 } else if (strcmp(Modifier, "sat") == 0) { in printCvtMode() 105 } else if (strcmp(Modifier, "base") == 0) { in printCvtMode() 143 const char *Modifier) { in printCmpMode() argument 147 if (strcmp(Modifier, "ftz") == 0) { in printCmpMode() 151 } else if (strcmp(Modifier, "base") == 0) { in printCmpMode() 216 raw_ostream &O, const char *Modifier) { in printLdStCode() argument 217 if (Modifier) { in printLdStCode() 220 if (!strcmp(Modifier, "volatile")) { in printLdStCode() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/ |
D | com_github_javaparser_ast_body_ModifierSet.txt | 4 Line 37) Modifier.PUBLIC ==> int 5 Line 39) Modifier.PRIVATE ==> int 6 Line 41) Modifier.PROTECTED ==> int 7 Line 43) Modifier.STATIC ==> int 8 Line 45) Modifier.FINAL ==> int 9 Line 47) Modifier.SYNCHRONIZED ==> int 10 Line 49) Modifier.VOLATILE ==> int 11 Line 51) Modifier.TRANSIENT ==> int 12 Line 53) Modifier.NATIVE ==> int 13 Line 55) Modifier.ABSTRACT ==> int [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_nodeTypes_NodeWithModifiers.txt | 1 ….stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)))) ==> jav… 3 …Line 25) Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.cl… 5 …Line 26) Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class)) ==> java.util.stream.Collec… 6 Line 26) EnumSet.noneOf(Modifier.class) ==> java.util.EnumSet.noneOf(java.lang.Class<E>) 7 …Line 31) getModifiers().contains(Modifier.STATIC) ==> java.util.AbstractCollection.contains(java.l… 9 …Line 35) getModifiers().contains(Modifier.ABSTRACT) ==> java.util.AbstractCollection.contains(java… 11 …Line 39) getModifiers().contains(Modifier.FINAL) ==> java.util.AbstractCollection.contains(java.la… 13 …Line 43) getModifiers().contains(Modifier.NATIVE) ==> java.util.AbstractCollection.contains(java.l… 15 …Line 47) getModifiers().contains(Modifier.PRIVATE) ==> java.util.AbstractCollection.contains(java.… 17 …Line 51) getModifiers().contains(Modifier.PROTECTED) ==> java.util.AbstractCollection.contains(jav… [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 35 PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue() 44 LabelId(id), Kind(kind), PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue() 50 switch (Modifier) { in getModifierText() 84 ACPV->Modifier == Modifier && in hasSameValue() 100 if (Modifier) O << "(" << getModifierText() << ")"; in print() 117 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument 119 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress), in ARMConstantPoolConstant() 126 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument 128 : ARMConstantPoolValue((Type*)C->getType(), ID, Kind, PCAdj, Modifier, in ARMConstantPoolConstant() 140 ARMCP::ARMCPModifier Modifier) { in Create() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/InstPrinter/ |
D | NVPTXInstPrinter.cpp | 99 const char *Modifier) { in printCvtMode() argument 103 if (strcmp(Modifier, "ftz") == 0) { in printCvtMode() 107 } else if (strcmp(Modifier, "sat") == 0) { in printCvtMode() 111 } else if (strcmp(Modifier, "base") == 0) { in printCvtMode() 149 const char *Modifier) { in printCmpMode() argument 153 if (strcmp(Modifier, "ftz") == 0) { in printCmpMode() 157 } else if (strcmp(Modifier, "base") == 0) { in printCmpMode() 222 raw_ostream &O, const char *Modifier) { in printLdStCode() argument 223 if (Modifier) { in printLdStCode() 226 if (!strcmp(Modifier, "volatile")) { in printLdStCode() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/ |
D | ModifierValidator.java | 3 import com.github.javaparser.ast.Modifier; 18 import static com.github.javaparser.ast.Modifier.*; 26 …private final Modifier[] interfaceWithNothingSpecial = new Modifier[]{PUBLIC, PROTECTED, ABSTRACT,… 27 …private final Modifier[] interfaceWithStaticAndDefault = new Modifier[]{PUBLIC, PROTECTED, ABSTRAC… 28 …private final Modifier[] interfaceWithStaticAndDefaultAndPrivate = new Modifier[]{PUBLIC, PROTECTE… 107 for (Modifier m : asList(PRIVATE, STATIC, FINAL, NATIVE, STRICTFP, SYNCHRONIZED)) { in visit() 164 …ithTokenRange<?>> void validateModifiers(T n, ProblemReporter reporter, Modifier... allowedModifie… in validateModifiers() 172 for (Modifier m : n.getModifiers()) { in validateModifiers() 179 private Modifier[] removeModifierFromArray(Modifier m, Modifier[] allowedModifiers) { in removeModifierFromArray() 180 final List<Modifier> newModifiers = new ArrayList<>(asList(allowedModifiers)); in removeModifierFromArray() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCExpr.cpp | 119 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in evaluateAsRelocatableImpl() local 120 if (Modifier != MCSymbolRefExpr::VK_None) in evaluateAsRelocatableImpl() 126 Modifier = MCSymbolRefExpr::VK_PPC_LO; in evaluateAsRelocatableImpl() 129 Modifier = MCSymbolRefExpr::VK_PPC_HI; in evaluateAsRelocatableImpl() 132 Modifier = MCSymbolRefExpr::VK_PPC_HA; in evaluateAsRelocatableImpl() 135 Modifier = MCSymbolRefExpr::VK_PPC_HIGH; in evaluateAsRelocatableImpl() 138 Modifier = MCSymbolRefExpr::VK_PPC_HIGHA; in evaluateAsRelocatableImpl() 141 Modifier = MCSymbolRefExpr::VK_PPC_HIGHERA; in evaluateAsRelocatableImpl() 144 Modifier = MCSymbolRefExpr::VK_PPC_HIGHER; in evaluateAsRelocatableImpl() 147 Modifier = MCSymbolRefExpr::VK_PPC_HIGHEST; in evaluateAsRelocatableImpl() [all …]
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Element.java | 27 import java.lang.reflect.Modifier; 94 return Modifier.isPublic(getModifiers()); in isPublic() 99 return Modifier.isProtected(getModifiers()); in isProtected() 109 return Modifier.isPrivate(getModifiers()); in isPrivate() 114 return Modifier.isStatic(getModifiers()); in isStatic() 125 return Modifier.isFinal(getModifiers()); in isFinal() 130 return Modifier.isAbstract(getModifiers()); in isAbstract() 135 return Modifier.isNative(getModifiers()); in isNative() 140 return Modifier.isSynchronized(getModifiers()); in isSynchronized() 145 return Modifier.isVolatile(getModifiers()); in isVolatile() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_modifiers.h | 25 class U_I18N_API ConstantAffixModifier : public Modifier, public UObject { 44 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE; 57 class U_I18N_API SimpleModifier : public Modifier, public UMemory { 62 const Modifier::Parameters parameters); 80 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE; 129 Modifier::Parameters fParameters; 136 class U_I18N_API ConstantMultiFieldModifier : public Modifier, public UMemory { 143 const Modifier::Parameters parameters) in ConstantMultiFieldModifier() 173 bool semanticallyEquivalent(const Modifier& other) const U_OVERRIDE; 182 Modifier::Parameters fParameters; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 39 PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue() 48 LabelId(id), Kind(kind), PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue() 54 switch (Modifier) { in getModifierText() 90 ACPV->Modifier == Modifier && in hasSameValue() 108 if (Modifier) O << "(" << getModifierText() << ")"; in print() 125 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument 127 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress), in ARMConstantPoolConstant() 134 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument 136 : ARMConstantPoolValue((Type*)C->getType(), ID, Kind, PCAdj, Modifier, in ARMConstantPoolConstant() 161 ARMCP::ARMCPModifier Modifier) { in Create() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 35 PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue() 44 LabelId(id), Kind(kind), PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue() 50 switch (Modifier) { in getModifierText() 79 ACPV->Modifier == Modifier) { in hasSameValue() 95 if (Modifier) O << "(" << getModifierText() << ")"; in print() 112 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument 114 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress), in ARMConstantPoolConstant() 121 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument 123 : ARMConstantPoolValue((Type*)C->getType(), ID, Kind, PCAdj, Modifier, in ARMConstantPoolConstant() 135 ARMCP::ARMCPModifier Modifier) { in Create() argument [all …]
|
D | ARMConstantPoolValue.h | 56 ARMCP::ARMCPModifier Modifier; // GV modifier i.e. (&GV(modifier)-(LPIC+8)) variable 61 unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, 65 unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, 70 ARMCP::ARMCPModifier getModifier() const { return Modifier; } in getModifier() 72 bool hasModifier() const { return Modifier != ARMCP::no_modifier; } in hasModifier() 99 this->Modifier == A->Modifier; in equals() 123 ARMCP::ARMCPModifier Modifier, 129 ARMCP::ARMCPModifier Modifier, 135 ARMCP::ARMCPModifier Modifier); 142 ARMCP::ARMCPModifier Modifier, [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCExpr.cpp | 113 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in evaluateAsRelocatableImpl() local 114 if (Modifier != MCSymbolRefExpr::VK_None) in evaluateAsRelocatableImpl() 120 Modifier = MCSymbolRefExpr::VK_PPC_LO; in evaluateAsRelocatableImpl() 123 Modifier = MCSymbolRefExpr::VK_PPC_HI; in evaluateAsRelocatableImpl() 126 Modifier = MCSymbolRefExpr::VK_PPC_HA; in evaluateAsRelocatableImpl() 129 Modifier = MCSymbolRefExpr::VK_PPC_HIGHERA; in evaluateAsRelocatableImpl() 132 Modifier = MCSymbolRefExpr::VK_PPC_HIGHER; in evaluateAsRelocatableImpl() 135 Modifier = MCSymbolRefExpr::VK_PPC_HIGHEST; in evaluateAsRelocatableImpl() 138 Modifier = MCSymbolRefExpr::VK_PPC_HIGHESTA; in evaluateAsRelocatableImpl() 141 Sym = MCSymbolRefExpr::create(&Sym->getSymbol(), Modifier, Context); in evaluateAsRelocatableImpl()
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430AsmPrinter.cpp | 50 raw_ostream &O, const char* Modifier = 0); 65 raw_ostream &O, const char *Modifier) { in printOperand() argument 73 if (!Modifier || strcmp(Modifier, "nohash")) in printOperand() 81 bool isMemOp = Modifier && !strcmp(Modifier, "mem"); in printOperand() 90 if (!Modifier || strcmp(Modifier, "nohash")) in printOperand() 103 bool isMemOp = Modifier && !strcmp(Modifier, "mem"); in printOperand()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/ |
D | Modifier.java | 5 public enum Modifier { enum 20 private Modifier(String lib) { in Modifier() method in Modifier 31 public EnumSet<Modifier> toEnumSet() { in toEnumSet() 35 public static AccessSpecifier getAccessSpecifier(EnumSet<Modifier> modifiers) { in getAccessSpecifier() 36 if (modifiers.contains(Modifier.PUBLIC)) { in getAccessSpecifier() 38 } else if (modifiers.contains(Modifier.PROTECTED)) { in getAccessSpecifier() 40 } else if (modifiers.contains(Modifier.PRIVATE)) { in getAccessSpecifier()
|