| /external/dbus/dbus/ |
| dbus-userdb.c | 121 * @param db the database 128 _dbus_user_database_lookup (DBusUserDatabase *db, 149 info = _dbus_hash_table_lookup_uintptr (db->users, uid); 151 info = _dbus_hash_table_lookup_string (db->users_by_name, _dbus_string_get_const_data (username)); 202 if (!_dbus_hash_table_insert_uintptr (db->users, info->uid, info)) 209 if (!_dbus_hash_table_insert_string (db->users_by_name, 213 _dbus_hash_table_remove_uintptr (db->users, info->uid); 411 DBusUserDatabase *db; local 415 db = _dbus_user_database_get_system (); 416 if (db == NULL 450 DBusUserDatabase *db; local 496 DBusUserDatabase *db; local 533 DBusUserDatabase *db; local [all...] |
| /external/harfbuzz_ng/src/ |
| hb-ot-tag.cc | 788 unsigned int da, db; local [all...] |
| /external/lzma/CPP/7zip/Archive/7z/ |
| 7zExtract.cpp | 89 const CDbEx &db = volume.Database;
local 92 const CDbEx &db = _db;
local 96 CNum folderIndex = db.FileIndexToFolderIndexMap[fileIndex];
118 UInt64 unpackSize = db.GetFolderUnpackSize(folderIndex);
126 CNum startIndex = db.FolderStartFileIndex[folderIndex];
176 const CDbEx &db = volume.Database;
local 178 const CDbEx &db = _db;
local 185 startIndex = db.FolderStartFileIndex[efi.FolderIndex];
187 HRESULT result = folderOutStream->Init(&db,
224 db.ArcInfo.DataStartPosition, [all...] |
| /external/selinux/secilc/ |
| secilc.c | 85 struct cil_db *db = NULL; local 199 cil_db_init(&db); 200 cil_set_disable_dontaudit(db, disable_dontaudit); 201 cil_set_disable_neverallow(db, disable_neverallow); 202 cil_set_preserve_tunables(db, preserve_tunables); 204 rc = cil_set_handle_unknown(db, handle_unknown); 210 cil_set_mls(db, mls); 211 cil_set_target_platform(db, target); 212 cil_set_policy_version(db, policyvers); 237 rc = cil_add_file(db, argv[i], buffer, file_size) [all...] |
| /external/skia/src/core/ |
| SkBlitRow_D16.cpp | 195 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8; local 197 *dst = SkPackRGB16(dr, dg, db);
|
| /external/skia/tools/ |
| skdiff.cpp | 147 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1); local 152 (SkAbs32(db) <= threshold));
|
| /external/wpa_supplicant_8/hs20/server/www/ |
| est.php | 34 $db = new PDO($osu_db); variable 35 if (!$db) { 42 $q = $db->query($sql); 180 if (!$db->exec("UPDATE sessions SET user='$user', cert='$fingerprint', cert_pem='$cert' WHERE rowid=$rowid")) {
|
| /frameworks/base/core/tests/coretests/src/android/app/activity/ |
| LocalProvider.java | 45 private static final String DATABASE_NAME = "local.db"; 53 public void onCreate(SQLiteDatabase db) { 54 db.execSQL("CREATE TABLE data (" + 60 db.execSQL("INSERT INTO data (text, integer) VALUES ('first data', 100);"); 64 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { 68 db.execSQL("DROP TABLE IF EXISTS data"); 69 onCreate(db); 103 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local 104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs, 134 SQLiteDatabase db = mOpenHelper.getWritableDatabase() local [all...] |
| /frameworks/base/core/tests/coretests/src/android/content/ |
| MemoryFileProvider.java | 63 private static final String DATABASE_NAME = "local.db"; 71 public void onCreate(SQLiteDatabase db) { 72 db.execSQL("CREATE TABLE data (" + 82 db.insert("data", null, values); 86 public void onUpgrade(SQLiteDatabase db, int oldVersion, int currentVersion) { 90 db.execSQL("DROP TABLE IF EXISTS data"); 91 onCreate(db); 158 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local 159 return DatabaseUtils.blobFileDescriptorForQuery(db, sql, null);
|
| /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
| DatabaseHelper.java | 77 private static final String DATABASE_NAME = "settings.db"; 111 // The owner gets the unadorned db name; 145 // No need to remove files if db is in memory 162 // No need to backup files if db is in memory 178 private void createSecureTable(SQLiteDatabase db) { 179 db.execSQL("CREATE TABLE secure (" + 184 db.execSQL("CREATE INDEX secureIndex1 ON secure (name);"); 187 private void createGlobalTable(SQLiteDatabase db) { 188 db.execSQL("CREATE TABLE global (" + 193 db.execSQL("CREATE INDEX globalIndex1 ON global (name);") [all...] |
| /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
| TrackerProvider.java | 40 private static final String DB_NAME = "tracking.db"; 56 public void onCreate(SQLiteDatabase db) { 62 db.execSQL(queryBuilder.toString()); 63 db.setVersion(DB_VERSION); 67 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 68 // TODO: reimplement this when dB version changes 72 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); 73 onCreate(db); 87 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local 88 int result = db.delete(TABLE_NAME, selection, selectionArgs) 100 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local 113 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local [all...] |
| /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
| FakeSmsContentProvider.java | 46 null, //db file name - null for in-memory db 48 1); //db version - no-op for tests 52 public void onCreate(SQLiteDatabase db) { 53 db.execSQL("CREATE TABLE raw (" + 69 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 77 SQLiteDatabase db = mDbHelper.getReadableDatabase(); local 78 return db.query(RAW_TABLE_NAME, projection, selection, selectionArgs, null, null, 84 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local 85 long rowId = db.insert(RAW_TABLE_NAME, null, values) 92 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local [all...] |
| /packages/apps/Dialer/tests/src/com/android/dialer/database/ |
| DialerDatabaseHelperTest.java | 57 final SQLiteDatabase db = mTestHelper.getWritableDatabase(); local 58 mTestHelper.removeAllContacts(db);
|
| /packages/apps/Gallery2/jni/filters/ |
| fx.c | 19 __inline__ int interp(unsigned char *src, int p , int *off ,float dr,float dg, float db){ 25 float frb0 = fr00 * (1-db)+fr01*db; 26 float frb1 = fr10 * (1-db)+fr11*db; 79 float db = fb-lut_b; local 80 rgb[RED] = clamp(interp(lutrgb,p ,off,dr,dg,db)); 81 rgb[GREEN] = clamp(interp(lutrgb,p+1,off,dr,dg,db)); 82 rgb[BLUE] = clamp(interp(lutrgb,p+2,off,dr,dg,db));
|
| /packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
| DeleteMessageAction.java | 60 final DatabaseWrapper db = DataModel.get().getDatabase(); local 67 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); 69 // Delete from local DB 70 int count = BugleDatabaseOperations.deleteMessage(db, messageId); 84 // Delete from telephony DB
|
| GetOrCreateConversationAction.java | 93 final DatabaseWrapper db = DataModel.get().getDatabase(); local 106 LogUtil.w(LogUtil.BUGLE_TAG, "Couldn't create a threadId in SMS db for numbers : " + 112 final String conversationId = BugleDatabaseOperations.getOrCreateConversation(db, threadId,
|
| ProcessDownloadedMmsAction.java | 350 final DatabaseWrapper db = DataModel.get().getDatabase(); local 355 toastMessage = BugleDatabaseOperations.readMessageData(db, messageId); 359 db, toastMessage.getParticipantId()); 429 final DatabaseWrapper db = DataModel.get().getDatabase(); local 430 db.beginTransaction(); 435 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, self); 447 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, sender); 455 db, sender.getNormalizedDestination()); 456 conversationId = BugleDatabaseOperations.getOrCreateConversationFromThreadId(db, 476 final MessageData current = BugleDatabaseOperations.readMessageData(db, messageId) [all...] |
| RedownloadMmsAction.java | 77 final DatabaseWrapper db = DataModel.get().getDatabase(); local 79 MessageData message = BugleDatabaseOperations.readMessage(db, messageId); 90 BugleDatabaseOperations.updateMessageRow(db, message.getMessageId(), values);
|
| ResendMessageAction.java | 63 final DatabaseWrapper db = DataModel.get().getDatabase(); local 65 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); 86 BugleDatabaseOperations.updateMessageRow(db, message.getMessageId(), values);
|
| UpdateDestinationBlockedAction.java | 110 final DatabaseWrapper db = DataModel.get().getDatabase(); local 111 BugleDatabaseOperations.updateDestination(db, destination, isBlocked); 114 .getConversationFromOtherParticipantDestination(db, destination);
|
| WriteDraftMessageAction.java | 51 final DatabaseWrapper db = DataModel.get().getDatabase(); local 59 ConversationListItemData.getExistingConversation(db, conversationId); 75 // Drafts are only kept in the local DB... 77 db, conversationId, message, BugleDatabaseOperations.UPDATE_MODE_ADD_DRAFT);
|
| /packages/apps/TV/src/com/android/tv/dvr/provider/ |
| DvrDatabaseHelper.java | 41 private static final String DB_NAME = "dvr.db"; 63 public void onConfigure(SQLiteDatabase db) { 64 db.setForeignKeyConstraintsEnabled(true); 68 public void onCreate(SQLiteDatabase db) { 70 db.execSQL(SQL_CREATE_RECORDINGS); 74 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 76 db.execSQL(SQL_DROP_RECORDINGS); 77 onCreate(db); 84 SQLiteDatabase db = getReadableDatabase(); local 87 return builder.query(db, projections, null, null, null, null, null) 98 SQLiteDatabase db = getReadableDatabase(); local 116 SQLiteDatabase db = getWritableDatabase(); local 139 SQLiteDatabase db = getWritableDatabase(); local [all...] |
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| ProfileProvider.java | 100 SQLiteDatabase db = getDatabaseHelper().getWritableDatabase(); local 101 transaction.startTransactionForDb(db, ContactsProvider2.PROFILE_DB_TAG, this);
|
| VoicemailStatusTable.java | 74 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local 77 int rowsChanged = getDatabaseModifier(db) 81 Cursor c = db.query(mTableName, selection, combinedClause, null, null, null, null); 89 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); 101 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local 103 return getDatabaseModifier(db).delete(mTableName, combinedClause, 118 SQLiteDatabase db = mDbHelper.getReadableDatabase(); local 120 .query(db, projection, combinedClause, selectionArgs, null, null, sortOrder); 132 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local 134 return getDatabaseModifier(db) [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/ |
| test_db.py | 4 from test_all import db, test_support, get_new_environment_path, \ 9 class DB(unittest.TestCase): 12 self.db = db.DB() 15 self.db.close() 16 del self.db 19 class DB_general(DB) : 21 self.db.open(self.path, dbtype=db.DB_HASH, flags = db.DB_CREATE 5 get_new_database_path namespace [all...] |