Lines Matching defs:balloc
193 StringRef percent_encode_token(BlockAllocator &balloc,
195 auto iov = make_byte_ref(balloc, target.size() * 3 + 1);
234 StringRef quote_string(BlockAllocator &balloc, const StringRef &target) {
238 return make_string_ref(balloc, target);
241 auto iov = make_byte_ref(balloc, target.size() + cnt + 1);
514 StringRef format_hex(BlockAllocator &balloc, const StringRef &s) {
515 auto iov = make_byte_ref(balloc, s.size() * 2 + 1);
545 StringRef to_base64(BlockAllocator &balloc, const StringRef &token68str) {
548 auto iov = make_byte_ref(balloc, len + 1);
1340 StringRef make_http_hostport(BlockAllocator &balloc, const StringRef &host,
1342 auto iov = make_byte_ref(balloc, host.size() + 2 + 1 + 5 + 1);
1346 StringRef make_hostport(BlockAllocator &balloc, const StringRef &host,
1348 auto iov = make_byte_ref(balloc, host.size() + 2 + 1 + 5 + 1);
1490 StringRef percent_decode(BlockAllocator &balloc, const StringRef &src) {
1491 auto iov = make_byte_ref(balloc, src.size() * 3 + 1);
1598 StringRef decode_hex(BlockAllocator &balloc, const StringRef &s) {
1599 auto iov = make_byte_ref(balloc, s.size() + 1);
1705 StringRef rstrip(BlockAllocator &balloc, const StringRef &s) {
1715 return make_string_ref(balloc, StringRef{s.c_str(), s.size() - len});