/external/wpa_supplicant_8/src/utils/ |
D | bitfield.c | 17 size_t max_bits; member 21 struct bitfield * bitfield_alloc(size_t max_bits) in bitfield_alloc() argument 25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc() 29 bf->max_bits = max_bits; in bitfield_alloc() 42 if (bit >= bf->max_bits) in bitfield_set() 50 if (bit >= bf->max_bits) in bitfield_clear() 58 if (bit >= bf->max_bits) in bitfield_is_set() 79 for (i = 0; i < (bf->max_bits + 7) / 8; i++) { in bitfield_get_first_zero() 83 if (i == (bf->max_bits + 7) / 8) in bitfield_get_first_zero() 86 if (i >= bf->max_bits) in bitfield_get_first_zero()
|
D | bitfield.h | 14 struct bitfield * bitfield_alloc(size_t max_bits);
|
/external/libopus/celt/ |
D | rate.c | 151 int max_bits; in compute_pulse_cache() local 155 max_bits = C*(1+MAX_FINE_BITS)<<BITRES; in compute_pulse_cache() 184 max_bits = pcache[pcache[0]]+1; in compute_pulse_cache() 188 max_bits <<= 1; in compute_pulse_cache() 197 num=459*(opus_int32)((2*N-1)*offset+max_bits); in compute_pulse_cache() 201 max_bits += qb; in compute_pulse_cache() 207 max_bits <<= 1; in compute_pulse_cache() 212 num = (N==2?512:487)*(opus_int32)(max_bits+ndof*offset); in compute_pulse_cache() 216 max_bits += qb; in compute_pulse_cache() 229 num = max_bits+ndof*offset; in compute_pulse_cache() [all …]
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_server_table.py | 58 self.max_bits = 1 59 self.next_opcode_threshold = (1 << self.max_bits) 82 self.max_bits = bits 94 remaining_bits = self.max_bits - total 284 self.dump_tree(tree, 0, self.max_bits, 0, 1) 334 print ' %u,' % (self.max_bits)
|
/external/fio/lib/ |
D | axmap.c | 299 unsigned int max_bits, this_set; in axmap_set_nr() local 301 max_bits = BLOCKS_PER_UNIT - (bit_nr & BLOCKS_PER_UNIT_MASK); in axmap_set_nr() 302 if (max_bits < nr_bits) in axmap_set_nr() 303 data.nr_bits = max_bits; in axmap_set_nr()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | firstpass.c | 349 int max_bits; in frame_max_bits() local 362 …max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)… in frame_max_bits() 368 …bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 :… in frame_max_bits() 370 max_bits = (int)(max_bits * buffer_fullness_ratio); in frame_max_bits() 375 if (max_bits < min_max_bits) in frame_max_bits() 376 max_bits = min_max_bits; in frame_max_bits() 385 …max_bits = (int)(((double)cpi->twopass.bits_left / (cpi->twopass.total_stats.count - (double)cpi->… in frame_max_bits() 389 if (max_bits < 0) in frame_max_bits() 390 max_bits = 0; in frame_max_bits() 392 return max_bits; in frame_max_bits() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_firstpass.c | 244 int64_t max_bits = ((int64_t)rc->avg_frame_bandwidth * in frame_max_bits() local 246 if (max_bits < 0) in frame_max_bits() 247 max_bits = 0; in frame_max_bits() 248 else if (max_bits > rc->max_frame_bandwidth) in frame_max_bits() 249 max_bits = rc->max_frame_bandwidth; in frame_max_bits() 251 return (int)max_bits; in frame_max_bits() 1315 const int max_bits = frame_max_bits(rc, &cpi->oxcf); in calculate_total_gf_group_bits() local 1332 if (total_group_bits > (int64_t)max_bits * rc->baseline_gf_interval) in calculate_total_gf_group_bits() 1333 total_group_bits = (int64_t)max_bits * rc->baseline_gf_interval; in calculate_total_gf_group_bits() 1382 const int max_bits = frame_max_bits(&cpi->rc, &cpi->oxcf); in allocate_gf_group_bits() local [all …]
|
/external/freetype/src/pshinter/ |
D | pshrec.h | 97 FT_UInt max_bits; member
|
D | pshrec.c | 129 mask->max_bits = 0; in ps_mask_done() 140 FT_UInt old_max = ( mask->max_bits + 7 ) >> 3; in ps_mask_ensure() 149 mask->max_bits = new_max * 8; in ps_mask_ensure()
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshrec.h | 101 FT_UInt max_bits; member
|
D | pshrec.c | 129 mask->max_bits = 0; in ps_mask_done() 140 FT_UInt old_max = ( mask->max_bits + 7 ) >> 3; in ps_mask_ensure() 149 mask->max_bits = new_max * 8; in ps_mask_ensure()
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 2624 int min_bits, max_bits, rc; in zlib_check() local 2635 max_bits = 15; in zlib_check() 2649 max_bits = max_window_bits(zlib.uncompressed_bytes, in zlib_check() 2651 if (zlib.ok_bits < max_bits) in zlib_check() 2652 max_bits = zlib.ok_bits; in zlib_check() 2683 while (min_bits < max_bits || max_bits < zlib.ok_bits/*if 16*/) in zlib_check() 2685 int test_bits = (min_bits + max_bits) >> 1; in zlib_check() 2696 if (min_bits > max_bits) in zlib_check() 2715 max_bits = test_bits; in zlib_check() 2736 assert(zlib.ok_bits == max_bits); in zlib_check()
|
/external/opencv/otherlibs/highgui/ |
D | bitstrm.cpp | 687 int max_bits, int first_bits ) in bsCreateSourceHuffmanTable() argument 692 for( i = 1, val_idx = max_bits; i <= max_bits; i++ ) in bsCreateSourceHuffmanTable()
|
D | bitstrm.h | 263 int max_bits, int first_bits );
|
D | grfmt_jpeg.cpp | 974 const int max_bits = 16; in LoadHuffmanTables() local 991 lstrm.GetBytes( buffer, max_bits ); in LoadHuffmanTables() 992 for( i = 0, ht_size = 0; i < max_bits; i++ ) ht_size += buffer[i]; in LoadHuffmanTables() 997 lstrm.GetBytes( buffer + max_bits, ht_size ); in LoadHuffmanTables() 1001 buffer, buffer2, max_bits, first_table_bits ), in LoadHuffmanTables()
|
/external/libavc/decoder/ |
D | ih264d_parse_cabac.c | 403 UWORD32 max_bits = 32; in ih264d_read_coeff4x4_cabac() local 441 while(uc_bin && (bits_to_flush < max_bits)); in ih264d_read_coeff4x4_cabac() 871 UWORD32 max_bits = 32; in ih264d_read_coeff8x8_cabac() local 905 while(uc_bin && (bits_to_flush < max_bits)); in ih264d_read_coeff8x8_cabac()
|
/external/boringssl/src/crypto/bn/ |
D | exponentiation.c | 1088 int max_bits = p->top * BN_BITS2; in BN_mod_exp_mont_consttime() local 1089 assert(bits < max_bits); in BN_mod_exp_mont_consttime() 1092 assert(max_bits >= 64); in BN_mod_exp_mont_consttime() 1098 if (bits - 4 >= max_bits - 8) { in BN_mod_exp_mont_consttime()
|