/ndk/tests/device/test-stlport_shared-exception/jni/ |
new5.cpp | 19 X table; local
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
new5.cpp | 19 X table; local
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
SparseTableTests.java | 58 final SparseTable table = new SparseTable(16, BLOCK_SIZE, 1); local 59 table.set(0, 3, 6); 60 table.set(0, 8, 16); 63 assertEquals(i * 2, table.get(0, i)); 65 assertEquals(SparseTable.NOT_EXIST, table.get(0, i)); 81 final SparseTable table = new SparseTable(DEFAULT_SIZE, BLOCK_SIZE, 1); local 85 table.set(0, i, mRandomIndex.get(i)); 90 Log.d(TAG, "table size = " + table.getLookupTableSize() + " + " 91 + table.getContentTableSize()) 143 final SparseTable table = new SparseTable(DEFAULT_SIZE, BLOCK_SIZE, numOfContents); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/deviceInfo/basic/ |
popup.js | 11 var table = $('<table border="1">'); 12 table.append($("<tr>" + 20 table.append($("<tr>" + 28 return table;
|
/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/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/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
DefaultSignedAttributeTableGenerator.java | 21 private final Hashtable table; field in class:DefaultSignedAttributeTableGenerator 28 table = new Hashtable(); 34 * @param attributeTable initial attribute table to use. 41 table = attributeTable.toHashtable(); 45 table = new Hashtable(); 50 * Create a standard attribute table from the passed in parameters - this will 55 * @param parameters source parameters for table generation. 62 Hashtable std = (Hashtable)table.clone(); 100 * @return the populated attribute table
|
/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 53 for (table = ss_info(sci_idx)->rqt_tables; *table; table++) { 54 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);
|
/external/libexif/libexif/olympus/ |
mnote-olympus-tag.c | 34 } table[] = { variable in typeref:struct:__anon20357 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/chromium_org/v8/test/cctest/ |
test-weakmaps.cc | 48 // Do not use handles for the hash table, it would make entries strong. 50 ObjectHashTable* table = ObjectHashTable::cast(table_obj); local 51 weakmap->set_table(table); 59 Handle<ObjectHashTable> table = ObjectHashTable::Put( local 60 Handle<ObjectHashTable>(ObjectHashTable::cast(weakmap->table())), 63 weakmap->set_table(*table); 103 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); 108 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); 110 0, ObjectHashTable::cast(weakmap->table())->NumberOfDeletedElements()); 126 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()) [all...] |
test-weaksets.cc | 48 // Do not use handles for the hash table, it would make entries strong. 50 ObjectHashTable* table = ObjectHashTable::cast(table_obj); local 51 weakset->set_table(table); 59 Handle<ObjectHashTable> table = ObjectHashTable::Put( local 60 Handle<ObjectHashTable>(ObjectHashTable::cast(weakset->table())), 63 weakset->set_table(*table); 103 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); 108 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); 110 0, ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); 126 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()) [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/icu4c/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/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...] |