Home
last modified time | relevance | path

Searched full:modifiers (Results 1 – 25 of 2764) sorted by relevance

12345678910>>...111

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DModifierSet.java29 * Class to hold modifiers.<br>
35 /* Definitions of the bits in the modifiers field. */
59 public static AccessSpecifier getAccessSpecifier(int modifiers) { in getAccessSpecifier() argument
60 if (isPublic(modifiers)){ in getAccessSpecifier()
62 } else if (isProtected(modifiers)){ in getAccessSpecifier()
64 } else if (isPrivate(modifiers)){ in getAccessSpecifier()
71 public static int addModifier(int modifiers, int mod) { in addModifier() argument
72 return modifiers | mod; in addModifier()
75 public static boolean hasModifier(int modifiers, int modifier) { in hasModifier() argument
76 return (modifiers & modifier) != 0; in hasModifier()
[all …]
DFieldDeclaration.java39 private int modifiers; field in FieldDeclaration
48 public FieldDeclaration(int modifiers, Type type, VariableDeclarator variable) { in FieldDeclaration() argument
49 setModifiers(modifiers); in FieldDeclaration()
56 public FieldDeclaration(int modifiers, Type type, List<VariableDeclarator> variables) { in FieldDeclaration() argument
57 setModifiers(modifiers); in FieldDeclaration()
62 …public FieldDeclaration(int modifiers, List<AnnotationExpr> annotations, Type type, List<VariableD… in FieldDeclaration() argument
64 setModifiers(modifiers); in FieldDeclaration()
69 …aration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<Annotation… in FieldDeclaration() argument
71 setModifiers(modifiers); in FieldDeclaration()
87 * Return the modifiers of this member declaration.
[all …]
DBaseParameter.java30 private int modifiers; field in BaseParameter
43 public BaseParameter(int modifiers, VariableDeclaratorId id) { in BaseParameter() argument
44 setModifiers(modifiers); in BaseParameter()
48 public BaseParameter(int modifiers, List<AnnotationExpr> annotations, VariableDeclaratorId id) { in BaseParameter() argument
49 setModifiers(modifiers); in BaseParameter()
54 …public BaseParameter(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, Li… in BaseParameter() argument
56 setModifiers(modifiers); in BaseParameter()
70 * Return the modifiers of this parameter declaration.
73 * @return modifiers
76 return modifiers; in getModifiers()
[all …]
DTypeDeclaration.java37 private int modifiers; field in TypeDeclaration
44 public TypeDeclaration(int modifiers, String name) { in TypeDeclaration() argument
46 setModifiers(modifiers); in TypeDeclaration()
50 int modifiers, String name, in TypeDeclaration() argument
54 setModifiers(modifiers); in TypeDeclaration()
60 int modifiers, String name, in TypeDeclaration() argument
64 setModifiers(modifiers); in TypeDeclaration()
73 * Return the modifiers of this type declaration.
76 * @return modifiers
79 return modifiers; in getModifiers()
[all …]
DAnnotationMemberDeclaration.java40 private int modifiers; field in AnnotationMemberDeclaration
51 …public AnnotationMemberDeclaration(int modifiers, Type type, String name, Expression defaultValue)… in AnnotationMemberDeclaration() argument
52 setModifiers(modifiers); in AnnotationMemberDeclaration()
58 …public AnnotationMemberDeclaration(int modifiers, List<AnnotationExpr> annotations, Type type, Str… in AnnotationMemberDeclaration() argument
60 setModifiers(modifiers); in AnnotationMemberDeclaration()
66 …aration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<Annotation… in AnnotationMemberDeclaration() argument
68 setModifiers(modifiers); in AnnotationMemberDeclaration()
89 * Return the modifiers of this member declaration.
92 * @return modifiers
95 return modifiers; in getModifiers()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTableMarshalTypes.h70 UINT8 modifiers; // size and signed indicator. member
76 UINT8 modifiers; // NULL_SELECTOR member
92 UINT8 modifiers; member
112 UINT8 modifiers; member
122 UINT8 modifiers; member
131 UINT8 modifiers; member
145 UINT8 modifiers; // size= and offset (2 - 7) member
153 UINT8 modifiers; // size offset 2-7 member
163 UINT8 modifiers; // size (ONE_BYTES, TWO_BYTES, or FOUR_BYTES member
170 UINT8 modifiers; // number of entries and size member
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_ModifierSet.txt15 Line 60) isPublic(modifiers) ==> boolean
17 Line 62) isProtected(modifiers) ==> boolean
19 Line 64) isPrivate(modifiers) ==> boolean
22 Line 72) modifiers | mod ==> int
23 Line 76) (modifiers & modifier) != 0 ==> boolean
24 Line 80) (modifiers & ABSTRACT) != 0 ==> boolean
25 Line 84) (modifiers & FINAL) != 0 ==> boolean
26 Line 88) (modifiers & NATIVE) != 0 ==> boolean
27 Line 92) (modifiers & PRIVATE) != 0 ==> boolean
28 Line 96) (modifiers & PROTECTED) != 0 ==> boolean
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DModifiersTest.java37 * JDWP Unit test for ReferenceType.Modifiers command.
43 static final String thisCommandName = "ReferenceType.Modifiers command";
63 * This testcase exercises ReferenceType.Modifiers command.
66 * performs ReferenceType.Modifiers command and checks that returned
67 * Modifiers contain expected flags: ACC_PUBLIC
96 * The value of the access_flags item is a mask of modifiers used with class and in testModifiers001()
97 * interface declarations. The access_flags modifiers are: in testModifiers001()
105 logWriter.println("=> Returned modifiers = 0x" + Integer.toHexString(returnedModifiers)); in testModifiers001()
115 … ("## CHECK1: FAILURE: Returned modifiers do NOT contain expected ACC_PUBLIC flag(0x0001)"); in testModifiers001()
117 "Returned modifiers do NOT contain expected ACC_PUBLIC flag(0x0001);\n"; in testModifiers001()
[all …]
/external/libxkbcommon/test/data/compat/
Dmisc18 action = SetMods(modifiers=modMapMods);
22 action = SetMods(modifiers=Alt);
28 action = SetMods(modifiers=modMapMods);
32 action = SetMods(modifiers=Alt);
40 action = SetMods(modifiers=modMapMods);
44 action = SetMods(modifiers=Meta);
50 action = SetMods(modifiers=modMapMods);
54 action = SetMods(modifiers=Meta);
62 action = SetMods(modifiers=modMapMods);
66 action = SetMods(modifiers=Super);
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java30 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithFinalModifier;
61 private NodeList<Modifier> modifiers; field in VariableDeclarationExpr
80 public VariableDeclarationExpr(final Type type, String variableName, Modifier... modifiers) { in VariableDeclarationExpr() argument
81 …this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> new NodeList<>())), new … in VariableDeclarationExpr()
84 public VariableDeclarationExpr(VariableDeclarator var, Modifier... modifiers) { in VariableDeclarationExpr() argument
85 …this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> new NodeList<>())), new … in VariableDeclarationExpr()
92 …public VariableDeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<VariableDeclarat… in VariableDeclarationExpr() argument
93 this(null, modifiers, new NodeList<>(), variables); in VariableDeclarationExpr()
97 …public VariableDeclarationExpr(final NodeList<Modifier> modifiers, final NodeList<AnnotationExpr> … in VariableDeclarationExpr() argument
98 this(null, modifiers, annotations, variables); in VariableDeclarationExpr()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleRequiresDirective.java9 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStaticModifier;
28 private NodeList<Modifier> modifiers; field in ModuleRequiresDirective
37 public ModuleRequiresDirective(NodeList<Modifier> modifiers, Name name) { in ModuleRequiresDirective() argument
38 this(null, modifiers, name); in ModuleRequiresDirective()
45 public ModuleRequiresDirective(TokenRange tokenRange, NodeList<Modifier> modifiers, Name name) { in ModuleRequiresDirective() argument
47 setModifiers(modifiers); in ModuleRequiresDirective()
66 return modifiers; in getModifiers()
70 public ModuleRequiresDirective setModifiers(final NodeList<Modifier> modifiers) { in setModifiers() argument
71 assertNotNull(modifiers); in setModifiers()
72 if (modifiers == this.modifiers) { in setModifiers()
[all …]
/external/libxkbcommon/doc/
Dkeymap-format-text-v1.md86 chosen according to the state of the Num Lock (or Shift) modifiers.
115 #### `modifiers` statement
117 modifiers = Shift+Lock+LevelThree;
121 A mask of real and virtual modifiers. These are the only modifiers
123 The other modifiers, whether active or not, are masked out in the
132 If the active modifiers, masked with the type's modifiers (as stated
133 above), match (i.e. equal) the modifiers inside the `map[]` statement,
136 modifiers are active, while the `Lock` modifier is not, then the
144 When a key type is used for keysym translation, its modifiers are said
146 is assigned an ordinary `ALPHABETIC` key type, whose modifiers are
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DFieldDeclaration.java31 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithAccessModifiers;
32 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithFinalModifier;
33 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStaticModifier;
65 private NodeList<Modifier> modifiers; field in FieldDeclaration
74 public FieldDeclaration(NodeList<Modifier> modifiers, VariableDeclarator variable) { in FieldDeclaration() argument
75 this(null, modifiers, new NodeList<>(), nodeList(variable)); in FieldDeclaration()
78 public FieldDeclaration(NodeList<Modifier> modifiers, NodeList<VariableDeclarator> variables) { in FieldDeclaration() argument
79 this(null, modifiers, new NodeList<>(), variables); in FieldDeclaration()
83 …public FieldDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeLi… in FieldDeclaration() argument
84 this(null, modifiers, annotations, variables); in FieldDeclaration()
[all …]
DAnnotationMemberDeclaration.java34 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithAbstractModifier;
35 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPublicModifier;
62 private NodeList<Modifier> modifiers; field in AnnotationMemberDeclaration
75 …public AnnotationMemberDeclaration(NodeList<Modifier> modifiers, Type type, String name, Expressio… in AnnotationMemberDeclaration() argument
76 this(null, modifiers, new NodeList<>(), type, new SimpleName(name), defaultValue); in AnnotationMemberDeclaration()
80 …public AnnotationMemberDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotati… in AnnotationMemberDeclaration() argument
81 this(null, modifiers, annotations, type, name, defaultValue); in AnnotationMemberDeclaration()
88 …public AnnotationMemberDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<A… in AnnotationMemberDeclaration() argument
90 setModifiers(modifiers); in AnnotationMemberDeclaration()
115 * Return the modifiers of this member declaration.
[all …]
DTypeDeclaration.java30 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithAccessModifiers;
31 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStaticModifier;
32 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStrictfpModifier;
54 private NodeList<Modifier> modifiers; field in TypeDeclaration
62 public TypeDeclaration(NodeList<Modifier> modifiers, String name) { in TypeDeclaration() argument
63 this(null, modifiers, new NodeList<>(), new SimpleName(name), new NodeList<>()); in TypeDeclaration()
67 …public TypeDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleN… in TypeDeclaration() argument
68 this(null, modifiers, annotations, name, members); in TypeDeclaration()
75 …public TypeDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExp… in TypeDeclaration() argument
77 setModifiers(modifiers); in TypeDeclaration()
[all …]
DParameter.java32 import com.github.javaparser.ast.nodeTypes.modifiers.NodeWithFinalModifier;
66 private NodeList<Modifier> modifiers; field in Parameter
90 public Parameter(NodeList<Modifier> modifiers, Type type, SimpleName name) { in Parameter() argument
91 this(null, modifiers, new NodeList<>(), type, false, new NodeList<>(), name); in Parameter()
95 …public Parameter(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, bo… in Parameter() argument
96 this(null, modifiers, annotations, type, isVarArgs, varArgsAnnotations, name); in Parameter()
103 …public Parameter(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> ann… in Parameter() argument
105 setModifiers(modifiers); in Parameter()
174 * Return the modifiers of this parameter declaration.
176 * @return modifiers
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DParameterSpec.java37 public final Set<Modifier> modifiers; field in ParameterSpec
44 this.modifiers = Util.immutableSet(builder.modifiers); in ParameterSpec()
50 return modifiers.contains(modifier); in hasModifier()
55 codeWriter.emitModifiers(modifiers); in emit()
115 public static Builder builder(TypeName type, String name, Modifier... modifiers) { in builder() argument
119 .addModifiers(modifiers); in builder()
122 public static Builder builder(Type type, String name, Modifier... modifiers) { in builder() argument
123 return builder(TypeName.get(type), name, modifiers); in builder()
133 builder.modifiers.addAll(modifiers); in toBuilder()
143 public final List<Modifier> modifiers = new ArrayList<>(); field in ParameterSpec.Builder
[all …]
DMethodSpec.java49 public final Set<Modifier> modifiers; field in MethodSpec
60 checkArgument(code.isEmpty() || !builder.modifiers.contains(Modifier.ABSTRACT), in MethodSpec()
68 this.modifiers = Util.immutableSet(builder.modifiers); in MethodSpec()
87 codeWriter.emitModifiers(modifiers, implicitModifiers); in emit()
158 return modifiers.contains(modifier); in hasModifier()
198 * <p>This will copy its visibility modifiers, type parameters, return type, name, parameters, and
212 Set<Modifier> modifiers = method.getModifiers(); in overriding() local
213 if (modifiers.contains(Modifier.PRIVATE) in overriding()
214 || modifiers.contains(Modifier.FINAL) in overriding()
215 || modifiers.contains(Modifier.STATIC)) { in overriding()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DFieldDeclaration.java58 private EnumSet<Modifier> modifiers = EnumSet.noneOf(Modifier.class); field in FieldDeclaration
69 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, VariableDeclarator variable… in FieldDeclaration() argument
70 setModifiers(modifiers); in FieldDeclaration()
77 …public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, List<VariableDeclarator> va… in FieldDeclaration() argument
78 setModifiers(modifiers); in FieldDeclaration()
83 …public FieldDeclaration(EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations, Type elemen… in FieldDeclaration() argument
86 setModifiers(modifiers); in FieldDeclaration()
92 …public FieldDeclaration(Range range, EnumSet<Modifier> modifiers, List<AnnotationExpr> annotations… in FieldDeclaration() argument
95 setModifiers(modifiers); in FieldDeclaration()
104 * @param modifiers
[all …]
/external/libxkbcommon/test/data/keymaps/
Dquartz.xkb18 modifiers= none;
22 modifiers= Shift;
28 modifiers= Shift+Lock;
35 modifiers= Shift+NumLock;
42 modifiers= Shift+Alt;
48 modifiers= Control;
54 modifiers= LControl;
60 modifiers= RControl;
66 modifiers= Alt;
72 modifiers= LAlt;
[all …]
/external/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp31 static bool check_modifiers(const Context& context, int offset, const Modifiers& modifiers) { in check_modifiers() argument
35 modifiers, in check_modifiers()
36 Modifiers::kHasSideEffects_Flag | Modifiers::kInline_Flag | Modifiers::kNoInline_Flag, in check_modifiers()
38 if ((modifiers.fFlags & Modifiers::kInline_Flag) && in check_modifiers()
39 (modifiers.fFlags & Modifiers::kNoInline_Flag)) { in check_modifiers()
72 // Check modifiers on each function parameter. in check_parameters()
74 IRGenerator::CheckModifiers(context, param->fOffset, param->modifiers(), in check_parameters()
75 Modifiers::kConst_Flag | Modifiers::kIn_Flag | in check_parameters()
76 Modifiers::kOut_Flag, /*permittedLayoutFlags=*/0); in check_parameters()
87 Modifiers m = param->modifiers(); in check_parameters()
[all …]
DSkSLVarDeclarations.cpp23 String result = this->var().modifiers().description() + this->baseType().description() + " " + in description()
40 if (var->modifiers().fFlags & Modifiers::kConst_Flag) { in Convert()
65 if (var->modifiers().fFlags & Modifiers::kIn_Flag) { in Convert()
70 if (var->modifiers().fFlags & Modifiers::kUniform_Flag) { in Convert()
96 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || value); in Make()
98 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || in Make()
107 SkASSERT(!(value && (var->modifiers().fFlags & Modifiers::kIn_Flag))); in Make()
109 SkASSERT(!(value && (var->modifiers().fFlags & Modifiers::kUniform_Flag))); in Make()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithMembers.java80 * @param modifiers the modifiers like {@link Modifier.Keyword#PUBLIC}
83 …default FieldDeclaration addField(Class<?> typeClass, String name, Modifier.Keyword... modifiers) { in addField() argument
85 return addField(typeClass.getSimpleName(), name, modifiers); in addField()
93 * @param modifiers the modifiers like {@link Modifier.Keyword#PUBLIC}
96 default FieldDeclaration addField(String type, String name, Modifier.Keyword... modifiers) { in addField() argument
97 return addField(parseType(type), name, modifiers); in addField()
105 * @param modifiers the modifiers like {@link Modifier.Keyword#PUBLIC}
108 default FieldDeclaration addField(Type type, String name, Modifier.Keyword... modifiers) { in addField() argument
112 fieldDeclaration.setModifiers(createModifierList(modifiers)); in addField()
123 * @param modifiers the modifiers like {@link Modifier.Keyword#PUBLIC}
[all …]
/external/javassist/src/main/javassist/
DModifier.java23 * class and member access modifiers. The constant values are equivalent
49 * Returns true if the modifiers include the <code>public</code>
57 * Returns true if the modifiers include the <code>private</code>
65 * Returns true if the modifiers include the <code>protected</code>
73 * Returns true if the modifiers do not include either
81 * Returns true if the modifiers include the <code>static</code>
89 * Returns true if the modifiers include the <code>final</code>
97 * Returns true if the modifiers include the <code>synchronized</code>
105 * Returns true if the modifiers include the <code>volatile</code>
113 * Returns true if the modifiers include the <code>transient</code>
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DEventBuilder.java25 * This class allows to build an {@link Event} with multiple modifiers.
30 private final List<EventMod> modifiers = new ArrayList<EventMod>(); field in EventBuilder
46 modifiers.add(mod); in setCount()
59 modifiers.add(mod); in setThreadOnly()
72 modifiers.add(mod); in setClassOnly()
85 modifiers.add(mod); in setClassMatch()
98 modifiers.add(mod); in setClassExclude()
111 modifiers.add(mod); in setLocationOnly()
129 modifiers.add(mod); in setExceptionOnly()
144 modifiers.add(mod); in setFieldOnly()
[all …]

12345678910>>...111