Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/third_party/freetype/src/sfnt/
Dttmtx.c62 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()
Dttkern.c48 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()
Dttsbit.c50 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/
Dttmtx.c62 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()
Dttkern.c48 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()
Dttsbit.c50 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/bison/src/
Dtables.c124 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/openfst/src/include/fst/
Dbi-table.h65 explicit HashBiTable(size_t table_size = 0, H *h = 0, E *e = 0)
68 entry2id_(table_size, (h ? *h : H()), (e ? *e : E())) { in hash_func_()
69 if (table_size) in hash_func_()
70 id2entry_.reserve(table_size); in hash_func_()
145 explicit CompactHashBiTable(size_t table_size = 0, H *h = 0, E *e = 0)
150 keys_(table_size, compact_hash_func_, compact_hash_equal_) { in hash_func_()
151 if (table_size) in hash_func_()
152 id2entry_.reserve(table_size); in hash_func_()
280 explicit VectorBiTable(FP *fp = 0, size_t table_size = 0)
282 if (table_size)
[all …]
Dstate-table.h82 explicit HashStateTable(size_t table_size) in HashStateTable() argument
83 : HashBiTable<StateId, T, H>(table_size) {} in HashStateTable()
105 explicit CompactHashStateTable(size_t table_size) in CompactHashStateTable() argument
106 : CompactHashBiTable<StateId, T, H>(table_size) {} in CompactHashStateTable()
130 explicit VectorStateTable(FP *fp = 0, size_t table_size = 0)
131 : VectorBiTable<StateId, T, FP>(fp, table_size) {}
280 size_t table_size) : H(table_size) {} in GenericComposeStateTable() argument
359 size_t table_size = 0)
362 table_size) {} in StateTable() argument
Ddeterminize.h200 explicit DefaultDeterminizeStateTable(size_t table_size = 0)
201 : table_size_(table_size), in table_size_() argument
/external/freetype/src/truetype/
Dttpload.c490 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
496 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx()
497 if ( error || table_size < 8 ) in tt_face_load_hdmx()
500 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx()
504 limit = p + table_size; in tt_face_load_hdmx()
547 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
/external/pdfium/third_party/freetype/src/truetype/
Dttpload.c490 FT_ULong table_size, record_size; in tt_face_load_hdmx() local
496 error = face->goto_table( face, TTAG_hdmx, stream, &table_size ); in tt_face_load_hdmx()
497 if ( error || table_size < 8 ) in tt_face_load_hdmx()
500 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) ) in tt_face_load_hdmx()
504 limit = p + table_size; in tt_face_load_hdmx()
547 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/
Dvalues.pass.cpp35 static_assert(E::table_size == 256, ""); in test1()
38 where(E::table_size); in test1()
Dctor_engine_copy.pass.cpp27 for (unsigned k = 0; k <= Adaptor::table_size; ++k) in main()
Dctor_engine_move.pass.cpp28 for (unsigned k = 0; k <= Adaptor::table_size; ++k) in main()
/external/libunwind/src/ia64/
DGtables.c86 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/mesa3d/src/gallium/auxiliary/util/
Du_linkage.h57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, in util_semantic_table_from_layout() argument
61 memset(table, 0xff, table_size); in util_semantic_table_from_layout()
/external/v8/src/
Dstring-search.h468 int table_size = AlphabetSize(); in PopulateBoyerMooreHorspoolTable() local
472 table_size * sizeof(*bad_char_occurrence)); in PopulateBoyerMooreHorspoolTable()
474 for (int i = 0; i < table_size; i++) { in PopulateBoyerMooreHorspoolTable()
/external/sfntly/cpp/src/sfntly/
Dfont.cc152 int32_t table_size = target_table->Serialize(fos); in SerializeTables() local
153 if (table_size != (*record)->length()) { in SerializeTables()
156 int32_t filler_size = ((table_size + 3) & ~3) - table_size; in SerializeTables()
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/
Dclassic_table.pass.cpp23 assert(F::table_size >= 256); in main()
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c756 lookup (const struct table_entry *table, size_t table_size, int32_t rel_ip) in lookup() argument
758 unsigned long table_len = table_size / sizeof (struct table_entry); in lookup()
788 unw_word_t table, size_t table_size, int32_t rel_ip, in remote_lookup() argument
791 unsigned long table_len = table_size / sizeof (struct table_entry); in remote_lookup()
/external/valgrind/callgrind/
Dfn.c217 static UInt str_hash(const HChar *s, UInt table_size) in str_hash() argument
221 hash_value = (HASH_CONSTANT * hash_value + *s) % table_size; in str_hash()
/external/kernel-headers/original/uapi/linux/
Di2o-dev.h218 __u32 table_size:16; member
/external/libcxx/include/
D__locale621 static const size_t table_size = _CACHED_RUNES;
623 static const size_t table_size = 256; // FIXME: Don't hardcode this.
Drandom307 static constexpr size_t table_size = k;
3263 static _LIBCPP_CONSTEXPR const size_t table_size = __k;
3410 _LIBCPP_CONSTEXPR const size_t shuffle_order_engine<_Engine, __k>::table_size;

12