Home
last modified time | relevance | path

Searched full:statements (Results 1 – 25 of 2965) sorted by relevance

12345678910>>...119

/external/aws-sdk-java-v2/test/test-utils/src/test/java/software/amazon/awssdk/core/auth/policy/
DPolicyReaderTest.java50 List<Statement> statements = new LinkedList<Statement>(policy.getStatements()); in testPrincipals() local
52 assertEquals(Effect.Allow, statements.get(0).getEffect()); in testPrincipals()
53 assertEquals("action", statements.get(0).getActions().get(0).getActionName()); in testPrincipals()
54 assertEquals("resource", statements.get(0).getResources().get(0).getId()); in testPrincipals()
55 assertEquals(2, statements.get(0).getPrincipals().size()); in testPrincipals()
56 assertEquals("AWS", statements.get(0).getPrincipals().get(0).getProvider()); in testPrincipals()
57 assertEquals("accountId1", statements.get(0).getPrincipals().get(0).getId()); in testPrincipals()
58 assertEquals("AWS", statements.get(0).getPrincipals().get(1).getProvider()); in testPrincipals()
59 assertEquals("accountId2", statements.get(0).getPrincipals().get(1).getId()); in testPrincipals()
67 statements = new LinkedList<Statement>(policy.getStatements()); in testPrincipals()
[all …]
/external/fonttools/Tests/feaLib/
Dparser_test.py100 c1 = doc.statements[0]
101 c2 = doc.statements[1].statements[1]
107 self.assertEqual(doc.statements[1].name, "test")
115 c1 = doc.statements[0]
126 anchor = doc.statements[0].statements[0].entryAnchor
140 anchor = doc.statements[0].statements[0].entryAnchor
156 anchor = doc.statements[0].statements[0].entryAnchor
170 anchor = doc.statements[0].statements[0].exitAnchor
180 anchor = doc.statements[0].statements[1].entryAnchor
204 anchor = doc.statements[0].statements[0].entryAnchor
[all …]
/external/selinux/secilc/docs/
DREADME.md33 * [Call / Macro Statements](cil_call_macro_statements.md#call--macro-statements)
37 * [Class and Permission Statements](cil_class_and_permission_statements.md#class-and-permission-sta…
48 * [Conditional Statements](cil_conditional_statements.md#conditional-statements)
54 * [Constraint Statements](cil_constraint_statements.md#constraint-statements)
60 * [Container Statements](cil_container_statements.md#container-statements)
70 * [Default Object Statements](cil_default_object_statements.md#default-object-statements)
76 * [File Labeling Statements](cil_file_labeling_statements.md#file-labeling-statements)
81 * [Multi-Level Security Labeling Statements](cil_mls_labeling_statements.md#multi-level-security-la…
98 * [Network Labeling Statements](cil_network_labeling_statements.md#network-labeling-statements)
104 * [Policy Configuration Statements](cil_policy_config_statements.md#policy-configuration-statements)
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DBlockStmt.java40 * Statements in between { and }.
46 private NodeList<Statement> statements; field in BlockStmt
53 public BlockStmt(final NodeList<Statement> statements) { in BlockStmt() argument
54 this(null, statements); in BlockStmt()
61 public BlockStmt(TokenRange tokenRange, NodeList<Statement> statements) { in BlockStmt() argument
63 setStatements(statements); in BlockStmt()
81 return statements; in getStatements()
85 public BlockStmt setStatements(final NodeList<Statement> statements) { in setStatements() argument
86 assertNotNull(statements); in setStatements()
87 if (statements == this.statements) { in setStatements()
[all …]
DSwitchEntry.java53 * <br/>The first one has label 1 and no statements.
54 * <br/>The second has label 2 and two statements (the println and the break).
65 * which is stored as the first and only statement in statements.
66 …ne is of type BLOCK and stores its {@link BlockStmt} as the first and only statement in statements.
67 …pe THROWS_STATEMENT and stores its {@link ThrowStmt} as the first and only statement in statements.
90 private NodeList<Statement> statements; field in SwitchEntry
99 …chEntry(final NodeList<Expression> labels, final Type type, final NodeList<Statement> statements) { in SwitchEntry() argument
100 this(null, labels, type, statements); in SwitchEntry()
107 …ry(TokenRange tokenRange, NodeList<Expression> labels, Type type, NodeList<Statement> statements) { in SwitchEntry() argument
111 setStatements(statements); in SwitchEntry()
[all …]
/external/aws-sdk-java-v2/test/test-utils/src/main/java/software/amazon/awssdk/core/auth/policy/
DPolicy.java29 * more statements, which specify fine grained rules for allowing or denying
62 private List<Statement> statements = new ArrayList<>(); field in Policy
66 * statements.
88 * and collection of statements. The policy ID is a user specified string
92 * Any statements that don't have a statement ID yet will automatically be
99 * @param statements
100 * The statements to include in the new policy.
102 public Policy(String id, Collection<Statement> statements) { in Policy() argument
104 setStatements(statements); in Policy()
174 * Returns the collection of statements contained by this policy. Individual
[all …]
/external/aws-sdk-java-v2/services-custom/iam-policy-builder/src/main/java/software/amazon/awssdk/policybuilder/iam/internal/
DDefaultIamPolicy.java43 @NotNull private final List<IamStatement> statements; field in DefaultIamPolicy
48 this.statements = new ArrayList<>(Validate.notEmpty(builder.statements, in DefaultIamPolicy()
67 public List<IamStatement> statements() { in statements() method in DefaultIamPolicy
68 return Collections.unmodifiableList(statements); in statements()
103 if (!statements.equals(that.statements)) { in equals()
113 result = 31 * result + statements.hashCode(); in hashCode()
122 .add("statements", statements.isEmpty() ? null : statements) in toString()
129 private final List<IamStatement> statements = new ArrayList<>(); field in DefaultIamPolicy.Builder
137 this.statements.addAll(policy.statements); in Builder()
153 public IamPolicy.Builder statements(Collection<IamStatement> statements) { in statements() method in DefaultIamPolicy.Builder
[all …]
/external/angle/src/compiler/translator/tree_ops/
DPruneEmptyCases.cpp20 bool AreEmptyBlocks(const TIntermSequence *statements);
33 // Pure literal statements should also already be pruned. in IsEmptyBlock()
38 // Return true if all statements in "statements" consist only of empty blocks and no-op statements.
39 // Returns true also if there are no statements.
40 bool AreEmptyBlocks(const TIntermSequence *statements) in AreEmptyBlocks() argument
42 for (size_t i = 0u; i < statements->size(); ++i) in AreEmptyBlocks()
44 if (!IsEmptyBlock(statements->at(i))) in AreEmptyBlocks()
76 TIntermSequence *statements = statementList->getSequence(); in visitSwitch() local
80 size_t i = statements->size(); in visitSwitch()
85 TIntermNode *statement = statements->at(i); in visitSwitch()
[all …]
/external/fonttools/Tests/voltLib/
Dparser_test.py26 ).statements
41 ).statements
56 ).statements
71 ).statements
86 ).statements
101 ).statements
116 ).statements
131 ).statements
146 ).statements
159 [def_glyph] = self.parse('DEF_GLYPH "glyph20" ID 20 END_GLYPH').statements
[all …]
/external/skia/src/sksl/ir/
DSkSLBlock.cpp15 StatementArray statements, in Make() argument
20 return std::make_unique<Block>(pos, std::move(statements), kind, std::move(symbols)); in Make()
24 if (statements.empty()) { in Make()
28 if (statements.size() > 1) { in Make()
29 // The statement array contains multiple statements, but some of those might be no-ops. in Make()
33 for (std::unique_ptr<Statement>& stmt : statements) { in Make()
41 return std::make_unique<Block>(pos, std::move(statements), kind, in Make()
51 // The statement array contained nothing but empty statements! in Make()
53 // We can just return one of those empty statements. Fall through to... in Make()
56 return std::move(statements.front()); in Make()
[all …]
DSkSLBlock.h24 * A block of multiple statements functioning as a single statement.
31 // pass around multiple statements as if they were a single unit, with no semantic impact.
33 kUnbracedBlock, // Represents a group of statements without curly braces.
36 // `int a, b;`. (SkSL represents this internally as two statements:
42 StatementArray statements,
47 , fChildren(std::move(statements)) in INHERITED()
50 // Make is allowed to simplify compound statements. For a single-statement unscoped Block,
53 StatementArray statements,
57 // MakeCompoundStatement wraps two Statements into a single compound-statement Block.
67 StatementArray statements,
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dcontrol_flow.md7 AutoGraph rewrites all control flow statements with specialized AutoGraph
14 Key Point: Only statements that are conditioned on, or iterate over, a
20 normal Python control flow. Statements which would normally raise an error, for
125 This explains why inserting `print` statements in an `if` statement produces
179 ### `if` statements
181 `if` statements whose condition is a `tf.Tensor` are executed as TensorFlow
191 `if` statements whose condition is not a `tf.Tensor` are executed as normal
201 `if` statements executed as TensorFlow conditionals are subject to restrictions
211 ### `while` statements
213 `while` statements whose condition is a `tf.Tensor` are executed as TensorFlow
[all …]
/external/fonttools/Lib/fontTools/voltLib/
DvoltToFea.py131 groups = [s for s in doc.statements if isinstance(s, VAst.GroupDefinition)]
135 for statement in doc.statements:
152 for statement in doc.statements:
162 statements = doc.statements
165 statements.append(ast.Comment("# Glyph classes"))
166 statements.extend(self._glyphclasses.values())
169 statements.append(ast.Comment("\n# Mark classes"))
170 statements.extend(c[1] for c in sorted(self._markclasses.items()))
173 statements.append(ast.Comment("\n# Lookups"))
175 statements.extend(getattr(lookup, "targets", []))
[all …]
/external/libxkbcommon/doc/
Dkeymap-format-text-v1.md23 ### Keycode statements
25 Statements of the form:
53 ### Alias statements
55 Statements of the form:
61 statements.
63 ### LED name statements
65 Statements of the form:
101 Statements of the form:
106 The body of the definition may include statements of the following
109 #### `level_name` statements
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Dlower_jump_cases.py81 # statements. All of these functions return statement lists (even
82 # those which only create a single statement), so that statements can
117 def loop(statements): argument
118 """Create a loop containing the given statements as its loop
121 check_sexp(statements)
122 return [['loop', statements]]
138 def complex_if(var_prefix, statements): argument
143 <statements>
147 This is useful in testing jump lowering, because if <statements>
155 check_sexp(statements)
[all …]
/external/aws-sdk-java-v2/services-custom/iam-policy-builder/src/test/java/software/amazon/awssdk/policybuilder/iam/
DIamPolicyTest.java38 … .statements(singletonList(ALLOW_STATEMENT))
45 assertThat(iamPolicy.statements()).containsExactly(ALLOW_STATEMENT); in fromJson_delegatesToIamPolicyReader()
57 assertThat(FULL_POLICY.statements()).containsExactly(ALLOW_STATEMENT); in simpleGettersSettersWork()
68 ….isEqualTo("IamPolicy(id=Id, version=Version, statements=[IamStatement(effect=IamEffect(value=Allo… in toStringIncludesAllValues()
73 assertThat(policy(p -> p.statements(asList(ALLOW_STATEMENT, DENY_STATEMENT))).statements()) in statementGettersSettersWork()
75 … assertThat(policy(p -> p.addStatement(ALLOW_STATEMENT).addStatement(DENY_STATEMENT)).statements()) in statementGettersSettersWork()
77 …t(policy(p -> p.addStatement(s -> s.effect(ALLOW)).addStatement(s -> s.effect(DENY))).statements()) in statementGettersSettersWork()
83 assertThat(policy(p -> p.statements(asList(ALLOW_STATEMENT, DENY_STATEMENT)) in statementCollectionSettersResetsList()
84 .statements(singletonList(DENY_STATEMENT))).statements()) in statementCollectionSettersResetsList()
/external/angle/third_party/glslang/src/Test/baseResults/
Dpreprocessor.many.endif.vert.err1 ERROR: 0:1: '#endif' : mismatched statements
2 ERROR: 0:2: '#endif' : mismatched statements
3 ERROR: 0:3: '#endif' : mismatched statements
4 ERROR: 0:4: '#endif' : mismatched statements
5 ERROR: 0:5: '#endif' : mismatched statements
6 ERROR: 0:6: '#endif' : mismatched statements
7 ERROR: 0:7: '#endif' : mismatched statements
/external/deqp-deps/glslang/Test/baseResults/
Dpreprocessor.many.endif.vert.err1 ERROR: 0:1: '#endif' : mismatched statements
2 ERROR: 0:2: '#endif' : mismatched statements
3 ERROR: 0:3: '#endif' : mismatched statements
4 ERROR: 0:4: '#endif' : mismatched statements
5 ERROR: 0:5: '#endif' : mismatched statements
6 ERROR: 0:6: '#endif' : mismatched statements
7 ERROR: 0:7: '#endif' : mismatched statements
/external/freetype/include/freetype/config/
Dftheader.h89 * directly in `#include` statements as in
112 * A macro used in `#include` statements to name the file containing
127 * A macro used in `#include` statements to name the file containing
142 * A macro used in `#include` statements to name the file containing
157 * A macro used in `#include` statements to name the file containing the
176 * A macro used in `#include` statements to name the file containing the
189 * A macro used in `#include` statements to name the file containing the
204 * A macro used in `#include` statements to name the file containing the
217 * A macro used in `#include` statements to name the file containing the
233 * A macro used in `#include` statements to name the file containing type
[all …]
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/helpers/
DLogLog.java20 This class used to output log statements from within the log4j package.
39 statements to <code>System.out</code>.
48 debug statements to <code>System.out</code>.
81 statements. Output goes to <code>System.out</code>.
91 statements. Output goes to <code>System.out</code>.
103 statements. There is no way to disable error statements.
114 statements. There is no way to disable error statements.
139 statements. There is no way to disable warning statements.
150 no way to disable warning statements. Output goes to
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py34 By default, the parser will follow ``include()`` statements in the feature
82 statements = self.doc_.statements
86 statements.append(
90 statements.append(self.parse_include_())
92 statements.append(self.parse_glyphclass_definition_())
94 statements.append(self.parse_anonymous_())
96 statements.append(self.parse_anchordef_())
98 statements.append(self.parse_languagesystem_())
100 statements.append(self.parse_lookup_(vertical=False))
102 statements.append(self.parse_markClass_())
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/testing/
Dcodegen.py106 # Enforce some constraints on generating statements.
107 # E.g., if statements need at least 3 readable variables.
121 """Generate a list of statements of random length.
124 low: Fewest number of statements to generate.
125 high: Highest number of statements to generate.
129 A list of statements.
131 statements = []
133 statements.append(generator())
134 return statements
177 # Generate true branch statements
[all …]
/external/openthread/third_party/mbedtls/repo/
D.uncrustify.cfg13 # Allow splitting long for statements between the condition statements
55 # Force exactly one space between ')' and '{' in statements
110 # (Uncrustify >= 0.74.0) No spaces inside parens in for statements
159 # (Uncrustify >= 0.73.0) Add a space after a semi in non-empty for statements
161 # (Uncrustify >= 0.73.0) No space after final semi in empty for statements
215 # At least 1 space around '?' and ':' in ternary statements
229 # Add braces in single-line statements
235 # Remove parentheses from return statements
/external/mbedtls/
D.uncrustify.cfg13 # Allow splitting long for statements between the condition statements
55 # Force exactly one space between ')' and '{' in statements
110 # (Uncrustify >= 0.74.0) No spaces inside parens in for statements
159 # (Uncrustify >= 0.73.0) Add a space after a semi in non-empty for statements
161 # (Uncrustify >= 0.73.0) No space after final semi in empty for statements
215 # At least 1 space around '?' and ':' in ternary statements
229 # Add braces in single-line statements
235 # Remove parentheses from return statements
/external/pigweed/pw_log_zephyr/
DKconfig28 PW_LOG_ statements will not work.
31 bool "Zephyr logging for PW_LOG_* statements"
55 will also tokenize all of Zephyr's logging statements.
107 Only print error level log statements.
112 Only print warning level log statements and above.
117 Only print info level log statements and above.
122 Print all log statements.

12345678910>>...119