Home
last modified time | relevance | path

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

/PHP-8.2/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c628 #define SAVE_CONVERSION_STATE() buf->state = (cache << 4) | (nbits << 1) | base64
665 if (nbits) { in mb_wchar_to_utf7imap()
666 out = mb_convert_buf_add(out, mbfl_base64_table[(cache << (6 - nbits)) & 0x3F]); in mb_wchar_to_utf7imap()
668 nbits = cache = 0; in mb_wchar_to_utf7imap()
687 nbits += 32; in mb_wchar_to_utf7imap()
691 nbits += 16; in mb_wchar_to_utf7imap()
694 while (nbits >= 6) { in mb_wchar_to_utf7imap()
695 out = mb_convert_buf_add(out, mbfl_base64_table[(bits >> (nbits - 6)) & 0x3F]); in mb_wchar_to_utf7imap()
696 nbits -= 6; in mb_wchar_to_utf7imap()
721 if (nbits) { in mb_wchar_to_utf7imap()
[all …]
H A Dmbfilter_utf7.c617 #define SAVE_CONVERSION_STATE() buf->state = (cache << 4) | (nbits << 1) | base64
643 if (nbits) { in mb_wchar_to_utf7()
644 out = mb_convert_buf_add(out, mbfl_base64_table[(cache << (6 - nbits)) & 0x3F]); in mb_wchar_to_utf7()
646 nbits = cache = 0; in mb_wchar_to_utf7()
667 nbits += 32; in mb_wchar_to_utf7()
671 nbits += 16; in mb_wchar_to_utf7()
674 while (nbits >= 6) { in mb_wchar_to_utf7()
675 out = mb_convert_buf_add(out, mbfl_base64_table[(bits >> (nbits - 6)) & 0x3F]); in mb_wchar_to_utf7()
676 nbits -= 6; in mb_wchar_to_utf7()
698 if (nbits) { in mb_wchar_to_utf7()
[all …]
/PHP-8.2/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-8.2/Zend/
H A Dzend_strtod.c2002 nbits = Nbits;
2005 if (n > nbits) {
2006 n -= nbits;
2019 else if (n < nbits) {
2020 n = nbits - n;
2040 if (n >= nbits) {
2044 if (n == nbits && (n < 2 || any_on(b,n-1)))
2072 nbits -= n;
2098 if (nbits == Nbits - 1
2099 && x[nbits >> kshift] & 1 << (nbits & kmask))
[all …]
/PHP-8.2/ext/session/
H A Dsession.c285 static void bin_to_readable(unsigned char *in, size_t inlen, char *out, size_t outlen, char nbits) … in bin_to_readable() argument
297 mask = (1 << nbits) - 1; in bin_to_readable()
300 if (have < nbits) { in bin_to_readable()
313 w >>= nbits; in bin_to_readable()
314 have -= nbits; in bin_to_readable()

Completed in 41 milliseconds