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

12

/external/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/
H A Dvalues.pass.cpp20 // static constexpr size_t table_size = k;
35 static_assert(E::table_size == 256, "");
38 where(E::table_size);
H A Dctor_engine_copy.pass.cpp27 for (unsigned k = 0; k <= Adaptor::table_size; ++k)
H A Dctor_engine_move.pass.cpp28 for (unsigned k = 0; k <= Adaptor::table_size; ++k)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_linkage.h57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, argument
61 memset(table, 0xff, table_size);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_linkage.h57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, argument
61 memset(table, 0xff, table_size);
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_truetype_font_linux.cc132 size_t table_size = 0;
135 if (!GetFontTable(fd_.get(), table_tag, offset, NULL, &table_size))
138 table_size = std::min(table_size, static_cast<size_t>(max_data_length));
139 data->resize(table_size);
144 &table_size))
147 return base::checked_cast<int32_t>(table_size);
H A Dpepper_truetype_font_win.cc196 DWORD table_size = GetFontData(hdc.Get(), table_tag, 0, NULL, 0); local
197 if (table_size == GDI_ERROR)
200 DWORD safe_offset = std::min(static_cast<DWORD>(offset), table_size);
202 std::min(table_size - safe_offset, static_cast<DWORD>(max_data_length));
205 table_size = 0;
207 table_size = GetFontData(hdc.Get(),
212 if (table_size == GDI_ERROR)
215 return static_cast<int32_t>(table_size);
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash.cc63 const size_t table_size = CalcTableSize(source_size_); local
64 if (table_size == 0) {
69 // Since table_size is a power of 2, (table_size - 1) is a bit mask
70 // containing all the bits below table_size.
71 hash_table_mask_ = static_cast<uint32_t>(table_size - 1);
72 hash_table_.resize(table_size, -1);
116 size_t table_size = 1; local
118 // that value to table_size.
119 while (table_size < min_siz
[all...]
/external/chromium_org/third_party/brotli/src/brotli/dec/
H A Dhuffman.c80 int table_size; /* size of current table */ local
111 table_size = 1 << table_bits;
112 total_size = table_size;
132 ReplicateValue(&table[key], step, table_size, code);
143 table += table_size;
145 table_size = 1 << table_bits;
146 total_size += table_size;
153 ReplicateValue(&table[key >> root_bits], step, table_size, code);
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttmtx.c62 FT_ULong tag, table_size; local
80 error = face->goto_table( face, tag, stream, &table_size );
85 *ptable_size = table_size;
91 *ptable_size = error ? 0 : table_size;
218 FT_ULong table_pos, table_size, table_end; local
229 table_size = face->vert_metrics_size;
235 table_size = face->horz_metrics_size;
238 table_end = table_pos + table_size;
H A Dttkern.c48 FT_ULong table_size; local
56 error = face->goto_table( face, TTAG_kern, stream, &table_size );
60 if ( table_size < 4 ) /* the case of a malformed table */
68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) )
75 face->kern_table_size = table_size;
78 p_limit = p + table_size;
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttmtx.c62 FT_ULong tag, table_size; local
80 error = face->goto_table( face, tag, stream, &table_size );
84 *ptable_size = table_size;
211 FT_ULong table_pos, table_size, table_end; local
222 table_size = face->vert_metrics_size;
228 table_size = face->horz_metrics_size;
231 table_end = table_pos + table_size;
H A Dttkern.c48 FT_ULong table_size; local
56 error = face->goto_table( face, TTAG_kern, stream, &table_size );
60 if ( table_size < 4 ) /* the case of a malformed table */
68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) )
75 face->kern_table_size = table_size;
78 p_limit = p + table_size;
/external/freetype/src/sfnt/
H A Dttmtx.c62 FT_ULong tag, table_size; local
80 error = face->goto_table( face, tag, stream, &table_size );
84 *ptable_size = table_size;
214 FT_ULong table_pos, table_size, table_end; local
225 table_size = face->vert_metrics_size;
231 table_size = face->horz_metrics_size;
234 table_end = table_pos + table_size;
H A Dttkern.c48 FT_ULong table_size; local
56 error = face->goto_table( face, TTAG_kern, stream, &table_size );
60 if ( table_size < 4 ) /* the case of a malformed table */
68 if ( FT_FRAME_EXTRACT( table_size, face->kern_table ) )
75 face->kern_table_size = table_size;
78 p_limit = p + table_size;
H A Dttsbit.c50 FT_ULong table_size; local
58 error = face->goto_table( face, TTAG_CBLC, stream, &table_size );
63 error = face->goto_table( face, TTAG_EBLC, stream, &table_size );
65 error = face->goto_table( face, TTAG_bloc, stream, &table_size );
72 error = face->goto_table( face, TTAG_sbix, stream, &table_size );
79 if ( table_size < 8 )
97 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) )
100 face->sbit_table_size = table_size;
124 if ( 8 + 48UL * count > table_size )
125 count = (FT_UInt)( ( table_size
262 FT_ULong table_size; local
1252 FT_ULong table_size; local
[all...]
/external/chromium_org/components/visitedlink/common/
H A Dvisitedlink_common.h76 void GetUsageStatistics(int32* table_size, argument
78 *table_size = table_length_;
/external/bison/src/
H A Dtables.c124 static int table_size = 32768; variable
147 int old_size = table_size;
149 while (table_size <= desired)
150 table_size *= 2;
154 old_size, table_size);
156 table = xnrealloc (table, table_size, sizeof *table);
157 conflict_table = xnrealloc (conflict_table, table_size,
159 check = xnrealloc (check, table_size, sizeof *check);
161 for (/* Nothing. */; old_size < table_size; ++old_size)
693 aver (j < table_size);
[all...]
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttpload.c490 FT_ULong table_size, record_size; local
496 error = face->goto_table( face, TTAG_hdmx, stream, &table_size );
497 if ( error || table_size < 8 )
500 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) )
504 limit = p + table_size;
545 face->hdmx_table_size = table_size;
/external/freetype/src/truetype/
H A Dttpload.c490 FT_ULong table_size, record_size; local
496 error = face->goto_table( face, TTAG_hdmx, stream, &table_size );
497 if ( error || table_size < 8 )
500 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) )
504 limit = p + table_size;
545 face->hdmx_table_size = table_size;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttpload.c492 FT_ULong table_size, record_size; local
498 error = face->goto_table( face, TTAG_hdmx, stream, &table_size );
499 if ( error || table_size < 8 )
502 if ( FT_FRAME_EXTRACT( table_size, face->hdmx_table ) )
506 limit = p + table_size;
547 face->hdmx_table_size = table_size;
/external/openfst/src/include/fst/
H A Dbi-table.h64 // Reserves space for 'table_size' elements.
65 explicit HashBiTable(size_t table_size = 0, H *h = 0, E *e = 0)
68 entry2id_(table_size, (h ? *h : H()), (e ? *e : E())) {
69 if (table_size)
70 id2entry_.reserve(table_size);
144 // Reserves space for 'table_size' elements.
145 explicit CompactHashBiTable(size_t table_size = 0, H *h = 0, E *e = 0)
150 keys_(table_size, compact_hash_func_, compact_hash_equal_) {
151 if (table_size)
152 id2entry_.reserve(table_size);
[all...]
H A Dstate-table.h81 // Reserves space for table_size elements.
82 explicit HashStateTable(size_t table_size) argument
83 : HashBiTable<StateId, T, H>(table_size) {}
104 // Reserves space for 'table_size' elements.
105 explicit CompactHashStateTable(size_t table_size) argument
106 : CompactHashBiTable<StateId, T, H>(table_size) {}
129 // Reserves space for 'table_size' elements.
130 explicit VectorStateTable(FP *fp = 0, size_t table_size = 0)
131 : VectorBiTable<StateId, T, FP>(fp, table_size) {}
278 // Reserves space for 'table_size' element
279 GenericComposeStateTable(const Fst<A> &fst1, const Fst<A> &fst2, size_t table_size) argument
[all...]
/external/libunwind/src/ia64/
H A DGtables.c86 unw_word_t table, size_t table_size, unw_word_t rel_ip,
95 for (lo = 0, hi = table_size / sizeof (struct ia64_table_entry); lo < hi;)
145 size_t table_size; local
157 table_size = di->u.ti.table_len * sizeof (di->u.ti.table_data[0]);
159 if (table_size < sizeof (struct ia64_table_entry))
171 table_size = di->u.rti.table_len * sizeof (unw_word_t);
173 if (table_size < sizeof (struct ia64_table_entry))
228 lookup (struct ia64_table_entry *table, size_t table_size, unw_word_t rel_ip) argument
234 for (lo = 0, hi = table_size / sizeof (struct ia64_table_entry); lo < hi;)
85 remote_lookup(unw_addr_space_t as, unw_word_t table, size_t table_size, unw_word_t rel_ip, struct ia64_table_entry *e, void *arg) argument
/external/qemu/block/
H A Dqcow2-refcount.c312 uint64_t table_size = next_refcount_table_size(s, blocks_used + 1); local
316 uint64_t table_clusters = size_to_clusters(s, table_size);
322 last_table_size = table_size;
323 table_size = next_refcount_table_size(s, blocks_used +
327 } while (last_table_size != table_size);
331 s->refcount_table_size, table_size);
339 uint64_t *new_table = g_malloc0(table_size * sizeof(uint64_t));
354 uint64_t table_clusters = size_to_clusters(s, table_size * sizeof(uint64_t));
370 for(i = 0; i < table_size; i++) {
376 table_size * sizeo
[all...]

Completed in 1164 milliseconds

12