/reactos/dll/3rdparty/libtiff/ |
H A D | tif_lzw.c | 434 nbits = sp->lzw_nbits; in LZWDecode() 451 nbits = BITS_MIN; in LZWDecode() 496 nbits = BITS_MAX; in LZWDecode() 611 int code, nbits; in LZWDecodeCompat() local 668 nbits = sp->lzw_nbits; in LZWDecodeCompat() 685 nbits = BITS_MIN; in LZWDecodeCompat() 728 nbits = BITS_MAX; in LZWDecodeCompat() 933 nbits = sp->lzw_nbits; in LZWEncode() 1011 nbits = BITS_MIN; in LZWEncode() 1019 nbits++; in LZWEncode() [all …]
|
/reactos/dll/3rdparty/libjpeg/ |
H A D | jchuff.c | 453 nbits--; in emit_buffered_bits() 469 nbits = 0; in emit_eobrun() 471 nbits++; in emit_eobrun() 477 if (nbits) in emit_eobrun() 585 nbits = 0; in encode_mcu_DC_first() 933 nbits = 0; in encode_one_block() 935 nbits++; in encode_one_block() 979 nbits++; in encode_one_block() 1134 nbits = 0; in htest_one_block() 1136 nbits++; in htest_one_block() [all …]
|
H A D | jdhuff.c | 136 { if (bits_left < (nbits)) { \ 141 #define GET_BITS(nbits) \ argument 142 (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits)) 144 #define PEEK_BITS(nbits) \ argument 145 (((int) (get_buffer >> (bits_left - (nbits)))) & BIT_MASK(nbits)) 147 #define DROP_BITS(nbits) \ argument 148 (bits_left -= (nbits)) 466 int nbits) in jpeg_fill_bit_buffer() argument 538 if (nbits > bits_left) { in jpeg_fill_bit_buffer() 571 #define BIT_MASK(nbits) ((1<<(nbits))-1) argument [all …]
|
/reactos/dll/3rdparty/mbedtls/ |
H A D | bignum.c | 2317 nbits = 0; in mbedtls_mpi_exp_mod() 2357 nbits++; in mbedtls_mpi_exp_mod() 2375 nbits = 0; in mbedtls_mpi_exp_mod() 2904 if( nbits < 3 || nbits > MBEDTLS_MPI_MAX_BITS ) in mbedtls_mpi_gen_prime() 2916 rounds = ( ( nbits >= 1300 ) ? 2 : ( nbits >= 850 ) ? 3 : in mbedtls_mpi_gen_prime() 2917 ( nbits >= 650 ) ? 4 : ( nbits >= 350 ) ? 8 : in mbedtls_mpi_gen_prime() 2918 ( nbits >= 250 ) ? 12 : ( nbits >= 150 ) ? 18 : 27 ); in mbedtls_mpi_gen_prime() 2926 rounds = ( ( nbits >= 1450 ) ? 4 : ( nbits >= 1150 ) ? 5 : in mbedtls_mpi_gen_prime() 2927 ( nbits >= 1000 ) ? 6 : ( nbits >= 850 ) ? 7 : in mbedtls_mpi_gen_prime() 2928 ( nbits >= 750 ) ? 8 : ( nbits >= 500 ) ? 13 : in mbedtls_mpi_gen_prime() [all …]
|
H A D | ecp.c | 841 grp->nbits = 0; in mbedtls_ecp_group_init() 2265 w = grp->nbits >= 384 ? 5 : 4; in ecp_pick_window_size() 2281 if( w >= grp->nbits ) in ecp_pick_window_size() 2337 const size_t m_len = ( grp->nbits + 7 ) / 8; in ecp_mul_comb() 2358 d = ( grp->nbits + w - 1 ) / w; in ecp_mul_comb() 2621 const size_t m_len = ( grp->nbits + 7 ) / 8; in ecp_mul_mxz() 3071 if( mbedtls_mpi_size( &pt->X ) > ( grp->nbits + 7 ) / 8 ) in ecp_check_pubkey_mx() 3127 if( grp->nbits == 254 && mbedtls_mpi_get_bit( d, 2 ) != 0 ) in mbedtls_ecp_check_privkey() 3168 n_size = ( grp->nbits + 7 ) / 8; in mbedtls_ecp_gen_privkey() 3182 if( b > grp->nbits ) in mbedtls_ecp_gen_privkey() [all …]
|
H A D | ecdsa.c | 261 size_t n_size = ( grp->nbits + 7 ) / 8; in derive_mpi() 265 if( use_size * 8 > grp->nbits ) in derive_mpi() 266 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( x, use_size * 8 - grp->nbits ) ); in derive_mpi() 452 size_t grp_len = ( grp->nbits + 7 ) / 8; in ecdsa_sign_det_restartable()
|
H A D | rsa.c | 565 unsigned int nbits, int exponent ) in mbedtls_rsa_gen_key() argument 578 if( nbits > 1024 ) in mbedtls_rsa_gen_key() 585 if( nbits < 128 || exponent < 3 || nbits % 2 != 0 ) in mbedtls_rsa_gen_key() 601 MBEDTLS_MPI_CHK( mbedtls_mpi_gen_prime( &ctx->P, nbits >> 1, in mbedtls_rsa_gen_key() 604 MBEDTLS_MPI_CHK( mbedtls_mpi_gen_prime( &ctx->Q, nbits >> 1, in mbedtls_rsa_gen_key() 609 if( mbedtls_mpi_bitlen( &H ) <= ( ( nbits >= 200 ) ? ( ( nbits >> 1 ) - 99 ) : 0 ) ) in mbedtls_rsa_gen_key() 631 … if( mbedtls_mpi_bitlen( &ctx->D ) <= ( ( nbits + 1 ) / 2 ) ) // (FIPS 186-4 §B.3.1 criterion 3(a)) in mbedtls_rsa_gen_key()
|
H A D | pkparse.c | 401 grp->nbits = mbedtls_mpi_bitlen( &grp->N ); in pk_group_from_specified() 429 if( grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
|
H A D | ecp_curves.c | 595 grp->nbits = mbedtls_mpi_bitlen( &grp->N ); in ecp_group_load() 694 grp->nbits = 254; in ecp_use_curve25519() 748 grp->nbits = 447; in ecp_use_curve448()
|
H A D | ssl_cli.c | 2275 if( ssl->handshake->ecdh_ctx.grp.nbits < 163 || in ssl_check_server_ecdh_params() 2276 ssl->handshake->ecdh_ctx.grp.nbits > 521 ) in ssl_check_server_ecdh_params()
|
/reactos/sdk/lib/3rdparty/freetype/src/sfnt/ |
H A D | ttsbit.c | 858 FT_Int pitch, width, height, line_bits, h, nbits; in tt_sbit_decoder_load_bit_aligned() local 908 nbits = 0; in tt_sbit_decoder_load_bit_aligned() 924 nbits = x_pos; in tt_sbit_decoder_load_bit_aligned() 926 else if ( nbits < w ) in tt_sbit_decoder_load_bit_aligned() 930 nbits += 8 - w; in tt_sbit_decoder_load_bit_aligned() 935 nbits -= w; in tt_sbit_decoder_load_bit_aligned() 938 *pwrite++ |= ( ( rval >> nbits ) & 0xFF ) & in tt_sbit_decoder_load_bit_aligned() 949 *pwrite++ |= ( rval >> nbits ) & 0xFF; in tt_sbit_decoder_load_bit_aligned() 957 if ( nbits < w ) in tt_sbit_decoder_load_bit_aligned() 962 nbits += 8 - w; in tt_sbit_decoder_load_bit_aligned() [all …]
|
/reactos/sdk/lib/fslib/ext2lib/ |
H A D | Bitmap.c | 275 int nbits; in ext2_write_block_bitmap() local 299 nbits = (int) ((fs->ext2_sb->s_blocks_count in ext2_write_block_bitmap() 303 if (nbits) in ext2_write_block_bitmap() 305 for (j = nbits; j < fs->blocksize * 8; j++) in ext2_write_block_bitmap()
|
/reactos/dll/3rdparty/libtirpc/src/ |
H A D | xdr_float.c | 181 #define MASK(nbits) ((1 << nbits) - 1) argument
|
/reactos/dll/win32/itss/ |
H A D | lzx.c | 342 static int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { in make_decode_table() argument 348 ULONG table_mask = 1 << nbits; in make_decode_table() 353 while (bit_num <= nbits) { in make_decode_table() 383 for (fill = 0; fill < bit_num - nbits; fill++) { in make_decode_table()
|
/reactos/dll/win32/mspatcha/ |
H A D | lzx.c | 351 static int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { in make_decode_table() argument 357 ULONG table_mask = 1 << nbits; in make_decode_table() 362 while (bit_num <= nbits) { in make_decode_table() 392 for (fill = 0; fill < bit_num - nbits; fill++) { in make_decode_table()
|
/reactos/sdk/tools/hhpcomp/lzx_compress/ |
H A D | lzx_layer.c | 787 static void lzx_write_bits(lzx_data *lzxd, int nbits, uint32_t bits) in lzx_write_bits() argument 795 fprintf(stderr, "WB: %2d %08x\n", nbits, bits); in lzx_write_bits() 798 while ((cur_bits + nbits) >= 16) { in lzx_write_bits() 800 rshift_bits = nbits - shift_bits; in lzx_write_bits() 818 nbits -= shift_bits; in lzx_write_bits() 823 shift_bits = nbits; in lzx_write_bits() 827 cur_bits += nbits; in lzx_write_bits()
|
/reactos/sdk/include/reactos/libs/mbedtls/ |
H A D | rsa.h | 473 unsigned int nbits, int exponent );
|
H A D | bignum.h | 990 int mbedtls_mpi_gen_prime( mbedtls_mpi *X, size_t nbits, int flags,
|
H A D | ecp.h | 243 size_t nbits; /*!< For Short Weierstrass: The number of bits in \p P. member
|
/reactos/sdk/include/reactos/wine/ |
H A D | mscvpdb.h | 378 unsigned char nbits; member 388 unsigned char nbits; member
|
/reactos/dll/win32/cabinet/ |
H A D | fdi.c | 279 static int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, in make_decode_table() argument 286 cab_ULONG table_mask = 1 << nbits; in make_decode_table() 291 while (bit_num <= nbits) { in make_decode_table() 321 for (fill = 0; fill < bit_num - nbits; fill++) { in make_decode_table()
|
/reactos/modules/rostests/winetests/winmm/ |
H A D | mci.c | 626 WORD nbits = 16; in test_recordWAVE() local 702 parm.set.wBitsPerSample = nbits; in test_recordWAVE() 748 expect = 2 * nsamp * nch * nbits/8; in test_recordWAVE()
|
/reactos/dll/win32/dbghelp/ |
H A D | msc.c | 740 cv_type->bitfield_v1.nbits); in codeview_add_udt_element() 746 cv_type->bitfield_v2.nbits); in codeview_add_udt_element()
|