/freebsd-current/usr.bin/diff/ |
H A D | diffreg.c | 1444 match_function(const long *f, int pos, FILE *fp) argument 1451 lastline = pos; 1452 for (; pos > last; pos--) { 1453 fseek(fp, f[pos - 1], SEEK_SET); 1454 nc = f[pos] - f[pos - 1]; 1468 lastmatchline = pos; 1485 lastmatchline = pos;
|
H A D | diffdir.c | 54 int pos; local 83 pos = scandir(path1, &dirp1, selectfile, alphasort); 84 if (pos == -1) { 86 pos = 0; 93 edp1 = dirp1 + pos; 95 pos = scandir(path2, &dirp2, selectfile, alphasort); 96 if (pos == -1) { 98 pos = 0; 105 edp2 = dirp2 + pos; 124 pos [all...] |
/freebsd-current/sys/kern/ |
H A D | vfs_mount.c | 347 opt->pos = i / 2; 2550 return (opt->pos);
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | spa.c | 1396 int pos = 0; local 1403 pos += sprintf(&buf[pos], "%s%s,%u,%u", sep, 1407 pos += sprintf(&buf[pos], "%s%s", sep, 1413 buf[pos++] = '\n'; 1414 buf[pos] = '\0'; 1416 return (pos);
|
/freebsd-current/contrib/bsddialog/lib/ |
H A D | formbox.c | 64 unsigned int pos; /* pos in privwbuf and pubwbuf */ member in struct:privateitem 179 item->pos = 0; 223 if (item->pos == 0 && item->xcursor == 0) 227 item->pos = 0; 236 if (item->pos == 0) 238 /* check redundant by item->pos == 0 because of 'while' below */ 243 item->pos -= 1; 244 width = wcwidth(item->pubwbuf[item->pos]); 268 if (item->pos [all...] |
/freebsd-current/contrib/ldns/ |
H A D | resolver.c | 183 ldns_resolver_nameserver_rtt(const ldns_resolver *r, size_t pos) argument 191 if (pos >= ldns_resolver_nameserver_count(r)) { 195 return rtt[pos]; 506 ldns_resolver_set_nameserver_rtt(ldns_resolver *r, size_t pos, size_t value) argument 514 if (pos >= ldns_resolver_nameserver_count(r)) { 517 rtt[pos] = value;
|
/freebsd-current/sys/sys/ |
H A D | soundcard.h | 277 /* what the 'pos' field refers to */ 283 long pos; member in struct:_snd_sync_parm 1443 #define SEQ_PANNING(dev, voice, pos) \ 1444 SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) 1467 #define SEQ_SONGPOS(pos) _TIMER_EVENT(TMR_SPP, pos)
|
/freebsd-current/sys/dev/sound/pcm/ |
H A D | dsp.c | 974 printf("AIOSYNC chan 0x%03lx pos %lu unimplemented\n", 975 ((snd_sync_parm *)arg)->chan, ((snd_sync_parm *)arg)->pos);
|
/freebsd-current/sys/dev/sound/pci/ |
H A D | hdsp-pcm.c | 459 buffer_mux_write(uint32_t *dma, uint32_t *pcm, unsigned int pos, argument 464 for (; pos < pos_end; ++pos) { 466 dma[slot * HDSP_CHANBUF_SAMPLES + pos] = 467 pcm[pos * channels + slot]; 474 unsigned int pos, unsigned int samples, unsigned int channels) 492 buffer_mux_write(dma, pcm, pos, pos + samples, 1, channels); 494 buffer_mux_write(dma, pcm, pos, pos 473 buffer_mux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t slots, unsigned int pos, unsigned int samples, unsigned int channels) argument 504 buffer_demux_read(uint32_t *dma, uint32_t *pcm, unsigned int pos, unsigned int pos_end, unsigned int width, unsigned int channels) argument 518 buffer_demux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t slots, unsigned int pos, unsigned int samples, unsigned int channels) argument 557 unsigned int pos, length, remainder, offset, buffer_size; local 779 uint32_t ret, pos; local [all...] |
H A D | ich.c | 547 uint32_t pos; local 560 pos = ch->civ * ch->blksz; 562 return (pos);
|
H A D | hdspe-pcm.c | 443 buffer_mux_write(uint32_t *dma, uint32_t *pcm, unsigned int pos, argument 450 dma[slot * HDSPE_CHANBUF_SAMPLES + pos] = 451 pcm[pos * channels + slot]; 453 pos = (pos + 1) % HDSPE_CHANBUF_SAMPLES; 459 unsigned int pos, unsigned int samples, unsigned int adat_width, 479 buffer_mux_write(dma, pcm, pos, samples, 2, channels); 481 buffer_mux_write(dma, pcm, pos, samples, 4, channels); 483 buffer_mux_write(dma, pcm, pos, samples, 8, channels); 485 buffer_mux_write(dma, pcm, pos, sample 458 buffer_mux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t ports, unsigned int pos, unsigned int samples, unsigned int adat_width, unsigned int pcm_width) argument 489 buffer_demux_read(uint32_t *dma, uint32_t *pcm, unsigned int pos, unsigned int samples, unsigned int slots, unsigned int channels) argument 504 buffer_demux_port(uint32_t *dma, uint32_t *pcm, uint32_t subset, uint32_t ports, unsigned int pos, unsigned int samples, unsigned int adat_width, unsigned int pcm_width) argument 543 unsigned int pos, length, offset; local 761 uint32_t ret, pos; local [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 2220 off_t ps, pss, po, pos, us, uss, uo, uos; local 2286 pos = po / cbe_lun->blocksize; 2287 if ((pss > 0) && (pss * cbe_lun->blocksize == ps) && (pss >= pos) && 2288 ((pss & (pss - 1)) == 0) && (pos * cbe_lun->blocksize == po)) { 2290 cbe_lun->pblockoff = (pss - pos) % pss; 2331 off_t ps, pss, po, pos, us, uss, uo, uos, otmp; local 2452 pos = po / cbe_lun->blocksize; 2453 if ((pss > 0) && (pss * cbe_lun->blocksize == ps) && (pss >= pos) && 2454 ((pss & (pss - 1)) == 0) && (pos * cbe_lun->blocksize == po)) { 2456 cbe_lun->pblockoff = (pss - pos) [all...] |
/freebsd-current/lib/libc/regex/ |
H A D | regcomp.c | 148 static void doinsert(struct parse *p, sop op, size_t opnd, sopno pos); 149 static void dofwd(struct parse *p, sopno pos, sop value); 191 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos) 192 #define AHEAD(pos) dofwd(p, pos, HERE()-(pos)) 193 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos) 392 sopno pos; local 829 sopno pos; local 1765 doinsert(struct parse *p, sop op, size_t opnd, sopno pos) argument 1801 dofwd(struct parse *p, sopno pos, sop value) argument [all...] |
/freebsd-current/contrib/unbound/util/ |
H A D | netevent.c | 3035 size_t pos = sldns_buffer_position(buf); local 3038 memmove(sldns_buffer_begin(buf), sldns_buffer_at(buf, pos), len); 3183 verbose(VERB_ALGO, "http_chunked_segment: got now %d, tcpbytcount %d, http_stored %d, buffer pos %d, buffer limit %d", (int)got_now, (int)c->tcp_byte_count, (int)c->http_stored, (int)sldns_buffer_position(c->buffer), (int)sldns_buffer_limit(c->buffer));
|
H A D | config_file.c | 2231 int pos = id/8; local 2232 log_assert((size_t)pos < len); 2234 bitlist[pos] |= 1<<(id%8);
|
/freebsd-current/contrib/unbound/services/ |
H A D | authzone.c | 4468 size_t pos; local 4471 pos = sldns_buffer_position(buf); 4479 parens += chunkline_count_parens(buf, pos); 4481 chunkline_remove_trailcomment(buf, pos); 4482 pos = sldns_buffer_position(buf); 4490 parens += chunkline_count_parens(buf, pos); 5810 size_t pos = sldns_buffer_position(pkt); local 5818 if(dname_pkt_compare(pkt, sldns_buffer_at(pkt, pos), 5860 size_t pos = sldns_buffer_position(pkt); local 5908 if(dname_pkt_compare(pkt, sldns_buffer_at(pkt, pos), [all...] |
/freebsd-current/contrib/wpa/src/drivers/ |
H A D | driver_bsd.c | 1431 u8 *pos; local 1458 pos = (u8 *)(result + 1); 1460 *pos++ = WLAN_EID_SSID; 1461 *pos++ = sr->isr_ssid_len; 1462 os_memcpy(pos, sr + 1, sr->isr_ssid_len); 1463 pos += sr->isr_ssid_len; 1469 *pos++ = WLAN_EID_SUPP_RATES; 1470 *pos++ = sr->isr_nrates; 1471 os_memcpy(pos, sr->isr_rates, sr->isr_nrates); 1472 pos 1504 uint8_t buf[24*1024], *pos; local [all...] |
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_settings.cpp | 5160 char *pos = CCAST(char *, value); local 5161 while (*pos && mlen) { 5162 if (*pos != ' ') { // skip spaces 5163 if (len == 0 && *pos == ':') { 5166 input[len] = (char)(toupper(*pos)); 5169 if (input[len] == 'O' && strchr(digits, *(pos + 1))) 5175 pos++; 5182 pos = input; 5183 components[level++] = pos; 5184 while ((pos [all...] |
/freebsd-current/sys/dev/sound/usb/ |
H A D | uaudio.c | 5586 uint16_t pos; local 5596 pos = 0; 5601 usbd_copy_out(pc, pos, buf, 4); 5620 pos += 4;
|
/freebsd-current/sys/dev/sound/pci/hda/ |
H A D | hdaa.c | 3703 int i, pos; local 3715 pos = -1; 3719 if (pos >= 0 && as->dacs[0][i] != as->dacs[0][pos]) 3721 pos = i; 3724 nid1 = as->dacs[0][pos];
|
/freebsd-current/sys/arm/freescale/vybrid/ |
H A D | vf_sai.c | 145 int pos; member in struct:sc_info 391 sc->pos += (tcd->nbytes * tcd->nmajor); 392 if (sc->pos >= sc->dma_size) 393 sc->pos -= sc->dma_size; 551 return (sc->pos); 692 sc->pos = 0;
|
/freebsd-current/sys/arm/freescale/imx/ |
H A D | imx6_ssi.c | 178 int pos; member in struct:sc_info 420 sc->pos += conf->period; 421 if (sc->pos >= bufsize) 422 sc->pos -= bufsize; 609 return (sc->pos); 736 sc->pos = 0;
|
/freebsd-current/sys/arm/allwinner/ |
H A D | a10_codec.c | 153 uint32_t pos; member in struct:a10codec_chinfo 638 src = ch->physaddr + ch->pos; 642 dst = ch->physaddr + ch->pos; 685 ch->pos += ch->blocksize; 686 if (ch->pos >= bufsize) 687 ch->pos -= bufsize; 726 ch->pos = 0; 977 return (ch->pos);
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 6116 uint32_t cnt, *tl, len, len2, i, pos, retlen; local 6164 for (pos = 0; pos < len; pos += (i + 1)) { 6165 if (pos == cookie) 6167 i = buf[pos]; 6169 if (pos != cookie) { 6177 i = buf[pos]; 6185 retlen += nfsm_strtom(nd, &buf[pos + 1], i); 6187 pos [all...] |
/freebsd-current/contrib/libcbor/src/cbor/internal/ |
H A D | unicode.c | 74 size_t pos = 0, count = 0; local 76 for (; pos < source_length; pos++) { 77 res = _cbor_unicode_decode(&state, &codepoint, source[pos]); 92 *status = (struct _cbor_unicode_status){.location = pos,
|