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

/PHP_TRUNK/main/
H A Dsnprintf.c468 * Convert num to a base X number where X is a power of 2. nbits determines X.
469 * For example, if nbits is 3, we do base 8 conversion
477 char * ap_php_conv_p2(register u_wide_int num, register int nbits, char format, char *buf_end, register int *len) /* {{{ */ argument
479 register int mask = (1 << nbits) - 1;
487 num >>= nbits; local
H A Dsnprintf.h158 extern char * ap_php_conv_p2(register u_wide_int num, register int nbits,
/PHP_TRUNK/ext/session/
H A Dsession.c246 static char *bin_to_readable(char *in, size_t inlen, char *out, char nbits) /* {{{ */ argument
258 mask = (1 << nbits) - 1;
261 if (have < nbits) {
269 have = nbits;
273 /* consume nbits */
275 w >>= nbits; local
276 have -= nbits;

Completed in 9 milliseconds