Lines Matching refs:dptr
388 unsigned char *dptr = (unsigned char *)dst; in BF_decode() local
389 unsigned char *end = dptr + size; in BF_decode()
396 *dptr++ = (c1 << 2) | ((c2 & 0x30) >> 4); in BF_decode()
397 if (dptr >= end) break; in BF_decode()
400 *dptr++ = ((c2 & 0x0F) << 4) | ((c3 & 0x3C) >> 2); in BF_decode()
401 if (dptr >= end) break; in BF_decode()
404 *dptr++ = ((c3 & 0x03) << 6) | c4; in BF_decode()
405 } while (dptr < end); in BF_decode()
407 if (end - dptr == size) { in BF_decode()
411 while (dptr < end) /* PHP hack */ in BF_decode()
412 *dptr++ = 0; in BF_decode()
421 unsigned char *dptr = (unsigned char *)dst; in BF_encode() local
426 *dptr++ = BF_itoa64[c1 >> 2]; in BF_encode()
429 *dptr++ = BF_itoa64[c1]; in BF_encode()
435 *dptr++ = BF_itoa64[c1]; in BF_encode()
438 *dptr++ = BF_itoa64[c1]; in BF_encode()
444 *dptr++ = BF_itoa64[c1]; in BF_encode()
445 *dptr++ = BF_itoa64[c2 & 0x3f]; in BF_encode()