Home
last modified time | relevance | path

Searched refs:table2 (Results 1 – 25 of 37) sorted by relevance

12

/external/fonttools/Tests/merge/
Dmerge_test.py94 self.table2 = ttLib.newTable('gasp')
95 self.table2.version = 1
96 self.table2.gaspRange = {
104 result = self.result.merge(self.merger, [self.table1, self.table2])
107 result = self.result.merge(self.merger, [self.table2, self.table1])
108 self.assertEqual(result, self.table2)
122 self.table2 = ttLib.newTable('cmap')
142 table2 = self.table2
151 table2.tables = [self.makeSubtable(4,3,1, cmap2), self.makeSubtable(12,3,10, cmap2Extended)]
154 mergedTable.merge(self.merger, [table1, table2])
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DForwardingTableTest.java46 Table<Integer, Integer, String> table2 = ImmutableTable.of(2, 2, "two"); in testEquals() local
49 .addEqualityGroup(table2, wrap(table2)) in testEquals()
DHashBasedTableTest.java59 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0); in testCreateWithValidSizes() local
60 table2.put("foo", 1, 'a'); in testCreateWithValidSizes()
61 assertEquals((Character) 'a', table2.get("foo", 1)); in testCreateWithValidSizes()
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingTableTest.java46 Table<Integer, Integer, String> table2 = ImmutableTable.of(2, 2, "two"); in testEquals() local
49 .addEqualityGroup(table2, wrap(table2)) in testEquals()
DHashBasedTableTest.java59 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0); in testCreateWithValidSizes() local
60 table2.put("foo", 1, 'a'); in testCreateWithValidSizes()
61 assertEquals((Character) 'a', table2.get("foo", 1)); in testCreateWithValidSizes()
/external/fonttools/Tests/ttLib/tables/
D_m_o_r_x_test.py1000 table2 = newTable('morx')
1002 table2.fromXML(name, attrs, content, font=self.font)
1003 self.assertEqual(hexStr(table2.compile(self.font)), hexStr(data))
1047 table2 = newTable('morx')
1049 table2.fromXML(name, attrs, content, font=self.font)
1050 self.assertEqual(hexStr(table2.compile(self.font)[28:31]), "8abcde")
/external/ltp/testscripts/
Dltpdmmapper.sh68 echo "0 100000 linear " $part1 "0" > ltp-dev-mapper-table2
75 dmsetup create dm-test-2 ltp-dev-mapper-table2
128 dmsetup create dm-test-2 ltp-dev-mapper-table2
147 echo "0 200000 linear " $part1 "0" > ltp-dev-mapper-table2
154 dmsetup reload dm-test-2-new ltp-dev-mapper-table2
/external/skia/bench/
DImageFilterCollapse.cpp79 table2[i] = i * i / 255; in onDelayedSetup()
87 SkColorFilters::Table(table2), in onDelayedSetup()
95 uint8_t table1[256], table2[256], table3[256]; member in TableCollapseBench
/external/skia/gm/
Dgraphitestart.cpp148 uint8_t table2[256], table3[256]; in draw_colorfilter_swatches() local
151 table2[i] = i; in draw_colorfilter_swatches()
154 table2[i] = 0; in draw_colorfilter_swatches()
178 SkColorFilters::TableARGB(nullptr, table2, in draw_colorfilter_swatches()
179 table2, table2)); in draw_colorfilter_swatches()
Dtablecolorfilter.cpp112 uint8_t table2[256]; make_table2(table2); in make_cf3() local
113 return SkColorFilters::TableARGB(nullptr, table0, table1, table2); in make_cf3()
/external/mesa3d/src/mesa/main/
Dhash.c366 struct _mesa_HashTable *table2 = (struct _mesa_HashTable *) table; in _mesa_HashWalk() local
368 _mesa_HashLockMutex(table2); in _mesa_HashWalk()
370 _mesa_HashUnlockMutex(table2); in _mesa_HashWalk()
/external/flatbuffers/tests/
Dluatest.lua50 local table2 = mon:Test()
51 assert(getmetatable(table2) == "flatbuffers.view.mt")
54 mon2:Init(table2.bytes, table2.pos)
/external/skia/tests/
DDataRefTest.cpp43 sk_sp<SkDataTable> table2(SkDataTable::MakeCopyArray(nullptr, 0, 0)); in test_emptytable() local
48 test_datatable_is_empty(reporter, table2.get()); in test_emptytable()
52 test_is_equal(reporter, table0.get(), table2.get()); in test_emptytable()
/external/zstd/programs/
Dutil.c529 UTIL_mergeFileNamesTable(FileNamesTable* table1, FileNamesTable* table2) in UTIL_mergeFileNamesTable() argument
539 newTotalTableSize = getTotalTableSize(table1) + getTotalTableSize(table2); in UTIL_mergeFileNamesTable()
545 newTable->tableSize = table1->tableSize + table2->tableSize; in UTIL_mergeFileNamesTable()
559 …for( idx2=0 ; (idx2 < table2->tableSize) && table2->fileNames[idx2] && (pos < newTotalTableSize) ;… in UTIL_mergeFileNamesTable()
560 size_t const curLen = strlen(table2->fileNames[idx2]); in UTIL_mergeFileNamesTable()
561 memcpy(buf+pos, table2->fileNames[idx2], curLen); in UTIL_mergeFileNamesTable()
570 UTIL_freeFileNamesTable(table2); in UTIL_mergeFileNamesTable()
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dlookup_ops_test.py191 table2 = self.getHashTable()(
201 self.initialize_table(table2)
204 self.assertAllEqual(3, self.evaluate(table2.size()))
209 output2 = table2.lookup(input_string)
670 table2 = self.getHashTable()(
673 self.assertEqual("hash_table_1", table2.name)
675 table2.resource_handle.op.name)
855 table2 = self.getHashTable()(
869 output2 = table2.lookup(input_string)
921 table2 = self.getHashTable()(
[all …]
/external/flatbuffers/tests/rust_usage_test/bin/
Dflatbuffers_alloc_check.rs153 let table2 = m.test().unwrap(); in main() localVariable
154 let m2 = my_game::example::Monster::init_from_table(table2); in main()
/external/AFLplusplus/dictionaries/
Drst.dict18 table2="+==+""
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf_saved_model_freeze_assets.mlir63 "tf_saved_model.asset"() {filename = "assets/table2.txt", sym_name = "w"} : () -> ()
72 …// CHECK-DAG: [[CST_1:%.+]] = "tf.Const"() {value = dense<"assets/table2.txt"> : tensor<1x!tf_type…
/external/clang/test/Analysis/
Dmalloc-sizeof.c43 int (*table2)[2] = malloc(sizeof nestedTable); in mallocArraySize() local
/external/cronet/net/third_party/quiche/src/quiche/quic/core/qpack/
Dqpack_header_table_test.cc69 TypeParam table2; in TYPED_TEST() local
70 table2.SetMaximumDynamicTableCapacity(500); in TYPED_TEST()
71 EXPECT_EQ(15u, table2.max_entries()); in TYPED_TEST()
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs158 let table2 = m.test().unwrap(); in traverse_serialized_example_with_generated_code() localVariable
159 let monster2 = my_game::example::Monster::init_from_table(table2); in traverse_serialized_example_with_generated_code()
/external/fonttools/Tests/varLib/
Dmerger_test.py33 table2 = table.__class__()
34 table2.decompile(reader, ttFont)
36 return table2
/external/guava/guava/src/com/google/common/collect/
DTableCollectors.java129 (table1, table2) -> { in toTable()
130 for (Table.Cell<R, C, V> cell2 : table2.cellSet()) { in toTable()
/external/freetype/src/sfnt/
Dsfwoff.c76 WOFF_Table table2 = *(WOFF_Table*)b; in compare_offsets() local
79 FT_ULong offset2 = table2->Offset; in compare_offsets()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DGenerateComparison.java386 TablePrinter table2 = new TablePrinter() in main() local
394 table2.addRow() in main()
400 out.println(table2); in main()

12