Searched refs:wpos (Results 1 – 9 of 9) sorted by relevance
/freebsd/lib/libopenbsd/ |
H A D | imsg-buffer.c | 76 if (buf->wpos + len > buf->max) { in ibuf_realloc() 81 b = realloc(buf->buf, buf->wpos + len); in ibuf_realloc() 85 buf->size = buf->wpos + len; in ibuf_realloc() 93 if (buf->wpos + len > buf->size) in ibuf_add() 97 memcpy(buf->buf + buf->wpos, data, len); in ibuf_add() 98 buf->wpos += len; in ibuf_add() 107 if (buf->wpos + len > buf->size) in ibuf_reserve() 111 b = buf->buf + buf->wpos; in ibuf_reserve() 112 buf->wpos += len; in ibuf_reserve() 120 if (pos + len > buf->wpos) in ibuf_seek() [all …]
|
H A D | imsg.c | 63 iov.iov_base = ibuf->r.buf + ibuf->r.wpos; in imsg_read() 64 iov.iov_len = sizeof(ibuf->r.buf) - ibuf->r.wpos; in imsg_read() 88 ibuf->r.wpos += n; in imsg_read() 128 av = ibuf->r.wpos; in imsg_get() 158 ibuf->r.wpos = left; in imsg_get() 160 ibuf->r.wpos = 0; in imsg_get() 258 hdr->len = (u_int16_t)msg->wpos; in imsg_close()
|
H A D | imsg.h | 33 size_t wpos; member 47 size_t wpos; member
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenInstruction.cpp | 303 StringRef::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local 305 StringRef Tok = CStr.substr(start, wpos - start); in ParseConstraint() 307 StringRef Name = CStr.substr(wpos + 1); in ParseConstraint() 308 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() 309 if (wpos == StringRef::npos) in ParseConstraint() 313 Name = Name.substr(wpos); in ParseConstraint() 336 wpos = CStr.find_first_of(" \t", start); in ParseConstraint() 337 if (wpos == StringRef::npos || wpos > pos) in ParseConstraint() 341 StringRef LHSOpName = CStr.substr(start, wpos - start); in ParseConstraint() 344 wpos = CStr.find_first_not_of(" \t", pos + 1); in ParseConstraint() [all …]
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn.c | 493 u16 wpos; in nn_init_from_buf() local 504 for (wpos = 0; wpos < NN_MAX_WORD_LEN; wpos++) { in nn_init_from_buf() 505 u16 buf_pos = (u16)((NN_MAX_WORD_LEN - wpos - 1) * WORD_BYTES); in nn_init_from_buf() 506 ret = _ntohw(tmp + buf_pos, &(out_nn->val[wpos])); EG(ret, err); in nn_init_from_buf()
|
/freebsd/sbin/dhclient/ |
H A D | privsep.c | 42 if (buf->wpos + len > buf->size) in buf_add() 45 memcpy(buf->buf + buf->wpos, data, len); in buf_add() 46 buf->wpos += len; in buf_add()
|
H A D | privsep.h | 27 size_t wpos; member
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | sme.c | 2517 u8 *rm_en_dup = NULL, *wpos; in sme_associate() local 2561 wpos = wpa_s->sme.assoc_req_ie; in sme_associate() 2563 os_memcpy(wpos, pos, 2 + pos[1]); in sme_associate() 2564 wpos += 2 + pos[1]; in sme_associate() 2568 os_memcpy(wpos, rm_en_dup, rm_en_len); in sme_associate() 2569 wpos += rm_en_len; in sme_associate() 2572 os_memcpy(wpos, pos, end - pos); in sme_associate()
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.c | 3371 char buf[255], *wpos = buf; in fils_domain_name_hash() local 3379 *wpos++ = tolower(*pos); in fils_domain_name_hash() 3381 *wpos++ = *pos; in fils_domain_name_hash()
|