Searched refs:table_size (Results 1 - 25 of 42) sorted by relevance

12

/xsrc/external/mit/brotli/dist/c/enc/
H A Dblock_encoder_inc.h18 const size_t table_size = histograms_size * self->histogram_length_; local in function:FN
19 self->depths_ = BROTLI_ALLOC(m, uint8_t, table_size);
20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size);
H A Dcompress_fragment_two_pass.h35 REQUIRES: All elements in "table[0..table_size-1]" are initialized to zero.
36 REQUIRES: "table_size" is a power of two
46 size_t table_size,
H A Dcompress_fragment.h41 REQUIRES: All elements in "table[0..table_size-1]" are initialized to zero.
42 REQUIRES: "table_size" is an odd (9, 11, 13, 15) power of two
49 int* table, size_t table_size,
/xsrc/external/mit/freetype/dist/src/sfnt/
H A Dttcpal.c58 FT_ULong table_size; member in struct:Cpal_
86 FT_ULong table_size; local in function:tt_face_load_cpal
89 error = face->goto_table( face, TTAG_CPAL, stream, &table_size );
93 if ( table_size < CPAL_V0_HEADER_BASE_SIZE )
96 if ( FT_FRAME_EXTRACT( table_size, table ) )
115 face->palette_data.num_palettes * 2U > table_size )
118 if ( colors_offset >= table_size )
120 if ( cpal->num_colors * COLOR_SIZE > table_size - colors_offset )
139 3U * 4 > table_size )
150 if ( type_offset >= table_size )
[all...]
H A Dttmtx.c77 FT_ULong tag, table_size; local in function:tt_face_load_hmtx
95 error = face->goto_table( face, tag, stream, &table_size );
99 *ptable_size = table_size;
237 FT_ULong table_pos, table_size, table_end; local in function:tt_face_get_metrics
253 table_size = face->vert_metrics_size;
259 table_size = face->horz_metrics_size;
262 table_end = table_pos + table_size;
H A Dttcolr.c67 FT_ULong table_size; member in struct:Colr_
95 FT_ULong table_size; local in function:tt_face_load_colr
102 error = face->goto_table( face, TTAG_COLR, stream, &table_size );
106 if ( table_size < COLR_HEADER_SIZE )
109 if ( FT_FRAME_EXTRACT( table_size, table ) )
124 if ( base_glyph_offset >= table_size )
127 table_size - base_glyph_offset )
133 if ( layer_offset >= table_size )
135 if ( colr->num_layers * LAYER_SIZE > table_size - layer_offset )
141 colr->table_size
[all...]
H A Dttkern.c47 FT_ULong table_size; local in function:tt_face_load_kern
55 error = face->goto_table( face, TTAG_kern, stream, &table_size );
59 if ( table_size < 4 ) /* the case of a malformed table */
67 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) )
74 face->kern_table_size = table_size;
77 p_limit = p + table_size;
H A Dttsbit.c53 FT_ULong table_size; local in function:tt_face_load_sbit
62 error = face->goto_table( face, TTAG_CBLC, stream, &table_size );
67 error = face->goto_table( face, TTAG_EBLC, stream, &table_size );
69 error = face->goto_table( face, TTAG_bloc, stream, &table_size );
76 error = face->goto_table( face, TTAG_sbix, stream, &table_size );
83 if ( table_size < 8 )
103 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) )
106 face->sbit_table_size = table_size;
135 if ( 8 + 48UL * count > table_size )
136 count = (FT_UInt)( ( table_size
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_pipeline_cache.c57 cache->table_size = 1024;
58 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]);
65 cache->table_size = 0;
73 for (unsigned i = 0; i < cache->table_size; ++i)
96 const uint32_t mask = cache->table_size - 1;
99 if (cache->table_size == 0)
102 for (uint32_t i = 0; i < cache->table_size; i++) {
136 const uint32_t mask = cache->table_size - 1;
140 assert(cache->kernel_count < cache->table_size / 2);
142 for (uint32_t i = 0; i < cache->table_size;
157 const uint32_t table_size = cache->table_size * 2; local in function:tu_pipeline_cache_grow
[all...]
/xsrc/external/mit/brotli/dist/c/dec/
H A Dhuffman.c112 int table_size; /* size of current table */ local in function:BrotliBuildCodeLengthsHuffmanTable
141 table_size = 1 << BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH;
146 for (key = 0; key < (brotli_reg_t)table_size; ++key) {
161 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code);
183 int table_size; /* size of current table */ local in function:BrotliBuildHuffmanTable
198 table_size = 1 << table_bits;
199 total_size = table_size;
205 table_size = 1 << table_bits;
216 ReplicateValue(&table[BrotliReverseBits(key)], step, table_size, code);
224 while (total_size != table_size) {
265 uint32_t table_size = 1; local in function:BrotliBuildSimpleHuffmanTable
[all...]
/xsrc/external/mit/freetype/dist/src/otvalid/
H A Dotvbase.c126 FT_UInt table_size; local in function:otv_MinMax_validate
143 table_size = FeatMinMaxCount * 8 + 6;
181 FT_UInt table_size; local in function:otv_BaseScript_validate
197 table_size = BaseLangSysCount * 6 + 6;
256 FT_UInt table_size; local in function:otv_Axis_validate
266 table_size = 4;
286 FT_UInt table_size; local in function:otv_BASE_validate
307 table_size = 8;
316 table_size += 4;
H A Dotvmath.c51 FT_UInt table_size; local in function:otv_MathConstants_validate
60 table_size = 2 * ( 56 + 51 );
91 FT_UInt i, cnt, table_size; local in function:otv_MathItalicsCorrectionInfo_validate
108 table_size = 4 + 4 * cnt;
139 FT_UInt i, cnt, table_size; local in function:otv_MathKern_validate
151 table_size = 4 + 4 * cnt;
182 FT_UInt i, j, cnt, table_size; local in function:otv_MathKernInfo_validate
196 table_size = 4 + 8 * cnt;
278 FT_UInt pcnt, table_size; local in function:otv_GlyphAssembly_validate
293 table_size
319 FT_UInt vcnt, table_size; local in function:otv_MathGlyphConstruction_validate
359 FT_UInt vcnt, hcnt, i, table_size; local in function:otv_MathVariants_validate
[all...]
H A Dotvgdef.c190 FT_UInt table_size; local in function:otv_GDEF_validate
215 table_size = 10;
231 table_size += 2;
240 table_size += 4;
245 table_size += 8;
H A Dotvjstf.c46 FT_UInt table_size; local in function:otv_JstfPriority_validate
69 table_size = 20;
152 FT_UInt table_size; local in function:otv_JstfScript_validate
168 table_size = JstfLangSysCount * 6 + 6;
H A Dotvgpos.c63 FT_UInt Count, count1, table_size; local in function:otv_x_sxy
76 table_size = Count * otvalid->extra1 * 2 + 2;
212 FT_PtrDist table_size; local in function:otv_ValueRecord_validate
221 table_size = p - otvalid->extra3;
270 FT_UInt table_size; local in function:otv_Anchor_validate
280 table_size = 6 + 4;
597 FT_UInt table_size; local in function:otv_CursivePos_validate
616 table_size = EntryExitCount * 4 + 4;
989 FT_UInt table_size; local in function:otv_GPOS_validate
1008 table_size
[all...]
H A Dotvgsub.c555 FT_UInt table_size; local in function:otv_GSUB_validate
574 table_size = 10;
583 table_size += 4;
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_pipeline_cache.c56 cache->table_size = 1024;
57 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]);
64 cache->table_size = 0;
72 for (unsigned i = 0; i < cache->table_size; ++i)
130 const uint32_t mask = cache->table_size - 1;
133 if (cache->table_size == 0)
136 for (uint32_t i = 0; i < cache->table_size; i++) {
170 const uint32_t mask = cache->table_size - 1;
174 assert(cache->kernel_count < cache->table_size / 2);
176 for (uint32_t i = 0; i < cache->table_size;
191 const uint32_t table_size = cache->table_size * 2; local in function:tu_pipeline_cache_grow
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline_cache.c75 cache->table_size = 1024;
76 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]);
83 cache->table_size = 0;
91 for (unsigned i = 0; i < cache->table_size; ++i)
184 const uint32_t mask = cache->table_size - 1;
187 if (cache->table_size == 0)
190 for (uint32_t i = 0; i < cache->table_size; i++) {
222 const uint32_t mask = cache->table_size - 1;
226 assert(cache->kernel_count < cache->table_size / 2);
228 for (uint32_t i = 0; i < cache->table_size;
243 const uint32_t table_size = cache->table_size * 2; local in function:radv_pipeline_cache_grow
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_pipeline_cache.c60 cache->table_size = 1024;
61 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]);
70 cache->table_size = 0;
78 for (unsigned i = 0; i < cache->table_size; ++i)
139 const uint32_t mask = cache->table_size - 1;
142 if (cache->table_size == 0)
145 for (uint32_t i = 0; i < cache->table_size; i++) {
179 const uint32_t mask = cache->table_size - 1;
183 assert(cache->kernel_count < cache->table_size / 2);
185 for (uint32_t i = 0; i < cache->table_size;
201 const uint32_t table_size = cache->table_size * 2; local in function:radv_pipeline_cache_grow
[all...]
/xsrc/external/mit/freetype/dist/src/truetype/
H A Dttpload.c537 FT_ULong table_size, record_size; local in function:tt_face_load_hdmx
543 error = face->goto_table( face, TTAG_hdmx, stream, &table_size );
544 if ( error || table_size < 8 )
547 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) )
551 limit = p + table_size;
597 face->hdmx_table_size = table_size;
/xsrc/external/mit/freetype/dist/src/gxvalid/
H A Dgxvmort1.c71 gxv_mort_subtable_type1_subtable_setup( FT_UShort table_size, argument
97 gxv_set_length_by_ushort_offset( o, l, buff, 4, table_size, gxvalid );
H A Dgxvmort5.c67 gxv_mort_subtable_type5_subtable_setup( FT_UShort table_size, argument
80 gxv_StateTable_subtable_setup( table_size,
H A Dgxvmorx1.c73 gxv_morx_subtable_type1_subtable_setup( FT_ULong table_size, argument
99 gxv_set_length_by_ulong_offset( o, l, buff, 4, table_size, gxvalid );
H A Dgxvmorx5.c82 gxv_morx_subtable_type5_subtable_setup( FT_ULong table_size, argument
108 gxv_set_length_by_ulong_offset( o, l, buff, 4, table_size, gxvalid );
H A Dgxvcommn.h155 (*GXV_StateTable_Subtable_Setup_Func)( FT_UShort table_size,
197 (*GXV_XStateTable_Subtable_Setup_Func)( FT_ULong table_size,
434 gxv_StateTable_subtable_setup( FT_UShort table_size,
444 gxv_XStateTable_subtable_setup( FT_ULong table_size,

Completed in 61 milliseconds

12