Searched defs:nbits (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/main/
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.c258 static char *bin_to_readable(char *in, size_t inlen, char *out, char nbits) /* {{{ */ argument
270 mask = (1 << nbits) - 1;
273 if (have < nbits) {
281 have = nbits;
285 /* consume nbits */
287 w >>= nbits; local
288 have -= nbits;

Completed in 8 milliseconds