/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/ |
mkstringprep.py | 62 m = re.match("----- (Start|End) Table ([A-Z](.[0-9])+) -----", l)
68 table = {}
variable 69 tables.append((curname, table))
78 # Now we are in a table
96 table[i] = i
103 # table B.1
105 table[int(code, 16)] = value
121 # A.1 is the table of unassigned characters
123 name, table = tables[0]
126 table = set(table.keys()) variable 149 table = sorted(table.keys()) variable 325 table = set(table.keys()) variable 354 table = sorted(table.keys()) variable 367 table = sorted(table.keys()) variable 380 table = sorted(table.keys()) variable 393 table = sorted(table.keys()) variable [all...] |
/external/flatbuffers/python/flatbuffers/ |
__init__.py | 16 from .table import Table
|
/external/icu/icu4c/source/samples/layout/ |
FontTableCache.h | 31 virtual void freeFontTable(const void *table) const; 35 void add(LETag tableTag, const void *table);
|
/external/icu/icu4c/source/test/letest/ |
FontTableCache.h | 31 virtual void freeFontTable(const void *table) const; 35 void add(LETag tableTag, const void *table, size_t length);
|
/external/icu/icu4c/source/test/perf/leperf/ |
FontTableCache.h | 33 virtual void freeFontTable(const void *table) const; 37 void add(LETag tableTag, const void *table, size_t length);
|
/external/libpng/contrib/tools/ |
intgamma.sh | 17 # (0..255) value and a similar table for the exponent calculation. 49 # The logarithm table. 51 /* 8-bit log table: png_8bit_l2[128] 52 * This is a table of -log(value/255)/log(2) for 'value' in the range 128 to 68 # The exponent table. 100 # And the table of adjustment values. 102 /* Adjustment table; provided to explain the numbers in the code below. */
|
/frameworks/base/tools/aapt2/ |
Debug.h | 34 static void PrintTable(ResourceTable* table, 36 static void PrintStyleGraph(ResourceTable* table,
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/ |
ext_inst.h | 31 #include "table.h" 37 // instruction table. On success, returns SPV_SUCCESS and writes a handle of 39 spv_result_t spvExtInstTableNameLookup(const spv_ext_inst_table table, 45 // instruction table by value. On success, returns SPV_SUCCESS and writes a 47 spv_result_t spvExtInstTableValueLookup(const spv_ext_inst_table table,
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
Table_CustomFieldSerializerBase.java | 25 * This class contains static utility methods for writing {@link Table} GWT field serializers. 34 SerializationStreamReader reader, T table) throws SerializationException { 37 table.row(row.getKey()).putAll((Map<?, ?>) row.getValue()); 39 return table; 42 static void serialize(SerializationStreamWriter writer, StandardTable<?, ?, ?> table) 49 writer.writeObject(table.backingMap);
|
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);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoTableDream.java | 22 * Example interactive screen saver: flick photos onto a table. 39 PhotoTable table = (PhotoTable) findViewById(R.id.table); local 40 if (table != null) { 41 table.setDream(this); 51 setContentView(R.layout.table);
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 72 struct eloop_sock *table; member in struct:eloop_sock_table 80 int count; /* sum of all table counts */ 126 static void eloop_trace_sock_add_ref(struct eloop_sock_table *table) 129 if (table == NULL || table->table == NULL) 131 for (i = 0; i < table->count; i++) { 132 wpa_trace_add_ref(&table->table[i], eloop, 133 table->table[i].eloop_data) 610 struct eloop_sock *table; local 632 struct eloop_sock *table; local 744 struct eloop_sock_table *table; local 755 struct eloop_sock_table *table; local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
TableCollectionTest.java | 25 import com.google.common.collect.Table.Cell; 53 * Collection tests for {@link Table} implementations. 118 // Not testing rowKeySet() or columnKeySet() of Table.transformValues() 123 Table<String, Integer, Character> table 126 populateForRowKeySet(table, elements); 127 return table.rowKeySet(); 139 Table<String, Integer, Character> table = HashBasedTable.create(); 140 populateForRowKeySet(table, elements) 619 Table<String, Integer, Character> table = createTable(); local 676 Table<Character, String, Integer> table = makeTable(); local 749 Table<Character, String, Integer> table = HashBasedTable.create(); local 754 Table<Character, String, Integer> table = HashBasedTable.create(); local 769 Table<Character, String, Integer> table = HashBasedTable.create(); local 774 Table<Character, String, Integer> table = HashBasedTable.create(); local 789 RowSortedTable<Character, String, Integer> table = TreeBasedTable.create(); local 794 RowSortedTable<Character, String, Integer> table = TreeBasedTable.create(); local 817 Table<String, Character, Integer> table = makeTable(); local 883 Table<String, Character, Integer> table = HashBasedTable.create(); local 888 Table<String, Character, Integer> table = HashBasedTable.create(); local 903 Table<String, Character, Integer> table = HashBasedTable.create(); local 908 Table<String, Character, Integer> table = HashBasedTable.create(); local 923 RowSortedTable<String, Character, Integer> table = TreeBasedTable.create(); local 928 RowSortedTable<String, Character, Integer> table = TreeBasedTable.create(); local 1001 Table<String, Integer, Character> table = makeTable(); local 1059 TreeBasedTable<String, Integer, Character> table = local 1067 TreeBasedTable<String, Integer, Character> table = makeTable(); local 1087 TreeBasedTable<String, Integer, Character> table = local 1095 TreeBasedTable<String, Integer, Character> table = makeTable(); local 1115 TreeBasedTable<String, Integer, Character> table = local 1124 TreeBasedTable<String, Integer, Character> table = makeTable(); local 1158 Table<String, Integer, String> table = HashBasedTable.create(); local 1178 Table<String, Integer, Character> table = HashBasedTable.create(); local 1198 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); local 1217 Table<Integer, String, Character> table = makeTable(); local 1277 Table<Integer, String, String> table = HashBasedTable.create(); local 1297 Table<Integer, String, Character> table = HashBasedTable.create(); local 1317 RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); local [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 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...] |
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
Database.java | 41 for (final Table table : getTables()) { 42 db.execSQL(table.createTableSql()); 59 protected abstract List<Table> getTables(); 61 public Cursor query(final String table, final String[] projection, final String selection, 64 .query(table, projection, selection, selectionArgs, null /* groupBy */, 68 public long insert(final String table, final ContentValues values) { 69 return mHelper.getWritableDatabase().insert(table, null /* nullColumnHack */, values); 72 public int delete(final String table, final String selection, final String[] selectionArgs) { 73 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs) [all...] |
/cts/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...] |
/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...] |
/art/runtime/ |
type_lookup_table_test.cc | 36 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); 37 ASSERT_NE(nullptr, table.get()); 38 ASSERT_NE(nullptr, table->RawData()); 39 ASSERT_EQ(32U, table->RawDataLength()); 45 std::unique_ptr<TypeLookupTable> table(TypeLookupTable::Create(*dex_file)); 46 ASSERT_NE(nullptr, table.get()); 50 uint32_t class_def_idx = table->Lookup(descriptor, hash);
|
/external/v8/src/js/ |
collection.js | 30 function HashToEntry(table, hash, numBuckets) { 32 return ORDERED_HASH_TABLE_BUCKET_AT(table, bucket); 37 function SetFindEntry(table, numBuckets, key, hash) { 38 var entry = HashToEntry(table, hash, numBuckets); 40 var candidate = ORDERED_HASH_SET_KEY_AT(table, entry, numBuckets); 47 entry = ORDERED_HASH_SET_CHAIN_AT(table, entry, numBuckets); 49 candidate = ORDERED_HASH_SET_KEY_AT(table, entry, numBuckets); 57 function MapFindEntry(table, numBuckets, key, hash) { 58 var entry = HashToEntry(table, hash, numBuckets); 60 var candidate = ORDERED_HASH_MAP_KEY_AT(table, entry, numBuckets) [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);
|