Home
last modified time | relevance | path

Searched refs:Modifier (Results 1 – 25 of 712) sorted by relevance

12345678910>>...29

/external/cldr/tools/java/org/unicode/cldr/draft/
DKeyboardModifierSet.java44 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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DModifier.java39 public class Modifier extends Node { class
41 public static Modifier publicModifier() { in publicModifier()
42 return new Modifier(Keyword.PUBLIC); in publicModifier()
45 public static Modifier protectedModifier() { in protectedModifier()
46 return new Modifier(Keyword.PROTECTED); in protectedModifier()
49 public static Modifier privateModifier() { in privateModifier()
50 return new Modifier(Keyword.PRIVATE); in privateModifier()
53 public static Modifier abstractModifier() { in abstractModifier()
54 return new Modifier(Keyword.ABSTRACT); in abstractModifier()
57 public static Modifier staticModifier() { in staticModifier()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestKeyboardModifierSet.java8 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/
DNodeWithModifiers.java7 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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithModifiers.java25 import com.github.javaparser.ast.Modifier;
50 NodeList<Modifier> getModifiers(); in getModifiers()
52 N setModifiers(NodeList<Modifier> modifiers); in setModifiers()
55 default N addModifier(Modifier.Keyword... newModifiers) { in addModifier()
56 NodeList<Modifier> existingModifiers = new NodeList<>(getModifiers()); in addModifier()
57 for (Modifier.Keyword newModifier : newModifiers) { in addModifier()
60 existingModifiers.add(new Modifier(newModifier)); in addModifier()
68 default N removeModifier(Modifier.Keyword... modifiersToRemove) { in removeModifier()
69 List<Modifier.Keyword> modifiersToRemoveAsList = Arrays.asList(modifiersToRemove); in removeModifier()
70 NodeList<Modifier> remaining = getModifiers().stream() in removeModifier()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DAdoptingModifierStore.java15 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAdoptingModifierStore.java13 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-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DModifierSet.java26 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/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java32 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/
DTypeSpecTest.java35 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_ModifierSet.txt4 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/llvm/lib/Target/NVPTX/InstPrinter/
DNVPTXInstPrinter.cpp93 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/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithModifiers.txt1 ….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/
DARMConstantPoolValue.cpp35 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/PowerPC/MCTargetDesc/
DPPCMCExpr.cpp119 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/InstPrinter/
DNVPTXInstPrinter.cpp99 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/guava/guava/src/com/google/common/reflect/
DElement.java25 import java.lang.reflect.Modifier;
101 return Modifier.isPublic(getModifiers()); in isPublic()
106 return Modifier.isProtected(getModifiers()); in isProtected()
116 return Modifier.isPrivate(getModifiers()); in isPrivate()
121 return Modifier.isStatic(getModifiers()); in isStatic()
132 return Modifier.isFinal(getModifiers()); in isFinal()
137 return Modifier.isAbstract(getModifiers()); in isAbstract()
142 return Modifier.isNative(getModifiers()); in isNative()
147 return Modifier.isSynchronized(getModifiers()); in isSynchronized()
152 return Modifier.isVolatile(getModifiers()); in isVolatile()
[all …]
/external/guava/android/guava/src/com/google/common/reflect/
DElement.java25 import java.lang.reflect.Modifier;
101 return Modifier.isPublic(getModifiers()); in isPublic()
106 return Modifier.isProtected(getModifiers()); in isProtected()
116 return Modifier.isPrivate(getModifiers()); in isPrivate()
121 return Modifier.isStatic(getModifiers()); in isStatic()
132 return Modifier.isFinal(getModifiers()); in isFinal()
137 return Modifier.isAbstract(getModifiers()); in isAbstract()
142 return Modifier.isNative(getModifiers()); in isNative()
147 return Modifier.isSynchronized(getModifiers()); in isSynchronized()
152 return Modifier.isVolatile(getModifiers()); in isVolatile()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DModifierValidator.java3 import com.github.javaparser.ast.Modifier;
18 import static com.github.javaparser.ast.Modifier.Keyword.*;
26 …private final Modifier.Keyword[] interfaceWithNothingSpecial = new Modifier.Keyword[]{PUBLIC, PROT…
27 …private final Modifier.Keyword[] interfaceWithStaticAndDefault = new Modifier.Keyword[]{PUBLIC, PR…
28 …private final Modifier.Keyword[] interfaceWithStaticAndDefaultAndPrivate = new Modifier.Keyword[]{…
107 … for (Modifier.Keyword m : asList(PRIVATE, STATIC, FINAL, NATIVE, STRICTFP, SYNCHRONIZED)) { in visit()
164 …ithTokenRange<?>> void validateModifiers(T n, ProblemReporter reporter, Modifier.Keyword... allowe… in validateModifiers()
172 for (Modifier m : n.getModifiers()) { in validateModifiers()
179 …private Modifier.Keyword[] removeModifierFromArray(Modifier.Keyword m, Modifier.Keyword[] allowedM… in removeModifierFromArray()
180 final List<Modifier.Keyword> newModifiers = new ArrayList<>(asList(allowedModifiers)); in removeModifierFromArray()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp39 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/icu/icu4c/source/i18n/
Dnumber_modifiers.h25 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DModifier.java5 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()
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java37 import javax.lang.model.element.Modifier;
245 if (opMethod.getModifiers().contains(Modifier.STATIC) in collectOpMethods()
257 .addModifiers(Modifier.PUBLIC) in buildOpMethod()
317 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in buildGroupClass()
328 FieldSpec.builder(T_SCOPE, "scope").addModifiers(Modifier.PRIVATE, Modifier.FINAL).build()); in buildGroupClass()
337 .addModifiers(Modifier.PRIVATE) in buildTopClass()
347 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in buildTopClass()
384 .addModifiers(Modifier.PUBLIC) in buildTopClass()
396 .addModifiers(Modifier.PUBLIC) in buildTopClass()
408 .addModifiers(Modifier.PUBLIC) in buildTopClass()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.cpp113 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-7.0/llvm/lib/Target/SystemZ/
DSystemZConstantPoolValue.cpp21 : MachineConstantPoolValue(gv->getType()), GV(gv), Modifier(modifier) {} in SystemZConstantPoolValue()
25 SystemZCP::SystemZCPModifier Modifier) { in Create() argument
26 return new SystemZConstantPoolValue(GV, Modifier); in Create()
38 if (ZCPV->GV == GV && ZCPV->Modifier == Modifier) in getExistingMachineCPValue()
47 ID.AddInteger(Modifier); in addSelectionDAGCSEId()
51 O << GV << "@" << int(Modifier); in print()

12345678910>>...29