Lines Matching refs:bp
747 char *bp = crq->buf; in cache_request() local
750 detail->cache_request(detail, crq->item, &bp, &len); in cache_request()
1069 char *bp = *bpp; in qword_add() local
1075 ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); in qword_add()
1077 bp += len; in qword_add()
1080 bp += ret; in qword_add()
1082 *bp++ = ' '; in qword_add()
1085 *bpp = bp; in qword_add()
1092 char *bp = *bpp; in qword_addhex() local
1098 *bp++ = '\\'; in qword_addhex()
1099 *bp++ = 'x'; in qword_addhex()
1102 bp = hex_byte_pack(bp, *buf++); in qword_addhex()
1109 *bp++ = ' '; in qword_addhex()
1112 *bpp = bp; in qword_addhex()
1213 char *bp = *bpp; in qword_get() local
1216 while (*bp == ' ') bp++; in qword_get()
1218 if (bp[0] == '\\' && bp[1] == 'x') { in qword_get()
1220 bp += 2; in qword_get()
1224 h = hex_to_bin(bp[0]); in qword_get()
1228 l = hex_to_bin(bp[1]); in qword_get()
1233 bp += 2; in qword_get()
1238 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get()
1239 if (*bp == '\\' && in qword_get()
1240 isodigit(bp[1]) && (bp[1] <= '3') && in qword_get()
1241 isodigit(bp[2]) && in qword_get()
1242 isodigit(bp[3])) { in qword_get()
1243 int byte = (*++bp -'0'); in qword_get()
1244 bp++; in qword_get()
1245 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1246 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1250 *dest++ = *bp++; in qword_get()
1256 if (*bp != ' ' && *bp != '\n' && *bp != '\0') in qword_get()
1258 while (*bp == ' ') bp++; in qword_get()
1259 *bpp = bp; in qword_get()
1439 char *bp, *ep; in write_flush() local
1450 bp = tbuf; in write_flush()
1451 cd->flush_time = get_expiry(&bp); in write_flush()