Lines Matching refs:bp
754 char *bp = crq->buf; in cache_request() local
757 detail->cache_request(detail, crq->item, &bp, &len); in cache_request()
1076 char *bp = *bpp; in qword_add() local
1082 ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); in qword_add()
1084 bp += len; in qword_add()
1087 bp += ret; in qword_add()
1089 *bp++ = ' '; in qword_add()
1092 *bpp = bp; in qword_add()
1099 char *bp = *bpp; in qword_addhex() local
1105 *bp++ = '\\'; in qword_addhex()
1106 *bp++ = 'x'; in qword_addhex()
1109 bp = hex_byte_pack(bp, *buf++); in qword_addhex()
1116 *bp++ = ' '; in qword_addhex()
1119 *bpp = bp; in qword_addhex()
1220 char *bp = *bpp; in qword_get() local
1223 while (*bp == ' ') bp++; in qword_get()
1225 if (bp[0] == '\\' && bp[1] == 'x') { in qword_get()
1227 bp += 2; in qword_get()
1231 h = hex_to_bin(bp[0]); in qword_get()
1235 l = hex_to_bin(bp[1]); in qword_get()
1240 bp += 2; in qword_get()
1245 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get()
1246 if (*bp == '\\' && in qword_get()
1247 isodigit(bp[1]) && (bp[1] <= '3') && in qword_get()
1248 isodigit(bp[2]) && in qword_get()
1249 isodigit(bp[3])) { in qword_get()
1250 int byte = (*++bp -'0'); in qword_get()
1251 bp++; in qword_get()
1252 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1253 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1257 *dest++ = *bp++; in qword_get()
1263 if (*bp != ' ' && *bp != '\n' && *bp != '\0') in qword_get()
1265 while (*bp == ' ') bp++; in qword_get()
1266 *bpp = bp; in qword_get()
1450 char *bp, *ep; in write_flush() local
1462 bp = tbuf; in write_flush()
1463 then = get_expiry(&bp); in write_flush()