/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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);
|
/third_party/skia/third_party/externals/freetype/src/lzw/ |
D | ftzopen.c | 78 state->free_bits = state->num_bits < state->max_bits in ft_lzwstate_get_code() 279 FT_Byte max_bits; in ft_lzwstate_io() local 285 FT_Stream_TryRead( state->source, &max_bits, 1 ) != 1 ) in ft_lzwstate_io() 288 state->max_bits = max_bits & LZW_BIT_MASK; in ft_lzwstate_io() 289 state->block_mode = max_bits & LZW_BLOCK_MASK; in ft_lzwstate_io() 290 state->max_free = (FT_UInt)( ( 1UL << state->max_bits ) - 256 ); in ft_lzwstate_io() 292 if ( state->max_bits > LZW_MAX_BITS ) in ft_lzwstate_io() 300 state->free_bits = state->num_bits < state->max_bits in ft_lzwstate_io()
|
D | ftzopen.h | 124 FT_UInt max_bits; /* max code bits, from file header */ member
|
/third_party/freetype/src/lzw/ |
D | ftzopen.c | 78 state->free_bits = state->num_bits < state->max_bits in ft_lzwstate_get_code() 279 FT_Byte max_bits; in ft_lzwstate_io() local 285 FT_Stream_TryRead( state->source, &max_bits, 1 ) != 1 ) in ft_lzwstate_io() 288 state->max_bits = max_bits & LZW_BIT_MASK; in ft_lzwstate_io() 289 state->block_mode = max_bits & LZW_BLOCK_MASK; in ft_lzwstate_io() 290 state->max_free = (FT_UInt)( ( 1UL << state->max_bits ) - 256 ); in ft_lzwstate_io() 292 if ( state->max_bits > LZW_MAX_BITS ) in ft_lzwstate_io() 300 state->free_bits = state->num_bits < state->max_bits in ft_lzwstate_io()
|
D | ftzopen.h | 124 FT_UInt max_bits; /* max code bits, from file header */ member
|
/third_party/flutter/skia/third_party/externals/freetype/src/lzw/ |
D | ftzopen.c | 78 state->free_bits = state->num_bits < state->max_bits in ft_lzwstate_get_code() 274 FT_Byte max_bits; in ft_lzwstate_io() local 280 FT_Stream_TryRead( state->source, &max_bits, 1 ) != 1 ) in ft_lzwstate_io() 283 state->max_bits = max_bits & LZW_BIT_MASK; in ft_lzwstate_io() 284 state->block_mode = max_bits & LZW_BLOCK_MASK; in ft_lzwstate_io() 285 state->max_free = (FT_UInt)( ( 1UL << state->max_bits ) - 256 ); in ft_lzwstate_io() 287 if ( state->max_bits > LZW_MAX_BITS ) in ft_lzwstate_io() 295 state->free_bits = state->num_bits < state->max_bits in ft_lzwstate_io()
|
D | ftzopen.h | 124 FT_UInt max_bits; /* max code bits, from file header */ member
|
/third_party/node/deps/brotli/c/enc/ |
D | brotli_bit_stream.c | 245 size_t max_bits, in StoreSimpleHuffmanTree() argument 265 BrotliWriteBits(max_bits, symbols[0], storage_ix, storage); in StoreSimpleHuffmanTree() 266 BrotliWriteBits(max_bits, symbols[1], storage_ix, storage); in StoreSimpleHuffmanTree() 268 BrotliWriteBits(max_bits, symbols[0], storage_ix, storage); in StoreSimpleHuffmanTree() 269 BrotliWriteBits(max_bits, symbols[1], storage_ix, storage); in StoreSimpleHuffmanTree() 270 BrotliWriteBits(max_bits, symbols[2], storage_ix, storage); in StoreSimpleHuffmanTree() 272 BrotliWriteBits(max_bits, symbols[0], storage_ix, storage); in StoreSimpleHuffmanTree() 273 BrotliWriteBits(max_bits, symbols[1], storage_ix, storage); in StoreSimpleHuffmanTree() 274 BrotliWriteBits(max_bits, symbols[2], storage_ix, storage); in StoreSimpleHuffmanTree() 275 BrotliWriteBits(max_bits, symbols[3], storage_ix, storage); in StoreSimpleHuffmanTree() [all …]
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | brotli_bit_stream.c | 245 size_t max_bits, in StoreSimpleHuffmanTree() argument 265 BrotliWriteBits(max_bits, symbols[0], storage_ix, storage); in StoreSimpleHuffmanTree() 266 BrotliWriteBits(max_bits, symbols[1], storage_ix, storage); in StoreSimpleHuffmanTree() 268 BrotliWriteBits(max_bits, symbols[0], storage_ix, storage); in StoreSimpleHuffmanTree() 269 BrotliWriteBits(max_bits, symbols[1], storage_ix, storage); in StoreSimpleHuffmanTree() 270 BrotliWriteBits(max_bits, symbols[2], storage_ix, storage); in StoreSimpleHuffmanTree() 272 BrotliWriteBits(max_bits, symbols[0], storage_ix, storage); in StoreSimpleHuffmanTree() 273 BrotliWriteBits(max_bits, symbols[1], storage_ix, storage); in StoreSimpleHuffmanTree() 274 BrotliWriteBits(max_bits, symbols[2], storage_ix, storage); in StoreSimpleHuffmanTree() 275 BrotliWriteBits(max_bits, symbols[3], storage_ix, storage); in StoreSimpleHuffmanTree() [all …]
|
/third_party/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)
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_util.c | 72 size_t max_bits = rogue_max_bits(dest_bit); in rogue_distribute_value() local 73 size_t bits_to_place = MIN2(bits_left, max_bits); in rogue_distribute_value() 91 dest_bit -= max_bits; in rogue_distribute_value()
|
/third_party/ffmpeg/libavcodec/ |
D | truemotion2.c | 105 int max_bits; ///< maximum length of code member 121 if (length > huff->max_bits) { in tm2_read_tree() 123 huff->max_bits); in tm2_read_tree() 154 huff.max_bits = get_bits(&ctx->gb, 5); in tm2_build_huff_table() 161 (huff.max_bits < 0) || (huff.max_bits > 25)) { in tm2_build_huff_table() 163 "length: %i, max code length: %i\n", huff.val_bits, huff.max_bits); in tm2_build_huff_table() 172 if (huff.max_bits == 0) in tm2_build_huff_table() 173 huff.max_bits = 1; in tm2_build_huff_table() 187 if (res >= 0 && res != huff.max_bits) { in tm2_build_huff_table() 189 res, huff.max_bits); in tm2_build_huff_table() [all …]
|
D | ralf.c | 82 int max_bits = 0; in init_ralf_vlc() local 90 max_bits = FFMAX(max_bits, cur_len); in init_ralf_vlc() 102 return ff_init_vlc_sparse(vlc, FFMIN(max_bits, 9), elems, in init_ralf_vlc()
|
D | opus.c | 843 int max_bits; in ff_celt_bitalloc() local 865 max_bits = FFMIN((f->pulses[i] >> 3) >> (f->channels - 1), CELT_MAX_FINE_BITS); in ff_celt_bitalloc() 866 max_bits = FFMAX(max_bits, 0); in ff_celt_bitalloc() 867 f->fine_bits[i] = av_clip(fine_bits, 0, max_bits); in ff_celt_bitalloc()
|
/third_party/mbedtls/tests/src/ |
D | asn1_helpers.c | 31 size_t min_bits, size_t max_bits, in mbedtls_test_asn1_skip_integer() argument 65 TEST_ASSERT( actual_bits <= max_bits ); in mbedtls_test_asn1_skip_integer()
|
/third_party/freetype/src/pshinter/ |
D | pshrec.c | 123 mask->max_bits = 0; in ps_mask_done() 134 FT_UInt old_max = mask->max_bits >> 3; in ps_mask_ensure() 144 mask->max_bits = new_max * 8; in ps_mask_ensure() 253 if ( mask->max_bits ) in ps_mask_table_alloc() 254 FT_MEM_ZERO( mask->bytes, mask->max_bits >> 3 ); in ps_mask_table_alloc()
|
D | pshrec.h | 96 FT_UInt max_bits; member
|
/third_party/mbedtls/tests/include/test/ |
D | asn1_helpers.h | 47 size_t min_bits, size_t max_bits,
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
D | pngfix.c | 2630 int min_bits, max_bits, rc; in zlib_check() local 2641 max_bits = 15; in zlib_check() 2655 max_bits = max_window_bits(zlib.uncompressed_bytes, in zlib_check() 2657 if (zlib.ok_bits < max_bits) in zlib_check() 2658 max_bits = zlib.ok_bits; in zlib_check() 2689 while (min_bits < max_bits || max_bits < zlib.ok_bits/*if 16*/) in zlib_check() 2691 int test_bits = (min_bits + max_bits) >> 1; in zlib_check() 2702 if (min_bits > max_bits) in zlib_check() 2721 max_bits = test_bits; in zlib_check() 2742 assert(zlib.ok_bits == max_bits); in zlib_check()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/ |
D | pngfix.c | 2630 int min_bits, max_bits, rc; in zlib_check() local 2641 max_bits = 15; in zlib_check() 2655 max_bits = max_window_bits(zlib.uncompressed_bytes, in zlib_check() 2657 if (zlib.ok_bits < max_bits) in zlib_check() 2658 max_bits = zlib.ok_bits; in zlib_check() 2689 while (min_bits < max_bits || max_bits < zlib.ok_bits/*if 16*/) in zlib_check() 2691 int test_bits = (min_bits + max_bits) >> 1; in zlib_check() 2702 if (min_bits > max_bits) in zlib_check() 2721 max_bits = test_bits; in zlib_check() 2742 assert(zlib.ok_bits == max_bits); in zlib_check()
|
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/ |
D | pshrec.h | 97 FT_UInt max_bits; member
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
D | pshrec.h | 96 FT_UInt max_bits; member
|