Lines Matching refs:byte
204 unsigned char nib, *byte; in ldif_base64_decode() local
208 byte = dst; in ldif_base64_decode()
219 byte[0] = nib << 2; in ldif_base64_decode()
223 byte[0] |= nib >> 4; in ldif_base64_decode()
230 byte[1] = (nib & RIGHT4) << 4; in ldif_base64_decode()
232 byte[1] |= nib >> 2; in ldif_base64_decode()
239 byte[2] = (nib & RIGHT2) << 6; in ldif_base64_decode()
241 byte[2] |= nib; in ldif_base64_decode()
243 byte += 3; in ldif_base64_decode()
324 unsigned char *p, *byte, *stop; in ldif_put_type_and_value_with_options() local
366 for ( byte = (unsigned char *) val; byte < stop; in ldif_put_type_and_value_with_options()
367 byte++, len++ ) { in ldif_put_type_and_value_with_options()
370 if ( !LDIF_SAFE_CHAR( *byte )) { in ldif_put_type_and_value_with_options()
374 } else if ( !LDIF_CONSERVATIVE_CHAR( *byte )) { in ldif_put_type_and_value_with_options()
384 *(*out)++ = *byte; in ldif_put_type_and_value_with_options()
430 unsigned char *byte, *stop; in ldif_base64_encode_internal() local
441 for ( byte = src; byte < stop - 2; byte += 3 ) { in ldif_base64_encode_internal()
442 bits = (byte[0] & 0xff) << 16; in ldif_base64_encode_internal()
443 bits |= (byte[1] & 0xff) << 8; in ldif_base64_encode_internal()
444 bits |= (byte[2] & 0xff); in ldif_base64_encode_internal()
459 if ( byte < stop ) { in ldif_base64_encode_internal()
460 for ( i = 0; byte + i < stop; i++ ) { in ldif_base64_encode_internal()
461 buf[i] = byte[i]; in ldif_base64_encode_internal()
466 byte = buf; in ldif_base64_encode_internal()
467 bits = (byte[0] & 0xff) << 16; in ldif_base64_encode_internal()
468 bits |= (byte[1] & 0xff) << 8; in ldif_base64_encode_internal()
469 bits |= (byte[2] & 0xff); in ldif_base64_encode_internal()