Lines Matching refs:bp
826 char *bp = crq->buf; in cache_request() local
829 detail->cache_request(detail, crq->item, &bp, &len); in cache_request()
1133 char *bp = *bpp; in qword_add() local
1139 ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); in qword_add()
1141 bp += len; in qword_add()
1144 bp += ret; in qword_add()
1146 *bp++ = ' '; in qword_add()
1149 *bpp = bp; in qword_add()
1156 char *bp = *bpp; in qword_addhex() local
1162 *bp++ = '\\'; in qword_addhex()
1163 *bp++ = 'x'; in qword_addhex()
1166 bp = hex_byte_pack(bp, *buf++); in qword_addhex()
1173 *bp++ = ' '; in qword_addhex()
1176 *bpp = bp; in qword_addhex()
1289 char *bp = *bpp; in qword_get() local
1292 while (*bp == ' ') bp++; in qword_get()
1294 if (bp[0] == '\\' && bp[1] == 'x') { in qword_get()
1296 bp += 2; in qword_get()
1300 h = hex_to_bin(bp[0]); in qword_get()
1304 l = hex_to_bin(bp[1]); in qword_get()
1309 bp += 2; in qword_get()
1314 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get()
1315 if (*bp == '\\' && in qword_get()
1316 isodigit(bp[1]) && (bp[1] <= '3') && in qword_get()
1317 isodigit(bp[2]) && in qword_get()
1318 isodigit(bp[3])) { in qword_get()
1319 int byte = (*++bp -'0'); in qword_get()
1320 bp++; in qword_get()
1321 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1322 byte = (byte << 3) | (*bp++ - '0'); in qword_get()
1326 *dest++ = *bp++; in qword_get()
1332 if (*bp != ' ' && *bp != '\n' && *bp != '\0') in qword_get()
1334 while (*bp == ' ') bp++; in qword_get()
1335 *bpp = bp; in qword_get()