Home
last modified time | relevance | path

Searched full:statement (Results 1 – 25 of 10913) sorted by relevance

12345678910>>...437

/aosp_15_r20/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
H A DControlFlowLogic.java37 …* A break statement with no label attempts to transfer control to the innermost enclosing switch, …
38 …* for statement of the immediately enclosing method or initializer; this statement, which is calle…
42 …* A break statement with label Identifier attempts to transfer control to the enclosing labeled st…
43 …* that has the same Identifier as its label; this statement, which is called the break target, the…
44 …mpletes normally. In this case, the break target need not be a switch, while, do, or for statement.
46 public Statement breakTarget(BreakStmt breakStmt) { in breakTarget()
51 …* A reachable break statement exits a statement if, within the break target, either there are no t…
52 …* whose try blocks contain the break statement, or there are try statements whose try blocks conta…
53 * statement and all finally clauses of those try statements can complete normally.
59 Statement breakTarget = breakTarget(breakStmt); in exitTheStatement()
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/test/test-utils/src/main/java/software/amazon/awssdk/core/auth/policy/
H A DStatement.java24 * A statement is the formal description of a single permission, and is always
27 * A statement describes a rule for allowing or denying access to a specific AWS
30 * conditions that specify when a statement is to be honored.
32 * For example, consider a statement that:
60 public class Statement { class
70 * Constructs a new access control policy statement with the specified
73 * Before a statement is valid and can be sent to AWS, callers must set the
75 * involved in the statement.
78 * The effect this statement has (allowing access or denying
82 public Statement(Effect effect) { in Statement() method in Statement
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/test/test-utils/src/test/java/software/amazon/awssdk/core/auth/policy/
H A DPolicyTest.java29 import software.amazon.awssdk.core.auth.policy.Statement.Effect;
44 policy.withStatements(new Statement(Effect.Allow) in testPrincipals()
51 JsonNode statementArray = jsonPolicyNode.get("Statement"); in testPrincipals()
56 JsonNode statement = statementArray.get(0); in testPrincipals() local
57 assertTrue(statement.has("Resource")); in testPrincipals()
58 assertTrue(statement.has("Principal")); in testPrincipals()
59 assertTrue(statement.has("Action")); in testPrincipals()
60 assertTrue(statement.has("Effect")); in testPrincipals()
62 JsonNode users = statement.get("Principal").get("AWS"); in testPrincipals()
68 policy.withStatements(new Statement(Effect.Allow) in testPrincipals()
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/15/libcore/ojluni/src/main/java/java/sql/
DStatement.java30 * <P>The object used for executing a static SQL statement
33 * By default, only one <code>ResultSet</code> object per <code>Statement</code>
37 * different <code>Statement</code> objects. All execution methods in the
38 * <code>Statement</code> interface implicitly close a statment's current
44 public interface Statement extends Wrapper, AutoCloseable { interface
47 * Executes the given SQL statement, which returns a single
52 * @param sql an SQL statement to be sent to the database, typically a
53 * static SQL <code>SELECT</code> statement
57 * this method is called on a closed <code>Statement</code>, the given
58 * SQL statement produces anything other than a single
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/sql/
DStatement.java30 * <P>The object used for executing a static SQL statement
33 * By default, only one <code>ResultSet</code> object per <code>Statement</code>
37 * different <code>Statement</code> objects. All execution methods in the
38 * <code>Statement</code> interface implicitly close a statment's current
44 public interface Statement extends Wrapper, AutoCloseable { interface
47 * Executes the given SQL statement, which returns a single
52 * @param sql an SQL statement to be sent to the database, typically a
53 * static SQL <code>SELECT</code> statement
57 * this method is called on a closed <code>Statement</code>, the given
58 * SQL statement produces anything other than a single
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/sql/
H A DStatement.java30 * <P>The object used for executing a static SQL statement
33 * By default, only one <code>ResultSet</code> object per <code>Statement</code>
37 * different <code>Statement</code> objects. All execution methods in the
38 * <code>Statement</code> interface implicitly close a statment's current
44 public interface Statement extends Wrapper, AutoCloseable { interface
47 * Executes the given SQL statement, which returns a single
52 * @param sql an SQL statement to be sent to the database, typically a
53 * static SQL <code>SELECT</code> statement
57 * this method is called on a closed <code>Statement</code>, the given
58 * SQL statement produces anything other than a single
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/android/app/Bluetooth/android_common_apex33/javac/anno/com/android/bluetooth/btservice/storage/
DMetadataDao_Impl.java35 protected void bind(@NonNull final SQLiteStatement statement, final Metadata entity) { in MetadataDao_Impl()
37 statement.bindNull(1); in MetadataDao_Impl()
39 statement.bindText(1, entity.getAddress()); in MetadataDao_Impl()
42 statement.bindLong(2, _tmp); in MetadataDao_Impl()
43 statement.bindLong(3, entity.a2dpSupportsOptionalCodecs); in MetadataDao_Impl()
44 statement.bindLong(4, entity.a2dpOptionalCodecsEnabled); in MetadataDao_Impl()
45 statement.bindLong(5, entity.last_active_time); in MetadataDao_Impl()
47 statement.bindLong(6, _tmp_1); in MetadataDao_Impl()
49 statement.bindLong(7, _tmp_2); in MetadataDao_Impl()
50 statement.bindLong(8, entity.preferred_output_only_profile); in MetadataDao_Impl()
[all …]
/aosp_15_r20/external/cronet/net/extras/sqlite/
H A Dsqlite_persistent_shared_dictionary_store.cc19 #include "sql/statement.h"
138 // There is no `sql::Statement::ColumnUint64()` method. So we cast to in ToUnguessableToken()
463 sql::Statement statement(db()->GetCachedStatement(SQL_FROM_HERE, kQuery)); in CommitDictionaryLastUsedTimeUpdate() local
464 statement.BindTime(0, last_used_time); in CommitDictionaryLastUsedTimeUpdate()
465 statement.BindInt64(1, primary_key_in_database); in CommitDictionaryLastUsedTimeUpdate()
466 if (!statement.Run()) { in CommitDictionaryLastUsedTimeUpdate()
485 // There is no `sql::Statement::ColumnUint64()` method. So we cast to in GetTotalDictionarySizeImpl()
548 sql::Statement statement(db()->GetCachedStatement(SQL_FROM_HERE, kQuery)); in RegisterDictionaryImpl() local
549 statement.BindString(0, isolation_key.frame_origin().Serialize()); in RegisterDictionaryImpl()
550 statement.BindString(1, isolation_key.top_frame_site().Serialize()); in RegisterDictionaryImpl()
[all …]
/aosp_15_r20/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java133 // Because SQLite statement execution can be reentrant, we keep track of how many
540 final Pair<String, Object[]> statement = mConfiguration.perConnectionSql.get(i); in executePerConnectionSqlFromConfiguration() local
541 final int type = DatabaseUtils.getSqlStatementType(statement.first); in executePerConnectionSqlFromConfiguration()
544 executeForString(statement.first, statement.second, null); in executePerConnectionSqlFromConfiguration()
547 execute(statement.first, statement.second, null); in executePerConnectionSqlFromConfiguration()
551 "Unsupported configuration statement: " + statement); in executePerConnectionSqlFromConfiguration()
609 // Update prepared statement cache size. in reconfigure()
642 // Called by SQLiteConnectionPool only to decide if this connection has the desired statement
643 // already prepared. Returns true if the prepared statement cache contains the specified SQL.
644 // The statement may be stale, but that will be a rare occurrence and affects performance only
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/iam-policy-builder/src/main/java/software/amazon/awssdk/policybuilder/iam/
H A DIamStatement.java28 * A statement is the formal description of a single permission, and is always
31 * A statement describes a rule for allowing or denying access to a specific AWS
34 * conditions that specify when a statement is to be honored.
36 * For example, consider a statement that:
73 * statement</a> that allows a role to write items to an Amazon DynamoDB table.</b>
75 * IamStatement statement =
87 * </a> statement that denies access to all users.</b>
89 * IamStatement statement =
97 …docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_statement.html">Statement user
161 * Sid}</a> element of the policy, specifying an identifier for the statement.
[all …]
/aosp_15_r20/libcore/luni/src/test/java/tests/support/
H A DDatabaseCreator.java22 import java.sql.Statement;
257 Statement statement = conn.createStatement(); in fillParentTable() local
258 statement in fillParentTable()
260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); in fillParentTable()
261 statement in fillParentTable()
266 Statement statement = conn.createStatement(); in fillFKStrictTable() local
267 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
269 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
271 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
276 Statement statement = conn.createStatement(); in fillFKCascadeTable() local
[all …]
/aosp_15_r20/art/tools/checker/match/
H A Dfile.py27 def __init__(self, statement, line_no, variables): argument
28 self.statement = statement
81 def handle(self, statement, variables): argument
86 variant = statement.variant
88 self._if(statement, variables)
90 self._elif(statement, variables)
92 self._else(statement)
95 self._fi(statement)
107 def _if(self, statement, variables): argument
111 elif evaluate_line(statement, variables):
[all …]
/aosp_15_r20/external/clang/test/OpenMP/
H A Datomic_messages.cpp7 …// expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', … in foo()
8 // expected-note@+1 {{expected an expression statement}} in foo()
15 …// expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', … in foo()
16 // expected-note@+1 {{expected an expression statement}} in foo()
43 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in read()
44 // expected-note@+1 {{expected an expression statement}} in read()
47 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in read()
51 …// expected-error@+2 2 {{the statement for 'atomic read' must be an expression statement of form '… in read()
55 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in read()
59 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in read()
[all …]
H A Datomic_messages.c7 …// expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', … in foo()
8 // expected-note@+1 {{expected an expression statement}} in foo()
15 …// expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', … in foo()
16 // expected-note@+1 {{expected an expression statement}} in foo()
34 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
35 // expected-note@+1 {{expected an expression statement}} in readint()
38 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
42 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
46 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
62 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readS()
[all …]
/aosp_15_r20/external/clang/lib/Parse/
H A DParseStmt.cpp1 //===--- ParseStmt.cpp - Statement and Block Parser -----------------------===//
10 // This file implements the Statement and Block portions of the Parser
33 /// \brief Parse a standalone statement (for instance, as the body of an 'if',
39 // We may get back a null statement if we found a #pragma. Keep going until in ParseStatement()
40 // we get an actual statement. in ParseStatement()
52 /// ParseStatementOrDeclaration - Read 'statement' or 'declaration'.
54 /// statement
57 /// statement:
58 /// labeled-statement
59 /// compound-statement
[all …]
/aosp_15_r20/external/python/cpython3/Doc/reference/
Dsimple_stmts.rst8 .. index:: pair: simple; statement
10 A simple statement is comprised within a single logical line. Several simple
39 pair: expression; statement
47 expression statement is:
52 An expression statement evaluates the expression list (which may be a single
75 single: = (equals); assignment statement
76 pair: assignment; statement
99 An assignment statement evaluates the expression list (remember that this can be
146 statement in the current code block: the name is bound to the object in the
264 single: statement; assignment, augmented
[all …]
/aosp_15_r20/external/python/cpython2/Doc/reference/
Dsimple_stmts.rst8 .. index:: pair: simple; statement
38 pair: expression; statement
45 expression statement is:
50 An expression statement evaluates the expression list (which may be a single
75 single: =; assignment statement
76 pair: assignment; statement
100 An assignment statement evaluates the expression list (remember that this can be
130 .. index:: statement: global
132 * If the name does not occur in a :keyword:`global` statement in the current
244 single: statement; assignment, augmented
[all …]
Dcompound_stmts.rst7 .. index:: pair: compound; statement
12 statement may be contained in one line.
24 header and a 'suite.' The clause headers of a particular compound statement are
53 suite: `stmt_list` NEWLINE | NEWLINE INDENT `statement`+ DEDENT
54 statement: `stmt_list` NEWLINE | `compound_stmt`
64 keyword that cannot start a statement, thus there are no ambiguities (the
76 The :keyword:`if` statement
80 statement: if
84 The :keyword:`if` statement is used for conditional execution:
94 :keyword:`if` statement is executed or evaluated). If all expressions are
[all …]
/aosp_15_r20/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
H A DGrpcCleanupRuleTest.java44 import org.junit.runners.model.Statement;
96 Statement statement = mock(Statement.class); in singleChannelCleanup() local
97 InOrder inOrder = inOrder(statement, channel); in singleChannelCleanup()
106 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleChannelCleanup()
113 inOrder.verify(statement).evaluate(); in singleChannelCleanup()
123 Statement statement = mock(Statement.class); in singleServerCleanup() local
124 InOrder inOrder = inOrder(statement, server); in singleServerCleanup()
133 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleServerCleanup()
140 inOrder.verify(statement).evaluate(); in singleServerCleanup()
156 Statement statement = mock(Statement.class); in multiResource_cleanupGracefully() local
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/iam-policy-builder/src/test/java/software/amazon/awssdk/policybuilder/iam/
H A DIamStatementTest.java91 assertThat(statement(s -> s.effect(ALLOW)).effect()).isEqualTo(ALLOW); in effectGettersSettersWork()
92 assertThat(statement(s -> s.effect("Allow")).effect()).isEqualTo(ALLOW); in effectGettersSettersWork()
97 assertThat(statement(s -> s.principals(asList(PRINCIPAL_1, PRINCIPAL_2))).principals()) in principalGettersSettersWork()
99 assertThat(statement(s -> s.addPrincipal(PRINCIPAL_1) in principalGettersSettersWork()
102 assertThat(statement(s -> s.addPrincipal(p -> p.type("1").id("*")) in principalGettersSettersWork()
105 assertThat(statement(s -> s.addPrincipal("1", "*") in principalGettersSettersWork()
108 assertThat(statement(s -> s.addPrincipal(IamPrincipalType.create("1"), "*") in principalGettersSettersWork()
111 …assertThat(statement(s -> s.addPrincipals(IamPrincipalType.create("1"), asList("x", "y"))).princip… in principalGettersSettersWork()
114 assertThat(statement(s -> s.addPrincipals("1", asList("x", "y"))).principals()) in principalGettersSettersWork()
121 assertThat(statement(s -> s.principals(asList(PRINCIPAL_1, PRINCIPAL_2)) in principalsCollectionSettersResetsList()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/libraries/health/runners/concurrent-longevity/adservices/src/android/adservices/test/longevity/concurrent/
DConcurrentRunner.java41 import org.junit.runners.model.Statement;
117 * Returns a Statement that, when executed, either returns normally if {@code method} passes, or
141 * implementations creating each sub-statement.
158 protected Statement methodBlock(final FrameworkMethod method) { in methodBlock()
160 Statement statement = new ConcurrentScenariosStatement(mJourneyClasses, mFrameworkMethods); in methodBlock() local
161 statement = withBefores(method, /* target = */ null, statement); in methodBlock()
162 statement = withAfters(method, /* target = */ null, statement); in methodBlock()
163 statement = withAllRules(statement); in methodBlock()
164 statement = withInterruptIsolation(statement); in methodBlock()
165 return statement; in methodBlock()
[all …]
/aosp_15_r20/external/cronet/base/test/
H A Dgtest_util.h19 // EXPECT/ASSERT_DEBUG_DEATH however, it doesn't execute the statement in non-
21 // happen and as such executing the statement results in undefined behavior
22 // (|statement| is compiled in unsupported configurations nonetheless).
34 #define EXPECT_DCHECK_DEATH(statement) EXPECT_DEATH(statement, "Check failed") argument
35 #define EXPECT_DCHECK_DEATH_WITH(statement, msg) EXPECT_DEATH(statement, msg) argument
36 #define ASSERT_DCHECK_DEATH(statement) ASSERT_DEATH(statement, "Check failed") argument
37 #define ASSERT_DCHECK_DEATH_WITH(statement, msg) ASSERT_DEATH(statement, msg) argument
41 #define EXPECT_DCHECK_DEATH(statement) \ argument
42 GTEST_UNSUPPORTED_DEATH_TEST(statement, "Check failed", )
43 #define EXPECT_DCHECK_DEATH_WITH(statement, msg) \ argument
[all …]
/aosp_15_r20/external/junit/src/main/java/org/junit/runners/
H A DParentRunner.java48 import org.junit.runners.model.Statement;
188 * Constructs a {@code Statement} to run all of the tests in the test class.
195 * construct a statement that will:
210 * @return {@code Statement}
212 protected Statement classBlock(final RunNotifier notifier) { in classBlock()
213 Statement statement = childrenInvoker(notifier); in classBlock() local
215 statement = withBeforeClasses(statement); in classBlock()
216 statement = withAfterClasses(statement); in classBlock()
217 statement = withClassRules(statement); in classBlock()
218 statement = withInterruptIsolation(statement); in classBlock()
[all …]
/aosp_15_r20/libcore/luni/src/test/java/tests/java/sql/
H A DMultiThreadAccessTest.java23 import java.sql.Statement;
39 private static Statement statement; field in MultiThreadAccessTest
52 statement = conn.createStatement(); in setUp()
64 statement.close(); in tearDown()
76 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement.execute(DatabaseCreator.DROP_TABLE4); in createTestTables()
85 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
91 statement.execute(DatabaseCreator.CREATE_TABLE4); in createTestTables()
[all …]
/aosp_15_r20/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp83 // The prepared statement used to determine which tables are updated by a statement. This
95 // Called each time a statement begins execution, when tracing is enabled.
101 // Called each time a statement finishes execution, when profiling is enabled.
395 sqlite3_stmt* statement; in nativePrepareStatement() local
397 sql, sqlLength * sizeof(jchar), &statement, NULL); in nativePrepareStatement()
416 ALOGV("Prepared statement %p on connection %p", statement, connection->db); in nativePrepareStatement()
417 return reinterpret_cast<jlong>(statement); in nativePrepareStatement()
423 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); in nativeFinalizeStatement() local
426 // whether any errors occurred while executing the statement. The statement itself in nativeFinalizeStatement()
428 ALOGV("Finalized statement %p on connection %p", statement, connection->db); in nativeFinalizeStatement()
[all …]

12345678910>>...437