Searched refs:nbits (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/main/
H A Dsnprintf.h159 PHPAPI char * ap_php_conv_p2(register u_wide_int num, register int nbits,
H A Dsnprintf.c473 * Convert num to a base X number where X is a power of 2. nbits determines X.
474 * For example, if nbits is 3, we do base 8 conversion
482 PHPAPI char * ap_php_conv_p2(register u_wide_int num, register int nbits, char format, char *buf_end, register size_t *len) /* {{{ */ argument
484 register int mask = (1 << nbits) - 1;
492 num >>= nbits; local
/PHP_TRUNK/ext/session/
H A Dsession.c243 static char *bin_to_readable(char *in, size_t inlen, char *out, char nbits) /* {{{ */ argument
255 mask = (1 << nbits) - 1;
258 if (have < nbits) {
266 have = nbits;
270 /* consume nbits */
272 w >>= nbits; local
273 have -= nbits;

Completed in 8 milliseconds