HomeSort by: relevance | last modified time | path
    Searched defs:wrap (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/tests/lib/libc/ssp/
h_vsprintf.c 37 static void wrap(const char *, ...) __printflike(1, 2);
40 wrap(const char *fmt, ...) function in typeref:typename:void
53 wrap("%s", argv[1]);
h_vsnprintf.c 38 static void wrap(size_t, const char *, ...) __printflike(2, 3);
41 wrap(size_t len, const char *fmt, ...) function in typeref:typename:void
55 wrap(len, "%s", "012345678901234567890");
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_ring_types.h 50 u32 wrap; member in struct:intel_ring
  /src/usr.bin/tail/
read.c 57 * storing the data in a wrap-around buffer which is then displayed. If the
70 int wrap; local in function:displaybytes
76 for (wrap = 0, ep = p + off; (ch = getc(fp)) != EOF;) {
79 wrap = 1;
94 if (wrap) {
113 if (wrap && (len = ep - p))
143 int blen, cnt, recno, wrap; local in function:displaylines
153 blen = cnt = recno = wrap = 0;
176 wrap = 1;
190 wrap = 1
    [all...]
  /src/usr.bin/base64/
base64.c 63 putoutput(FILE *fout, uint8_t out[4], size_t len, size_t wrap, size_t *pos)
72 if (++(*pos) == wrap) {
81 if (++(*pos) == wrap) {
101 b64_encode(FILE *fout, FILE *fin, size_t wrap)
111 if ((e = putoutput(fout, out, ilen, wrap, &pos)) != 0)
117 if ((e = putoutput(fout, out, ilen, wrap, &pos)) != 0)
121 if (pos != 0 && wrap != 0) {
216 fprintf(stderr, "Usage: %s [-di] [-w <wrap>] [<file>]...\n",
222 doit(FILE *fout, FILE *fin, bool decode, bool ignore, size_t wrap)
229 e = b64_encode(fout, fin, wrap);
240 size_t wrap = 76; local in function:main
    [all...]
  /src/usr.bin/shmif_pcapin/
shmif_pcapin.c 185 bool wrap; local in function:main
196 wrap = false;
199 sizeof(sp), &wrap);
200 dataoff = shmif_buswrite(bmem, dataoff, buf, pcaphdr.len, &wrap);
202 if (wrap)
  /src/usr.bin/shmif_dumpbus/
shmif_dumpbus.c 227 bool wrap; local in function:main
231 wrap = false;
238 &sp, oldoff, sizeof(sp), &wrap);
246 &sp2, oldoff, sizeof(sp2), &wrap);
251 if (wrap)
267 buf, curbus, curlen, &wrap);
268 if (wrap)
279 curbus = shmif_busread(bmem, buf, curbus, curlen, &wrap);
281 if (wrap)
  /src/common/dist/zlib/contrib/infback9/
infback9.c 177 wrap = 1; \
221 int wrap; /* true if the window has wrapped */ local in function:inflateBack9
251 wrap = 0;
543 if (offset > WSIZE - (wrap ? 0: left)) {
  /src/sys/external/bsd/drm/dist/shared-core/
mga_dma.c 192 DRM_DEBUG(" wrap = %d\n", primary->last_wrap);
210 DRM_DEBUG(" wrap = %d\n", sarea_priv->last_wrap);
335 u32 head, wrap; local in function:mga_freelist_get
339 wrap = dev_priv->sarea_priv->last_wrap;
344 tail->age.wrap);
346 head - dev_priv->primary->offset, wrap);
348 if (TEST_AGE(&tail->age, head, wrap)) {
368 DRM_DEBUG("age=0x%06lx wrap=%d\n",
370 dev_priv->primary->offset, buf_priv->list_entry->age.wrap);
929 dev_priv->sarea_priv->last_frame.wrap = 0
    [all...]
savage_bci.c 244 unsigned int wrap; local in function:savage_freelist_get
252 wrap = dev_priv->event_wrap;
254 wrap--; /* hardware hasn't passed the last wrap yet */
256 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap);
257 DRM_DEBUG(" head=0x%04x %d\n", event, wrap);
259 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) {
277 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap);
322 unsigned int wrap, i local in function:savage_dma_reset
337 unsigned int wrap; local in function:savage_dma_wait
423 unsigned int wrap, pad, align, len, i; local in function:savage_dma_flush
    [all...]
mga_drm.h 168 unsigned int wrap; /* Primary DMA wrap count */ member in struct:__anona8b50a930408
savage_drv.h 46 * wide and thus very long lived (unlikely to ever wrap). The size
54 unsigned int wrap; member in struct:drm_savage_age
569 (age)->wrap = w; \
573 ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) )
  /src/sys/external/bsd/drm2/dist/drm/mga/
