Lines Matching refs:dptr
389 unsigned char *dptr = (unsigned char *)dst; in BF_decode() local
390 unsigned char *end = dptr + size; in BF_decode()
397 *dptr++ = (c1 << 2) | ((c2 & 0x30) >> 4); in BF_decode()
398 if (dptr >= end) break; in BF_decode()
401 *dptr++ = ((c2 & 0x0F) << 4) | ((c3 & 0x3C) >> 2); in BF_decode()
402 if (dptr >= end) break; in BF_decode()
405 *dptr++ = ((c3 & 0x03) << 6) | c4; in BF_decode()
406 } while (dptr < end); in BF_decode()
408 while (dptr < end) /* PHP hack */ in BF_decode()
409 *dptr++ = 0; in BF_decode()
418 unsigned char *dptr = (unsigned char *)dst; in BF_encode() local
423 *dptr++ = BF_itoa64[c1 >> 2]; in BF_encode()
426 *dptr++ = BF_itoa64[c1]; in BF_encode()
432 *dptr++ = BF_itoa64[c1]; in BF_encode()
435 *dptr++ = BF_itoa64[c1]; in BF_encode()
441 *dptr++ = BF_itoa64[c1]; in BF_encode()
442 *dptr++ = BF_itoa64[c2 & 0x3f]; in BF_encode()