/packages/modules/StatsD/statsd/src/utils/ |
D | DbUtils.cpp | 226 static bool getInsertSqlStmt(sqlite3* db, sqlite3_stmt** stmt, const int64_t metricId, in getInsertSqlStmt() argument 246 if (sqlite3_prepare_v2(db, result.c_str(), -1, stmt, nullptr) != SQLITE_OK) { in getInsertSqlStmt() 261 sqlite3_bind_int(*stmt, index, fieldValue.mValue.int_value); in getInsertSqlStmt() 264 sqlite3_bind_int64(*stmt, index, fieldValue.mValue.long_value); in getInsertSqlStmt() 267 sqlite3_bind_text(*stmt, index, fieldValue.mValue.str_value.c_str(), -1, in getInsertSqlStmt() 271 sqlite3_bind_double(*stmt, index, fieldValue.mValue.float_value); in getInsertSqlStmt() 298 sqlite3_stmt* stmt = nullptr; in insert() local 299 if (!getInsertSqlStmt(db, &stmt, metricId, events, error)) { in insert() 301 sqlite3_finalize(stmt); in insert() 304 if (sqlite3_step(stmt) != SQLITE_DONE) { in insert() [all …]
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | StatusOr.h | 91 #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
|
D | Status.h | 113 #define RETURN_IF_NOT_OK_IMPL(tmp, stmt) \ argument 115 ::android::netdutils::Status tmp = (stmt); \ 122 #define RETURN_IF_NOT_OK_CONCAT(line, stmt) RETURN_IF_NOT_OK_IMPL(__CONCAT(_status_, line), stmt) argument 134 #define RETURN_IF_NOT_OK(stmt) RETURN_IF_NOT_OK_CONCAT(__LINE__, stmt) argument
|
/packages/modules/Virtualization/virtualizationservice/src/maintenance/ |
D | vmdb.rs | 237 let mut stmt = self.conn.prepare(&sql).context("failed to prepare DELETE stmt")?; in delete_vm_ids() localVariable 238 let _rows = stmt.execute(params_from_iter(vm_ids)).context("failed to delete VM IDs")?; in delete_vm_ids() 244 let mut stmt = self in vm_ids_for_user() localVariable 248 let rows = stmt.query(params![user_id]).context("query failed")?; in vm_ids_for_user() 254 let mut stmt = self in vm_ids_for_app() localVariable 258 let rows = stmt.query(params![user_id, app_id]).context("query failed")?; in vm_ids_for_app() 278 let mut stmt = self in is_vm_id_for_app() localVariable 285 stmt.query_row(params![vm_id, user_id, app_id], |row| row.get(0)) in is_vm_id_for_app() 292 let mut stmt = self in count_vm_ids_for_app() localVariable 296 stmt.query_row(params![user_id, app_id], |row| row.get(0)).context("query failed") in count_vm_ids_for_app() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/macros/src/ |
D | lib.rs | 121 for stmt in parsed_cptr.stmts { in cb_variant() 122 stmts.extend(quote! { #stmt }); in cb_variant()
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/data/ |
D | MethodData.java | 19 import com.github.javaparser.ast.stmt.Statement;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 2930 public void insertNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, in insertNameLookup() argument 2941 insertNormalizedNameLookup(stmt, rawContactId, dataId, lookupType, normalized); in insertNameLookup() 2944 private void insertNormalizedNameLookup(SQLiteStatement stmt, long rawContactId, long dataId, in insertNormalizedNameLookup() argument 2946 stmt.bindLong(1, rawContactId); in insertNormalizedNameLookup() 2947 stmt.bindLong(2, dataId); in insertNormalizedNameLookup() 2948 stmt.bindLong(3, lookupType); in insertNormalizedNameLookup() 2949 stmt.bindString(4, normalizedName); in insertNormalizedNameLookup() 2950 stmt.executeInsert(); in insertNormalizedNameLookup() 3677 private static void bindString(SQLiteStatement stmt, int index, String value) { in bindString() argument 3679 stmt.bindNull(index); in bindString() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsStatsTest.cpp | 41 #define EXPECT_NO_FAILURE(stmt) \ argument 44 stmt; \
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/ |
D | ParsedDataBuilder.java | 37 import com.github.javaparser.ast.stmt.Statement;
|
/packages/modules/DnsResolver/tests/ |
D | resolv_private_dns_test.cpp | 109 #define EXPECT_NO_FAILURE(stmt) \ argument 112 stmt; \
|