/external/brotli/c/dec/ |
D | huffman.c | 112 int table_size; /* size of current table */ in BrotliBuildCodeLengthsHuffmanTable() local 141 table_size = 1 << BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH; in BrotliBuildCodeLengthsHuffmanTable() 146 for (key = 0; key < (brotli_reg_t)table_size; ++key) { in BrotliBuildCodeLengthsHuffmanTable() 161 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code); in BrotliBuildCodeLengthsHuffmanTable() 183 int table_size; /* size of current table */ in BrotliBuildHuffmanTable() local 198 table_size = 1 << table_bits; in BrotliBuildHuffmanTable() 199 total_size = table_size; in BrotliBuildHuffmanTable() 205 table_size = 1 << table_bits; in BrotliBuildHuffmanTable() 216 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code); in BrotliBuildHuffmanTable() 224 while (total_size != table_size) { in BrotliBuildHuffmanTable() [all …]
|
/external/freetype/src/sfnt/ |
D | ttcpal.c | 59 FT_ULong table_size; member 87 FT_ULong table_size; in tt_face_load_cpal() local 90 error = face->goto_table( face, TTAG_CPAL, stream, &table_size ); in tt_face_load_cpal() 94 if ( table_size < CPAL_V0_HEADER_BASE_SIZE ) in tt_face_load_cpal() 97 if ( FT_FRAME_EXTRACT( table_size, table ) ) in tt_face_load_cpal() 116 face->palette_data.num_palettes * 2U > table_size ) in tt_face_load_cpal() 119 if ( colors_offset >= table_size ) in tt_face_load_cpal() 121 if ( cpal->num_colors * COLOR_SIZE > table_size - colors_offset ) in tt_face_load_cpal() 137 3U * 4 > table_size ) in tt_face_load_cpal() 148 if ( type_offset >= table_size ) in tt_face_load_cpal() [all …]
|
D | ttcolr.c | 68 FT_ULong table_size; member 96 FT_ULong table_size; in tt_face_load_colr() local 103 error = face->goto_table( face, TTAG_COLR, stream, &table_size ); in tt_face_load_colr() 107 if ( table_size < COLR_HEADER_SIZE ) in tt_face_load_colr() 110 if ( FT_FRAME_EXTRACT( table_size, table ) ) in tt_face_load_colr() 125 if ( base_glyph_offset >= table_size ) in tt_face_load_colr() 128 table_size - base_glyph_offset ) in tt_face_load_colr() 134 if ( layer_offset >= table_size ) in tt_face_load_colr() 136 if ( colr->num_layers * LAYER_SIZE > table_size - layer_offset ) in tt_face_load_colr() 142 colr->table_size = table_size; in tt_face_load_colr() [all …]
|
D | ttmtx.c | 78 FT_ULong tag, table_size; in tt_face_load_hmtx() local 96 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx() 100 *ptable_size = table_size; in tt_face_load_hmtx() 238 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local 254 table_size = face->vert_metrics_size; in tt_face_get_metrics() 260 table_size = face->horz_metrics_size; in tt_face_get_metrics() 263 table_end = table_pos + table_size; in tt_face_get_metrics()
|
D | ttkern.c | 48 FT_ULong table_size; in tt_face_load_kern() local 56 error = face->goto_table( face, TTAG_kern, stream, &table_size ); in tt_face_load_kern() 60 if ( table_size < 4 ) /* the case of a malformed table */ in tt_face_load_kern() 68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) ) in tt_face_load_kern() 75 face->kern_table_size = table_size; in tt_face_load_kern() 78 p_limit = p + table_size; in tt_face_load_kern()
|
D | ttsbit.c | 54 FT_ULong table_size; in tt_face_load_sbit() local 63 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit() 68 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit() 70 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit() 77 error = face->goto_table( face, TTAG_sbix, stream, &table_size ); in tt_face_load_sbit() 84 if ( table_size < 8 ) in tt_face_load_sbit() 104 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_sbit() 107 face->sbit_table_size = table_size; in tt_face_load_sbit() 136 if ( 8 + 48UL * count > table_size ) in tt_face_load_sbit() 137 count = (FT_UInt)( ( table_size - 8 ) / 48 ); in tt_face_load_sbit() [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | presized_cuckoo_map_test.cc | 119 void RunFill(int64 table_size) { in RunFill() argument 120 PresizedCuckooMap<int> pscm(table_size); in RunFill() 121 for (int64 i = 0; i < table_size; i++) { in RunFill() 126 for (int64 i = 0; i < table_size; i++) { in RunFill() 136 for (int64 table_size = 10; table_size <= 5000000; table_size *= 71) { in TEST() local 137 RunFill(table_size); in TEST() 168 uint64 table_size = arg; in BM_CuckooFill() local 171 CalculateKeys(table_size, &calculated_keys); in BM_CuckooFill() 174 PresizedCuckooMap<int> pscm(table_size); in BM_CuckooFill() 175 for (uint64 i = 0; i < table_size; i++) { in BM_CuckooFill() [all …]
|
/external/freetype/src/otvalid/ |
D | otvmath.c | 51 FT_UInt table_size; in otv_MathConstants_validate() local 60 table_size = 2 * ( 56 + 51 ); in otv_MathConstants_validate() 91 FT_UInt i, cnt, table_size; in otv_MathItalicsCorrectionInfo_validate() local 108 table_size = 4 + 4 * cnt; in otv_MathItalicsCorrectionInfo_validate() 139 FT_UInt i, cnt, table_size; in otv_MathKern_validate() local 151 table_size = 4 + 4 * cnt; in otv_MathKern_validate() 182 FT_UInt i, j, cnt, table_size; in otv_MathKernInfo_validate() local 196 table_size = 4 + 8 * cnt; in otv_MathKernInfo_validate() 278 FT_UInt pcnt, table_size; in otv_GlyphAssembly_validate() local 293 table_size = 6 + 8 * pcnt; in otv_GlyphAssembly_validate() [all …]
|
D | otvbase.c | 126 FT_UInt table_size; in otv_MinMax_validate() local 143 table_size = FeatMinMaxCount * 8 + 6; in otv_MinMax_validate() 181 FT_UInt table_size; in otv_BaseScript_validate() local 197 table_size = BaseLangSysCount * 6 + 6; in otv_BaseScript_validate() 256 FT_UInt table_size; in otv_Axis_validate() local 266 table_size = 4; in otv_Axis_validate() 286 FT_UInt table_size; in otv_BASE_validate() local 307 table_size = 8; in otv_BASE_validate() 316 table_size += 4; in otv_BASE_validate()
|
D | otvgdef.c | 190 FT_UInt table_size; in otv_GDEF_validate() local 215 table_size = 10; in otv_GDEF_validate() 231 table_size += 2; in otv_GDEF_validate() 240 table_size += 4; in otv_GDEF_validate() 245 table_size += 8; in otv_GDEF_validate()
|
D | otvgpos.c | 63 FT_UInt Count, count1, table_size; in otv_x_sxy() local 76 table_size = Count * otvalid->extra1 * 2 + 2; in otv_x_sxy() 212 FT_PtrDist table_size; in otv_ValueRecord_validate() local 221 table_size = p - otvalid->extra3; in otv_ValueRecord_validate() 270 FT_UInt table_size; in otv_Anchor_validate() local 280 table_size = 6 + 4; in otv_Anchor_validate() 597 FT_UInt table_size; in otv_CursivePos_validate() local 616 table_size = EntryExitCount * 4 + 4; in otv_CursivePos_validate() 989 FT_UInt table_size; in otv_GPOS_validate() local 1008 table_size = 10; in otv_GPOS_validate() [all …]
|
D | otvjstf.c | 46 FT_UInt table_size; in otv_JstfPriority_validate() local 69 table_size = 20; in otv_JstfPriority_validate() 152 FT_UInt table_size; in otv_JstfScript_validate() local 168 table_size = JstfLangSysCount * 6 + 6; in otv_JstfScript_validate()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 60 cache->table_size = 1024; in radv_pipeline_cache_init() 61 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); in radv_pipeline_cache_init() 70 cache->table_size = 0; in radv_pipeline_cache_init() 78 for (unsigned i = 0; i < cache->table_size; ++i) in radv_pipeline_cache_finish() 139 const uint32_t mask = cache->table_size - 1; in radv_pipeline_cache_search_unlocked() 142 if (cache->table_size == 0) in radv_pipeline_cache_search_unlocked() 145 for (uint32_t i = 0; i < cache->table_size; i++) { in radv_pipeline_cache_search_unlocked() 179 const uint32_t mask = cache->table_size - 1; in radv_pipeline_cache_set_entry() 183 assert(cache->kernel_count < cache->table_size / 2); in radv_pipeline_cache_set_entry() 185 for (uint32_t i = 0; i < cache->table_size; i++) { in radv_pipeline_cache_set_entry() [all …]
|
/external/ltp/testcases/kernel/syscalls/getdtablesize/ |
D | getdtablesize01.c | 57 int table_size, fd = 0, count = 0; in main() local 62 table_size = getdtablesize(); in main() 68 table_size); in main() 72 if (table_size == max_val_opfiles) in main()
|
/external/u-boot/arch/x86/lib/ |
D | tables.c | 59 u32 high_table, table_size; in write_tables() local 69 table_size = rom_table_end - rom_table_start; in write_tables() 70 high_table = (u32)high_table_malloc(table_size); in write_tables() 75 cfg_tables[i].size = table_size; in write_tables()
|
/external/webp/src/utils/ |
D | huffman_utils.c | 144 int table_size = 1 << table_bits; // size of current table in BuildHuffmanTable() local 158 ReplicateValue(&table[key], step, table_size, code); in BuildHuffmanTable() 175 table += table_size; in BuildHuffmanTable() 177 table_size = 1 << table_bits; in BuildHuffmanTable() 178 total_size += table_size; in BuildHuffmanTable() 185 ReplicateValue(&table[key >> root_bits], step, table_size, code); in BuildHuffmanTable()
|
/external/grpc-grpc/src/core/lib/debug/ |
D | stats.cc | 68 int table_size) { in grpc_stats_histo_find_bucket_slow() argument 71 while (table_size > 0) { in grpc_stats_histo_find_bucket_slow() 72 int step = table_size / 2; in grpc_stats_histo_find_bucket_slow() 76 table_size -= step + 1; in grpc_stats_histo_find_bucket_slow() 78 table_size = step; in grpc_stats_histo_find_bucket_slow()
|
/external/brotli/c/enc/ |
D | block_encoder_inc.h | 18 const size_t table_size = histograms_size * self->histogram_length_; in FN() local 19 self->depths_ = BROTLI_ALLOC(m, uint8_t, table_size); in FN() 20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size); in FN()
|
/external/harfbuzz_ng/src/ |
D | hb-aat-layout-trak-table.hh | 52 unsigned int table_size) const in get_value() 53 { return (base+valuesZ).as_array (table_size)[index]; } in get_value() 57 unsigned int table_size) const in sanitize() 61 (valuesZ.sanitize (c, base, table_size)))); in sanitize()
|
/external/freetype/src/truetype/ |
D | ttpload.c | 538 FT_ULong table_size, record_size; in tt_face_load_hdmx() local 544 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx() 545 if ( error || table_size < 8 ) in tt_face_load_hdmx() 548 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx() 552 limit = p + table_size; in tt_face_load_hdmx() 598 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
|
/external/v8/src/interpreter/ |
D | bytecode-array-accessor.cc | 227 uint32_t table_start, table_size; in GetJumpTableTargetOffsets() local 231 table_size = GetUnsignedImmediateOperand(2); in GetJumpTableTargetOffsets() 236 table_size = GetUnsignedImmediateOperand(1); in GetJumpTableTargetOffsets() 239 return JumpTableTargetOffsets(this, table_start, table_size, case_value_base); in GetJumpTableTargetOffsets() 259 const BytecodeArrayAccessor* accessor, int table_start, int table_size, in JumpTableTargetOffsets() argument 263 table_size_(table_size), in JumpTableTargetOffsets()
|
/external/libunwind/src/ia64/ |
D | Gtables.c | 86 unw_word_t table, size_t table_size, unw_word_t rel_ip, in remote_lookup() argument 95 for (lo = 0, hi = table_size / sizeof (struct ia64_table_entry); lo < hi;) in remote_lookup() 145 size_t table_size; in _Uia64_find_dyn_list() local 157 table_size = di->u.ti.table_len * sizeof (di->u.ti.table_data[0]); in _Uia64_find_dyn_list() 159 if (table_size < sizeof (struct ia64_table_entry)) in _Uia64_find_dyn_list() 171 table_size = di->u.rti.table_len * sizeof (unw_word_t); in _Uia64_find_dyn_list() 173 if (table_size < sizeof (struct ia64_table_entry)) in _Uia64_find_dyn_list() 228 lookup (struct ia64_table_entry *table, size_t table_size, unw_word_t rel_ip) in lookup() argument 234 for (lo = 0, hi = table_size / sizeof (struct ia64_table_entry); lo < hi;) in lookup()
|
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/ |
D | values.pass.cpp | 37 static_assert(E::table_size == 256, ""); in test1() 45 where(E::table_size); in test1()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 176 GPR_ASSERT(c->table_size >= in evict_entry() 179 c->table_size = static_cast<uint16_t>( in evict_entry() 180 c->table_size - in evict_entry() 194 while (c->table_size > 0) { in prepare_space_for_new_elem() 203 while (c->table_size + elem_size > c->max_table_size) { in prepare_space_for_new_elem() 209 c->table_size = static_cast<uint16_t>(c->table_size + elem_size); in prepare_space_for_new_elem() 646 while (c->table_size > 0 && c->table_size > max_table_size) { in grpc_chttp2_hpack_compressor_set_max_table_size()
|
/external/grpc-grpc/tools/codegen/core/ |
D | gen_stats_data.py | 86 table_size = mapped_bounds[n - 1] >> shift_bits 87 if table_size > max_size: continue 88 if table_size > 65535: continue 90 best = (shift_bits, n, table_size) 92 best = (shift_bits, n, table_size)
|