/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 245 elem *last = NULL; in add_elem() local 256 last = cur; in add_elem() 259 if (last) { in add_elem() 262 last->next = e; in add_elem()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 587 cpnode->u.name.last = in hmatch_full_config() 589 u.name.last; in hmatch_full_config() 600 ewfp->u.name.last = oldepname->u.name.last; in hmatch_full_config() 922 ewfp->u.name.last = wcp->oldepname->u.name.last; in vmatch_event() 1825 if (last != NULL) in itree_next_bubble() 1826 next = last->next; in itree_next_bubble() 1834 last = next; in itree_next_bubble() 2080 if (last != NULL) in itree_next_arrow() 2081 next = last->next; in itree_next_arrow() 2116 if (last != NULL) in itree_next_constraint() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_list.h | 141 qede_list_t *last = list->prev; in list_splice() local 146 last->next = next; in list_splice() 147 next->prev = last; in list_splice()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn.c | 527 parent->last->next = bp; in eqn_box_alloc() 528 bp->prev = parent->last; in eqn_box_alloc() 532 parent->last = bp; in eqn_box_alloc() 547 assert(NULL != parent->last); in eqn_box_makebinary() 548 b = parent->last; in eqn_box_makebinary() 552 parent->last = b->prev; in eqn_box_makebinary() 558 newb->first = newb->last = b; in eqn_box_makebinary() 718 if (parent->last == NULL) { in eqn_parse() 832 if (parent->last == NULL) { in eqn_parse() 899 if (parent->last == NULL) { in eqn_parse() [all …]
|
H A D | term_ps.c | 74 char last; /* last non-backspace seen */ member 796 assert('\0' == p->ps->last); in ps_end() 1067 if (p->ps->last == '\0') in ps_plast() 1084 wx = fonts[p->ps->lastf].gly[(int)p->ps->last-32].wx; in ps_plast() 1090 ps_pletter(p, p->ps->last); in ps_plast() 1091 p->ps->last = '\0'; in ps_plast() 1119 assert(p->ps->last != '\0'); in ps_letter() 1130 if (p->ps->last == '_') { in ps_letter() 1140 p->ps->last = c; in ps_letter() 1144 if (p->ps->last == c) { in ps_letter() [all …]
|
H A D | tbl.h | 76 struct tbl_cell *last; /* Rightmost layout cell. */ member 118 struct tbl_dat *last; /* Rightmost data cell. */ member
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | utf8.c | 521 char *krb5int_utf8_strtok(char *str, const char *sep, char **last) in krb5int_utf8_strtok() argument 526 if (last == NULL) in krb5int_utf8_strtok() 529 begin = str ? str : *last; in krb5int_utf8_strtok() 534 *last = NULL; in krb5int_utf8_strtok() 546 *last = end; in krb5int_utf8_strtok()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 118 vm_offset_t addr, last; in bi_copyenv() local 121 addr = last = start; in bi_copyenv() 141 last = ++addr; in bi_copyenv() 144 if (archsw.arch_copyin("", last++, 1) != 1) in bi_copyenv() 145 last = start; in bi_copyenv() 146 return (last); in bi_copyenv()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | bind.c | 171 uint16_t rover, last; in rdsv3_add_bound() local 179 last = rover; in rdsv3_add_bound() 184 last = rover - 1; in rdsv3_add_bound() 201 } while (rover++ != last); in rdsv3_add_bound()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_generic.c | 211 struct dir_entry *last = NULL; local 240 if (add_dir_entry(ent.h_name, list, &last)) { 252 if (add_dir_entry(*p, list, &last)) { 258 assert(last != NULL);
|
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 235 ctid_t *ids, last; in main() local 313 last = -1; in main() 317 if (ids[i] == last) in main() 319 last = ids[i]; in main()
|
/illumos-gate/usr/src/cmd/dc/ |
H A D | dc.h | 53 #define sputc(p, c) {if ((p)->wt == (p)->last) more(p); *(p)->wt++ = c; } 54 #define salterc(p, c) {if ((p)->rd == (p)->last) more(p); *(p)->rd++ = c;\ 57 #define zero(p) for (pp = (p)->beg; pp < (p)->last; ) *pp++ = '\0' 78 char *last; member
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | uname.c | 232 if ((char*)&ut.m[sizeof(ut.m)] > last) \ 233 last = (char*)&ut.m[sizeof(ut.m)]; \ 472 char* last = (char*)&ut; in b_uname() local 488 if (last < ((char*)(&ut + 1))) in b_uname() 490 s = t = last; in b_uname()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ssa.c | 380 int first, last; in ssa_convert() local 384 last = first; in ssa_convert() 387 if (nr > last) in ssa_convert() 388 last = nr; in ssa_convert() 391 processed = sset_init(first, last); in ssa_convert()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | preenlib.c | 226 struct rawdev *last, *rdp; in get_runnable() local 231 for (last = NULL, rdp = *devlist; rdp; last = rdp, rdp = rdp->nxtrd) { in get_runnable() 247 if (last) { in get_runnable() 248 last->nxtrd = rdp->nxtrd; in get_runnable()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 191 char *last; in logindevperm() local 201 console = strtok_r(line, field_delims, &last); in logindevperm() 212 mode_str = strtok_r(last, field_delims, &last); in logindevperm() 239 dev_list = strtok_r(last, field_delims, &last); in logindevperm() 252 device = strtok_r(dev_list, ":", &last); in logindevperm() 260 device = strtok_r(last, ":", &last); in logindevperm()
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | crc32.c | 615 z_size_t last, last2, i; local 662 last = num / 3; 663 if (last >= Z_BATCH_MIN) { 664 last2 = last << 1; 667 for (i = 0; i < last; i++) { 669 val1 = word[i + last]; 675 word += 3 * last; 676 num -= 3 * last; 677 val = x2nmodp(last, 6);
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | doupdate.c | 236 int col, last, tail, jump, count; local 254 last = newscr->_last[row]; 255 if (COLS < last) 256 last = COLS; 272 if (last < tail + CEOL_SIZE) 279 for (jump = -1; col < last; ) { 286 if (last <= ++col) 320 while (col < last 411 if (clr_eol != (char *) 0 && tail <= col && col < last) {
|
/illumos-gate/usr/src/tools/cpcgen/ |
H A D | cpcgen.c | 405 char *last; in cpcgen_parse_model() local 414 if ((brand = strtok_r(fsr, "-", &last)) == NULL || in cpcgen_parse_model() 415 (fam = strtok_r(NULL, "-", &last)) == NULL || in cpcgen_parse_model() 416 (mod = strtok_r(NULL, "-", &last)) == NULL) { in cpcgen_parse_model() 419 step = strtok_r(NULL, "-", &last); in cpcgen_parse_model() 427 l = strtol(fam, &last, 16); in cpcgen_parse_model() 433 l = strtol(mod, &last, 16); in cpcgen_parse_model() 449 *last = '\0'; in cpcgen_parse_model() 730 char *mappath, *last; in cpcgen_read_intel() local 763 if ((fstr = strtok_r(data, ",", &last)) == NULL || in cpcgen_read_intel() [all …]
|
/illumos-gate/usr/src/cmd/tabs/ |
H A D | tabs.c | 351 int i, t, last; in arbitab() local 354 last = 0; in arbitab() 359 tabvect[i++] = last += t; in arbitab() 367 if ((t = getnum(&scan)) > last) in arbitab() 368 tabvect[i++] = last = t; in arbitab() 378 if (last > NCOLS) { in arbitab()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | sun_sas.c | 181 struct sun_sas_hba *last = NULL; in ExtractHandle() local 186 last = hba_ptr, hba_ptr = hba_ptr->next) { in ExtractHandle() 188 if (last) { in ExtractHandle() 189 last->next = hba_ptr->next; in ExtractHandle()
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 76 char *last = NULL; in str2auuser_s() local 83 au_user->au_name = _strtok_escape(buffer, sep, &last); in str2auuser_s() 95 char *last = NULL; in str2userattr_s() local 102 user->name = _strtok_escape(buffer, sep, &last); in str2userattr_s() 591 char *last; local 593 if ((last = strchr(instr, '#')) == 0) { 594 last = instr + linelen; 596 *last-- = '\0'; /* Nuke '\n' or #comment */ 614 while (isspace(*last)) { 615 --last; [all …]
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 346 char *first, *last, *buffer; local 406 if ((last = strchr(instr, '#')) == 0) 407 last = instr + linelen; 408 *last-- = '\0'; 415 while (isspace(*last)) 416 --last; 417 linelen = last - first + 1;
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 72 int last; member 353 cl[i].last = cl[i].first = (i ? cl[i-1].last : 1); in splpkgmap() 358 f[j].ept->volno = cl[i].last; in splpkgmap() 596 if (vol > cl[i].last) in addclass() 597 cl[i].last = vol; in addclass() 603 cl[nclass].last = vol; in addclass()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bufmod.c | 962 mblk_t *last; /* last mblk of current message */ in sbaddmsg() local 1099 for (last = mp; last->b_cont; last = last->b_cont) in sbaddmsg() 1102 if ((wrapperlen <= MBLKTAIL(last)) && in sbaddmsg() 1103 (last->b_datap->db_ref == 1)) { in sbaddmsg() 1110 (void) memset(last->b_wptr, 0, pad); in sbaddmsg() 1111 last->b_wptr += pad; in sbaddmsg() 1114 sbp->sb_head = last; in sbaddmsg()
|