/external/chromium_org/net/spdy/ |
hpack_huffman_table.cc | 21 // How many bits to index in the root decode table. 126 const DecodeTable table = decode_tables_[table_index]; local 129 uint32 index = (it->code << table.prefix_length); 130 index = index >> (32 - table.indexed_length); 132 CHECK_LT(index, table.size()); 133 DecodeEntry entry = Entry(table, index); 135 uint8 total_indexed = table.prefix_length + table.indexed_length; 141 SetEntry(table, index, entry); 146 // First visit to this placeholder. We need to create a new table 161 const DecodeTable& table = decode_tables_[i]; local 188 DecodeTable table; local 280 const DecodeTable* table = &decode_tables_[0]; local [all...] |
/external/chromium_org/third_party/ots/src/ |
os2.cc | 15 Buffer table(data, length); 20 if (!table.ReadU16(&os2->version) || 21 !table.ReadS16(&os2->avg_char_width) || 22 !table.ReadU16(&os2->weight_class) || 23 !table.ReadU16(&os2->width_class) || 24 !table.ReadU16(&os2->type) || 25 !table.ReadS16(&os2->subscript_x_size) || 26 !table.ReadS16(&os2->subscript_y_size) || 27 !table.ReadS16(&os2->subscript_x_offset) || 28 !table.ReadS16(&os2->subscript_y_offset) | [all...] |
head.cc | 15 Buffer table(data, length); 19 if (!table.ReadU32(&version) || 20 !table.ReadU32(&file->head->revision)) { 29 if (!table.Skip(4)) { 34 if (!table.ReadTag(&magic) || 39 if (!table.ReadU16(&file->head->flags)) { 46 if (!table.ReadU16(&file->head->ppem)) { 65 if (!table.ReadR64(&file->head->created) || 66 !table.ReadR64(&file->head->modified)) { 70 if (!table.ReadS16(&file->head->xmin) | [all...] |
metrics.cc | 16 bool ParseMetricsHeader(OpenTypeFile *file, Buffer *table, 18 if (!table->ReadS16(&header->ascent) || 19 !table->ReadS16(&header->descent) || 20 !table->ReadS16(&header->linegap) || 21 !table->ReadU16(&header->adv_width_max) || 22 !table->ReadS16(&header->min_sb1) || 23 !table->ReadS16(&header->min_sb2) || 24 !table->ReadS16(&header->max_extent) || 25 !table->ReadS16(&header->caret_slope_rise) || 26 !table->ReadS16(&header->caret_slope_run) | [all...] |
hhea.cc | 16 Buffer table(data, length); 20 if (!table.ReadU32(&hhea->header.version)) { 27 if (!ParseMetricsHeader(file, &table, &hhea->header)) {
|
/external/chromium_org/v8/test/cctest/ |
test-dictionary.cc | 45 static void TestHashMap(Handle<HashMap> table) { 51 table = HashMap::Put(table, a, b); 52 CHECK_EQ(table->NumberOfElements(), 1); 53 CHECK_EQ(table->Lookup(a), *b); 55 CHECK_EQ(table->Lookup(b), CcTest::heap()->the_hole_value()); 59 CHECK_EQ(table->NumberOfElements(), 1); 60 CHECK_EQ(table->Lookup(a), *b); 61 CHECK_EQ(table->Lookup(b), CcTest::heap()->the_hole_value()); 64 table = HashMap::Put(table, a, factory->NewJSArray(13)) 141 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 100); local 154 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 100); local [all...] |
/system/core/fastbootd/other/ |
gptedit.c | 65 void printGPT(struct GPT_entry_table *table); 66 void addGPT(struct GPT_entry_table *table, const char *arg, const char *guid, const char *tguid); 67 void deleteGPT(struct GPT_entry_table *table, const char *name); 68 void configPrintGPT(struct GPT_entry_table *table); 152 struct GPT_entry_table *table = GPT_get_device(path, gpt_location); local 153 if (table == NULL) { 154 fprintf(stderr, "unable to get GPT table from %s\n", path); 159 addGPT(table, new_partition, partition_guid, type_guid); 161 deleteGPT(table, old_partition); 163 printGPT(table); [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_mock.py | 115 table = mock.MockTable({'Key': 'Value'}) 116 self.assertEqual('Value', table.get('KEY')) 117 self.assertEqual('Value', table['key']) 120 table = mock.MockTable([('Key', 'Value')]) 121 self.assertEqual('Value', table.get('KEY')) 122 self.assertEqual('Value', table['key']) 125 table = mock.MockTable((('Key', 'Value'),)) 126 self.assertEqual('Value', table.get('KEY')) 127 self.assertEqual('Value', table['key']) 130 table = mock.MockTable( [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
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 ASSERT.that(table.rowKeySet()).hasContentsInOrder("foo", "bar"); 58 table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c'); 59 ASSERT.that(table.row("foo").keySet()).hasContentsInOrder(2, 3);
|
TablesTransformValuesTest.java | 40 @Override protected Table<String, Integer, Character> create( 42 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. 58 table.put("foo", 1, 'a'); 65 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); 66 Table<String, Integer, Character> other = HashBasedTable.create(); 71 table.putAll(other) [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatchPeeker.cpp | 40 SkImageDecoder::PrefConfigTable table; local 41 table.fPrefFor_8Index_NoAlpha_src = SkBitmap::kIndex8_Config; 42 table.fPrefFor_8Index_YesAlpha_src = SkBitmap::kIndex8_Config; 43 table.fPrefFor_8Gray_src = SkBitmap::kARGB_8888_Config; 44 table.fPrefFor_8bpc_NoAlpha_src = SkBitmap::kARGB_8888_Config; 45 table.fPrefFor_8bpc_YesAlpha_src = SkBitmap::kARGB_8888_Config; 47 mHost->setPrefConfigTable(table);
|
/external/stlport/src/ |
time_facets.cpp | 65 // _Init_time_info: initialize table with 69 static void _Init_timeinfo_base(_Time_Info_Base& table) { 70 table._M_time_format = "%H:%M:%S"; 71 table._M_date_format = "%m/%d/%y"; 72 table._M_date_time_format = "%m/%d/%y"; 75 static void _Init_timeinfo(_Time_Info& table) { 78 table._M_dayname[i] = default_dayname[i]; 80 table._M_monthname[i] = default_monthname[i]; 81 table._M_am_pm[0] = "AM"; 82 table._M_am_pm[1] = "PM" 149 const string& format, const _TimeInfo& table, const tm* t) { variable 216 const _TimeInfo& table, const tm* t) { variable [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
time_facets.cpp | 65 // _Init_time_info: initialize table with 69 static void _Init_timeinfo_base(_Time_Info_Base& table) { 70 table._M_time_format = "%H:%M:%S"; 71 table._M_date_format = "%m/%d/%y"; 72 table._M_date_time_format = "%m/%d/%y"; 75 static void _Init_timeinfo(_Time_Info& table) { 78 table._M_dayname[i] = default_dayname[i]; 80 table._M_monthname[i] = default_monthname[i]; 81 table._M_am_pm[0] = "AM"; 82 table._M_am_pm[1] = "PM" 149 const string& format, const _TimeInfo& table, const tm* t) { variable 216 const _TimeInfo& table, const tm* t) { variable [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_cnt.h | 16 * This module maintains a contraction table structure in expanded form 63 uprv_cnttab_clone(CntTable *table, UErrorCode *status); 65 uprv_cnttab_close(CntTable *table); 67 /* construct the table for output */ 69 uprv_cnttab_constructTable(CntTable *table, uint32_t mainOffset, UErrorCode *status); 70 /* adds more contractions in table. If element is non existant, it creates on. Returns element handle */ 72 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 73 /* sets a part of contraction sequence in table. If element is non existant, it creates on. Returns element handle */ 75 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status); 76 /* inserts a part of contraction sequence in table. Sequences behind the offset are moved back. If element is non existant, it creates on. Returns el (…) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_linkage.h | 57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, 61 memset(table, 0xff, table_size); 64 table[layout[i]] = first_slot_value + i;
|
/external/libsepol/tests/ |
test-expander-attr-map.c | 93 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5")); 94 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_1_t")); 95 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_5_2_t")); 96 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8")); 97 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_1_t")); 98 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_base_optional_disabled_8_2_t")); 99 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4")); 100 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_1_t")); 101 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_4_2_t")); 102 CU_ASSERT(!hashtab_search((&base_expanded2)->p_types.table, "attr_check_mod_optional_disabled_7")) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_linkage.h | 57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, 61 memset(table, 0xff, table_size); 64 table[layout[i]] = first_slot_value + i;
|
/frameworks/rs/cpu_ref/linkloader/include/ |
ELFSectionHeaderTable.h | 33 std::vector<ELFSectionHeaderTy *> table; member in class:ELFSectionHeaderTable 47 return table[i]; 51 return table[i];
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/ |
braille_table.js | 6 * @fileoverview Holds information about a braille table. 21 cvox.BrailleTable.Table; 32 * @param {function(!Array.<cvox.BrailleTable.Table>)} callback 45 callback(/** @type {!Array.<cvox.BrailleTable.Table>} */ ( 55 * Finds a table in a list of tables by id. 56 * @param {!Array.<cvox.BrailleTable.Table>} tables tables to search in. 57 * @param {string} id id of table to find. 58 * @return {cvox.BrailleTable.Table} 61 return tables.filter(function(table) { return table.id === id })[0] || null [all...] |
/external/chromium_org/build/android/pylib/ |
device_settings.py | 22 desired_settings: A dict of {table: {key: value}} for all 41 for table, key_value in sorted(desired_settings.iteritems()): 42 settings = content_settings.ContentSettings(table, device) 45 logging.info('\n%s %s', table, (80 - len(table)) * '-')
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-fasta.js | 36 function makeCumulative(table) { 38 for (var c in table) { 39 if (last) table[c] += table[last]; 60 function fastaRandom(n, table) { 62 makeCumulative(table); 67 for (var c in table) { 68 if (r < table[c]) {
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-fasta.js | 36 function makeCumulative(table) { 38 for (var c in table) { 39 if (last) table[c] += table[last]; 60 function fastaRandom(n, table) { 62 makeCumulative(table); 67 for (var c in table) { 68 if (r < table[c]) {
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
string-fasta.js | 36 function makeCumulative(table) { 38 for (var c in table) { 39 if (last) table[c] += table[last]; 60 function fastaRandom(n, table) { 62 makeCumulative(table); 67 for (var c in table) { 68 if (r < table[c]) {
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttpost.c | 5 /* Postcript name table processing for TrueType and OpenType fonts */ 21 /* The post table is not completely loaded by the core engine. This */ 62 /* table of Mac names. Thus, it is possible to build a version of */ 173 /* UNDOCUMENTED! The number of glyphs in this table can be smaller */ 174 /* than the value in the maxp table (cf. cyberbit.ttf). */ 177 /* in this table, so the test for this threshold has been dropped. */ 200 /* compute number of names stored in table */ 239 FT_TRACE6(( "load_format_20: %d byte left in post table\n", 251 " truncating at end of post table (%d byte left)\n", 266 " all entries in post table are already parsed, 279 TT_Post_20 table = &face->postscript_names.names.format_20; local 356 TT_Post_25 table = &face->postscript_names.names.format_25; local 428 TT_Post_20 table = &names->names.format_20; local 443 TT_Post_25 table = &names->names.format_25; local 516 TT_Post_20 table = &names->names.format_20; local 539 TT_Post_25 table = &names->names.format_25; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
colortab.h | 41 const GLvoid *table ); 46 const GLvoid *table ); 56 const GLvoid *table ) 64 const GLvoid *table )
|