/external/brotli/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() 147 for (key = 0; key < (reg_t)table_size; ++key) { in BrotliBuildCodeLengthsHuffmanTable() 163 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code); in BrotliBuildCodeLengthsHuffmanTable() 185 int table_size; /* size of current table */ in BrotliBuildHuffmanTable() local 200 table_size = 1 << table_bits; in BrotliBuildHuffmanTable() 201 total_size = table_size; in BrotliBuildHuffmanTable() 208 table_size = 1 << table_bits; in BrotliBuildHuffmanTable() 220 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code); in BrotliBuildHuffmanTable() 229 while (total_size != table_size) { in BrotliBuildHuffmanTable() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 53 cache->table_size = 1024; in radv_pipeline_cache_init() 54 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); in radv_pipeline_cache_init() 61 cache->table_size = 0; in radv_pipeline_cache_init() 69 for (unsigned i = 0; i < cache->table_size; ++i) in radv_pipeline_cache_finish() 115 const uint32_t mask = cache->table_size - 1; in radv_pipeline_cache_search_unlocked() 118 for (uint32_t i = 0; i < cache->table_size; i++) { in radv_pipeline_cache_search_unlocked() 190 const uint32_t mask = cache->table_size - 1; in radv_pipeline_cache_set_entry() 194 assert(cache->kernel_count < cache->table_size / 2); in radv_pipeline_cache_set_entry() 196 for (uint32_t i = 0; i < cache->table_size; i++) { in radv_pipeline_cache_set_entry() 212 const uint32_t table_size = cache->table_size * 2; in radv_pipeline_cache_grow() local [all …]
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | ttmtx.c | 62 FT_ULong tag, table_size; in tt_face_load_hmtx() local 80 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx() 84 *ptable_size = table_size; in tt_face_load_hmtx() 214 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local 225 table_size = face->vert_metrics_size; in tt_face_get_metrics() 231 table_size = face->horz_metrics_size; in tt_face_get_metrics() 234 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 | 50 FT_ULong table_size; in tt_face_load_sbit() local 58 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit() 63 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit() 65 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit() 72 error = face->goto_table( face, TTAG_sbix, stream, &table_size ); in tt_face_load_sbit() 79 if ( table_size < 8 ) in tt_face_load_sbit() 97 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_sbit() 100 face->sbit_table_size = table_size; in tt_face_load_sbit() 124 if ( 8 + 48UL * count > table_size ) in tt_face_load_sbit() 125 count = (FT_UInt)( ( table_size - 8 ) / 48 ); in tt_face_load_sbit() [all …]
|
/external/freetype/src/sfnt/ |
D | ttmtx.c | 75 FT_ULong tag, table_size; in tt_face_load_hmtx() local 93 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx() 97 *ptable_size = table_size; in tt_face_load_hmtx() 227 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local 243 table_size = face->vert_metrics_size; in tt_face_get_metrics() 249 table_size = face->horz_metrics_size; in tt_face_get_metrics() 252 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 | 50 FT_ULong table_size; in tt_face_load_sbit() local 59 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit() 64 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit() 66 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit() 73 error = face->goto_table( face, TTAG_sbix, stream, &table_size ); in tt_face_load_sbit() 80 if ( table_size < 8 ) in tt_face_load_sbit() 100 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_sbit() 103 face->sbit_table_size = table_size; in tt_face_load_sbit() 132 if ( 8 + 48UL * count > table_size ) in tt_face_load_sbit() 133 count = (FT_UInt)( ( table_size - 8 ) / 48 ); in tt_face_load_sbit() [all …]
|
/external/ltp/testcases/kernel/syscalls/getdtablesize/ |
D | getdtablesize01.c | 57 int table_size, loop, fd, 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/bison/src/ |
D | tables.c | 124 static int table_size = 32768; variable 147 int old_size = table_size; in table_grow() 149 while (table_size <= desired) in table_grow() 150 table_size *= 2; in table_grow() 154 old_size, table_size); in table_grow() 156 table = xnrealloc (table, table_size, sizeof *table); in table_grow() 157 conflict_table = xnrealloc (conflict_table, table_size, in table_grow() 159 check = xnrealloc (check, table_size, sizeof *check); in table_grow() 161 for (/* Nothing. */; old_size < table_size; ++old_size) in table_grow() 693 aver (j < table_size); in pack_vector() [all …]
|
/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/brotli/enc/ |
D | block_encoder_inc.h | 18 const size_t table_size = histograms_size * alphabet_size; 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()
|
D | compress_fragment_two_pass.h | 46 size_t table_size,
|
D | compress_fragment.h | 49 int* table, size_t table_size,
|
D | encode.c | 220 size_t input_size, size_t* table_size) { in GetHashTable() argument 249 *table_size = htsize; in GetHashTable() 922 size_t table_size; in EncodeData() local 934 table = GetHashTable(s, s->params.quality, bytes, &table_size); in EncodeData() 940 table, table_size, in EncodeData() 950 table, table_size, in EncodeData() 1549 size_t table_size; in BrotliEncoderCompressStreamFast() local 1564 table = GetHashTable(s, s->params.quality, block_size, &table_size); in BrotliEncoderCompressStreamFast() 1569 table_size, s->cmd_depths_, s->cmd_bits_, &s->cmd_code_numbits_, in BrotliEncoderCompressStreamFast() 1574 command_buf, literal_buf, table, table_size, in BrotliEncoderCompressStreamFast()
|
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/ |
D | values.pass.cpp | 35 static_assert(E::table_size == 256, ""); in test1() 43 where(E::table_size); in test1()
|
D | ctor_engine_copy.pass.cpp | 27 for (unsigned k = 0; k <= Adaptor::table_size; ++k) in main()
|
D | ctor_engine_move.pass.cpp | 28 for (unsigned k = 0; k <= Adaptor::table_size; ++k) in main()
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttpload.c | 498 FT_ULong table_size, record_size; in tt_face_load_hdmx() local 504 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx() 505 if ( error || table_size < 8 ) in tt_face_load_hdmx() 508 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx() 512 limit = p + table_size; in tt_face_load_hdmx() 555 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
|
/external/freetype/src/truetype/ |
D | ttpload.c | 528 FT_ULong table_size, record_size; in tt_face_load_hdmx() local 534 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx() 535 if ( error || table_size < 8 ) in tt_face_load_hdmx() 538 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx() 542 limit = p + table_size; in tt_face_load_hdmx() 588 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
|
/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/webrtc/webrtc/base/ |
D | helpers.cc | 223 const char* table, int table_size, in CreateRandomString() argument 233 str->push_back(table[bytes[i] % table_size]); in CreateRandomString()
|
/external/sfntly/cpp/src/sfntly/ |
D | font.cc | 155 int32_t table_size = target_table->Serialize(fos); in SerializeTables() local 156 if (table_size != (*record)->length()) { in SerializeTables() 159 int32_t filler_size = ((table_size + 3) & ~3) - table_size; in SerializeTables()
|
/external/v8/src/ |
D | string-search.h | 489 int table_size = AlphabetSize(); in PopulateBoyerMooreHorspoolTable() local 493 table_size * sizeof(*bad_char_occurrence)); in PopulateBoyerMooreHorspoolTable() 495 for (int i = 0; i < table_size; i++) { in PopulateBoyerMooreHorspoolTable()
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/ |
D | classic_table.pass.cpp | 23 assert(F::table_size >= 256); in main()
|