/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 | 96 * Provides handy methods for maintaining package and mime-type lookup tables. 121 public interface Tables { 149 // This list of tables contains auto-incremented sequences. 179 + " JOIN " + Tables.ACCOUNTS + " ON (" 185 public static final String RAW_CONTACTS_JOIN_SETTINGS_DATA_GROUPS = Tables.RAW_CONTACTS 186 + " JOIN " + Tables.ACCOUNTS + " ON (" 189 + "LEFT OUTER JOIN " + Tables.SETTINGS + " ON (" 209 + " FROM " + Tables.ACCOUNTS 220 Tables.CONTACTS 221 + " 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 | 138 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 249 "UPDATE " + Tables.CONTACTS + " SET " + Contacts.TIMES_CONTACTED + "=" + 254 "UPDATE " + Tables.RAW_CONTACTS + " SET " + RawContacts.TIMES_CONTACTED + "=" + 420 = new String[]{Tables.GROUPS + "." + Groups._ID}; 428 + " FROM " + Tables.RAW_CONTACTS + " WHERE " + RawContacts._ID + "=?"; 433 + "JOIN " + Tables.ACCOUNTS + " ON (" 456 String TABLE = Tables.RAW_CONTACTS_JOIN_ACCOUNTS; 479 + " FROM " + Tables.RAW_CONTACTS 482 + " FROM " + Tables.DATA_JOIN_MIMETYPES 485 + "(SELECT " + Tables.GROUPS + "." + Groups._I 6139 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.cpp | 1 //===- X86DisassemblerTables.cpp - Disassembler tables ----------*- C++ -*-===// 11 // It contains the implementation of the disassembler tables. 284 for (i = 0; i < array_lengthof(Tables); i++) { 285 Tables[i] = new ContextDecision; 286 memset(Tables[i], 0, sizeof(ContextDecision)); 295 for (i = 0; i < array_lengthof(Tables); i++) 296 delete Tables[i]; 614 emitContextDecision(o1, o2, i1, i2, *Tables[0], ONEBYTE_STR); 615 emitContextDecision(o1, o2, i1, i2, *Tables[1], TWOBYTE_STR); 616 emitContextDecision(o1, o2, i1, i2, *Tables[2], THREEBYTE38_STR) [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 | 140 public interface Tables { 163 // This needs to be done when all the tables are already created 165 "DELETE FROM " + Tables.INSTANCES + 168 "DELETE FROM " + Tables.EVENTS_RAW_TIMES + 171 "DELETE FROM " + Tables.ATTENDEES + 174 "DELETE FROM " + Tables.REMINDERS + 177 "DELETE FROM " + Tables.CALENDAR_ALERTS + 180 "DELETE FROM " + Tables.EXTENDED_PROPERTIES + 187 "UPDATE " + Tables.EVENTS + 194 " 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" 327 + " AS myAlarmTime" + "," + Tables.INSTANCES + "." + Instances.EVENT_ID 330 + Reminders.MINUTES + " FROM " + Tables.INSTANCES + " INNER JOIN " + Views.EVENTS 331 + " ON (" + Views.EVENTS + "." + Events._ID + "=" + Tables.INSTANCES + "." 332 + Instances.EVENT_ID + ")" + " INNER JOIN " + Tables.REMINDERS + " ON (" 333 + 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...] |
/external/libvorbis/doc/ |
10-tables.tex | 4 \section{Tables} \label{vorbis:spec:tables}
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ContactAggregator.java | 54 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 103 "UPDATE " + Tables.CONTACTS + 106 " FROM " + Tables.STATUS_UPDATES + 107 " JOIN " + Tables.DATA + 110 " JOIN " + Tables.RAW_CONTACTS + 278 "INSERT OR REPLACE INTO " + Tables.AGGREGATED_PRESENCE + "(" 285 + " FROM " + Tables.PRESENCE 292 + " FROM " + Tables.PRESENCE 301 " FROM " + Tables.RAW_CONTACTS + 306 "DELETE FROM " + Tables.AGGREGATED_PRESENCE 2041 String tables = Tables.RAW_CONTACTS local [all...] |
ProfileAggregator.java | 25 import com.android.providers.contacts.ContactsDatabaseHelper.Tables; 81 " FROM " + Tables.CONTACTS +
|
/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},
|