Searched refs:bufpos (Results 1 - 7 of 7) sorted by relevance

/barrelfish-2018-10-04/lib/spawndomain/
H A Dgetopt.c24 int bufpos = 0; local
36 for (char c = *pos; c != '\0' && bufpos < buflen; c = *++pos) {
38 buf[bufpos++] = c;
47 buf[bufpos++] = c;
51 if (bufpos == 0) {
56 buf[bufpos < buflen ? bufpos++ : buflen - 1] = '\0';
59 *optlen = bufpos < buflen ? bufpos : buflen;
/barrelfish-2018-10-04/kernel/
H A Dgdb_stub.c140 int bufpos = 0; local
154 buf[bufpos++] = tohex(ch >> 4); // top bits of char
155 buf[bufpos++] = tohex(ch & 0xf); // bottom bits of char
158 buf[bufpos++] = '\0';
159 return bufpos;
199 int bufpos; local
208 bufpos = 0;
211 while (bufpos < BUFMAX - 1) {
219 buffer[bufpos++] = ch;
221 buffer[bufpos]
[all...]
/barrelfish-2018-10-04/lib/barrelfish/
H A Dlmp_endpoints.c443 * \param bufpos Reserved position in endpoint message buffer
449 void lmp_endpoint_store_lrpc_disabled(struct lmp_endpoint *ep, uint32_t bufpos, argument
460 assert_disabled(bufpos < buflen);
462 /* deposit message into buffer, starting from bufpos */
463 ep->k.buf[bufpos] = header.raw;
464 if (++bufpos == buflen) {
465 bufpos = 0;
467 ep->k.buf[bufpos] = arg1;
468 if (++bufpos == buflen) {
469 bufpos
[all...]
H A Ddebug.c467 size_t bufpos = 0; local
469 bufpos += snprintf(&buf[bufpos], sizeof(buf) - bufpos, "%02x ", bytes[i]);
470 assert(bufpos < sizeof(buf));
H A Ddispatch.c46 void disp_lrpc(struct lmp_endpoint *ep, uint32_t bufpos,
132 * \param bufpos Reserved position in endpoint message buffer
142 void disp_lrpc(struct lmp_endpoint *ep, uint32_t bufpos, argument
150 lmp_endpoint_store_lrpc_disabled(ep, bufpos, arg1, arg2, arg3, arg4);
/barrelfish-2018-10-04/include/barrelfish/
H A Dlmp_endpoints.h82 void lmp_endpoint_store_lrpc_disabled(struct lmp_endpoint *ep, uint32_t bufpos,
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/asn1/
H A Dbio_asn1.c97 int bufpos; member in struct:BIO_ASN1_BUF_CTX_t
170 ctx->bufpos = 0;
248 ctx->buf + ctx->bufpos, ctx->buflen);
254 ctx->bufpos += ret;
257 ctx->bufpos = 0;

Completed in 135 milliseconds