Home
last modified time | relevance | path

Searched refs:nbits (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c630 #define SAVE_CONVERSION_STATE() buf->state = (cache << 4) | (nbits << 1) | base64
667 if (nbits) { in mb_wchar_to_utf7imap()
668 out = mb_convert_buf_add(out, mbfl_base64_table[(cache << (6 - nbits)) & 0x3F]); in mb_wchar_to_utf7imap()
670 nbits = cache = 0; in mb_wchar_to_utf7imap()
689 nbits += 32; in mb_wchar_to_utf7imap()
693 nbits += 16; in mb_wchar_to_utf7imap()
696 while (nbits >= 6) { in mb_wchar_to_utf7imap()
697 out = mb_convert_buf_add(out, mbfl_base64_table[(bits >> (nbits - 6)) & 0x3F]); in mb_wchar_to_utf7imap()
698 nbits -= 6; in mb_wchar_to_utf7imap()
723 if (nbits) { in mb_wchar_to_utf7imap()
[all …]
H A Dmbfilter_utf7.c627 #define SAVE_CONVERSION_STATE() buf->state = (cache << 4) | (nbits << 1) | base64
653 if (nbits) { in mb_wchar_to_utf7()
654 out = mb_convert_buf_add(out, mbfl_base64_table[(cache << (6 - nbits)) & 0x3F]); in mb_wchar_to_utf7()
656 nbits = cache = 0; in mb_wchar_to_utf7()
677 nbits += 32; in mb_wchar_to_utf7()
681 nbits += 16; in mb_wchar_to_utf7()
684 while (nbits >= 6) { in mb_wchar_to_utf7()
685 out = mb_convert_buf_add(out, mbfl_base64_table[(bits >> (nbits - 6)) & 0x3F]); in mb_wchar_to_utf7()
686 nbits -= 6; in mb_wchar_to_utf7()
708 if (nbits) { in mb_wchar_to_utf7()
[all …]
/php-src/main/
H A Dsnprintf.h133 PHPAPI char * ap_php_conv_p2(uint64_t num, int nbits,
H A Dsnprintf.c376 PHPAPI char * ap_php_conv_p2(uint64_t num, int nbits, char format, char *buf_end, size_t *len) /* {… in ap_php_conv_p2() argument
378 int mask = (1 << nbits) - 1; in ap_php_conv_p2()
386 num >>= nbits; in ap_php_conv_p2()
/php-src/Zend/
H A Dzend_strtod.c1994 nbits = Nbits;
1997 if (n > nbits) {
1998 n -= nbits;
2011 else if (n < nbits) {
2012 n = nbits - n;
2032 if (n >= nbits) {
2036 if (n == nbits && (n < 2 || any_on(b,n-1)))
2064 nbits -= n;
2090 if (nbits == Nbits - 1
2091 && x[nbits >> kshift] & 1 << (nbits & kmask))
[all …]
/php-src/ext/session/
H A Dsession.c321 static void bin_to_readable(unsigned char *in, size_t inlen, char *out, size_t outlen, char nbits) … in bin_to_readable() argument
333 mask = (1 << nbits) - 1; in bin_to_readable()
336 if (have < nbits) { in bin_to_readable()
349 w >>= nbits; in bin_to_readable()
350 have -= nbits; in bin_to_readable()

Completed in 30 milliseconds