/external/qemu/ |
qbool.c | 32 QBool *qb; local 34 qb = qemu_malloc(sizeof(*qb)); 35 qb->value = value; 36 QOBJECT_INIT(qb, &qbool_type); 38 return qb; 44 int qbool_get_int(const QBool *qb) 46 return qb->value;
|
qbool.h | 26 int qbool_get_int(const QBool *qb);
|
/external/srec/portable/src/ |
pmalloc.c | 297 _Cell *q, **qb; local 301 if ((qb = _Aldata._Plast) == 0) 303 for (qb = &_Aldata._Head; *qb != 0; 304 qb = &(*qb)->_Next) 305 if (size <= (*qb)->_Size) 306 return (qb); 310 for (; *qb != 0; qb = &(*qb)->_Next 342 _Cell *q, **qb; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 1610 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local [all...] |
SocialProvider.java | 326 final SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 332 qb.setTables(Tables.ACTIVITIES_JOIN_PACKAGES_MIMETYPES_RAW_CONTACTS_CONTACTS); 333 qb.setProjectionMap(sActivitiesContactsProjectionMap); 340 qb.setTables(Tables.ACTIVITIES_JOIN_PACKAGES_MIMETYPES_RAW_CONTACTS_CONTACTS); 341 qb.setProjectionMap(sActivitiesContactsProjectionMap); 342 qb.appendWhere(Activities._ID + "=" + activityId); 348 qb.setTables(Tables.ACTIVITIES_JOIN_PACKAGES_MIMETYPES_RAW_CONTACTS_CONTACTS); 349 qb.setProjectionMap(sActivitiesContactsProjectionMap); 350 qb.appendWhere(Activities.AUTHOR_CONTACT_ID + "=" + contactId); 356 qb.setTables(Tables.ACTIVITIES_JOIN_PACKAGES_MIMETYPES_RAW_CONTACTS_CONTACTS) [all...] |
VoicemailStatusTable.java | 86 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 87 qb.setTables(mTableName); 88 qb.setProjectionMap(sStatusProjectionMap); 89 qb.setStrict(true); 93 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder);
|
CallLogProvider.java | 126 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 127 qb.setTables(Tables.CALLS); 128 qb.setProjectionMap(sCallsProjectionMap); 129 qb.setStrict(true); 147 qb.appendWhere("PHONE_NUMBERS_EQUAL(number, "); 148 qb.appendWhereEscapeString(phoneNumber); 149 qb.appendWhere(mUseStrictPhoneNumberComparation ? ", 1)" : ", 0)"); 158 Cursor c = qb.query(db, projection, selectionBuilder.build(), selectionArgs, null, null,
|
ContactsProvider2.java | 2940 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 2970 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 4993 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 7007 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 7032 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local [all...] |
VoicemailContentTable.java | 195 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 196 qb.setTables(mTableName); 197 qb.setProjectionMap(mVoicemailProjectionMap); 198 qb.setStrict(true); 203 Cursor c = qb.query(db, projection, combinedClause, selectionArgs, null, null, sortOrder);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 92 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 98 constructQueryForBox(qb, Sms.MESSAGE_TYPE_ALL); 102 constructQueryForUndelivered(qb); 106 constructQueryForBox(qb, Sms.MESSAGE_TYPE_FAILED); 110 constructQueryForBox(qb, Sms.MESSAGE_TYPE_QUEUED); 114 constructQueryForBox(qb, Sms.MESSAGE_TYPE_INBOX); 118 constructQueryForBox(qb, Sms.MESSAGE_TYPE_SENT); 122 constructQueryForBox(qb, Sms.MESSAGE_TYPE_DRAFT); 126 constructQueryForBox(qb, Sms.MESSAGE_TYPE_OUTBOX); 130 qb.setTables(TABLE_SMS) [all...] |
MmsProvider.java | 69 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 79 constructQueryForBox(qb, Mms.MESSAGE_BOX_ALL); 82 constructQueryForBox(qb, Mms.MESSAGE_BOX_INBOX); 85 constructQueryForBox(qb, Mms.MESSAGE_BOX_SENT); 88 constructQueryForBox(qb, Mms.MESSAGE_BOX_DRAFTS); 91 constructQueryForBox(qb, Mms.MESSAGE_BOX_OUTBOX); 94 qb.setTables(TABLE_PDU); 95 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(0)); 101 qb.setTables(TABLE_PDU); 102 qb.appendWhere(Mms._ID + "=" + uri.getPathSegments().get(1)) [all...] |
/cts/tests/src/android/content/cts/ |
MockContentProvider.java | 180 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 184 qb.setTables("TestTable1"); 185 qb.setProjectionMap(CTSDBTABLE1_LIST_PROJECTION_MAP); 189 qb.setTables("TestTable1"); 190 qb.appendWhere("_id=" + uri.getPathSegments().get(1)); 194 qb.setTables("TestTable2"); 195 qb.setProjectionMap(CTSDBTABLE2_LIST_PROJECTION_MAP); 199 qb.setTables("TestTable2"); 200 qb.appendWhere("_id=" + uri.getPathSegments().get(1)); 215 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 86 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 92 qb.setTables("data"); 95 qb.setTables("data"); 96 qb.appendWhere("_id="); 97 qb.appendWhere(url.getPathSegments().get(1)); 104 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmProvider.java | 55 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 61 qb.setTables("alarms"); 64 qb.setTables("alarms"); 65 qb.appendWhere("_id="); 66 qb.appendWhere(url.getPathSegments().get(1)); 73 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 106 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 110 qb.setTables(USERDICT_TABLE_NAME); 111 qb.setProjectionMap(sDictProjectionMap); 115 qb.setTables(USERDICT_TABLE_NAME); 116 qb.setProjectionMap(sDictProjectionMap); 117 qb.appendWhere("_id" + "=" + uri.getPathSegments().get(1)); 134 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy);
|
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
DrmProvider.java | 142 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 146 qb.setTables("audio"); 150 qb.setTables("audio"); 151 qb.appendWhere("_id=" + uri.getPathSegments().get(1)); 155 qb.setTables("images"); 159 qb.setTables("images"); 160 qb.appendWhere("_id=" + uri.getPathSegments().get(1)); 176 Cursor c = qb.query(db, projectionIn, selection,
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 3733 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 3778 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 304 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 309 qb.setTables(DB_TABLE); 313 qb.setTables(DB_TABLE); 314 qb.appendWhere(BluetoothShare._ID + "="); 315 qb.appendWhere(uri.getPathSegments().get(1)); 319 qb.setTables(DB_TABLE); 320 qb.setProjectionMap(LIVE_FOLDER_PROJECTION_MAP); 321 qb.appendWhere(BluetoothShare.DIRECTION + "=" + BluetoothShare.DIRECTION_INBOUND 374 Cursor ret = qb.query(db, projection, selection, selectionArgs, null, null, sortOrder);
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 379 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 380 qb.setTables(APPLICATIONS_TABLE); 381 qb.setProjectionMap(sSearchSuggestionsProjectionMap); 382 qb.appendWhere("package = ? AND class = ?"); 384 Cursor cursor = qb.query(mDb, projectionIn, null, selectionArgs, null, null, null); 396 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 397 qb.setTables(APPLICATIONS_LOOKUP_JOIN); 398 qb.setProjectionMap(columnMap); 400 qb.appendWhere(buildTokenFilter(query)); 403 qb.appendWhere(LAST_RESUME_TIME + " > 0") [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserUnigramDictionary.java | 210 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); 211 qb.setTables(USER_UNIGRAM_DICT_TABLE_NAME); 212 qb.setProjectionMap(sDictProjectionMap); 216 Cursor c = qb.query(db, null, selection, selectionArgs, null, null,
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 256 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 257 qb.setTables(NotePad.Notes.TABLE_NAME); 265 qb.setProjectionMap(sNotesProjectionMap); 273 qb.setProjectionMap(sNotesProjectionMap); 274 qb.appendWhere( 283 qb.setProjectionMap(sLiveFolderProjectionMap); 309 Cursor c = qb.query(
|
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider2.java | 865 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 1278 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 767 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 787 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 788 qb.setProjectionMap(sEventsProjectionMap); 793 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 794 qb.setProjectionMap(sEventsProjectionMap); 796 qb.appendWhere(SQL_WHERE_ID); 800 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 801 qb.setProjectionMap(sEventEntitiesProjectionMap); 806 qb.setTables(CalendarDatabaseHelper.Views.EVENTS); 807 qb.setProjectionMap(sEventEntitiesProjectionMap) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderThrottle.java | 215 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 216 qb.setTables(MainTable.TABLE_NAME); 221 qb.setProjectionMap(mNotesProjectionMap); 226 qb.setProjectionMap(mNotesProjectionMap); 227 qb.appendWhere(MainTable._ID + "=?"); 243 Cursor c = qb.query(db, projection, selection, selectionArgs,
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderThrottleSupport.java | 216 SQLiteQueryBuilder qb = new SQLiteQueryBuilder(); local 217 qb.setTables(MainTable.TABLE_NAME); 222 qb.setProjectionMap(mNotesProjectionMap); 227 qb.setProjectionMap(mNotesProjectionMap); 228 qb.appendWhere(MainTable._ID + "=?"); 244 Cursor c = qb.query(db, projection, selection, selectionArgs,
|