Home
last modified time | relevance | path

Searched refs:buf_off (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/decrepit/bio/
Dbase64_bio.c80 int buf_off; member
139 ctx->buf_off = 0; in b64_read()
146 assert(ctx->buf_len >= ctx->buf_off); in b64_read()
147 i = ctx->buf_len - ctx->buf_off; in b64_read()
151 assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read()
152 OPENSSL_memcpy(out, &ctx->buf[ctx->buf_off], i); in b64_read()
156 ctx->buf_off += i; in b64_read()
157 if (ctx->buf_len == ctx->buf_off) { in b64_read()
159 ctx->buf_off = 0; in b64_read()
292 ctx->buf_off = 0; in b64_read()
[all …]
/external/cronet/third_party/boringssl/src/decrepit/bio/
Dbase64_bio.c80 int buf_off; member
139 ctx->buf_off = 0; in b64_read()
146 assert(ctx->buf_len >= ctx->buf_off); in b64_read()
147 i = ctx->buf_len - ctx->buf_off; in b64_read()
151 assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read()
152 OPENSSL_memcpy(out, &ctx->buf[ctx->buf_off], i); in b64_read()
156 ctx->buf_off += i; in b64_read()
157 if (ctx->buf_len == ctx->buf_off) { in b64_read()
159 ctx->buf_off = 0; in b64_read()
292 ctx->buf_off = 0; in b64_read()
[all …]
/external/boringssl/src/decrepit/bio/
Dbase64_bio.c80 int buf_off; member
139 ctx->buf_off = 0; in b64_read()
146 assert(ctx->buf_len >= ctx->buf_off); in b64_read()
147 i = ctx->buf_len - ctx->buf_off; in b64_read()
151 assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read()
152 OPENSSL_memcpy(out, &ctx->buf[ctx->buf_off], i); in b64_read()
156 ctx->buf_off += i; in b64_read()
157 if (ctx->buf_len == ctx->buf_off) { in b64_read()
159 ctx->buf_off = 0; in b64_read()
292 ctx->buf_off = 0; in b64_read()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c135 static __always_inline size_t buf_off(const buf_t *buf) in buf_off() function
157 if (bpf_skb_load_bytes(buf->skb, buf_off(buf), dst, len)) { in buf_copy()
168 if (buf_off(buf) + len > buf->skb->len) { in buf_skip()
/external/libaom/av1/common/
Drestoration.c315 const int buf_off = buf_x0_off + buf_row * buf_stride; in setup_processing_stripe_boundary() local
317 rsb->stripe_boundary_above + (buf_off << use_highbd); in setup_processing_stripe_boundary()
335 const int buf_off = buf_x0_off + buf_row * buf_stride; in setup_processing_stripe_boundary() local
337 rsb->stripe_boundary_below + (buf_off << use_highbd); in setup_processing_stripe_boundary()