/external/guava/guava-tests/test/com/google/common/collect/ |
TablesTest.java | 28 * Tests for {@link Tables}. 38 = Tables.immutableCell("foo", 1, 'a'); 44 = Tables.immutableCell("foo", 1, 'a'); 48 = Tables.immutableCell(null, null, null); 54 = Tables.immutableCell("foo", 1, 'a'); 57 .addEqualityGroup(entry, Tables.immutableCell("foo", 1, 'a')) 58 .addEqualityGroup(Tables.immutableCell("bar", 1, 'a')) 59 .addEqualityGroup(Tables.immutableCell("foo", 2, 'a')) 60 .addEqualityGroup(Tables.immutableCell("foo", 1, 'b')) 61 .addEqualityGroup(Tables.immutableCell(null, null, null) [all...] |
TransposedTableTest.java | 22 * Test cases for {@link Tables#transpose}. 32 Table<String, Integer, Character> table = Tables.transpose(original); 40 assertSame(original, Tables.transpose(Tables.transpose(original))); 45 Table<String, Integer, Character> transpose = Tables.transpose(original); 52 Table<String, Integer, Character> transpose = Tables.transpose(original); 59 Table<String, Integer, Character> transpose = Tables.transpose(original);
|
TableCollectionTest.java | 222 return Tables.unmodifiableTable(table).rowKeySet(); 233 return Tables.unmodifiableRowSortedTable(table).rowKeySet(); 294 return Tables.unmodifiableTable(table).columnKeySet(); 306 return Tables.unmodifiableRowSortedTable(table).columnKeySet(); 380 return Tables.transformValues(table, removeFirstCharacter).values(); 394 return Tables.unmodifiableTable(table).values(); 408 return Tables.unmodifiableRowSortedTable(table).values(); 419 Tables.immutableCell("bar", 1, 'a'), 420 Tables.immutableCell("bar", 2, 'b'), 421 Tables.immutableCell("bar", 3, (Character) null) [all...] |
RegularImmutableTableTest.java | 31 Tables.immutableCell('a', 1, "foo"), 32 Tables.immutableCell('b', 1, "bar"), 33 Tables.immutableCell('a', 2, "baz")); 98 Tables.immutableCell('a', 1, "blah"), 99 Tables.immutableCell('b', 2, "blah"), 100 Tables.immutableCell('c', 3, "blah"))) instanceof
|
NewCustomTableTest.java | 28 * Test cases for {@link Tables#newCustomTable}. 47 = Tables.newCustomTable(backingMap, factory);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsDatabaseHelper.java | 97 * Provides handy methods for maintaining package and mime-type lookup tables. 123 public interface Tables { 151 // This list of tables contains auto-incremented sequences. 181 + " JOIN " + Tables.ACCOUNTS + " ON (" 187 public static final String RAW_CONTACTS_JOIN_SETTINGS_DATA_GROUPS = Tables.RAW_CONTACTS 188 + " JOIN " + Tables.ACCOUNTS + " ON (" 191 + "LEFT OUTER JOIN " + Tables.SETTINGS + " ON (" 211 + " FROM " + Tables.ACCOUNTS 222 Tables.CONTACTS 223 + " INNER JOIN " + Tables.RAW_CONTACT [all...] |
DataRowHandlerForGroupMembership.java | 32 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 45 String TABLE = Tables.RAW_CONTACTS; 59 "SELECT COUNT(*) FROM " + Tables.DATA + " LEFT OUTER JOIN " + Tables .GROUPS 60 + " ON " + Tables.DATA + "." + GroupMembership.GROUP_ROW_ID 63 + " AND " + Tables.DATA + "." + GroupMembership.RAW_CONTACT_ID + "=?" 107 if (db.update(Tables.RAW_CONTACTS, rawContactValues, SELECTION_RAW_CONTACT_ID, 231 Cursor c = db.query(Tables.GROUPS, Projections.ID, 242 long groupId = db.insert(Tables.GROUPS, null, groupValues);
|
LegacyApiSupport.java | 66 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 122 " JOIN " + Tables.ACCOUNTS + " ON (" 146 " LEFT OUTER JOIN " + Tables.PRESENCE + 147 " ON (" + Tables.PRESENCE + "." + StatusUpdates.DATA_ID + "=" + 149 " FROM " + Tables.PRESENCE + 181 + " THEN (CASE WHEN " + Tables.DATA + "." + Im.PROTOCOL + "=" + Im.PROTOCOL_CUSTOM 182 + " THEN 'custom:'||" + Tables.DATA + "." + Im.CUSTOM_PROTOCOL 183 + " ELSE 'pre:'||" + Tables.DATA + "." + Im.PROTOCOL 185 + " ELSE " + Tables.DATA + "." + Email.DATA 198 "UPDATE " + Tables.CONTACTS [all...] |
DataRowHandlerForOrganization.java | 26 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 74 " FROM " + Tables.DATA + 85 " FROM " + Tables.DATA +
|
DataRowHandler.java | 33 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 42 public static final String TABLE = Tables.DATA_JOIN_MIMETYPES; 111 final long dataId = db.insert(Tables.DATA, null, values); 158 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1); 205 final Cursor c = mDbHelper.getReadableDatabase().query(Tables.DATA, 253 int count = db.delete(Tables.DATA, Data._ID + "=?", mSelectionArgs1); 255 db.delete(Tables.PRESENCE, PresenceColumns.RAW_CONTACT_ID + "=?", mSelectionArgs1); 324 final Cursor cursor = db.query(Tables.DATA, null, Data._ID + "=?",
|
ContactsProvider2.java | 139 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 253 "UPDATE " + Tables.CONTACTS + " SET " + Contacts.TIMES_CONTACTED + "=" + 258 "UPDATE " + Tables.RAW_CONTACTS + " SET " + RawContacts.TIMES_CONTACTED + "=" + 426 = new String[]{Tables.GROUPS + "." + Groups._ID}; 434 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?"; 439 + "JOIN " + Tables.ACCOUNTS + " ON (" 462 String TABLE = Tables.RAW_CONTACTS_JOIN_ACCOUNTS; 485 + " FROM " + Tables.RAW_CONTACTS 488 + " FROM " + Tables.DATA_JOIN_MIMETYPES 491 + "(SELECT " + Tables.GROUPS + "." + Groups._I 6219 String tables = Views.GROUPS + " AS " + Tables.GROUPS; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
ContactsTableUtil.java | 20 import static com.android.providers.contacts.ContactsDatabaseHelper.Tables; 44 final String table = Tables.CONTACTS; 62 db.update(Tables.CONTACTS, values, Contacts._ID + " = ?", 93 final String sql = "UPDATE " + Tables.CONTACTS 98 + " FROM " + Tables.RAW_CONTACTS 114 return db.delete(Tables.CONTACTS, Contacts._ID + " = ?", new String[]{contactId + ""}); 125 + " from " + Tables.RAW_CONTACTS 128 + " from " + Tables.RAW_CONTACTS
|
DeletedContactsTableUtil.java | 32 * Create deleted_contacts tables and indexes. 38 db.execSQL("CREATE TABLE " + ContactsDatabaseHelper.Tables.DELETED_CONTACTS + " (" + 45 ContactsDatabaseHelper.Tables.DELETED_CONTACTS, 62 return db.insertWithOnConflict(ContactsDatabaseHelper.Tables.DELETED_CONTACTS, null, values, 78 return db.delete(ContactsDatabaseHelper.Tables.DELETED_CONTACTS,
|
/external/llvm/utils/TableGen/ |
DisassemblerEmitter.cpp | 31 /// The emitter produces the tables that the disassembler uses to translate 32 /// instructions. The emitter generates the following tables: 41 /// returned.) This allows considerable space savings in other tables. 42 /// - Six tables (ONEBYTE_SYM, TWOBYTE_SYM, THREEBYTE38_SYM, THREEBYTE3A_SYM, 52 /// occupy the same space in the decode tables. These conflicts are resolved as 56 /// (that is, the attributes specified for it in the LLVM tables specify 73 /// (2) to fix the tables (X86.td and its subsidiaries) so the opcodes are 75 /// (3) to fix the tables to reflect the actual context (for example, required 83 /// X86DisassemblerTables.h contains the interface for the instruction tables, 86 /// tables [all...] |
X86DisassemblerTables.h | 1 //===- X86DisassemblerTables.h - Disassembler tables ------------*- C++ -*-===// 11 // It contains the interface of the disassembler tables. 29 /// DisassemblerTables - Encapsulates all the decode tables being generated by 30 /// the table emitter. Contains functions to populate the tables as well as 35 /// The decoder tables. There is one for each opcode type: 42 ContextDecision* Tables[6]; 54 /// of the instruction as listed in the LLVM tables. 79 /// nnnn is the number of a table for looking up these values. The tables 80 /// are written separately so that tables consisting entirely of zeros will 115 /// stream and indent level for the UID tables generated b [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 141 public interface Tables { 164 // This needs to be done when all the tables are already created 166 "DELETE FROM " + Tables.INSTANCES + 169 "DELETE FROM " + Tables.EVENTS_RAW_TIMES + 172 "DELETE FROM " + Tables.ATTENDEES + 175 "DELETE FROM " + Tables.REMINDERS + 178 "DELETE FROM " + Tables.CALENDAR_ALERTS + 181 "DELETE FROM " + Tables.EXTENDED_PROPERTIES + 188 "UPDATE " + Tables.EVENTS + 195 " ON " + Tables.EVENTS [all...] |
CalendarAlarmManager.java | 19 import com.android.providers.calendar.CalendarDatabaseHelper.Tables; 68 + Tables.CALENDAR_ALERTS + " AS ca" 69 + " LEFT OUTER JOIN " + Tables.INSTANCES 72 + " LEFT OUTER JOIN " + Tables.REMINDERS + " AS r ON" 77 + " WHERE " + Tables.INSTANCES + "." + Instances.BEGIN + " ISNULL" 333 + " AS myAlarmTime" + "," + Tables.INSTANCES + "." + Instances.EVENT_ID 336 + Reminders.MINUTES + " FROM " + Tables.INSTANCES + " INNER JOIN " + Views.EVENTS 337 + " ON (" + Views.EVENTS + "." + Events._ID + "=" + Tables.INSTANCES + "." 338 + Instances.EVENT_ID + ")" + " INNER JOIN " + Tables.REMINDERS + " ON (" 339 + Tables.INSTANCES + "." + Instances.EVENT_ID + "=" + Tables.REMINDERS + ". [all...] |
CalendarProvider2.java | 65 import com.android.providers.calendar.CalendarDatabaseHelper.Tables; 144 // many tables have _id and event_id; pick a representative version to use as our generic 196 Tables.EVENTS_RAW_TIMES + ", " + 197 Tables.EVENTS + 199 CalendarContract.EventsRawTimes.EVENT_ID + " = " + Tables.EVENTS + "." + Events._ID; 202 Tables.EVENTS + " SET " + 208 " FROM " + Tables.EVENTS + 215 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE 225 Tables.EVENTS + "." + Events._ID + "=" + Tables.ATTENDEES + "." + Attendees.EVENT_I [all...] |
CalendarInstancesHelper.java | 24 import com.android.providers.calendar.CalendarDatabaseHelper.Tables; 82 "(SELECT " + Tables.INSTANCES + "." + Instances._ID + " as _id" + 83 " FROM " + Tables.INSTANCES + 84 " INNER JOIN " + Tables.EVENTS + 86 Tables.EVENTS + "." + Events._ID + "=" + Tables.INSTANCES + "." + Instances.EVENT_ID + 88 " WHERE " + Tables.EVENTS + "." + Events._ID + "=? OR " + 89 Tables.EVENTS + "." + Events.ORIGINAL_ID + "=?)"; 98 "(SELECT " + Tables.INSTANCES + "." + Instances._ID + " as _id" + 99 " FROM " + Tables.INSTANCES [all...] |
/packages/apps/Dialer/src/com/android/dialer/database/ |
DialerDatabaseHelper.java | 87 public interface Tables { 208 Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.LAST_TIME_USED + ")"; 225 Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.STARRED + " DESC, " 226 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.IS_SUPER_PRIMARY + " DESC, " 228 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.TIMES_USED + " DESC, " 229 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.IN_VISIBLE_GROUP + " DESC, " 230 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.DISPLAY_NAME_PRIMARY + ", " 231 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.CONTACT_ID + ", " 232 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.IS_PRIMARY + " DESC"; 346 * Creates tables in the database when database is created for the first time [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ContactAggregator.java | 55 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 104 "UPDATE " + Tables.CONTACTS + 107 " FROM " + Tables.STATUS_UPDATES + 108 " JOIN " + Tables.DATA + 111 " JOIN " + Tables.RAW_CONTACTS + 281 "INSERT OR REPLACE INTO " + Tables.AGGREGATED_PRESENCE + "(" 288 + " FROM " + Tables.PRESENCE 295 + " FROM " + Tables.PRESENCE 304 " FROM " + Tables.RAW_CONTACTS + 309 "DELETE FROM " + Tables.AGGREGATED_PRESENCE 2078 String tables = Tables.RAW_CONTACTS local [all...] |
ProfileAggregator.java | 25 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 81 " FROM " + Tables.CONTACTS +
|
/external/libvorbis/doc/ |
10-tables.tex | 4 \section{Tables} \label{vorbis:spec:tables}
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
CommonNicknameCache.java | 23 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 48 public final static String TABLE = Tables.NICKNAME_LOOKUP; 123 String TABLE = Tables.NICKNAME_LOOKUP;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoStoreTest.java | 27 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 142 Cursor c = mDb.query(Tables.PHOTO_FILES, 163 Cursor c = mDb.query(Tables.PHOTO_FILES, 187 Cursor c = mDb.query(Tables.PHOTO_FILES, new String[]{PhotoFiles._ID}, 233 Cursor c = mDb.query(Tables.PHOTO_FILES, new String[]{PhotoFiles._ID},
|