Home
last modified time | relevance | path

Searched refs:nItems (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/usr.sbin/ppp/
Diplist.c72 list->cur.nItems = 1; in iplist_setrange()
78 list->cur.nItems = 1; in iplist_setrange()
90 list->cur.nItems = ntohl(endip.s_addr) - list->cur.lstart + 1; in iplist_setrange()
91 if (list->cur.nItems < 1) in iplist_setrange()
138 } else if (++list->cur.srcitem == list->cur.nItems) { in iplist_next()
159 list->nItems += list->cur.nItems; in iplist_setsrc()
170 list->nItems = 0; in iplist_reset()
177 if (pos < 0 || (unsigned)pos >= list->nItems) { in iplist_setcurpos()
187 if (pos < (int)list->cur.nItems) { in iplist_setcurpos()
195 pos -= list->cur.nItems; in iplist_setcurpos()
[all …]
Diplist.h37 u_long nItems; member
42 u_long nItems; member
Dipcp.c720 for (f = 0; f < bundle->ncp.ipcp.cfg.peer_list.nItems; f++) { in ChooseHisAddr()
730 if (f == bundle->ncp.ipcp.cfg.peer_list.nItems) { in ChooseHisAddr()
/freebsd-12-stable/contrib/apr-util/hooks/
Dapr_hooks.c83 static TSort *prepare(apr_pool_t *p,TSortData *pItems,int nItems) in prepare() argument
85 TSort *pData=apr_palloc(p,nItems*sizeof *pData); in prepare()
88 qsort(pItems,nItems,sizeof *pItems,crude_order); in prepare()
89 for(n=0 ; n < nItems ; ++n) { in prepare()
91 pData[n].ppPredecessors=apr_pcalloc(p,nItems*sizeof *pData[n].ppPredecessors); in prepare()
96 for(n=0 ; n < nItems ; ++n) { in prepare()
100 for(k=0 ; k < nItems ; ++k) in prepare()
113 for(k=0 ; k < nItems ; ++k) in prepare()
139 static TSort *tsort(TSort *pData,int nItems) in tsort() argument
145 for(nTotal=0 ; nTotal < nItems ; ++nTotal) { in tsort()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp1568 int nItems = m_stop_packet_stack.size(); in UpdateThreadIDList() local
1570 for (int i = 0; i < nItems; i++) { in UpdateThreadIDList()
2388 int nItems = m_stop_packet_stack.size(); in RefreshStateAfterStop() local
2390 for (int i = 0; i < nItems; i++) { in RefreshStateAfterStop()