Home
last modified time | relevance | path

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

12345678910>>...114

/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 …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/
Dmeta_compiler.hpp32 template <typename T, typename Modifiers, typename Enable = void>
51 , typename Modifiers, typename Enable = void>
55 , typename Modifiers, typename Enable = void>
73 template <typename This, typename Elements, typename Modifiers>
74 struct result<This(Elements, Modifiers)>
78 , typename remove_reference<Modifiers>::type
82 template <typename Elements, typename Modifiers>
83 typename result<make_component(Elements, Modifiers)>::type
84 operator()(Elements const& elements, Modifiers const& modifiers) const in operator ()()
87 return karma::make_primitive<term, Modifiers>()(elements.car, modifiers); in operator ()()
[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/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/qi/
Dmeta_compiler.hpp32 template <typename T, typename Modifiers, typename Enable = void>
51 , typename Modifiers, typename Enable = void>
55 , typename Modifiers, typename Enable = void>
73 template <typename This, typename Elements, typename Modifiers>
74 struct result<This(Elements, Modifiers)>
78 typename remove_reference<Modifiers>::type>::result_type
82 template <typename Elements, typename Modifiers>
83 typename result<make_component(Elements, Modifiers)>::type
84 operator()(Elements const& elements, Modifiers const& modifiers) const in operator ()()
87 return qi::make_primitive<term, Modifiers>()(elements.car, modifiers); in operator ()()
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/qi/auxiliary/
Dlazy.hpp91 template <typename Function, typename Modifiers>
92 struct lazy_parser : parser<lazy_parser<Function, Modifiers> >
98 boost::result_of<qi_modify(tag::lazy_eval, Modifiers)>::type
121 lazy_parser(Function const& function_, Modifiers const& modifiers_) in lazy_parser()
122 : function(function_), modifiers(modifiers_) {} in lazy_parser()
132 , qi_modify()(tag::lazy_eval(), modifiers)) in parse()
141 , qi_modify()(tag::lazy_eval(), modifiers)) in what()
147 Modifiers modifiers; member
151 template <typename Function, typename Subject, typename Modifiers>
153 : unary_parser<lazy_directive<Function, Subject, Modifiers> >
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/support/
Dmodify.hpp24 // checking for inheritance (i.e. Modifiers is derived from T)
25 template <typename Modifiers, typename T>
27 : is_base_of<T, Modifiers> {};
29 // Adding modifiers is done using multi-inheritance
67 // By default, we return the modifiers untouched
76 template <typename This, typename Tag, typename Modifiers>
77 struct result<This(Tag, Modifiers)>
83 typename remove_reference<Modifiers>::type>::type
89 , Modifiers>::type
93 template <typename Tag, typename Modifiers>
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/auxiliary/
Dlazy.hpp87 template <typename Function, typename Modifiers>
88 struct lazy_generator : generator<lazy_generator<Function, Modifiers> >
96 boost::result_of<karma_modify(tag::lazy_eval, Modifiers)>::type
119 lazy_generator(Function const& func, Modifiers const& modifiers) in lazy_generator()
120 : func(func), modifiers(modifiers) {} in lazy_generator()
131 , karma_modify()(tag::lazy_eval(), modifiers)) in generate()
140 , karma_modify()(tag::lazy_eval(), modifiers)) in what()
146 Modifiers modifiers; member
153 template <typename Function, typename Subject, typename Modifiers>
155 : unary_generator<lazy_directive<Function, Subject, Modifiers> >
[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/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/karma/numeric/
Duint.hpp372 template <typename T, typename Modifiers, unsigned Radix = 10>
376 has_modifier<Modifiers, tag::char_code_base<tag::lower> >::value;
378 has_modifier<Modifiers, tag::char_code_base<tag::upper> >::value;
383 Modifiers, unused_type, lower || upper>::type
384 , typename detail::get_casetag<Modifiers, lower || upper>::type
396 template <typename Modifiers>
397 struct make_primitive<tag::ushort_, Modifiers>
398 : detail::make_uint<unsigned short, Modifiers> {};
400 template <typename Modifiers>
401 struct make_primitive<tag::uint_, Modifiers>
[all …]
Dint.hpp344 template <typename T, typename Modifiers, unsigned Radix = 10
349 has_modifier<Modifiers, tag::char_code_base<tag::lower> >::value;
351 has_modifier<Modifiers, tag::char_code_base<tag::upper> >::value;
356 Modifiers, unused_type, lower || upper>::type
357 , typename detail::get_casetag<Modifiers, lower || upper>::type
370 template <typename Modifiers>
371 struct make_primitive<tag::short_, Modifiers>
372 : detail::make_int<short, Modifiers> {};
374 template <typename Modifiers>
375 struct make_primitive<tag::int_, Modifiers>
[all …]
Dreal.hpp287 template <typename T, typename Modifiers
292 has_modifier<Modifiers, tag::char_code_base<tag::lower> >::value;
294 has_modifier<Modifiers, tag::char_code_base<tag::upper> >::value;
299 Modifiers, unused_type, lower || upper>::type
300 , typename detail::get_casetag<Modifiers, lower || upper>::type
313 template <typename Modifiers>
314 struct make_primitive<tag::float_, Modifiers>
315 : detail::make_real<float, Modifiers> {};
317 template <typename Modifiers>
318 struct make_primitive<tag::double_, Modifiers>
[all …]
Dbool.hpp252 template <typename Modifiers, typename T = bool
257 has_modifier<Modifiers, tag::char_code_base<tag::lower> >::value;
259 has_modifier<Modifiers, tag::char_code_base<tag::upper> >::value;
264 Modifiers, unused_type, lower || upper>::type
265 , typename detail::get_casetag<Modifiers, lower || upper>::type
278 template <typename Modifiers, bool b>
282 has_modifier<Modifiers, tag::char_code_base<tag::lower> >::value;
284 has_modifier<Modifiers, tag::char_code_base<tag::upper> >::value;
289 Modifiers, unused_type, lower || upper>::type
290 , typename detail::get_casetag<Modifiers, lower || upper>::type
[all …]
/external/skia/src/sksl/ir/
DSkSLModifiersDeclaration.cpp24 const Modifiers& modifiers) { in Convert() argument
28 context.fErrors->error(modifiers.fPosition, in Convert()
33 if (modifiers.fLayout.fLocalSizeX >= 0 || in Convert()
34 modifiers.fLayout.fLocalSizeY >= 0 || in Convert()
35 modifiers.fLayout.fLocalSizeZ >= 0) { in Convert()
36 if (modifiers.fLayout.fLocalSizeX == 0 || in Convert()
37 modifiers.fLayout.fLocalSizeY == 0 || in Convert()
38 modifiers.fLayout.fLocalSizeZ == 0) { in Convert()
39 context.fErrors->error(modifiers.fPosition, "local size qualifiers cannot be zero"); in Convert()
44 modifiers.fPosition, in Convert()
[all …]
/external/kotlinpoet/kotlinpoet/src/commonMain/kotlin/com/squareup/kotlinpoet/
DParameterSpec.kt36 public val modifiers: Set<KModifier> = builder.modifiers in <lambda>() constant
41 …throw IllegalArgumentException("Modifiers $this are not allowed on Kotlin parameters. Allowed modi… in <lambda>()
49 public constructor(name: String, type: TypeName, vararg modifiers: KModifier) : in <lambda>()
50 this(builder(name, type, *modifiers)) in <lambda>()
51 public constructor(name: String, type: TypeName, modifiers: Iterable<KModifier>) : in <lambda>()
52 this(builder(name, type, modifiers)) in <lambda>()
60 codeWriter.emitModifiers(modifiers) in <lambda>()
88 builder.modifiers += modifiers in <lambda>()
100 public val modifiers: MutableList<KModifier> = mutableListOf() in <lambda>() constant in com.squareup.kotlinpoet.Builder
105 public fun addModifiers(vararg modifiers: KModifier): Builder = apply { in <lambda>()
[all …]
DPropertySpec.kt43 public val modifiers: Set<KModifier> = builder.modifiers.toImmutableSet() constant
55 (getter == null || KModifier.INLINE in getter.modifiers) &&
56 (setter == null || KModifier.INLINE in setter.modifiers),
73 val isInlineProperty = getter?.modifiers?.contains(KModifier.INLINE) ?: false && in emit()
74 (!mutable || setter?.modifiers?.contains(KModifier.INLINE) ?: false) in emit()
75 val propertyModifiers = if (isInlineProperty) modifiers + KModifier.INLINE else modifiers in emit()
104 isConstantContext = KModifier.CONST in modifiers, in emit()
111 // Omit visibility modifiers, accessor visibility will default to the property's visibility. in emit()
135 builder.modifiers += parameter.modifiers in fromPrimaryConstructorParameter()
159 builder.modifiers += modifiers in toBuilder()
[all …]
DTypeSpec.kt56 public val modifiers: Set<KModifier> = builder.modifiers.toImmutableSet() in <lambda>() constant
89 builder.modifiers += modifiers in <lambda>()
116 val areNestedExternal = EXTERNAL in modifiers || isNestedExternal in <lambda>()
143 if (!areNestedExternal && !modifiers.contains(EXPECT)) { in <lambda>()
172 modifiers, in <lambda>()
184 val useKeyword = it.annotations.isNotEmpty() || it.modifiers.isNotEmpty() in <lambda>()
191 if (it.modifiers.isNotEmpty()) { in <lambda>()
193 codeWriter.emitModifiers(it.modifiers) in <lambda>()
221 if (!areNestedExternal && !modifiers.contains(EXPECT)) { in <lambda>()
287 propertySpec.emit(codeWriter, kind.implicitPropertyModifiers(modifiers)) in <lambda>()
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/lex/
Dmeta_compiler.hpp30 template <typename T, typename Modifiers, typename Enable = void>
49 , typename Modifiers, typename Enable = void>
60 template <typename This, typename Elements, typename Modifiers>
61 struct result<This(Elements, Modifiers)>
65 typename remove_reference<Modifiers>::type>::result_type
69 template <typename Elements, typename Modifiers>
70 typename result<make_component(Elements, Modifiers)>::type
71 operator()(Elements const& elements, Modifiers const& modifiers) const in operator ()()
74 return lex::make_primitive<term, Modifiers>()(elements.car, modifiers); in operator ()()
85 template <typename This, typename Elements, typename Modifiers>
[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/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/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/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 …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/repository/home/qi/directive/
Dkwd.hpp617 …template <typename T1, typename T2, typename Subject, typename Modifiers, typename Distinct, type…
633 typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > no_case;
646 typename spirit::detail::get_encoding<Modifiers, in create_kwd_string()
662 …ype create_kwd(Terminal const &term, Subject const & subject, Modifiers const& /*modifiers*/, boos… in create_kwd()
668 …ype create_kwd(Terminal const &term , Subject const & subject, Modifiers const& modifiers, boost::… in create_kwd()
671 ,compile<qi::domain>(fusion::at_c<0>(term.args),modifiers) in create_kwd()
678 Terminal const& term, Subject const& subject, Modifiers const& modifiers) const in operator ()()
680 return create_kwd(term, subject, modifiers, is_string_kwd_type()); in operator ()()
686 template <typename T1, typename Subject, typename Modifiers, typename Distinct>
694 typename result_of::compile<qi::domain, T1, Modifiers>::type
[all …]

12345678910>>...114