/external/fonttools/Lib/fontTools/ttLib/tables/ |
otBase.py | 27 """Generic base class for TTX table converters. It functions as an 28 adapter between the TTX (ttLib actually) table model and the model 43 self.table = tableClass() 44 self.table.decompile(reader, font) 56 """ Create a top-level OTFWriter for the GPOS/GSUB table. 57 Call the compile method for the the table 58 for each 'converter' record in the table converter list 62 - For Struct/Table/Subtable items, it add first adds new writer to the 65 each writer representing a table, and the writer.items list containing 71 Traverse the flat list of tables again, calling getData each get the data in the table, now tha [all...] |
/external/icu/icu4c/source/tools/icuswap/ |
icuswap.cpp | 352 ToCEntry *table; local 430 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */ 441 /* ToC table does not fit */ 506 * Allocate the ToC table and, if necessary, a temporary buffer for 516 * not only the ToC table but also the data items themselves. 524 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)+length+DEFAULT_PADDING_LENGTH); 525 if(table!=NULL) { 526 outBytes=(uint8_t *)(table+itemCount); 533 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)); 535 if(table==NULL) [all...] |
/hardware/qcom/msm8998/json-c/ |
linkhash.c | 58 These are functions for producing 32-bit hashes for hash table lookup. 215 The best hash table sizes are powers of 2. There is no need to do 219 In which case, the hash table should have hashsize(10) elements. 227 Use for hash table lookup, or anything where one collision in 2^^32 is 439 t->table = (struct lh_entry*)calloc(size, sizeof(struct lh_entry)); 440 if(!t->table) lh_abort("lh_table_new: calloc failed\n"); 444 for(i = 0; i < size; i++) t->table[i].k = LH_EMPTY; 471 free(t->table); 472 t->table = new_t->table; [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
HostListView.java | 5 import autotest.common.table.DynamicTable.DynamicTableListener; 6 import autotest.common.table.SelectionManager; 38 protected HostTable table; field in class:HostListView 46 table = new HostTable(new HostDataSource(), true); 47 hostTableDecorator = new HostTableDecorator(table, HOSTS_PER_PAGE); 50 table.setWidgetFactory(selectionManager); 53 table.setClickable(true); 54 table.addListener(new DynamicTableListener() { 69 table.refresh();
|
/external/freetype/src/sfnt/ |
ttbdf.c | 51 if ( bdf->table ) 52 FT_FRAME_RELEASE( bdf->table ); 75 FT_FRAME_EXTRACT( length, bdf->table ) ) 81 bdf->table_end = bdf->table + length; 84 FT_Byte* p = bdf->table; 101 bdf->strings = bdf->table + strings; 105 p = bdf->table + 8; 132 FT_FRAME_RELEASE( bdf->table ); 163 p = bdf->table + 8;
|
/external/zlib/src/contrib/infback9/ |
inftree9.c | 22 The code lengths are lens[0..codes-1]. The result starts at *table, 26 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table 28 requested root table index bits, and on return it is the actual root 29 table index bits. It will differ if the request is greater than the 32 int inflate_table9(type, lens, codes, table, bits, work) 36 code FAR * FAR *table; 43 unsigned root; /* number of index bits for root table */ 44 unsigned curr; /* number of index bits for current table */ 45 unsigned drop; /* code bits to drop for sub-table */ 47 unsigned used; /* code entries in table used * [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
SymbolTable.h | 41 // Symbol table for parsing. Has these design characteristics: 43 // * Same symbol table can be used to compile many shaders, to preserve 52 // so that symbol table lookups are never ambiguous. This allows 53 // a simpler symbol table structure. 55 // * Pushing and popping of scope, so symbol table will really be a stack 60 // in the symbol table. The parser can substitute constants at parse 64 // are tracked in the intermediate representation, not the symbol table. 136 // to avoid overwriting shared symbol-table information. 313 // even if it finds member variables in the symbol table. 321 // the symbol table behind a container; rather they are visible and point t 816 std::vector<TSymbolTableLevel*> table; member in class:glslang::TSymbolTable [all...] |
/toolchain/binutils/binutils-2.27/zlib/contrib/infback9/ |
inftree9.c | 22 The code lengths are lens[0..codes-1]. The result starts at *table, 26 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table 28 requested root table index bits, and on return it is the actual root 29 table index bits. It will differ if the request is greater than the 32 int inflate_table9(type, lens, codes, table, bits, work) 36 code FAR * FAR *table; 43 unsigned root; /* number of index bits for root table */ 44 unsigned curr; /* number of index bits for current table */ 45 unsigned drop; /* code bits to drop for sub-table */ 47 unsigned used; /* code entries in table used * [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/sym/ |
sym.c | 2 * Simple symbol table manager using coalesced chaining to resolve collisions
17 * 'head' is &(table[hash(itself)]).
18 * The hash table is not resizable at run-time.
22 * a pointer to a symbol table
27 * zzs_init(s1,s2) -- Create hash table with size s1, string table size s2.
28 * zzs_done() -- Free hash and string table created with zzs_init().
29 * zzs_add(key,rec)-- Add 'rec' with key 'key' to the symbol table.
30 * zzs_newadd(key) -- create entry; add using 'key' to the symbol table.
38 * by the symbol table. 123 static Sym **table=NULL; variable [all...] |
/external/freetype/src/gxvalid/ |
gxvmort2.c | 5 /* TrueTypeGX/AAT mort table validation */ 59 gxv_mort_subtable_type2_opttable_load( FT_Bytes table, 63 FT_Bytes p = table; 139 FT_Bytes table, 147 FT_Bytes lat_base = table + optdata->ligActionTable; 148 FT_Bytes p = table + ligActionOffset; 216 FT_Bytes table, 239 gxv_mort_subtable_type2_ligActionOffset_validate( table, offset, 245 gxv_mort_subtable_type2_ligatureTable_validate( FT_Bytes table, 251 FT_Bytes p = table + optdata->ligatureTable [all...] |
/external/icu/icu4c/source/common/ |
ucnvmbcs.h | 58 * (This only works with a utf8Friendly table.) 69 * slightly and optionally adds a table for conversion to MBCS (non-SBCS) 85 * UTF-8 lead byte and middle trail byte. Unlike the older MBCS stage 2 table, 123 * will be able to use the base table and ignore the extension. 125 * The unicodeMask in the static data is part of the base table data structure. 128 * The static data unicodeMask refers only to the base table's properties if 129 * a base table is included. 175 * -- base table name for extension-only table 180 * -- normal base table with optional extensio [all...] |
/external/mesa3d/src/compiler/glsl/ |
glsl_symbol_table.cpp | 107 this->table = _mesa_symbol_table_ctor(); 114 _mesa_symbol_table_dtor(table); 120 _mesa_symbol_table_push_scope(table); 125 _mesa_symbol_table_pop_scope(table); 130 return _mesa_symbol_table_symbol_scope(table, name) == 0; 156 int added = _mesa_symbol_table_add_symbol(table, v->name, entry); 166 return _mesa_symbol_table_add_symbol(table, v->name, entry) == 0; 172 return _mesa_symbol_table_add_symbol(table, name, entry) == 0; 184 _mesa_symbol_table_add_symbol(table, name, entry) == 0; 203 return _mesa_symbol_table_add_symbol(table, f->name, entry) == 0 [all...] |
/external/vulkan-validation-layers/scripts/ |
dispatch_table_helper_generator.py | 67 # Generates dispatch table helper header files for LVL 69 """Generate dispatch table helper header based on XML element attributes""" 161 # Determine if this API should be ignored or added to the instance or device dispatch table 183 # Create a dispatch table from the appropriate list and return it as a string 186 table = '' 189 table += 'static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDispatchTable *table, PFN_vkGetDeviceProcAddr gpa) {\n' 190 table += ' memset(table, 0, sizeof(*table));\n [all...] |
/external/freetype/src/psnames/ |
psmodule.c | 314 /* Build a table that maps Unicode values to glyph indices. */ 317 PS_Unicodes table, 329 /* we first allocate the table */ 330 table->num_maps = 0; 331 table->maps = NULL; 333 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) ) 341 map = table->maps; 381 /* now compress the table a bit */ 382 count = (FT_UInt)( map - table->maps ); 387 FT_FREE( table->maps ) [all...] |
/external/mesa3d/src/util/ |
hash_table.c | 36 * Implements an open-addressing, linear-reprobing hash table. 56 * free to avoid exponential performance degradation as the hash table fills 130 ht->table = rzalloc_array(ht, struct hash_entry, ht->size); 135 if (ht->table == NULL) { 144 * Frees the given hash table. 167 * Deletes all entries of the given hash table without deleting the table 178 for (entry = ht->table; entry != ht->table + ht->size; entry++) { 192 /** Sets the value of the key pointer used for deleted entries in the table 264 struct hash_entry *table, *entry; local [all...] |
/external/fonttools/Lib/fontTools/ |
merge.py | 25 assert allowDefault or clazz != DefaultTable, 'Oops, table class not found.' 100 allKeys = set.union(set(), *(vars(table).keys() for table in lst)) 112 value = mergeLogic(getattr(table, key, NotImplemented) for table in lst) 334 for i,table in enumerate(tables): 335 for g in table.glyphs.values(): 343 g.expand(table) 353 cmapTables = [(t,fontIdx) for fontIdx,table in enumerate(tables) for t in table.table [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
gencnvex.c | 40 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData); 51 /* toUnicode (state table in ucm->states) */ 126 /* write the header and base table name for an extension-only table */ 140 /* write the header and the base table name */ 291 * the toUnicode table. 293 * for the base toUnicode table but not for the base fromUnicode table. 294 * The table must be sorted. 298 reduceToUMappings(UCMTable *table) { [all...] |
/external/flatbuffers/include/flatbuffers/ |
reflection.h | 63 inline Table *GetAnyRoot(uint8_t *flatbuf) { 64 return GetMutableRoot<Table>(flatbuf); 66 inline const Table *GetAnyRoot(const uint8_t *flatbuf) { 67 return GetRoot<Table>(flatbuf); 83 template<typename T> T GetFieldI(const Table &table, 86 return table.GetField<T>(field.offset(), 91 template<typename T> T GetFieldF(const Table &table, 94 return table.GetField<T>(field.offset() [all...] |
/frameworks/base/tools/aapt2/java/ |
JavaClassGenerator_test.cpp | 35 std::unique_ptr<ResourceTable> table = local 44 util::make_unique<ResourceTableSymbolSource>(table.get())) 47 JavaClassGenerator generator(context.get(), table.get(), {}); 55 std::unique_ptr<ResourceTable> table = local 69 .AddSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 72 JavaClassGenerator generator(context.get(), table.get(), {}); 85 std::unique_ptr<ResourceTable> table = local 94 .AddSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get())) 97 JavaClassGenerator generator(context.get(), table.get(), {}); 111 std::unique_ptr<ResourceTable> table local 136 std::unique_ptr<ResourceTable> table = local 228 std::unique_ptr<ResourceTable> table = local 258 std::unique_ptr<ResourceTable> table = local 298 std::unique_ptr<ResourceTable> table = local 327 std::unique_ptr<ResourceTable> table = local 379 std::unique_ptr<ResourceTable> table = local 411 std::unique_ptr<ResourceTable> table = local [all...] |
/art/libdexfile/dex/ |
bytecode_utils.h | 34 const uint16_t* table = reinterpret_cast<const uint16_t*>(&instruction) + table_offset; local 35 DCHECK_EQ(table[0], sparse_ ? static_cast<uint16_t>(Instruction::kSparseSwitchSignature) 37 num_entries_ = table[1]; 38 values_ = reinterpret_cast<const int32_t*>(&table[2]); 47 // In a sparse table, we have num_entries_ keys and num_entries_ values, in that order. 50 // In a packed table, we have the starting key and num_entries_ values. 67 // Index of the first value in the table. 70 // In a sparse table, we have num_entries_ keys and num_entries_ values, in that order. 73 // In a packed table, we have the starting key and num_entries_ values. 88 // Whether this is a sparse-switch table (or a packed-switch one) [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteFtsTest.java | 104 private void prepareFtsTable(String table, String ftsType, String options) 107 "CREATE VIRTUAL TABLE " + table + " USING " + ftsType 115 mDatabase.insert(table, null, values); 119 private Cursor queryFtsTable(String table, String match) { 120 return mDatabase.query(table, new String[] { "snippet(" + table + ")" },
|
/development/vndk/tools/sourcedr/sourcedr/ |
map.py | 70 table = collections.defaultdict(list) 73 table[key.split(':')[0]] += item[0] 74 return table 77 def link_build_dep_and_review_data(dep, table): 81 res[out] += table[out] 87 res[out] += table[in_file]
|
/external/autotest/frontend/client/src/autotest/public/ |
tkoclient.css | 7 /* necessary to get row headers aligned with table */ 8 table.spreadsheet-parent td { 12 /* allow headers to scroll with table */ 13 table.spreadsheet-headers { 61 .test-attributes .header table {
|
/external/sfntly/cpp/ |
CMakeLists.txt | 47 file(GLOB SFNTLY_TABLE_COMMON_FILES src/sfntly/table/*.h src/sfntly/table/*.cc) 48 file(GLOB SFNTLY_TABLE_BITMAP_FILES src/sfntly/table/bitmap/*.h src/sfntly/table/bitmap/*.cc) 49 file(GLOB SFNTLY_TABLE_CORE_FILES src/sfntly/table/core/*.h src/sfntly/table/core/*.cc) 50 file(GLOB SFNTLY_TABLE_TTF_FILES src/sfntly/table/truetype/*.h src/sfntly/table/truetype/*.cc) 55 source_group(table FILES ${SFNTLY_TABLE_COMMON_FILES}) 56 source_group(table\\bitmap FILES ${SFNTLY_TABLE_BITMAP_FILES} [all...] |
/external/sfntly/cpp/src/sfntly/table/core/ |
horizontal_metrics_table.cc | 17 #include "sfntly/table/core/horizontal_metrics_table.h" 88 : Table(header, data), 108 FontDataTablePtr table = local 110 return table.Detach(); 125 HorizontalMetricsTable* table = local 127 table->num_hmetrics_ = num_hmetrics; 133 HorizontalMetricsTable* table = local 135 table->num_glyphs_ = num_glyphs;
|