/external/freetype/src/otvalid/ |
otvcommn.c | 35 /***** COVERAGE TABLE *****/ 41 otv_Coverage_validate( FT_Bytes table, 45 FT_Bytes p = table; 123 /* Generally, a coverage table offset has an associated count field. */ 124 /* The number of glyphs in the table should match this field. If */ 134 otv_Coverage_get_first( FT_Bytes table ) 136 FT_Bytes p = table; 146 otv_Coverage_get_last( FT_Bytes table ) 148 FT_Bytes p = table; 175 otv_Coverage_get_count( FT_Bytes table ) [all...] |
otvgpos.c | 5 /* OpenType GPOS table validation (body). */ 35 otv_Anchor_validate( FT_Bytes table, 39 otv_MarkArray_validate( FT_Bytes table, 59 otv_x_sxy( FT_Bytes table, 62 FT_Bytes p = table; 90 otv_Anchor_validate( table + anchor_offset, otvalid ); 93 otv_Anchor_validate( table + anchor_offset, otvalid ); 107 otv_u_O_O_u_O_O( FT_Bytes table, 110 FT_Bytes p = table; 127 otv_Coverage_validate( table + Coverage1, otvalid, -1 ) [all...] |
/frameworks/base/tools/aapt2/optimize/ |
ResourceDeduper_test.cpp | 37 std::unique_ptr<ResourceTable> table = local 53 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); 54 EXPECT_THAT(table, Not(HasValue("android:string/dedupe", ldrtl_config))); 55 EXPECT_THAT(table, Not(HasValue("android:string/dedupe", land_config))); 57 EXPECT_THAT(table, HasValue("android:string/dedupe2", ldrtl_v21_config)); 58 EXPECT_THAT(table, Not(HasValue("android:string/dedupe2", ldrtl_config))); 60 EXPECT_THAT(table, HasValue("android:string/dedupe3", default_config)); 61 EXPECT_THAT(table, HasValue("android:string/dedupe3", en_config)); 62 EXPECT_THAT(table, Not(HasValue("android:string/dedupe3", en_v21_config))); 73 std::unique_ptr<ResourceTable> table local 93 std::unique_ptr<ResourceTable> table = local [all...] |
/external/e2fsprogs/lib/ss/ |
invocation.c | 31 register ss_data **table; local 34 table = _ss_table; 37 if (table == (ss_data **) NULL) { 38 table = (ss_data **) malloc(2 * size); 39 table[0] = table[1] = (ss_data *)NULL; 43 for (sci_idx = 1; table[sci_idx] != (ss_data *)NULL; sci_idx++) 45 table = (ss_data **) realloc((char *)table, 47 if (table == NULL) [all...] |
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
LinearPartition.java | 58 int[][] table = buildPartitionTable(seq, k); local 64 for (int i = table[n - 1][k] + 1; i < n + 1; i++) { 69 n = table[n - 1][k]; 85 * Internal helper to build the partition table of the linear distribution used for splitting. 89 float[][] table = new float[n][k]; local 93 table[i][0] = seq.get(i).getRuntimeHint() + ((i > 0) ? (table[i - 1][0]) : 0); 97 table[0][j] = seq.get(0).getRuntimeHint(); 102 table[i][j] = Integer.MAX_VALUE; 104 float cost = Math.max(table[x][j - 1], table[i][0] - table[x][0]) [all...] |
/art/runtime/ |
type_lookup_table_test.cc | 34 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); 35 ASSERT_NE(nullptr, table.get()); 36 ASSERT_NE(nullptr, table->RawData()); 37 ASSERT_EQ(32U, table->RawDataLength()); 43 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); 44 ASSERT_NE(nullptr, table.get()); 48 uint32_t class_def_idx = table->Lookup(descriptor, hash);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
TreeBasedTable_CustomFieldSerializer.java | 29 public static void deserialize(SerializationStreamReader reader, TreeBasedTable<?, ?, ?> table) { 41 TreeBasedTable<Object, Object, Object> table = local 43 return Table_CustomFieldSerializerBase.populate(reader, table); 46 public static void serialize(SerializationStreamWriter writer, TreeBasedTable<?, ?, ?> table) 48 writer.writeObject(table.rowComparator()); 49 writer.writeObject(table.columnComparator()); 50 Table_CustomFieldSerializerBase.serialize(writer, table);
|
HashBasedTable_CustomFieldSerializer.java | 27 public static void deserialize(SerializationStreamReader reader, HashBasedTable<?, ?, ?> table) { 35 public static void serialize(SerializationStreamWriter writer, HashBasedTable<?, ?, ?> table) 37 Table_CustomFieldSerializerBase.serialize(writer, table);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
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 assertThat(table.rowKeySet()).has().exactly("foo", "bar").inOrder(); 58 table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); 59 assertThat(table.row("foo").keySet()).has().exactly(2, 3).inOrder();
|
TablesTransformValuesTest.java | 40 @Override protected Table<String, Integer, Character> create( 42 Table<String, Integer, String> table = HashBasedTable.create(); local 47 table.put((String) data[i], (Integer) data[i + 1], value); 49 return Tables.transformValues(table, FIRST_CHARACTER); 52 // Null support depends on the underlying table and function. 59 table.put("foo", 1, 'a'); 66 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); 67 Table<String, Integer, Character> other = HashBasedTable.create(); 72 table.putAll(other) [all...] |
/external/v8/src/js/ |
collection.js | 29 function HashToEntry(table, hash, numBuckets) { 31 return ORDERED_HASH_TABLE_BUCKET_AT(table, bucket); 36 function SetFindEntry(table, numBuckets, key, hash) { 37 var entry = HashToEntry(table, hash, numBuckets); 39 var candidate = ORDERED_HASH_SET_KEY_AT(table, entry, numBuckets); 46 entry = ORDERED_HASH_SET_CHAIN_AT(table, entry, numBuckets); 48 candidate = ORDERED_HASH_SET_KEY_AT(table, entry, numBuckets); 56 function MapFindEntry(table, numBuckets, key, hash) { 57 var entry = HashToEntry(table, hash, numBuckets); 59 var candidate = ORDERED_HASH_MAP_KEY_AT(table, entry, numBuckets) [all...] |
/external/brotli/c/dec/ |
huffman.c | 78 /* Stores code in table[0], table[step], table[2*step], ..., table[end] */ 80 static BROTLI_INLINE void ReplicateValue(HuffmanCode* table, 85 table[end] = code; 89 /* Returns the table width of the next 2nd level table. count is the histogram 104 void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* table, 107 HuffmanCode code; /* current table entry * 176 HuffmanCode* table; \/* next available space in table *\/ local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
TablesTransformValuesTest.java | 39 @Override protected Table<String, Integer, Character> create( 41 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. 56 table.put("foo", 1, 'a'); 63 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); 64 Table<String, Integer, Character> other = HashBasedTable.create(); 69 table.putAll(other) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TrieBuilder.java | 25 * have the same value. However, lookup is much faster than a hash table. 136 * index table lookups. 187 protected TrieBuilder(TrieBuilder table) 190 m_indexLength_ = table.m_indexLength_; 191 System.arraycopy(table.m_index_, 0, m_index_, 0, m_indexLength_); 192 m_dataCapacity_ = table.m_dataCapacity_; 193 m_dataLength_ = table.m_dataLength_; 194 m_map_ = new int[table.m_map_.length]; 195 System.arraycopy(table.m_map_, 0, m_map_, 0, m_map_.length); 196 m_isLatin1Linear_ = table.m_isLatin1Linear_ [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TrieBuilder.java | 24 * have the same value. However, lookup is much faster than a hash table. 134 * index table lookups. 185 protected TrieBuilder(TrieBuilder table) 188 m_indexLength_ = table.m_indexLength_; 189 System.arraycopy(table.m_index_, 0, m_index_, 0, m_indexLength_); 190 m_dataCapacity_ = table.m_dataCapacity_; 191 m_dataLength_ = table.m_dataLength_; 192 m_map_ = new int[table.m_map_.length]; 193 System.arraycopy(table.m_map_, 0, m_map_, 0, m_map_.length); 194 m_isLatin1Linear_ = table.m_isLatin1Linear_ [all...] |
/external/toolchain-utils/crb/ |
autotest_gatherer.py | 12 table = self.GetTableValues() 13 ret += self.GetTableLabels(table) 14 ret += self.GetFormattedTable(table, 21 table = self.GetTableValues() 22 summary_table = self.GetSummaryTableValues(table) 44 table = [] 53 table.append(row) 65 table.append(row) 67 return table
|
/frameworks/base/libs/androidfw/tests/ |
AppAsLib_test.cpp | 34 ResTable table; local 35 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 38 ssize_t block = table.getResource(app::R::integer::number1, &val); 51 ResTable table; local 53 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size(), NULL, 0, -1, 57 ssize_t block = table.getResource(lib::R::integer::number1, &val); 70 ResTable table; local 72 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size(), NULL, 0, -1, 76 ssize_t block = table.getResource(lib::R::integer::number1, &val);
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
FakeSettingsProvider.java | 65 * 3. Calling ContentResolver#notifyChange(getUriFor(table, arg), ...) on every settings change. 81 private Uri getUriFor(String table, String key) { 82 switch (table) { 90 throw new UnsupportedOperationException("Unknown settings table " + table); 107 String table = commands[1]; local 113 value = mTables.get(table).get(arg); 117 table, arg, value)); 126 table, arg, value)); 129 mTables.get(table).put(arg, value) [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
CheckBoxPanelDisplay.java | 10 private FlexTable table = new FlexTable(); field in class:CheckBoxPanelDisplay 14 initWidget(table); 22 table.setWidget(row, col, checkbox);
|
/external/selinux/libsepol/tests/ |
test-expander-attr-map.c | 93 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5")); 94 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_1_t")); 95 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_2_t")); 96 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8")); 97 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_1_t")); 98 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_2_t")); 99 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4")); 100 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_1_t")); 101 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_2_t")); 102 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_7")) [all...] |
/frameworks/base/libs/hwui/ |
GammaFontRenderer.h | 39 const uint8_t* table = nullptr; local 41 table = &mGammaTable[0]; 43 mRenderer.reset(new FontRenderer(table));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DatabaseModifier.java | 35 public abstract long insert(String table, String nullColumnHack, ContentValues values); 42 * Use this method to update a table which you would otherwise do using the 45 public abstract int update(Uri uri, String table, ContentValues values, 48 * Use this method to delete entries from a table which you would otherwise do using the 51 public abstract int delete(String table, String whereClause, String[] whereArgs);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mach-o/ |
dysymtab-3.d | 11 ( )+table of content: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 12 ( )+module table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 13 ( )+external reference table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 14 ( )+indirect symbol table: off: 0x00000170 num: 4( )+\(endoff: 0x00000180\) 15 ( )+external relocation table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\) 16 ( )+local relocation table: off: 0x00000000 num: 0( )+\(endoff: 0x00000000\)
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-m68hc11/ |
bug-1403.s | 8 ldx #table 14 .globl table 15 table: .long 0 label
|
/external/autotest/frontend/client/src/autotest/common/table/ |
DataTable.java | 1 package autotest.common.table; 24 * A table to display data from JSONObjects. Each row displays data from one 30 * <li>.data-table - the entire table 40 // use CLICKABLE_WIDGET_COLUMN for widget that expect to receive clicks. The table will ignore 50 protected RightClickTable table; field in class:DataTable 59 // keep a list of JSONObjects corresponding to rows in the table 80 table = new RightClickTable(); 81 initWidget(table); 83 table.setCellSpacing(0) [all...] |