Searched defs:cur (Results 76 - 100 of 262) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/localedef/
H A Dctype.c172 wchar_t cur; local
179 for (cur = last_ctype + 1; cur <= end; cur++) {
180 if ((ctn = get_ctype(cur)) == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c300 #define V(offset) MAX0(cur.offset - old.offset)
321 struct ppp_stats64 cur, old; local
328 get_ppp_stats(&cur);
466 old = cur;
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c225 int cur, nseen; local
237 for (cur = 0, nseen = 0, addr = start; addr < pc; addr = dhp->dh_addr) {
238 hist[cur] = addr;
239 cur = (cur + 1) % n;
259 res = hist[(cur + n - MIN(n, nseen)) % n];
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dmalloc_check.c214 struct mc_data_s *cur = base; local
216 for (; cur; cur = cur->mc_prev) {
217 if (cur->mc_address == newd->mc_address) {
218 if (cur->mc_type == MC_TYPE_ALLOC) {
219 if (cur->mc_alloc_code == newd->mc_alloc_code) {
220 *addr_match = cur;
221 *addr_match_num = cur->mc_alloc_number;
222 return cur
297 struct mc_data_s *cur = mc_data_hash[i]; local
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dbpt.c66 bptlist_t *new, *cur, *prev; local
68 for (cur = ph->pp_breakpoints, prev = NULL;
69 (cur && (cur->bl_addr < addr));
70 prev = cur, cur = cur->bl_next)
72 if (cur && (cur->bl_addr == addr)) {
76 cur
100 bptlist_t *cur; local
115 bptlist_t *cur, *prev; local
136 bptlist_t *cur; local
154 bptlist_t *cur; local
176 bptlist_t *cur; local
190 bptlist_t *cur, *prev; local
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd1.c119 int cur[1]; local
121 cur[0] = 0;
147 return (headers(cur));
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_free.c39 static void pre_merge_hook(struct sm_state *cur, struct sm_state *other) argument
42 set_state(my_id, cur->name, cur->sym, &ok);
H A Dcheck_free_strict.c39 static void pre_merge_hook(struct sm_state *cur, struct sm_state *other) argument
42 set_state(my_id, cur->name, cur->sym, &ok);
H A Dcheck_uninitialized.c27 static void pre_merge_hook(struct sm_state *cur, struct sm_state *other) argument
30 set_state(my_id, cur->name, cur->sym, &initialized);
H A Dptrlist.c440 struct ptr_list *cur = src; local
455 int nr = cur->nr;
458 void *ptr = cur->list[i++];
472 next = cur->next;
473 __free_ptrlist(cur);
474 cur = next;
475 } while (cur != src);
H A Dsmatch_hooks.c84 void (**pre_merge_hooks)(struct sm_state *cur, struct sm_state *other);
121 void add_pre_merge_hook(int client_id, void (*hook)(struct sm_state *cur, struct sm_state *other)) argument
223 void call_pre_merge_hook(struct sm_state *cur, struct sm_state *other) argument
225 if (cur->owner >= num_checks)
228 if (pre_merge_hooks[cur->owner])
229 pre_merge_hooks[cur->owner](cur, other);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_config.c346 const char *cur, *end; local
357 cur = exclude;
359 end = strchr(cur, ' ');
360 len = (NULL == end) ? strlen(cur) : (end - cur);
361 if (len == namelen && 0 == strncmp(cur, poolname, len))
363 cur += (len + 1);
370 cur = restricted;
372 end = strchr(cur, ' ');
373 len = (NULL == end) ? strlen(cur)
[all...]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_object.c525 struct nwam_prop_table_entry *cur = table.entries; local
526 struct nwam_prop_table_entry *end = cur + table.num_entries;
530 for (; cur < end; cur++) {
531 if (strcmp(propname, cur->prop_name) == 0)
532 return (cur);
721 struct nwam_prop_table_entry *cur = table.entries; local
722 struct nwam_prop_table_entry *end = cur + table.num_entries;
735 for (; cur < end; cur
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_memory.c120 struct krb5_mcc_list_node *cur; member in struct:krb5_mcc_ptcursor_data
708 cdata->cur = mcc_head;
732 if (cdata->cur == NULL)
740 (*ccache)->data = cdata->cur->cache;
744 cdata->cur = cdata->cur->next;
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dread.c321 char buf[256],*var=buf,*cur,*end,*up,*v; local
331 up = cur = var;
370 if(c > (end-cur))
372 ssize_t cx = cur - var, ux = up - var;
373 m = (end - var) + (c - (end - cur));
377 var = memcpy(v, var, cur - var);
382 cur = var + cx;
385 memcpy((void*)cur,cp,c);
388 cur += c;
396 *cur
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c738 struct __nsw_lookup_v1 *nex, *cur; local
739 for (cur = cfp->lookups; cur; cur = nex) {
740 libc_free(cur->service_name);
741 nex = cur->next;
742 libc_free(cur);
756 struct __nsw_lookup *nex, *cur; local
757 for (cur = cfp->lookups; cur; cu
794 labelskip(char *cur) argument
804 spaceskip(char *cur) argument
821 skip(char **cur, char key) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtail.c138 Sfoff_t cur; member in struct:Tail_s
328 tp->cur = tp->end = offset;
653 z = fp->fifo ? SF_UNBOUND : st.st_size - fp->cur;
667 fp->cur += w;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_whatis.c92 uint_t offset, cur; local
113 cur = offset = f - w->w_addrs;
120 if ((w->w_flags & WHATIS_ALL) || !w->w_addrfound[cur])
124 while (cur > 0) {
125 cur--;
127 if (w->w_addrs[cur] < base)
130 if (!w->w_addrfound[cur])
134 for (cur = offset + 1; cur < w->w_naddrs; cur
470 whatis_callback_t *cur = whatis_cb[idx]; local
532 whatis_callback_t *cur = whatis_cb[idx]; local
579 whatis_callback_t *cur = whatis_cb[idx]; local
653 whatis_callback_t *cur = whatis_cb[idx]; local
[all...]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c377 int size, int flag, decl_list *dl, decl_list *cur)
402 psav = cur;
403 while (cur != dl) {
405 &cur->decl);
406 cur = cur->next;
413 cur = psav;
414 while (cur != dl) {
415 emit_inline64(indent + 2, &cur->decl, flag);
416 cur
376 expand_inline(int indent, const char *sizestr, int size, int flag, decl_list *dl, decl_list *cur) argument
509 decl_list *cur; local
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dremove.c364 Reglist *cur, *prv, *del; local
366 cur = prv = reglist;
367 while (cur) {
368 if (cur->rl_lmp == lmp) {
369 del = cur;
370 if (cur == reglist) {
371 reglist = cur->rl_next;
372 cur = prv = reglist;
374 prv->rl_next = cur->rl_next;
375 cur
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dobject.c358 struct tx_cmd *cur; local
368 cur = &data->txc_cmds[idx];
371 cur->tx_cmd = cmds;
382 cur->tx_prop = (const char *)loc;
388 cur->tx_nvalues = 0;
389 cur->tx_values = (uint32_t *)loc;
395 cur->tx_nvalues++;
418 if (prev != NULL && strcmp(prev->tx_prop, cur->tx_prop) >= 0)
421 prev = cur;
527 struct tx_cmd *cur; local
558 struct tx_cmd *cur; local
579 struct tx_cmd *cur; local
600 struct tx_cmd *cur; local
625 struct tx_cmd *cur; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/
H A Dibdma.c887 uint8_t cur; local
890 cur = hca->ih_iou.iou_ctrl_list[slot >> 1];
892 cur = (cur & 0xF0) | state;
894 cur = (cur & 0x0F) | (state << 4);
896 hca->ih_iou.iou_ctrl_list[slot >> 1] = cur;
916 uint8_t cur; local
921 cur = hca->ih_iou.iou_ctrl_list[slot >> 1];
922 cur
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmc_comm_dp.c554 int total, cur; local
564 cur = 0;
567 while ((cur < total) &&
568 (buf[cur] != ESC_CHAR) &&
569 (buf[cur] != SYNC_CHAR)) {
570 cur++;
574 if (cur > 0) {
575 rmc_comm_serdev_send(rcs, (char *)buf, cur);
576 total -= cur;
577 buf += cur;
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c178 request_log_entry_t cur; local
216 if (mdb_vread(&cur, sizeof (cur), addr) == -1) {
224 if (clientid != 0 && clientid != cur.rl_clientid)
227 if (client != 0 && client != (uintptr_t)cur.rl_client)
231 for (idx = 0; idx < MIN(MAX_PTRS, cur.rl_num_ptrs); idx++) {
232 if ((uintptr_t)cur.rl_ptrs[idx].rlp_data == node) {
241 enum_lookup(requstr, sizeof (requstr), request_enum, cur.rl_request,
244 if (cur.rl_end != 0) {
246 cur
387 request_log_entry_t cur; local
454 request_log_entry_t cur; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c158 ilb_nat_src_entry_t *cur; local
176 while ((cur = list_remove_head(&ilbs->ilbs_nat_src[i].nsh_head))
178 vmem_destroy(cur->nse_port_arena);
179 kmem_free(cur, sizeof (ilb_nat_src_entry_t));
298 ilb_nat_src_entry_t *cur, *tmp; local
305 cur = list_head(head);
306 while (cur != NULL) {
312 if (cur->nse_refcnt != 0 ||
313 vmem_size(cur->nse_port_arena, VMEM_ALLOC) != 0) {
314 cur
559 uint16_t *cur; local
[all...]

Completed in 65 milliseconds

1234567891011