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

12

/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/sdch/open-vcdiff/src/
H A Dblockhash.cc62 const size_t table_size = CalcTableSize(source_size_); local
63 if (table_size == 0) {
68 // Since table_size is a power of 2, (table_size - 1) is a bit mask
69 // containing all the bits below table_size.
70 hash_table_mask_ = static_cast<uint32_t>(table_size - 1);
71 hash_table_.resize(table_size, -1);
115 size_t table_size = 1; local
117 // that value to table_size.
118 while (table_size < min_siz
[all...]
/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/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/content/renderer/pepper/
H A Dpepper_truetype_font_linux.cc134 size_t table_size = 0; local
137 if (!GetFontTable(fd_, table_tag, offset, NULL, &table_size))
140 table_size = std::min(table_size, static_cast<size_t>(max_data_length));
141 data->resize(table_size);
144 &table_size))
147 return base::checked_numeric_cast<int32_t>(table_size);
H A Dpepper_truetype_font_win.cc218 DWORD table_size = GetFontData(hdc, table_tag, 0, NULL, 0); local
219 if (table_size == GDI_ERROR)
222 DWORD safe_offset = std::min(static_cast<DWORD>(offset), table_size);
223 DWORD safe_length = std::min(table_size - safe_offset,
226 table_size = GetFontData(hdc, table_tag, safe_offset,
229 if (table_size == GDI_ERROR)
231 return static_cast<int32_t>(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;
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;
H A Dttsbit.c50 FT_ULong num_strikes, table_size; local
59 error = face->goto_table( face, TTAG_CBLC, stream, &table_size );
61 error = face->goto_table( face, TTAG_EBLC, stream, &table_size );
63 error = face->goto_table( face, TTAG_bloc, stream, &table_size );
67 if ( table_size < 8 )
74 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) )
77 face->sbit_table_size = table_size;
80 p_limit = p + table_size;
97 if ( 8 + 48UL * count > table_size )
/external/chromium/chrome/common/
H A Dvisitedlink_common.h75 void GetUsageStatistics(int32* table_size, argument
77 *table_size = table_length_;
/external/chromium_org/components/visitedlink/common/
H A Dvisitedlink_common.h76 void GetUsageStatistics(int32* table_size, argument
78 *table_size = table_length_;
/external/chromium_org/third_party/freetype/src/sfnt/
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 Dttmtx.c71 FT_ULong tag, table_size; local
89 error = face->goto_table( face, tag, stream, &table_size );
93 *ptable_size = table_size;
358 FT_ULong table_pos, table_size, table_end; local
369 table_size = face->vert_metrics_size;
375 table_size = face->horz_metrics_size;
378 table_end = table_pos + table_size;
H A Dttsbit0.c48 FT_ULong num_strikes, table_size; local
57 error = face->goto_table( face, TTAG_EBLC, stream, &table_size );
59 error = face->goto_table( face, TTAG_bloc, stream, &table_size );
63 if ( table_size < 8 )
70 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) )
73 face->sbit_table_size = table_size;
76 p_limit = p + table_size;
93 if ( 8 + 48UL * count > table_size )
/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/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/chromium_org/third_party/libjingle/source/talk/base/
H A Dhelpers.cc239 const char* table, int table_size,
249 str->push_back(table[bytes[i] % table_size]);
238 CreateRandomString(size_t len, const char* table, int table_size, std::string* str) 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 = qemu_mallocz(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...]
/external/stlport/src/
H A Dctype.cpp36 const size_t ctype<char>::table_size; member in class:ctype
45 static const ctype_base::mask _S_classic_table[table_size] = {
200 const unsigned char _S_upper[ctype<char>::table_size] =
236 const unsigned char _S_lower[ctype<char>::table_size] =
385 { return _WCharIndex::in_range(c, ctype<char>::table_size) && (table[c] & M); }
396 return _WCharIndex::in_range(c, ctype<char>::table_size) && (m & table[c]);
406 *vec = _WCharIndex::in_range(c, ctype<char>::table_size) ? table[c] : ctype_base::mask(0);
425 return _WCharIndex::in_range(c, ctype<char>::table_size) ? (wchar_t)_S_upper[c]
433 *low = _WCharIndex::in_range(c, ctype<char>::table_size) ? (wchar_t)_S_upper[c]
440 return _WCharIndex::in_range(c, ctype<char>::table_size)
[all...]
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dcandidate_window_view_unittest.cc87 const int table_size = 9; local
88 InitIBusLookupTableWithCandidatesFilled(table_size, &table);
98 table.set_cursor_position(table_size - 1);
105 EXPECT_EQ(table_size - 1,
/external/chromium/chrome/browser/visitedlink/
H A Dvisitedlink_unittest.cc340 int32 table_size; local
342 master_->GetUsageStatistics(&table_size, &table);
344 ASSERT_GT(table_size, used_count);
353 ASSERT_EQ(table_size, child_table_size);
354 for (int32 i = 0; i < table_size; i++) {

Completed in 1162 milliseconds

12