/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebInputEventFactoryTestMac.mm | 96 KeyMappingEntry table[] = 118 for (size_t i = 0; i < arraysize(table); ++i) { 119 NSEvent* macEvent = BuildFakeKeyEvent(table[i].macKeyCode, table[i].character, 0); 121 EXPECT_EQ(table[i].windowsKeyCode, webEvent.windowsKeyCode);
|
/external/chromium_org/third_party/ots/src/ |
post.cc | 15 Buffer table(data, length); 20 if (!table.ReadU32(&post->version) || 21 !table.ReadU32(&post->italic_angle) || 22 !table.ReadS16(&post->underline) || 23 !table.ReadS16(&post->underline_thickness) || 24 !table.ReadU32(&post->is_fixed_pitch)) { 41 // We have a version 2 table with a list of Pascal strings at the end 45 if (!table.Skip(16)) { 50 if (!table.ReadU16(&num_glyphs)) { 62 OTS_WARNING("table version is 1, but no glyf names are found") [all...] |
gasp.cc | 16 Buffer table(data, length); 22 if (!table.ReadU16(&gasp->version) || 23 !table.ReadU16(&num_ranges)) { 44 if (!table.ReadU16(&max_ppem) || 45 !table.ReadU16(&behavior)) {
|
/external/qemu/distrib/zlib-1.2.8/ |
inftrees.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 ZLIB_INTERNAL inflate_table(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...] |
/external/zlib/src/ |
inftrees.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 ZLIB_INTERNAL inflate_table(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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
ApplicationAttributesPart.java | 98 Composite table = getTable(); local 99 if (table == null || managedForm == null) { 104 for (Control c : table.getChildren()) { 129 ui_attr.createUiControl(table, managedForm); 141 createLabel(table, managedForm.getToolkit(), 165 Composite table = getTable(); local 167 if (table != null && table.getEnabled() != exists) { 168 table.setEnabled(exists); 169 for (Control c : table.getChildren()) [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zCrc.c | 15 typedef UInt32 (MY_FAST_CALL *CRC_FUNC)(UInt32 v, const void *data, size_t size, const UInt32 *table); 22 #define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8)) 24 static UInt32 MY_FAST_CALL CrcUpdateT1(UInt32 v, const void *data, size_t size, const UInt32 *table) 34 UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table); 35 UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table);
|
/external/e2fsprogs/lib/ss/ |
list_rqs.c | 31 ss_request_table **table; local 58 for (table = ss_info(sci_idx)->rqt_tables; *table; table++) { 59 entry = (*table)->requests;
|
/external/lzma/C/ |
7zCrc.c | 15 typedef UInt32 (MY_FAST_CALL *CRC_FUNC)(UInt32 v, const void *data, size_t size, const UInt32 *table);
22 #define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
24 static UInt32 MY_FAST_CALL CrcUpdateT1(UInt32 v, const void *data, size_t size, const UInt32 *table)
34 UInt32 MY_FAST_CALL CrcUpdateT4(UInt32 v, const void *data, size_t size, const UInt32 *table);
35 UInt32 MY_FAST_CALL CrcUpdateT8(UInt32 v, const void *data, size_t size, const UInt32 *table);
|
/system/core/fastbootd/commands/ |
partitions.h | 108 void GPT_edit_entry(struct GPT_entry_table *table, 112 int GPT_delete_entry(struct GPT_entry_table *table, struct GPT_entry_raw *entry); 114 void GPT_add_entry(struct GPT_entry_table *table, struct GPT_entry_raw *entry); 116 struct GPT_entry_raw *GPT_get_pointer(struct GPT_entry_table *table, struct GPT_entry_raw *entry); 128 void GPT_default_content(struct GPT_content *content, struct GPT_entry_table *table);
|
/external/libexif/libexif/olympus/ |
mnote-olympus-tag.c | 34 } table[] = { variable in typeref:struct:__anon27485 148 {MNOTE_OLYMPUS_TAG_INTERNALFLASHTABLE, "InternalFlashTable", N_("Internal Flash Table"), ""}, 201 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 202 if (table[i].tag == t) return (table[i].name); 212 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 213 if (table[i].tag == t) return (_(table[i].title)) [all...] |
/frameworks/wilhelm/tests/examples/ |
xaVideoDecoderCapabilities.cpp | 57 // Use a table of [integer, string] entries to map an integer to a string 64 const char *id_to_string(XAuint32 id, const id_to_string_t *table, size_t numEntries) 68 if (id == table[i].id) { 69 return table[i].string; 75 // Use a table of [integer, table] entries to map a pair of integers to a string 83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, 88 if (id1 == table[i].id1) { 89 return id_to_string(id2, table[i].id2_table, table[i].id2_numEntries) 148 static const id_pair_to_string_t table[] = { local 212 static const id_pair_to_string_t table[] = { local [all...] |
/external/chromium_org/third_party/freetype/src/psaux/ |
psobjs.c | 57 /* table :: The address of the target table. */ 60 /* count :: The table size = the maximum number of elements. */ 69 ps_table_new( PS_Table table, 76 table->memory = memory; 77 if ( FT_NEW_ARRAY( table->elements, count ) || 78 FT_NEW_ARRAY( table->lengths, count ) ) 81 table->max_elems = count; 82 table->init = 0xDEADBEEFUL; 83 table->num_elems = 0 [all...] |
/external/freetype/src/psaux/ |
psobjs.c | 57 /* table :: The address of the target table. */ 60 /* count :: The table size = the maximum number of elements. */ 69 ps_table_new( PS_Table table, 76 table->memory = memory; 77 if ( FT_NEW_ARRAY( table->elements, count ) || 78 FT_NEW_ARRAY( table->lengths, count ) ) 81 table->max_elems = count; 82 table->init = 0xDEADBEEFUL; 83 table->num_elems = 0 [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/ |
psobjs.c | 57 /* table :: The address of the target table. */ 60 /* count :: The table size = the maximum number of elements. */ 69 ps_table_new( PS_Table table, 76 table->memory = memory; 77 if ( FT_NEW_ARRAY( table->elements, count ) || 78 FT_NEW_ARRAY( table->lengths, count ) ) 81 table->max_elems = count; 82 table->init = 0xDEADBEEFUL; 83 table->num_elems = 0 [all...] |
/external/chromium_org/v8/test/cctest/ |
test-weakmaps.cc | 49 // Do not leak handles for the hash table, it would make entries strong. 52 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 1); local 53 weakmap->set_table(*table); 61 Handle<ObjectHashTable> table = ObjectHashTable::Put( local 62 Handle<ObjectHashTable>(ObjectHashTable::cast(weakmap->table())), 65 weakmap->set_table(*table); 107 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); 112 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); 114 0, ObjectHashTable::cast(weakmap->table())->NumberOfDeletedElements()); 131 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()) [all...] |
test-weaksets.cc | 49 // Do not leak handles for the hash table, it would make entries strong. 52 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 1); local 53 weakset->set_table(*table); 61 Handle<ObjectHashTable> table = ObjectHashTable::Put( local 62 Handle<ObjectHashTable>(ObjectHashTable::cast(weakset->table())), 65 weakset->set_table(*table); 107 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); 112 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); 114 0, ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); 131 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()) [all...] |
/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/chromium_org/third_party/icu/source/tools/icuswap/ |
icuswap.cpp | 351 ToCEntry *table; local 429 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */ 440 /* ToC table does not fit */ 505 * Allocate the ToC table and, if necessary, a temporary buffer for 515 * not only the ToC table but also the data items themselves. 523 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)+length+DEFAULT_PADDING_LENGTH); 524 if(table!=NULL) { 525 outBytes=(uint8_t *)(table+itemCount); 532 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)); 534 if(table==NULL) [all...] |
/external/icu/icu4c/source/tools/icuswap/ |
icuswap.cpp | 351 ToCEntry *table; local 429 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */ 440 /* ToC table does not fit */ 505 * Allocate the ToC table and, if necessary, a temporary buffer for 515 * not only the ToC table but also the data items themselves. 523 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)+length+DEFAULT_PADDING_LENGTH); 524 if(table!=NULL) { 525 outBytes=(uint8_t *)(table+itemCount); 532 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)); 534 if(table==NULL) [all...] |
/external/chromium_org/ppapi/c/documentation/ |
doxy_cleanup.py | 35 '''Fixes the doxygen table headings. 38 - Using bare <h2> title row instead of row embedded in <tr><td> in table 40 - Splitting up tables into multiple separate tables if a table 41 heading appears in the middle of a table. 44 <table> 48 </table> 52 <table> 54 </table> 67 # Split up tables that have multiple table header (th) rows 70 # Is this a heading in the middle of a table [all...] |
/external/chromium_org/ppapi/cpp/documentation/ |
doxy_cleanup.py | 34 '''Fixes the doxygen table headings. 37 - Using bare <h2> title row instead of row embedded in <tr><td> in table 39 - Splitting up tables into multiple separate tables if a table 40 heading appears in the middle of a table. 43 <table> 47 </table> 51 <table> 53 </table> 66 # Split up tables that have multiple table header (th) rows 69 # Is this a heading in the middle of a table [all...] |
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
huffman.c | 41 /* Stores code in table[0], table[step], table[2*step], ..., table[end] */ 43 static BROTLI_INLINE void ReplicateValue(HuffmanCode* table, 48 table[end] = code; 52 /* Returns the table width of the next 2nd level table. count is the histogram 71 HuffmanCode code; /* current table entry */ 72 HuffmanCode* table; /* next available space in table * local [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttbdf.c | 51 if ( bdf->table != NULL ) 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/chromium_org/third_party/skia/src/opts/ |
SkBitmapProcState_opts_arm.cpp | 32 const uint16_t* SK_RESTRICT table = s.fBitmap->getColorTable()->lock16BitCache(); local 45 uint16_t dstValue = table[src]; 78 "ldrh r4, [%[table], r4] \n\t" // load pixel 0 RGB565 from colmap 80 "ldrh r5, [%[table], r5] \n\t" // load pixel 1 RGB565 from colmap 82 "ldrh r6, [%[table], r6] \n\t" // load pixel 2 RGB565 from colmap 84 "ldrh r7, [%[table], r7] \n\t" // load pixel 3 RGB565 from colmap 86 "ldrh r8, [%[table], r8] \n\t" // load pixel 4 RGB565 from colmap 87 "ldrh r9, [%[table], r9] \n\t" // load pixel 5 RGB565 from colmap 88 "ldrh r10, [%[table], r10] \n\t" // load pixel 6 RGB565 from colmap 89 "ldrh r11, [%[table], r11] \n\t" // load pixel 7 RGB565 from colma 123 const SkPMColor* SK_RESTRICT table = s.fBitmap->getColorTable()->lockColors(); local [all...] |