Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 12 of 12) sorted by relevance

/system/sepolicy/tests/
Dmini_parser.py32 def wrapParens(stmt): argument
33 return "(" + stmt + ")"
80 def _parseType(self, stmt): argument
81 m = re.match(r"type\s+(.+)", stmt)
85 def _parseExpandtypeattribute(self, stmt): argument
86 m = re.match(r"expandtypeattribute\s+\((.+)\)\s+(true|false)", stmt)
90 def _parseTypeattribute(self, stmt): argument
91 m = re.match(r"typeattribute\s+(.+)", stmt)
95 def _parseTypeattributeset(self, stmt): argument
96 m = re.match(r"typeattributeset\s+(.+?)\s+\((.+?)\)", stmt, flags = re.M |re.S)
[all …]
/system/netd/libnetdutils/include/netdutils/
DStatusOr.h91 #define ASSIGN_OR_RETURN_IMPL(tmp, lhs, stmt) \ argument
92 auto tmp = (stmt); \
96 #define ASSIGN_OR_RETURN_CONCAT(line, lhs, stmt) \ argument
97 ASSIGN_OR_RETURN_IMPL(__CONCAT(_status_or_, line), lhs, stmt)
114 #define ASSIGN_OR_RETURN(lhs, stmt) ASSIGN_OR_RETURN_CONCAT(__LINE__, lhs, stmt) argument
DStatus.h110 #define RETURN_IF_NOT_OK_IMPL(tmp, stmt) \ argument
112 ::android::netdutils::Status tmp = (stmt); \
119 #define RETURN_IF_NOT_OK_CONCAT(line, stmt) RETURN_IF_NOT_OK_IMPL(__CONCAT(_status_, line), stmt) argument
131 #define RETURN_IF_NOT_OK(stmt) RETURN_IF_NOT_OK_CONCAT(__LINE__, stmt) argument
/system/iorap/src/db/
Dmodels.h103 sqlite3_stmt* stmt = nullptr; in Prepare() local
104 int rc = sqlite3_prepare_v2(db.get(), sql, -1, /*out*/&stmt, nullptr); in Prepare()
106 DbStatement db_stmt{db, stmt}; in Prepare()
113 DbStatement(DbHandle db, sqlite3_stmt* stmt) : db_(db), stmt_(stmt) { in DbStatement() argument
305 DbStatement stmt = DbStatement::Prepare(db, sql, std::forward<Args>(args)...); in Insert() local
307 if (!stmt.Step(SQLITE_DONE)) { in Insert()
331 DbStatement stmt = DbStatement::Prepare(db, sql, std::forward<Args>(args)...); in ExecuteOnce() local
333 if (!stmt.Step(SQLITE_DONE)) { in ExecuteOnce()
341 static bool SelectOnce(DbStatement& stmt, Args&... args) { in SelectOnce() argument
342 int rc = stmt.Step(); in SelectOnce()
[all …]
/system/libbase/include/android-base/
Dresult.h214 #define CHECK_RESULT_OK(stmt) \ argument
216 const auto& tmp = (stmt); \
220 #define ASSERT_RESULT_OK(stmt) \ argument
222 const auto& tmp = (stmt); \
226 #define EXPECT_RESULT_OK(stmt) \ argument
228 auto tmp = (stmt); \
/system/security/keystore2/src/
Ddatabase.rs130 let mut stmt = tx in load_from_db() localVariable
140 stmt.query(params![key_id]).context("In KeyMetaData::load_from_db: query failed.")?; in load_from_db()
156 let mut stmt = tx in store_in_db() localVariable
165 stmt.insert(params![key_id, tag, entry,]).with_context(|| { in store_in_db()
205 let mut stmt = tx in load_from_db() localVariable
215 stmt.query(params![blob_id]).context("In BlobMetaData::load_from_db: query failed.")?; in load_from_db()
231 let mut stmt = tx in store_in_db() localVariable
240 stmt.insert(params![blob_id, tag, entry,]).with_context(|| { in store_in_db()
1150 let mut stmt = tx in handle_next_superseded_blobs() localVariable
1165 let rows = stmt in handle_next_superseded_blobs()
[all …]
Dkey_parameter.rs1389 let mut stmt = in query_from_keyparameter() localVariable
1391 let mut rows = stmt.query(NO_PARAMS)?; in query_from_keyparameter()
/system/security/keystore2/legacykeystore/
Dlib.rs106 let mut stmt = tx in list() localVariable
110 let aliases = stmt in list()
/system/keymaster/km_openssl/
Dattestation_record.cpp32 #define ASSERT_OR_RETURN_ERROR(stmt, error) \ argument
34 assert(stmt); \
35 if (!(stmt)) { \
/system/apex/
Dpylintrc286 single-line-if-stmt=yes
/system/tools/mkbootimg/
Dpylintrc280 single-line-if-stmt=yes
/system/update_engine/
Dpylintrc217 single-line-if-stmt=no