Lines Matching refs:bp
755 char *bp = crq->buf; in cache_request() local
758 detail->cache_request(detail, crq->item, &bp, &len); in cache_request()
1077 char *bp = *bpp; in qword_add() local
1083 ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); in qword_add()
1085 bp += len; in qword_add()
1088 bp += ret; in qword_add()
1090 *bp++ = ' '; in qword_add()
1093 *bpp = bp; in qword_add()
1100 char *bp = *bpp; in qword_addhex() local
1106 *bp++ = '\\'; in qword_addhex()
1107 *bp++ = 'x'; in qword_addhex()
1110 bp = hex_byte_pack(bp, *buf++); in qword_addhex()
1117 *bp++ = ' '; in qword_addhex()
1120 *bpp = bp; in qword_addhex()
1221 char *bp = *bpp; in qword_get() local
1224 while (*bp == ' ') bp++; in qword_get()
1226 if (bp[0] == '\\' && bp[1] == 'x') { in qword_get()
1228 bp += 2; in qword_get()
1232 h = hex_to_bin(bp[0]); in qword_get()
1236 l = hex_to_bin(bp[1]); in qword_get()
1241 bp += 2; in qword_get()
1246 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get()
1247 if (*bp == '\\' && in qword_get()
1248 isodigit(bp[1]) && (bp[1] <= '3') && in qword_get()
1249 isodigit(bp[2]) && in qword_get()
1250 isodigit(bp[3])) { in qword_get()
1251 int byte = (*++bp -'0'); in qword_get()
1252 bp++; in qword_get()
1253 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1254 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1258 *dest++ = *bp++; in qword_get()
1264 if (*bp != ' ' && *bp != '\n' && *bp != '\0') in qword_get()
1266 while (*bp == ' ') bp++; in qword_get()
1267 *bpp = bp; in qword_get()
1451 char *bp, *ep; in write_flush() local
1463 bp = tbuf; in write_flush()
1464 then = get_expiry(&bp); in write_flush()