Lines Matching refs:bp
787 char *bp = crq->buf; in cache_request() local
790 detail->cache_request(detail, crq->item, &bp, &len); in cache_request()
1113 char *bp = *bpp; in qword_add() local
1119 ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); in qword_add()
1121 bp += len; in qword_add()
1124 bp += ret; in qword_add()
1126 *bp++ = ' '; in qword_add()
1129 *bpp = bp; in qword_add()
1136 char *bp = *bpp; in qword_addhex() local
1142 *bp++ = '\\'; in qword_addhex()
1143 *bp++ = 'x'; in qword_addhex()
1146 bp = hex_byte_pack(bp, *buf++); in qword_addhex()
1153 *bp++ = ' '; in qword_addhex()
1156 *bpp = bp; in qword_addhex()
1257 char *bp = *bpp; in qword_get() local
1260 while (*bp == ' ') bp++; in qword_get()
1262 if (bp[0] == '\\' && bp[1] == 'x') { in qword_get()
1264 bp += 2; in qword_get()
1268 h = hex_to_bin(bp[0]); in qword_get()
1272 l = hex_to_bin(bp[1]); in qword_get()
1277 bp += 2; in qword_get()
1282 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get()
1283 if (*bp == '\\' && in qword_get()
1284 isodigit(bp[1]) && (bp[1] <= '3') && in qword_get()
1285 isodigit(bp[2]) && in qword_get()
1286 isodigit(bp[3])) { in qword_get()
1287 int byte = (*++bp -'0'); in qword_get()
1288 bp++; in qword_get()
1289 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1290 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1294 *dest++ = *bp++; in qword_get()
1300 if (*bp != ' ' && *bp != '\n' && *bp != '\0') in qword_get()
1302 while (*bp == ' ') bp++; in qword_get()
1303 *bpp = bp; in qword_get()