/external/chromium/chrome/browser/ui/cocoa/ |
table_row_nsimage_cache.h | 20 // Interface this cache expects for its table model. 21 class Table { 23 // Returns the number of rows in the table. 30 virtual ~Table() {} 34 explicit TableRowNSImageCache(Table* model); 40 // Call these functions every time the table changes, to update the cache. 47 // The table model we query for row count and icons. 48 Table* model_; // weak
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TransposedTableTest.java | 29 @Override protected Table<String, Integer, Character> create( 31 Table<Integer, String, Character> original = HashBasedTable.create(); 32 Table<String, Integer, Character> table = Tables.transpose(original); local 33 table.clear(); 34 populate(table, data); 35 return table; 39 Table<Integer, String, Character> original = HashBasedTable.create(); 44 Table<Integer, String, Character> original = HashBasedTable.create(); 45 Table<String, Integer, Character> transpose = Tables.transpose(original) [all...] |
HashBasedTableTest.java | 32 @Override protected Table<String, Integer, Character> create( 34 Table<String, Integer, Character> table = HashBasedTable.create(); local 35 table.put("foo", 4, 'a'); 36 table.put("cat", 1, 'b'); 37 table.clear(); 38 populate(table, data); 39 return table; 43 Table<String, Integer, Character> table1 = HashBasedTable.create(100, 20); 47 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0) [all...] |
ForwardingTableTest.java | 26 private Table<String, Integer, Boolean> forward; 36 final Table<String, Integer, Boolean> table = local 37 createProxyInstance(Table.class); 39 @Override protected Table<String, Integer, Boolean> delegate() { 40 return table; 112 assertEquals("[putAll(Table)]", getCalls());
|
TableCollectionTest.java | 27 import com.google.common.collect.Table.Cell; 52 * Collection tests for {@link Table} implementations. 117 // Not testing rowKeySet() or columnKeySet() of Table.transformValues() 122 Table<String, Integer, Character> table 125 populateForRowKeySet(table, elements); 126 return table.rowKeySet(); 138 Table<String, Integer, Character> table = HashBasedTable.create(); 139 populateForRowKeySet(table, elements) 676 Table<String, Integer, Character> table = createTable(); local 733 Table<Character, String, Integer> table = makeTable(); local 806 Table<Character, String, Integer> table = HashBasedTable.create(); local 811 Table<Character, String, Integer> table = HashBasedTable.create(); local 826 Table<Character, String, Integer> table = HashBasedTable.create(); local 831 Table<Character, String, Integer> table = HashBasedTable.create(); local 846 RowSortedTable<Character, String, Integer> table = TreeBasedTable.create(); local 851 RowSortedTable<Character, String, Integer> table = TreeBasedTable.create(); local 874 Table<String, Character, Integer> table = makeTable(); local 940 Table<String, Character, Integer> table = HashBasedTable.create(); local 945 Table<String, Character, Integer> table = HashBasedTable.create(); local 960 Table<String, Character, Integer> table = HashBasedTable.create(); local 965 Table<String, Character, Integer> table = HashBasedTable.create(); local 980 RowSortedTable<String, Character, Integer> table = TreeBasedTable.create(); local 985 RowSortedTable<String, Character, Integer> table = TreeBasedTable.create(); local 1058 Table<String, Integer, Character> table = makeTable(); local 1116 TreeBasedTable<String, Integer, Character> table = local 1124 TreeBasedTable<String, Integer, Character> table = makeTable(); local 1144 TreeBasedTable<String, Integer, Character> table = local 1152 TreeBasedTable<String, Integer, Character> table = makeTable(); local 1172 TreeBasedTable<String, Integer, Character> table = local 1181 TreeBasedTable<String, Integer, Character> table = makeTable(); local 1215 Table<String, Integer, String> table = HashBasedTable.create(); local 1235 Table<String, Integer, Character> table = HashBasedTable.create(); local 1255 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); local 1274 Table<Integer, String, Character> table = makeTable(); local 1334 Table<Integer, String, String> table = HashBasedTable.create(); local 1354 Table<Integer, String, Character> table = HashBasedTable.create(); local 1374 RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); local [all...] |
ImmutableTableTest.java | 27 @Override protected Table<String, Integer, Character> create(Object... data) { 44 Table<Character, Integer, String> expectedTable = HashBasedTable.create(); 48 Table<Character, Integer, String> otherTable = HashBasedTable.create(); 97 Table.Cell<Character, Integer, String> mutableCell = 156 private static <R, C, V> void validateTableCopies(Table<R, C, V> original) { 157 Table<R, C, V> copy = ImmutableTable.copyOf(original); 161 Table<R, C, V> built 168 Table<R, C, V> original, Table<R, C, V> copy) { 175 Table<Character, Integer, String> table = TreeBasedTable.create() local 190 Table<Character, Integer, String> table = TreeBasedTable.create(); local 204 Table<Character, Integer, String> table = TreeBasedTable.create(); local 217 Table<Character, Integer, String> table = HashBasedTable.create(); local 247 Table<Character, Integer, String> table = builder.build(); local 269 Table<Character, Integer, String> table = builder.build(); local 291 Table<Character, Integer, String> table = builder.build(); local 308 Table<Character, Integer, String> table = builder.build(); local 326 Table<Character, Integer, String> table = builder.build(); local 343 Table<Character, Integer, String> table = builder.build(); local [all...] |
AbstractTableReadTest.java | 30 * Test cases for {@link Table} read operations. 36 protected Table<String, Integer, Character> table; field in class:AbstractTableReadTest 39 * Creates a table with the specified data. 41 * @param data the table data, repeating the sequence row key, column key, 47 protected abstract Table<String, Integer, Character> 51 assertEquals(expectedSize, table.size()); 56 table = create(); 60 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); 61 assertTrue(table.contains("foo", 1)) [all...] |
TablesTransformValuesTest.java | 40 @Override protected Table<String, Integer, Character> create( 42 Table<String, Integer, String> table = HashBasedTable.create(); local 46 table.put((String) data[i], (Integer) data[i+1], value); 48 return Tables.transformValues(table, FIRST_CHARACTER); 51 // Null support depends on the underlying table and function. 58 table.put("foo", 1, 'a'); 65 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); 66 Table<String, Integer, Character> other = HashBasedTable.create(); 71 table.putAll(other) [all...] |
NewCustomTableTest.java | 35 @Override protected Table<String, Integer, Character> create( 46 Table<String, Integer, Character> table local 48 populate(table, data); 49 return table; 53 table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); 54 ASSERT.that(table.rowKeySet()).hasContentsInOrder("foo", "bar"); 58 table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); 59 ASSERT.that(table.row("foo").keySet()).hasContentsInOrder(2, 3);
|
ArrayTableTest.java | 23 import com.google.common.collect.Table.Cell; 42 ArrayTable<String, Integer, Character> table = local 44 populate(table, data); 45 return table; 49 assertEquals(9, table.size()); 63 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); 64 assertTrue(table.contains("foo", 1)); 65 assertTrue(table.contains("bar", 1)); 66 assertTrue(table.contains("foo", 3)); 67 assertTrue(table.contains("foo", 2)) 283 ArrayTable<String, Integer, Character> table local 289 ArrayTable<String, Integer, Character> table local 301 ArrayTable<String, Integer, Character> table local 325 ArrayTable<String, Integer, Character> table local 353 ArrayTable<String, Integer, Character> table local 380 ArrayTable<String, Integer, Character> table local 394 ArrayTable<String, Integer, Character> table local [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
LVM_Mixer_TimeConstant.c | 70 LVM_UINT32 Table[] = {ALPHA_0, /* Log spaced look-up table */ 132 /* Normalize to get the table index and interpolation factor */ 151 Diff = (LVM_INT32)(Table[Shift] - Table[Shift+1]); 153 Product = Table[Shift+1] + (LVM_UINT32)Diff;
|
/external/clang/lib/Basic/ |
Builtins.cpp | 50 void Builtin::Context::InitializeBuiltins(IdentifierTable &Table, 57 Table.get(BuiltinInfo[i].Name).setBuiltinID(i); 63 Table.get(TSRecords[i].Name).setBuiltinID(i+Builtin::FirstTSBuiltin); 80 void Builtin::Context::ForgetBuiltin(unsigned ID, IdentifierTable &Table) { 81 Table.get(GetRecord(ID).Name).setBuiltinID(0);
|
/external/guava/guava/src/com/google/common/collect/ |
EmptyImmutableTable.java | 56 } else if (obj instanceof Table<?, ?, ?>) { 57 Table<?, ?, ?> that = (Table<?, ?, ?>) obj;
|
RowSortedTable.java | 28 * Interface that extends {@code Table} and whose rows are sorted. 32 * {@link Map} specified by the {@link Table} interface. 39 public interface RowSortedTable<R, C, V> extends Table<R, C, V> { 44 * specified in the {@link Table} interface. 52 * specified in the {@link Table} interface.
|
ImmutableTable.java | 31 * An immutable {@link Table} with reliable user-specified iteration order. 44 public abstract class ImmutableTable<R, C, V> implements Table<R, C, V> { 45 /** Returns an empty immutable table. */ 51 /** Returns an immutable table containing a single cell. */ 58 * Returns an immutable copy of the provided table. 60 * <p>The {@link Table#cellSet()} iteration order of the provided table 61 * determines the iteration ordering of all views in the returned table. Note 62 * that some views of the original table and the copied table may hav [all...] |
ForwardingTable.java | 27 * A table which forwards all its method calls to another table. Subclasses 38 implements Table<R, C, V> { 42 @Override protected abstract Table<R, C, V> delegate(); 105 public void putAll(Table<? extends R, ? extends C, ? extends V> table) { 106 delegate().putAll(table);
|
Tables.java | 28 import com.google.common.collect.Table.Cell; 41 * Provides static methods that involve a {@code Table}. 123 * Creates a transposed view of a given table that flips its row and column 125 * generated table always returns the same value as calling {@code 126 * get(rowKey, columnKey)} on the original table. Updating the original table 127 * changes the contents of the transposed table and vice versa. 129 * <p>The returned table supports update operations as long as the input table 136 public static <R, C, V> Table<C, R, V> transpose(Table<R, C, V> table) [all...] |
Table.java | 31 * column key, with a single value. A table may be sparse, with only a small 41 * underlying table. Updating the table can change the contents of those 42 * collections, and updating the collections will change the table. 44 * <p>All methods that modify the table are optional, and the views returned by 45 * the table may or may not be modifiable. When modification isn't supported, 49 * @param <R> the type of the table row keys 50 * @param <C> the type of the table column keys 56 public interface Table<R, C, V> { 62 * Returns {@code true} if the table contains a mapping with the specifie [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
TablePanel.java | 26 import org.eclipse.swt.widgets.Table; 32 * Base class for panel containing Table that need to support copy-paste-selectAll 44 // record the global listener, to make sure table created after 52 * Sets up the Table of object of the panel to work with the global listener.<br> 60 * Sets up a Table object to notify the global Table Focus listener when it 63 * @param table the Table object. 67 protected final void addTableToFocusListener(final Table table, [all...] |
StackTracePanel.java | 36 import org.eclipse.swt.widgets.Table; 50 private Table mStackTraceTable; 176 public Table createPanel(Composite parent, String prefs_stack_col_class, 180 mStackTraceTable = new Table(parent, SWT.MULTI | SWT.FULL_SELECTION);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Entry.java | 37 public @interface Table {
|
/external/llvm/include/llvm/MC/ |
SubtargetFeature.h | 100 const SubtargetInfoKV *Table, size_t TableSize);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
armVCM4P10_DecodeCoeffsToPair.c | 30 /* 4x4 DeZigZag table */ 49 * [in] nTable Table number (0 to 4) according to the five columns 50 * of Table 9-5 in the H.264 spec 202 int Table = ZerosLeft; 203 if (Table > 6) 205 Table = 7; 207 Run = armUnPackVLC32(ppBitStream, pOffset, armVCM4P10_CAVLCRunBeforeTables[Table-1]);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
WayPointLabelProvider.java | 22 import org.eclipse.swt.widgets.Table; 25 * Label Provider for {@link Table} objects displaying {@link WayPoint} objects.
|
/external/clang/include/clang/Basic/ |
Builtins.h | 73 void InitializeBuiltins(IdentifierTable &Table, const LangOptions& LangOpts); 131 void ForgetBuiltin(unsigned ID, IdentifierTable &Table);
|