/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | strtok.c | 59 static char *last; local 62 if (s == NULL && (s = last) == NULL) 77 last = NULL; 98 last = s;
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 227 mdoc->last->parent : mdoc->last; in mdoc_endparse() 274 while (mdoc->last != to) { in rew_last() 275 mdoc_state(mdoc, mdoc->last); in rew_last() 277 mdoc->last = mdoc->last->parent; in rew_last() 279 mdoc_state(mdoc, mdoc->last); in rew_last() 294 if (mdoc->last == n) { in rew_pending() 310 n = mdoc->last; in rew_pending() 377 n = mdoc->last; in rew_elem() 1006 n = mdoc->last; in blk_full() 1482 p = mdoc->last->string; in in_line_argn() [all …]
|
H A D | tbl_layout.c | 250 if (rp->last == NULL) in cell() 252 else if (rp->last->pos == TBL_CELL_HORIZ || in cell() 253 rp->last->pos == TBL_CELL_DHORIZ) in cell() 254 c = rp->last->pos; in cell() 315 if (rp->last != NULL && in tbl_layout() 316 rp->last->col + 1 == tbl->opts.cols && in tbl_layout() 317 tbl->opts.rvert < rp->last->vert) in tbl_layout() 318 tbl->opts.rvert = rp->last->vert; in tbl_layout() 365 if ((pp = rp->last) != NULL) { in cell_alloc() 370 rp->last = p; in cell_alloc()
|
H A D | tbl_term.c | 497 uvert < sp->layout->last->vert && in term_tbl() 499 uvert = dvert = sp->layout->last->vert; in term_tbl() 501 dvert < sp->next->layout->last->vert && in term_tbl() 503 dvert = sp->next->layout->last->vert; in term_tbl() 505 uvert < sp->prev->layout->last->vert && in term_tbl() 508 !IS_HORIZ(sp->prev->layout->last)))) in term_tbl() 509 uvert = sp->prev->layout->last->vert; in term_tbl() 511 (sp->last != NULL && in term_tbl() 512 sp->last->pos == TBL_DATA_DHORIZ && in term_tbl() 517 (sp->last != NULL && in term_tbl() [all …]
|
H A D | mdoc.c | 65 if (mdoc->last->type != ROFFT_EQN || ln > mdoc->last->line) in mdoc_parseln() 171 n = mdoc->last; in mdoc_ptext() 241 switch (mdoc->last->type) { in mdoc_ptext() 243 sp = mdoc->last->string; in mdoc_ptext() 258 mdoc->last->flags |= NODE_VALID | NODE_ENDED; in mdoc_ptext() 277 mdoc->last->flags |= NODE_EOS; in mdoc_ptext() 361 n = mdoc->last; in mdoc_pmacro() 391 SEC_NAME != mdoc->last->sec) in mdoc_pmacro()
|
H A D | roff.c | 703 p = r->last; in roffnode_pop() 731 r->last = p; in roffnode_push() 921 man->last->parent->last = n; in roff_node_append() 931 man->last->last = n; in roff_node_append() 938 man->last = n; in roff_node_append() 983 n = man->last; in roff_word_append() 1985 r->last->col, "%s", roff_name[r->last->tok]); in roff_endparse() 2083 if (r->last != NULL && r->last->endspan < 0) { in roff_cblock() 2105 while (r->last != NULL && r->last->endspan > 0) { in roffnode_cleanscope() 2732 if (r->last->parent && !r->last->parent->rule) in roff_cond() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckitem.c | 411 last = NULL; 417 last = base; 420 if (last) 421 last->next = chp; 434 last = base; 437 if (last) { 439 last->next = chp; 553 static char *last; local 558 last = NULL; 564 if (last && strcmp(last, chp->token) >= 0) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | fcin.c | 80 register unsigned char *last=_Fcin.fclast, *ptr=_Fcin.fcptr; in fcfill() local 90 if(last) in fcfill() 92 if( ptr<last && ptr>_Fcin.fcbuff && *(ptr-1)==0) in fcfill() 95 *last = _Fcin.fcchar; in fcfill() 96 if(ptr > last) in fcfill() 97 _Fcin.fcptr = ptr = last; in fcfill() 104 if(!last) in fcfill()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_tx.c | 250 char *last; local 252 last = strchr(*cpp, ','); 253 if (!last) { 257 *last++ = '\0'; 258 tcp->th_sport = htons(tx_portnum(last)); 270 char *last; local 272 last = strchr(*cpp, ','); 273 if (!last) { 277 *last++ = '\0'; 278 tcp->th_dport = htons(tx_portnum(last));
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | chg_page.c | 37 #define last(f) (f->maxpage - 1) macro 45 if (++p > last(f)) in next() 57 p = last(f); in prev() 82 return (_set_form_page(f, last(f), (FIELD *) 0)); in _last_page()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmprivate.c | 196 reg Seg_t* last; local 232 last = NIL(Seg_t*); 235 { for(last = vd->seg; last->next != seg; last = last->next) 237 last->next = seg->next; 245 if(last) 246 { seg->next = last->next; 247 last->next = seg;
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 149 uint32_t last; in emlxs_msg_log() local 164 last = log->size - 1; in emlxs_msg_log() 166 last = log->next - 1; in emlxs_msg_log() 168 entry = &log->entry[last]; in emlxs_msg_log() 507 uint32_t last; in emlxs_msg_log_get() local 521 resp->last = 0; in emlxs_msg_log_get() 531 last = log->count - 1; in emlxs_msg_log_get() 534 if (req->first > last) { in emlxs_msg_log_get() 536 resp->first = last; in emlxs_msg_log_get() 537 resp->last = last; in emlxs_msg_log_get() [all …]
|
/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 40 if (last == NULL) in sv_init_str() 41 last = first + strlen(first); in sv_init_str() 43 VERIFY3P(first, <=, last); in sv_init_str() 45 sv->sv_last = last; in sv_init_str()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | trace.c | 71 unsigned int first, last; local 99 last = i; 113 if (last >= tTsize) 114 last = tTsize - 1; 117 while (first <= last)
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_overflow.c | 144 PAGE *h, *last; local 155 for (last = NULL, p = dbt->data, sz = dbt->size;; 156 p = (char *)p + plen, last = h) { 168 if (last) { 169 last->nextpg = h->pgno; 170 mpool_put(t->bt_mp, last, MPOOL_DIRTY);
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | ulimit.c | 141 char *last; in b_ulimit() local 143 if((i=strtol(limit,&last,0))!=INFINITY && !*last) in b_ulimit() 145 else if((i=strton(limit,&last,NiL,0))==INFINITY || *last) in b_ulimit() 147 if((i=sh_strnum(limit,&last,2))==INFINITY || *last) in b_ulimit()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/ |
H A D | showmount.c | 82 char *last; in main() local 194 last = ""; in main() 196 if (strcmp(last, (*tb)->ml_directory)) in main() 198 last = (*tb)->ml_directory; in main() 201 last = ""; in main() 203 if (strcmp(last, (*tb)->ml_hostname)) in main() 205 last = (*tb)->ml_hostname; in main()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | netif.c | 323 struct iodesc *last; in netif_open() local 328 last = TAILQ_LAST(&sockets, socket_list); in netif_open() 329 if (last != NULL) in netif_open() 330 s->io_id = last->io_id + 1; in netif_open() 352 struct iodesc *s, *last; in netif_close() local 372 TAILQ_FOREACH_REVERSE_SAFE(last, &sockets, socket_list, io_link, s) { in netif_close() 373 if (last->io_netif != NULL) in netif_close() 375 TAILQ_REMOVE(&sockets, last, io_link); in netif_close() 376 free(last); in netif_close()
|
H A D | environment.c | 67 struct env_var *ev, *curr, *last; in env_setenv() local 99 for (last = NULL, curr = environ; curr != NULL; in env_setenv() 100 last = curr, curr = curr->ev_next) { in env_setenv() 115 if (last == NULL) { in env_setenv() 118 last->ev_next = ev; in env_setenv() 119 ev->ev_prev = last; in env_setenv()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Statistic.java | 290 Date first = start, last = end; in getSnapshotForInterval() local 304 last = s.getEnd(); in getSnapshotForInterval() 312 last)); in getSnapshotForInterval() 378 Date first = start, last = end; in getSnapshotForInterval() local 391 last = s.getEnd(); in getSnapshotForInterval() 399 last)); in getSnapshotForInterval() 465 Date first = start, last = end; in getSnapshotForInterval() local 480 last = s.getEnd(); in getSnapshotForInterval() 489 Integer.toString(count)))), first, last)); in getSnapshotForInterval()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_conditions.c | 131 struct statement *last; in handle_compound_stmt() local 135 if (last->type == STMT_LABEL) { in handle_compound_stmt() 136 if (last->label_statement && in handle_compound_stmt() 138 expr = last->label_statement->expression; in handle_compound_stmt() 140 last = NULL; in handle_compound_stmt() 141 } else if (last->type != STMT_EXPRESSION) { in handle_compound_stmt() 142 last = NULL; in handle_compound_stmt() 144 expr = last->expression; in handle_compound_stmt() 148 if (s != last) in handle_compound_stmt() 151 if (last && last->type == STMT_LABEL) in handle_compound_stmt() [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 368 last = (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/refer/ |
H A D | refer6.c | 23 static char last(char *); 74 last(tx)) != 0); in putref() 76 lauth = last(tx) == '.'; in putref() 105 lauth = last(tx) == '.'; in putref() 119 ltitle = (mindex(".;,?", last(tx)) != 0); in putref() 121 lother = (mindex(".;,?", last(tx)) != 0); in putref() 244 last(char *s) in last() function
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu_pm.c | 396 hrtime_t last; in cpupm_utilization_event() local 437 last = dom->cpd_last_lower; in cpupm_utilization_event() 442 hrtime_t, last, in cpupm_utilization_event() 462 if ((now - last) < cpupm_ti_predict_interval) { in cpupm_utilization_event() 519 if ((now - last) >= cpupm_ti_predict_interval) { in cpupm_utilization_event() 551 last = dom->cpd_last_raise; in cpupm_utilization_event() 556 hrtime_t, last, in cpupm_utilization_event() 569 if ((now - last) < cpupm_tw_predict_interval) { in cpupm_utilization_event() 626 if ((now - last) >= cpupm_tw_predict_interval) { in cpupm_utilization_event()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 180 char *cp, *last; in sh_checkaudit() local 196 if(*last=='-') in sh_checkaudit() 197 id1 = strtol(last+1,&last,10); in sh_checkaudit() 202 cp = last; in sh_checkaudit() 334 int first,last; in sh_histinit() local 477 *last = 0; in hist_trim() 479 *last = '/'; in hist_trim() 634 last = -1; in hist_eof() 730 if(last<0) in hist_eof() 742 last = 0; in hist_eof() [all …]
|