/external/chromium_org/sdch/open-vcdiff/src/ |
D | blockhash.cc | 63 const size_t table_size = CalcTableSize(source_size_); in Init() local 64 if (table_size == 0) { in Init() 71 hash_table_mask_ = static_cast<uint32_t>(table_size - 1); in Init() 72 hash_table_.resize(table_size, -1); in Init() 116 size_t table_size = 1; in CalcTableSize() local 119 while (table_size < min_size) { in CalcTableSize() 120 table_size <<= 1; in CalcTableSize() 122 if (table_size <= 0) { in CalcTableSize() 125 << "): resulting table_size " << table_size in CalcTableSize() 131 if ((table_size & (table_size - 1)) != 0) { in CalcTableSize() [all …]
|
/external/chromium/sdch/open-vcdiff/src/ |
D | blockhash.cc | 62 const size_t table_size = CalcTableSize(source_size_); in Init() local 63 if (table_size == 0) { in Init() 70 hash_table_mask_ = static_cast<uint32_t>(table_size - 1); in Init() 71 hash_table_.resize(table_size, -1); in Init() 115 size_t table_size = 1; in CalcTableSize() local 118 while (table_size < min_size) { in CalcTableSize() 119 table_size <<= 1; in CalcTableSize() 121 if (table_size <= 0) { in CalcTableSize() 124 << "): resulting table_size " << table_size in CalcTableSize() 130 if ((table_size & (table_size - 1)) != 0) { in CalcTableSize() [all …]
|
/external/open-vcdiff/src/ |
D | blockhash.cc | 63 const size_t table_size = CalcTableSize(source_size_); in Init() local 64 if (table_size == 0) { in Init() 71 hash_table_mask_ = static_cast<uint32_t>(table_size - 1); in Init() 72 hash_table_.resize(table_size, -1); in Init() 116 size_t table_size = 1; in CalcTableSize() local 119 while (table_size < min_size) { in CalcTableSize() 120 table_size <<= 1; in CalcTableSize() 122 if (table_size <= 0) { in CalcTableSize() 125 << "): resulting table_size " << table_size in CalcTableSize() 131 if ((table_size & (table_size - 1)) != 0) { in CalcTableSize() [all …]
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_truetype_font_linux.cc | 134 size_t table_size = 0; in GetTable() local 137 if (!GetFontTable(fd_, table_tag, offset, NULL, &table_size)) in GetTable() 140 table_size = std::min(table_size, static_cast<size_t>(max_data_length)); in GetTable() 141 data->resize(table_size); in GetTable() 144 &table_size)) in GetTable() 147 return base::checked_numeric_cast<int32_t>(table_size); in GetTable()
|
D | pepper_truetype_font_win.cc | 218 DWORD table_size = GetFontData(hdc, table_tag, 0, NULL, 0); in GetTable() local 219 if (table_size == GDI_ERROR) in GetTable() 222 DWORD safe_offset = std::min(static_cast<DWORD>(offset), table_size); in GetTable() 223 DWORD safe_length = std::min(table_size - safe_offset, in GetTable() 227 table_size = 0; in GetTable() 229 table_size = GetFontData(hdc, table_tag, safe_offset, in GetTable() 232 if (table_size == GDI_ERROR) in GetTable() 235 return static_cast<int32_t>(table_size); in GetTable()
|
D | pepper_truetype_font_mac.mm | 294 CFIndex table_size = CFDataGetLength(table_ref); 296 std::min(base::checked_numeric_cast<CFIndex>(offset), table_size); 298 std::min(table_size - safe_offset, 365 int32_t table_size = GetTable(table_tags[i], 368 if (table_size < 0) 369 return table_size; // PPAPI error code. 382 CalculateChecksum(&font[table_offset], table_size)); 384 entry->logical_length = base::HostToNet32(table_size);
|
/external/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() 211 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local 222 table_size = face->vert_metrics_size; in tt_face_get_metrics() 228 table_size = face->horz_metrics_size; in tt_face_get_metrics() 231 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 num_strikes, table_size; in tt_face_load_eblc() local 59 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_eblc() 61 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_eblc() 63 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_eblc() 67 if ( table_size < 8 ) in tt_face_load_eblc() 74 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_eblc() 77 face->sbit_table_size = table_size; in tt_face_load_eblc() 80 p_limit = p + table_size; in tt_face_load_eblc() 97 if ( 8 + 48UL * count > table_size ) in tt_face_load_eblc()
|
/external/chromium_org/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() 211 FT_ULong table_pos, table_size, table_end; in tt_face_get_metrics() local 222 table_size = face->vert_metrics_size; in tt_face_get_metrics() 228 table_size = face->horz_metrics_size; in tt_face_get_metrics() 231 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 num_strikes, table_size; in tt_face_load_eblc() local 59 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_eblc() 61 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_eblc() 63 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_eblc() 67 if ( table_size < 8 ) in tt_face_load_eblc() 74 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_eblc() 77 face->sbit_table_size = table_size; in tt_face_load_eblc() 80 p_limit = p + table_size; in tt_face_load_eblc() 97 if ( 8 + 48UL * count > table_size ) in tt_face_load_eblc()
|
D | ttsbit0.c | 48 FT_ULong num_strikes, table_size; in tt_face_load_eblc() local 57 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_eblc() 59 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_eblc() 63 if ( table_size < 8 ) in tt_face_load_eblc() 70 if ( FT_FRAME_EXTRACT( table_size, face->sbit_table ) ) in tt_face_load_eblc() 73 face->sbit_table_size = table_size; in tt_face_load_eblc() 76 p_limit = p + table_size; in tt_face_load_eblc() 93 if ( 8 + 48UL * count > table_size ) in tt_face_load_eblc()
|
/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/chromium_org/v8/tools/ |
D | generate-trig-table.py | 65 table_size = SAMPLES + 2 67 for i in range(0, table_size): 78 'table_size': table_size,
|
/external/openfst/src/include/fst/ |
D | bi-table.h | 65 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 …]
|
D | state-table.h | 82 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
|
/external/freetype/src/truetype/ |
D | ttpload.c | 490 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() 545 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
|
/external/chromium_org/third_party/freetype/src/truetype/ |
D | ttpload.c | 490 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() 545 face->hdmx_table_size = table_size; in tt_face_load_hdmx()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_linkage.h | 57 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/mesa3d/src/gallium/auxiliary/util/ |
D | u_linkage.h | 57 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/stlport/src/ |
D | ctype.cpp | 36 const size_t ctype<char>::table_size; member in ctype<char> 45 static const ctype_base::mask _S_classic_table[table_size] = { in classic_table() 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); } in operator ()() 396 return _WCharIndex::in_range(c, ctype<char>::table_size) && (m & table[c]); in do_is() 406 *vec = _WCharIndex::in_range(c, ctype<char>::table_size) ? table[c] : ctype_base::mask(0); in do_is() 425 return _WCharIndex::in_range(c, ctype<char>::table_size) ? (wchar_t)_S_upper[c] in do_toupper() 433 *low = _WCharIndex::in_range(c, ctype<char>::table_size) ? (wchar_t)_S_upper[c] in do_toupper() 440 return _WCharIndex::in_range(c, ctype<char>::table_size) ? (wchar_t)_S_lower[c] in do_tolower() [all …]
|
/external/chromium_org/components/visitedlink/common/ |
D | visitedlink_common.h | 76 void GetUsageStatistics(int32* table_size, in GetUsageStatistics() argument 78 *table_size = table_length_; in GetUsageStatistics()
|
/external/chromium/chrome/common/ |
D | visitedlink_common.h | 75 void GetUsageStatistics(int32* table_size, in GetUsageStatistics() argument 77 *table_size = table_length_; in GetUsageStatistics()
|
/external/qemu/block/ |
D | qcow2-refcount.c | 312 uint64_t table_size = next_refcount_table_size(s, blocks_used + 1); in alloc_refcount_block() local 316 uint64_t table_clusters = size_to_clusters(s, table_size); in alloc_refcount_block() 322 last_table_size = table_size; in alloc_refcount_block() 323 table_size = next_refcount_table_size(s, blocks_used + in alloc_refcount_block() 327 } while (last_table_size != table_size); in alloc_refcount_block() 331 s->refcount_table_size, table_size); in alloc_refcount_block() 339 uint64_t *new_table = qemu_mallocz(table_size * sizeof(uint64_t)); in alloc_refcount_block() 354 uint64_t table_clusters = size_to_clusters(s, table_size * sizeof(uint64_t)); in alloc_refcount_block() 370 for(i = 0; i < table_size; i++) { in alloc_refcount_block() 376 table_size * sizeof(uint64_t)); in alloc_refcount_block() [all …]
|