mga_dma.c 193 DRM_DEBUG(" wrap = %d\n", primary->last_wrap);
211 DRM_DEBUG(" wrap = %d\n", sarea_priv->last_wrap);
333 u32 head, wrap; local in function:mga_freelist_get
337 wrap = dev_priv->sarea_priv->last_wrap;
342 tail->age.wrap);
344 (unsigned long)(head - dev_priv->primary->offset), wrap);
346 if (TEST_AGE(&tail->age, head, wrap)) {
366 DRM_DEBUG("age=0x%06lx wrap=%d\n",
369 buf_priv->list_entry->age.wrap);
936 dev_priv->sarea_priv->last_frame.wrap = 0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/savage/
savage_bci.c 258 unsigned int wrap; local in function:savage_freelist_get
266 wrap = dev_priv->event_wrap;
268 wrap--; /* hardware hasn't passed the last wrap yet */
270 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap);
271 DRM_DEBUG(" head=0x%04x %d\n", event, wrap);
273 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) {
291 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap);
337 unsigned int wrap, i local in function:savage_dma_reset
352 unsigned int wrap; local in function:savage_dma_wait
438 unsigned int wrap, pad, align, len, i; local in function:savage_dma_flush
    [all...]
  /src/common/dist/zlib/
inflate.h 86 int wrap; /* bit 0 true for zlib, bit 1 true for gzip, member in struct:inflate_state
inflate.c 115 if (state->wrap) /* to support ill-conceived Java test suite */
116 strm->adler = state->wrap & 1;
144 int wrap; local in function:inflateReset2
151 /* extract wrap request from windowBits parameter */
155 wrap = 0;
159 wrap = (windowBits >> 4) + 5;
175 state->wrap = wrap;
632 if (state->wrap == 0) {
638 if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header *
    [all...]
deflate.c 229 if (strm->state->wrap == 1) {
233 else if (strm->state->wrap == 2) {
385 int wrap = 1; local in function:deflateInit2_
417 wrap = 0;
424 wrap = 2; /* write gzip wrapper instead */
430 strategy < 0 || strategy > Z_FIXED || (windowBits == 8 && wrap != 1)) {
440 s->wrap = wrap;
556 int wrap; local in function:deflateSetDictionary
563 wrap = s->wrap
    [all...]
deflate.h 113 int wrap; /* bit 0 true for zlib, bit 1 true for gzip */ member in struct:internal_state
  /src/sys/dev/ic/
rtl81x9.c 915 u_int total_len, wrap; local in function:rtk_rxeof
1004 * will wrap to the beginning of the ring buffer.
1006 wrap = RTK_RXBUFLEN - cur_rx;
1011 if (total_len > wrap)
1012 new_rx = total_len - wrap;
1056 if (total_len > wrap) {
1058 cur_rx, wrap, BUS_DMASYNC_POSTREAD);
1059 memcpy(dst, rxbufpos, wrap);
1061 cur_rx, wrap, BUS_DMASYNC_PREREAD);
1064 total_len -= wrap;
    [all...]
bwfm.c 1084 DPRINTF(("%s: 0x%x:%-2d base 0x%08x wrap 0x%08x\n",
1267 uint32_t erom, val, base, wrap; local in function:bwfm_chip_dmp_erom_scan
1305 if (bwfm_chip_dmp_get_regaddr(sc, &erom, &base, &wrap))
1311 core->co_wrapbase = wrap;
1319 uint32_t *base, uint32_t *wrap)
1326 *wrap = 0;
1372 if (*wrap == 0 && stype == wraptype)
1373 *wrap = val & BWFM_DMP_SLAVE_ADDR_BASE;
1374 } while (*base == 0 || *wrap == 0);
  /src/sys/rump/net/lib/libshmif/
if_shmem.c 633 bool wrap; local in function:shmif_snd
661 wrap = false;
663 shmif_buswrite(busmem, busmem->shm_last, &sp, sizeof(sp), &wrap);
668 m->m_len, &wrap);
671 if (wrap) {
749 bool wrap, passup; local in function:shmif_rcv
811 wrap = false;
813 nextpkt, sizeof(sp), &wrap);
816 nextpkt, sp.sp_len, &wrap);
824 if (wrap) {
    [all...]
  /src/lib/libform/
form.h 61 #define O_WRAP (0x010) /* The field contents can line wrap */
274 int wrap; /* wrap from last field to first field if true */ member in struct:_form_struct
  /src/sys/dev/pci/
if_et.c 1970 int end, wrap; local in function:et_txeof
1980 wrap = (tx_done & ET_TX_DONE_POS_WRAP) ? 1 : 0;
1982 while (tbd->tbd_start_index != end || tbd->tbd_start_wrap != wrap) {
  /src/sys/external/bsd/drm2/dist/include/uapi/drm/
mga_drm.h 176 unsigned int wrap; /* Primary DMA wrap count */ member in struct:__anon5a2ca28c0408
  /src/sys/dev/marvell/
if_mvxpe.c 1183 int wrap; local in function:mvxpe_ring_sync_rx
1189 wrap = (idx + count) - MVXPE_RX_RING_CNT;
1190 if (wrap > 0) {
1191 count -= wrap;
1194 0, sizeof(struct mvxpe_rx_desc) * wrap, ops);
1204 int wrap = 0; local in function:mvxpe_ring_sync_tx
1210 wrap = (idx + count) - MVXPE_TX_RING_CNT;
1211 if (wrap > 0) {
1212 count -= wrap;
1214 0, sizeof(struct mvxpe_tx_desc) * wrap, ops)
    [all...]

Completed in 30 milliseconds

1 2