/freebsd-11-stable/contrib/groff/src/libs/libbib/ |
H A D | linear.cpp | 334 int sidx = 4, didx = 4; local 335 for ( ; sidx < size + 4; sidx++, didx++) 337 if (buffer[sidx] == '\r') 339 if (buffer[++sidx] != '\n') 344 if (sidx != didx) 345 buffer[didx] = buffer[sidx];
|
H A D | index.cpp | 415 int sidx = 1, didx = 1; local 416 for ( ; sidx < length + 1; sidx++, didx++) 418 if (buf[sidx] == '\r') 420 if (buf[++sidx] != '\n') 425 if (sidx != didx) 426 buf[didx] = buf[sidx];
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | work_thread.c | 207 size_t sidx; local 213 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx) 214 c->workitems[sidx] = NULL; 243 size_t sidx; local 249 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx) 250 c->responses[sidx] [all...] |
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_sge.c | 1504 if (__predict_false(++iq->cidx == iq->sidx)) { 1609 refill = IDXDIFF(fl->hw_cidx, fl_hw_cidx, fl->sidx) > 2; 1658 if (__predict_false(++iq->cidx == iq->sidx)) { 1862 if (__predict_false(cidx == fl->sidx)) 1895 if (__predict_false(cidx == fl->sidx)) 2034 available = eq->sidx - 1; 2036 available = IDXDIFF(eq->cidx, eq->pidx, eq->sidx) - 1; 2044 if (__predict_true(eq->sidx - eq->pidx > n)) { 2049 int first_portion = (eq->sidx - eq->pidx) * EQ_ESIZE; 2056 eq->pidx = n - (eq->sidx [all...] |
H A D | t4_netmap.c | 273 MPASS(nm_txq->sidx == na->num_tx_desc); 414 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx]; 487 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx) 609 MPASS(nm_txq->pidx <= nm_txq->sidx); 610 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) { 631 if (NMIDXDIFF(nm_txq, equiqidx) >= nm_txq->sidx / 2) { 656 return (nm_txq->sidx - nm_txq->pidx); 658 return (nm_txq->sidx - nm_txq->pidx - 1); 664 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx]; 686 MPASS(nm_txq->cidx <= nm_txq->sidx); [all...] |
H A D | adapter.h | 405 uint16_t sidx; /* index of the entry with the status page */ member in struct:sge_iq 448 uint16_t sidx; /* index of the entry with the status page */ member in struct:sge_eq 508 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat) 510 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) >= 2 * fl->lowat) 523 uint16_t sidx; /* index of status page */ member in struct:sge_fl 712 uint16_t sidx; member in struct:sge_nm_txq 1075 return (eq->sidx / 4);
|
H A D | t4_main.c | 5572 struct sge_qstat *spg = (void *)&eq->desc[eq->sidx];
|
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.c | 517 struct st_ptr *sidx, struct st_idx *si) 522 if (sidx->idx == 0) { 527 pg = PORTGROUP_BYSIDX(cfg, nh, sidx->idx); 528 st = &pg->states[sidx->off]; 541 struct st_ptr sidx; local 545 sidx = si->sidx_next; 546 if (sidx.idx == 0) { 553 pg = PORTGROUP_BYSIDX(cfg, nh, sidx.idx); 554 st = &pg->states[sidx.off]; 1459 struct st_ptr sidx; local 516 st_first(const struct nat64lsn_cfg *cfg, const struct nat64lsn_host *nh, struct st_ptr *sidx, struct st_idx *si) argument [all...] |
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf.c | 1190 PF_ACPY(&sk->addr[pd->sidx], saddr, pd->af); 1192 sk->port[pd->sidx] = sport; 2511 PF_ACPY(saddr, &sk->addr[pd->sidx], af); 2514 *pd->sport = sk->port[pd->sidx]; 3322 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) || 3323 nk->port[pd->sidx] != sport) { 3325 &th->th_sum, &nk->addr[pd->sidx], 3326 nk->port[pd->sidx], 0, af); 3345 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) || 3346 nk->port[pd->sidx] ! [all...] |
H A D | pf_ioctl.c | 1875 int sidx, didx; local 1877 /* NATLOOK src and dst are reversed, so reverse sidx/didx */ 1878 sidx = (direction == PF_IN) ? 1 : 0; 1892 PF_ACPY(&key.addr[sidx], &pnl->saddr, pnl->af); 1893 key.port[sidx] = pnl->sport; 1903 sk = state->key[sidx]; 1904 PF_ACPY(&pnl->rsaddr, &sk->addr[sidx], sk->af); 1905 pnl->rsport = sk->port[sidx];
|
/freebsd-11-stable/usr.bin/xlint/lint2/ |
H A D | read.c | 547 u_short tidx, sidx; local 623 sidx = inptype(cp, &cp); /* force seq. point! (ditto below) */ 624 tp->t_subt = TP(sidx); 627 sidx = inptype(cp, &cp); 628 tp->t_subt = TP(sidx); 645 sidx = inptype(cp, &cp); 646 tp->t_args[i] = TP(sidx); 650 sidx = inptype(cp, &cp); 651 tp->t_subt = TP(sidx);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 519 int idx, sidx; local 565 sidx = idr_pos(starting_id, layer); 567 idx = find_next_bit(&il->bitmap, IDR_SIZE, sidx); 568 if (idx == IDR_SIZE && sidx == 0) 583 if (idx > sidx)
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/utf8proc/ |
H A D | utf8proc.c | 635 int sidx = starter_property->comb_index; local 636 int idx = (current_property->comb_index & 0x3FFF) - utf8proc_combinations[sidx]; 637 if (idx >= 0 && idx <= utf8proc_combinations[sidx + 1] ) { 638 idx += sidx + 2;
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | pf_snmp.c | 1367 pfa_table_addrs(u_int sidx, struct pfr_table *pt) argument 1422 e->index = sidx + i;
|
/freebsd-11-stable/sys/net/ |
H A D | pfvar.h | 1146 u_int8_t sidx; /* key index for source */ member in struct:pf_pdesc
|