/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswstate.c | 124 s = base->nsw_state.first; in _nscd_free_nsw_state_base() 529 ctrl_p->first); in _get_nsw_state_int() 616 ctrl_p->first); in _get_nsw_state_int() 628 ret = ctrl_p->first; in _get_nsw_state_int() 631 ctrl_p->first = ret->next; in _get_nsw_state_int() 648 ctrl_p->first); in _get_nsw_state_int() 748 ctrl_p->first); in _put_nsw_state_int() 753 s->next = ctrl_p->first; in _put_nsw_state_int() 754 ctrl_p->first = s; in _put_nsw_state_int() 756 ctrl_p->first = s; in _put_nsw_state_int() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl.c | 118 while (rp->first != NULL) { in tbl_free() 119 cp = rp->first; in tbl_free() 120 rp->first = cp->next; in tbl_free() 128 while (sp->first != NULL) { in tbl_free() 129 dp = sp->first; in tbl_free() 130 sp->first = dp->next; in tbl_free() 176 while (sp != NULL && sp->first == NULL) in tbl_end()
|
H A D | tbl_term.c | 244 dp = sp->first; in term_tbl() 279 cp = cpn = sp->layout->first; in term_tbl() 280 dp = sp->first; in term_tbl() 319 (sp->first != NULL && sp->first->pos == TBL_DATA_DHORIZ) || in term_tbl() 322 (sp->first != NULL && sp->first->pos == TBL_DATA_HORIZ) || in term_tbl() 337 cp = sp->layout->first; in term_tbl() 339 sp->next->layout->first; in term_tbl() 341 sp->prev->layout->first; in term_tbl() 342 dp = sp->first; in term_tbl() 590 dpn = spn->first; in tbl_hrule() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | keytab.c | 78 int nc, int *first, int *last); 304 switch(_kt_locate_keybinding(kt, binary, nc, &first, &last)) { in _kt_set_keyfn() 314 _del_StringMemString(kt->smem, kt->table[first].keyseq); in _kt_set_keyfn() 315 memmove(kt->table + first, kt->table + first + 1, in _kt_set_keyfn() 316 (kt->nkey - first - 1) * sizeof(kt->table[0])); in _kt_set_keyfn() 407 int nc, int *first, int *last) in _kt_locate_keybinding() argument 427 *first = *last = mid; in _kt_locate_keybinding() 436 *first = top; in _kt_locate_keybinding() 444 *first = *last; in _kt_locate_keybinding() 507 *matches = kt->table + first; in _kt_lookup_keybinding() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_msi.c | 134 int first, count, i, n; in px_msi_alloc() local 152 for (first = 0; (first + count) < msi_state_p->msi_cnt; in px_msi_alloc() 153 first += count) { in px_msi_alloc() 154 for (i = first; i < (first + count); i++) { in px_msi_alloc() 160 if (i == (first + count)) { in px_msi_alloc() 184 for (i = first; i < (first + count); i++, inum++) { in px_msi_alloc() 202 first = i; in px_msi_alloc() 220 for (n = 0, i = first; n < count; i--) { in px_msi_alloc() 233 ddi_get_instance(rdip), first, count); in px_msi_alloc()
|
/illumos-gate/usr/src/boot/common/ |
H A D | merge_help.awk | 11 first = -1; 39 first = ind; 44 i = first; j = -1; 59 first = ind; 92 node = first;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | path.c | 1489 first = pp; in path_addcomp() 1501 return(first); in path_addcomp() 1545 if(first) in path_chkpaths() 1567 if(!first) in path_chkpaths() 1594 old = first; in path_addpath() 1595 first = 0; in path_addpath() 1604 first = path_addcomp(shp,first,old,".",type); in path_addpath() 1613 first = path_addcomp(shp,first,old,cp,type); in path_addpath() 1637 return(first); in path_addpath() 1651 return(first); in path_dup() [all …]
|
H A D | macro.c | 504 first = fcseek(cp-first); in copyto() 537 first = cp; in copyto() 617 n = cp-first; in copyto() 625 cp = first; in copyto() 842 sfwrite(stkp,first,cp-first); in copyto() 843 first=cp; in copyto() 877 c = cp-first-2; in mac_substitute() 880 first=cp; in mac_substitute() 883 first--; in mac_substitute() 895 if(n=cp-first-1) in mac_substitute() [all …]
|
H A D | expand.c | 279 int first, last, incr, count = 0; in path_generate() local 308 first = strtol(pat,&endc,0); in path_generate() 314 else if(last<first) in path_generate() 354 first = *pat; in path_generate() 362 else if(first>last) in path_generate() 417 pat[0] = first; in path_generate() 423 sfsprintf(pat=tmp,sizeof(tmp),format,first); in path_generate() 427 if(incr*(first+incr) > last*incr) in path_generate() 430 first += incr; in path_generate()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 506 uint32_t first; in emlxs_msg_log_get() local 520 resp->first = 0; in emlxs_msg_log_get() 534 if (req->first > last) { in emlxs_msg_log_get() 536 resp->first = last; in emlxs_msg_log_get() 548 first = log->count - log->size; in emlxs_msg_log_get() 552 first = 0; in emlxs_msg_log_get() 558 if (req->first > first) { in emlxs_msg_log_get() 560 index += (req->first - first); in emlxs_msg_log_get() 565 first = req->first; in emlxs_msg_log_get() 569 count = last - first + 1; in emlxs_msg_log_get() [all …]
|
/illumos-gate/usr/src/cmd/psradm/ |
H A D | psradm.c | 195 do_range(processorid_t first, processorid_t last, int action, in do_range() argument 203 for (cpu = first; cpu <= last; cpu++) { in do_range() 211 cmdname, first, last); in do_range() 357 processorid_t first, last; in main() local 359 first = (processorid_t) in main() 371 last < first || first < 0) { in main() 378 if (do_range(first, last, action, pac)) in main()
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 183 union Item first; member 543 np->first.l = 0L; in compile() 544 np->first.ll = 0LL; in compile() 570 np->first.l = atol(b); in compile() 601 np->first.l = value; in compile() 608 np->first.ap = av; in compile() 625 np->first.vp = varargs(np->first.ap); in compile() 637 np->first.cp = b; in compile() 674 np->first.l = in compile() 746 np->first.cp = b; in compile() [all …]
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | chg_page.c | 36 #define first(f) (0) macro 46 p = first(f); in next() 56 if (--p < first(f)) in prev() 76 return (_set_form_page(f, first(f), (FIELD *) 0)); in _first_page()
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strcpy.S | 84 srl %o5, 8, %o4 ! extract first byte 85 tst %o4 ! first byte == 0 ? 87 stb %o4, [%o2] ! store first byte 98 srl %o5, 24, %o4 ! extract first byte 99 tst %o4 ! is first byte zero ? 101 stb %o4, [%o2] ! store first byte 144 srlx %o1, 56, %o3 ! %o3<7:0> = first byte 145 andcc %o1, %o4, %g0 ! first byte zero? 147 stb %o3, [%o2 - 8] ! store first byte 192 stb %g1, [%o2 - 8] ! store first byte [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 244 int first = 0; in dotape() local 420 first++; in dotape() 427 first = 0; in dotape() 623 first++; in doaudio() 630 first = 0; in doaudio() 790 first++; in dofloppy() 797 first = 0; in dofloppy() 1055 first++; in docd() 1062 first = 0; in docd() 1233 first++; in dormdisk() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ptrlist.c | 378 struct ptr_list *last, *first = *head; in undo_ptr_list_last() local 380 if (!first) in undo_ptr_list_last() 382 last = first; in undo_ptr_list_last() 392 } while (last != first); in undo_ptr_list_last() 403 struct ptr_list *last, *first = *head; in delete_ptr_list_last() local 405 if (!first) in delete_ptr_list_last() 407 last = first->prev; in delete_ptr_list_last() 411 first->prev = last->prev; in delete_ptr_list_last() 412 last->prev->next = first; in delete_ptr_list_last() 413 if (last == first) in delete_ptr_list_last()
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | strview.c | 38 sv_init_str(strview_t *sv, const char *first, const char *last) in sv_init_str() argument 41 last = first + strlen(first); in sv_init_str() 43 VERIFY3P(first, <=, last); in sv_init_str() 44 sv->sv_first = first; in sv_init_str()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | if.c | 87 boolean_t first; in if_dump2() local 95 for (first = _B_TRUE, p = flagbits; p->t_bits > 0; p++) { in if_dump2() 99 if (first) { in if_dump2() 101 first = _B_FALSE; in if_dump2() 104 if (first) in if_dump2()
|
H A D | trace.c | 159 boolean_t first; in traceaction() local 185 for (first = _B_TRUE, p = statebits; p->t_bits > 0; p++) { in traceaction() 189 if (first) { in traceaction() 191 first = _B_FALSE; in traceaction() 194 if (first) in traceaction() 198 for (first = _B_TRUE, p = flagbits; p->t_bits > 0; in traceaction() 203 if (first) { in traceaction() 205 first = _B_FALSE; in traceaction()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.c | 590 ino_t first; in createleaves() local 599 first = lowerbnd(ROOTINO); in createleaves() 602 first = lowerbnd(first); in createleaves() 615 ep = lookupino(first); in createleaves() 626 first = lowerbnd(first); in createleaves() 638 first, curfile.ino); in createleaves() 696 ino_t first, next, last; in createfiles() local 701 first = lowerbnd(ROOTINO); in createfiles() 703 nextvol = volnumber(first); in createfiles() 711 first = lowerbnd(first); in createfiles() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 684 *first = walker; in vmu_insert_lookup_object_bounds() 694 *first = walker; in vmu_insert_lookup_object_bounds() 708 if (*first == NULL) { in vmu_insert_lookup_object_bounds() 713 *first = tmp; in vmu_insert_lookup_object_bounds() 734 *last = *first; in vmu_insert_lookup_object_bounds() 805 next = *first; in vmu_update_bounds() 867 current = *first; in vmu_merge_bounds() 908 next = *first; in vmu_amp_update_incore_bounds() 1000 next = *first; in vmu_vnode_update_incore_bounds() 1244 first = cur; in vmu_calculate_seg() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/regex/data/ |
H A D | categorize.dat | 14 ?E (...?.?)* xxxxxx (0,6)(4,6) REPEAT_LONGEST=first 24 |E (aba|a*b)(aba|a*b) ababa (0,4)(0,3)(3,4) BUG=first-match 48 |E (aba|a*b)* ababa (0,4)(3,4) # LENGTH=first 59 ?E (a?)((ab)?)(b?)a?(ab)?b? abab (0,4)(0,1)(1,1)(?,?)(1,2)(2,4) BUG=subexpression-first 61 |E .*(.*) ab (0,2)(0,2) BUG=subexpression-first 62 ; BUG=subexpression-first-UNKNOWN
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_list.c | 106 struct mlist_head *first = list->next; in mlist_splice() local 108 if (first != list) { in mlist_splice() 112 first->prev = head; in mlist_splice() 113 head->next = first; in mlist_splice()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/ |
H A D | topo_usb_metadata.c | 146 topo_usb_getline(topo_mod_t *mod, char *buf, size_t len, FILE *f, char **first) in topo_usb_getline() argument 175 *first = &buf[i]; in topo_usb_getline() 365 char buf[TOPO_USB_META_LINE_MAX], *first, *prod; in topo_usb_load_metadata() local 411 while ((ret = topo_usb_getline(mod, buf, sizeof (buf), f, &first)) != in topo_usb_load_metadata() 420 if (!topo_usb_parse_start(mod, &parse, first)) { in topo_usb_load_metadata() 426 if (!topo_usb_parse_port(mod, &parse, first)) { in topo_usb_load_metadata() 432 if (!topo_usb_parse_label(mod, &parse, first)) { in topo_usb_load_metadata() 438 if (!topo_usb_parse_port_type(mod, &parse, first)) { in topo_usb_load_metadata() 446 first)) { in topo_usb_load_metadata()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioList.cc | 116 while (first() != 0) in ~AudioList() 117 delete first(); in ~AudioList() 122 first() const in first() function in AudioList 141 ep = first(); in getposition() 168 for (sum = 0., ep = first(); ep != 0; ep = ep->next) { in GetLength() 211 if ((ep = first()) != 0) in GetHeader() 308 if (first() == 0) { in Insert()
|