HomeSort by: relevance | last modified time | path
    Searched refs:buf_cur (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/dev/
midi.c 760 if (count > buf_lim - buf_cur
768 *buf_cur++ = sc->rcv.pos[i];
961 KASSERT(buf_cur + appetite <= buf_lim);
967 if (buf_cur + appetite > buf_end) {
970 buf_end - buf_cur));
972 error = uiomove(buf_cur, buf_end - buf_cur, uio);
980 appetite -= buf_end - buf_cur;
981 buf_cur = mb->buf;
985 error = uiomove(buf_cur, appetite, uio)
    [all...]
  /src/crypto/external/apache2/openssl/dist/demos/http3/
ossl-nghttp3.c 31 size_t buf_cur, buf_total; member in struct:ossl_demo_h3_stream_st
492 if (s->buf_cur == s->buf_total) {
530 s->buf_cur = 0;
534 if (s->buf_cur == s->buf_total)
543 ec = nghttp3_conn_read_stream(conn->h3conn, s->id, s->buf + s->buf_cur,
544 s->buf_total - s->buf_cur, /*fin=*/0);
560 assert(consumed <= s->buf_total - s->buf_cur);
561 s->buf_cur += consumed;

Completed in 29 milliseconds