Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 834) sorted by relevance

12345678910>>...34

/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c263 if (t != last) in demangle()
281 return (last); in parse_dot_suffix()
304 if (t == last) in parse_block_invoke()
762 if (t == last) in parse_nested_name()
948 if (t == last) in parse_template_arg()
1281 if (t1 == last) in parse_new_expr()
2747 t = last; in parse_floating_literal()
3179 if (first == last || last - first < 2) in parse_substitution()
3243 if (n == 0 || t == last || t + n > last || in parse_source_name()
3279 if (t1 == last || t1 + 1 == last || t1[0] != '_') in parse_vector_type()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Ddirname.c35 register char *last; in dirname() local
37 for(last=pathname; *last; last++); in dirname()
39 while(last>pathname && *--last=='/'); in dirname()
41 for(;last>pathname && *last!='/';last--); in dirname()
42 if(last==pathname) in dirname()
45 if(*last!='/') in dirname()
46 *last = '.'; in dirname()
49 last++; in dirname()
54 for(;*last=='/' && last > pathname; last--); in dirname()
57 last++; in dirname()
[all …]
H A Dbasename.c35 register char *first, *last; in basename() local
36 for(first=last=pathname; *last; last++); in basename()
38 if(last>first) in basename()
39 while(*--last=='/' && last > first); in basename()
40 if(last==first && *last=='/') in basename()
44 if(*++last=='/') /* keep leading // */ in basename()
45 last++; in basename()
49 for(first=last++;first>pathname && *first!='/';first--); in basename()
53 *last = 0; in basename()
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A Dtcvn%UTF-8.c38 unsigned short last; member
104 if (st->last != 0) { in _icv_iconv()
125 st->last = 0; in _icv_iconv()
131 } else if (st->last >= 0x0080 && st->last <= 0x07ff) { in _icv_iconv()
150 st->last = 0; in _icv_iconv()
158 st->last = uni; in _icv_iconv()
193 st->last = 0; in _icv_iconv()
197 if (st->last !=0 ) { in _icv_iconv()
198 if (st->last < 0x80) { in _icv_iconv()
201 } else if (st->last >= 0x0080 && st->last <= 0x07ff) { in _icv_iconv()
[all …]
H A Dtcvn%viscii.c40 unsigned short last; member
60 st->last = 0; in _icv_open()
108 if (st->last != 0) { in _icv_iconv()
120 st->last = 0; in _icv_iconv()
122 tcvn_2_viscii(st->last, &chout); in _icv_iconv()
132 st->last = 0; in _icv_iconv()
141 st->last = ch; in _icv_iconv()
164 st->last = 0; in _icv_iconv()
168 if (st->last != 0) { in _icv_iconv()
169 tcvn_2_viscii(st->last, &chout); in _icv_iconv()
[all …]
H A Dtcvn%UCS-2.c38 unsigned long last; member
65 st->last = 0; in _icv_open()
112 if (st->last != 0) { in _icv_iconv()
134 st->last = 0; in _icv_iconv()
137 SET_UCS(st->last); in _icv_iconv()
140 st->last = 0; in _icv_iconv()
148 st->last = uni; in _icv_iconv()
163 st->last = 0; in _icv_iconv()
166 if (st->last!=0 ) { in _icv_iconv()
167 SET_UCS(st->last); in _icv_iconv()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Ddirname.c68 register const char *last; in l_dirname() local
70 for(last=pathname; *last; last++); in l_dirname()
72 while(last>pathname && *--last=='/'); in l_dirname()
74 for(;last>pathname && *last!='/';last--); in l_dirname()
75 if(last==pathname) in l_dirname()
79 last = pathname = "."; in l_dirname()
84 for(;*last=='/' && last > pathname; last--); in l_dirname()
87 if(last!=pathname && pathname[0]=='/' && pathname[1]=='/') in l_dirname()
89 while(pathname[2]=='/' && pathname<last) in l_dirname()
91 …if(last!=pathname && pathname[0]=='/' && pathname[1]=='/' && *astconf("PATH_LEADING_SLASHES",NiL,N… in l_dirname()
[all …]
H A Dbasename.c71 register char *first, *last; in namebase() local
73 for(first=last=pathname; *last; last++); in namebase()
75 if(last>first) in namebase()
76 while(*--last=='/' && last > first); in namebase()
77 if(last==first && *last=='/') in namebase()
81 if(*++last=='/') /* keep leading // */ in namebase()
82 last++; in namebase()
92 if(memcmp(last-n,suffix,n)==0) in namebase()
93 last -=n; in namebase()
96 if(last>first) in namebase()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c133 DAPL_LLIST_ENTRY *last; in dapl_llist_add_tail() local
143 entry->blink = last; in dapl_llist_add_tail()
145 last->flink = entry; in dapl_llist_add_tail()
171 last = entry->blink; in dapl_llist_add_entry()
221 last = (*head)->blink; in dapl_llist_remove_tail()
223 last->blink->flink = last->flink; in dapl_llist_remove_tail()
224 last->flink->blink = last->blink; in dapl_llist_remove_tail()
226 if (last->flink == last) { in dapl_llist_remove_tail()
230 last->flink = NULL; in dapl_llist_remove_tail()
231 last->blink = NULL; in dapl_llist_remove_tail()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_macro.c98 n = man->last; in man_unscope()
119 man->last = n; in man_unscope()
138 man->last = n; in man_unscope()
166 n = man->last; in rew_scope()
192 n = man->last; in rew_scope()
276 if (mandoc_eos(man->last->string, strlen(man->last->string))) in blk_close()
389 n = man->last; in in_line_eoln()
418 if (n != man->last && in in_line_eoln()
419 mandoc_eos(man->last->string, strlen(man->last->string))) in in_line_eoln()
438 for ( ; man->last; man->last = man->last->parent) { in in_line_eoln()
[all …]
H A Dmdoc_validate.c331 mdoc->last = mdoc->last->child; in mdoc_validate()
335 mdoc->last = mdoc->last->child; in mdoc_validate()
337 mdoc->last = mdoc->last->next; in mdoc_validate()
526 nch = mdoc->last->last; in post_delim()
559 nch = mdoc->last->last; in post_delim_nb()
938 n = mdoc->last = mdoc->last->parent; in build_list()
974 mdoc->last = mdoc->last->parent; in post_ex()
1018 mdoc->last = mdoc->last->next; in post_lb()
1055 mdoc->last = mdoc->last->parent; in post_rv()
1402 if (n->last != NULL && n->last->tok == MDOC_Pp) in post_nm()
[all …]
H A Dman.c47 if (man->last->type != ROFFT_EQN || ln > man->last->line) in man_parseln()
95 man_unscope(man, man->last->parent); in man_descope()
128 if (man->last->tok == MAN_SH || man->last->tok == MAN_SS) in man_ptext()
130 if (man->last->type == ROFFT_TEXT && in man_ptext()
170 man->last->flags |= NODE_EOS; in man_ptext()
253 n = man->last; in man_pmacro()
271 man_unscope(man, man->last->parent); in man_pmacro()
290 n = man->last; in man_breakscope()
312 (man->last->tok == MAN_SH || man->last->tok == MAN_SS)) { in man_breakscope()
313 n = man->last; in man_breakscope()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dioutil.c150 last = start; in _io_display_text()
158 last = indentation; in _io_display_text()
165 int pstart = last - indentation; in _io_display_text()
169 last = margin_width; in _io_display_text()
184 (nnew==0 && last==margin_width)); i++) { in _io_display_text()
210 last += nnew; in _io_display_text()
223 int npad = term_width - suffix_len - last; in _io_display_text()
226 last += npad; in _io_display_text()
229 last += suffix_len; in _io_display_text()
248 last = 0; in _io_display_text()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dptrlist.c274 last = newlist; in __add_ptr_list()
277 ret = last->list + nr; in __add_ptr_list()
280 last->nr = nr; in __add_ptr_list()
382 last = first; in undo_ptr_list_last()
384 last = last->prev; in undo_ptr_list_last()
385 if (last->nr) { in undo_ptr_list_last()
407 last = first->prev; in delete_ptr_list_last()
408 if (last->nr) in delete_ptr_list_last()
409 ptr = last->list[--last->nr]; in delete_ptr_list_last()
410 if (last->nr <=0) { in delete_ptr_list_last()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c226 vertok = strtok_r(last, WHITESPACE, &last); in parse_version()
238 tok = strtok_r(last, WHITESPACE, &last); in parse_version()
272 tok = strtok_r(last, WHITESPACE, &last); in parse_path()
332 tok = strtok_r(last, WHITESPACE, &last); in parse_node()
616 tok = strtok_r(last, WHITESPACE, &last); in parse_prop()
624 tok = strtok_r(last, WHITESPACE, &last); in parse_prop()
645 tok = strtok_r(last, WHITESPACE, &last); in parse_prop()
786 tok = strtok_r(last, WHITESPACE, &last); in parse_refnode()
799 tok = strtok_r(last, WHITESPACE, &last); in parse_refnode()
876 tok = strtok_r(last, WHITESPACE, &last); in parse_refprop()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A Dchem.awk21 last = OTHER
154 printf("%s from last [].sw+(%g,0) to last [].sw to last [].nw to last [].nw+(%g,0)\n",
156 printf("%s from last [].se-(%g,0) to last [].se to last [].ne to last [].ne-(%g,0)\n",
185 last = type
188 labsave(n, last, dir)
240 last = typeint
350 if (last == BOND)
354 return ringleave(last, d)
355 if (last == MOL) {
368 if (last == OTHER)
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dsleep.c52 char *last; in b_sleep() local
70 d = strtod(cp, &last); in b_sleep()
71 if(*last) in b_sleep()
77 ns = tmxdate(cp, &last, now); in b_sleep()
80 *(pp=last) = ','; in b_sleep()
82 d = strtod(cp,&last); in b_sleep()
84 if(*last==0) in b_sleep()
87 else if(*last!='.' && *last!=',') in b_sleep()
90 ns = tmxdate(pp, &last, now); in b_sleep()
92 ns = tmxdate(pp, &last, now); in b_sleep()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxduration.c39 char* last; in tmxduration() local
49 ns = tmxdate(s, &last, now) - now; in tmxduration()
52 ns = strtod(s, &last) * TMX_RESOLUTION; in tmxduration()
53 if (*last && (f = sfstropen())) in tmxduration()
58 if ((i = x - t - 6) > (last - s)) in tmxduration()
60 last = (char*)s + i; in tmxduration()
68 if ((i = x - t - 1) > (last - s)) in tmxduration()
70 last = (char*)s + i; in tmxduration()
78 *e = last; in tmxduration()
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c52 char *cur, *last, *cp1, *cp2, *ep, *t; in main() local
56 last = buf1; in main()
59 if (goodstart(cur) && goodstart(last)) { in main()
99 ep = last + strlen(last); in main()
112 puts(last); in main()
114 cur = last; in main()
115 last = t; in main()
117 puts(last); in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c135 struct Save *last; member
190 this.last = last; in walk()
193 comp = last->comp; in walk()
220 (void) oldclose(last); in walk()
347 struct Save *sp = last; in walk()
362 sp = sp->last; in walk()
379 if (last != NULL && last->comp != NULL) { in walk()
407 if (last != NULL && last->comp != NULL) { in walk()
419 if (last != NULL && last->comp != NULL) { in walk()
475 last, 0) < 0 || in walk()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c59 if (wl->last != NULL) in evWaitFor()
60 wl->last->next = new; in evWaitFor()
63 wl->last = new; in evWaitFor()
88 if (ctx->waitDone.last != NULL) in evDo()
92 ctx->waitDone.last = wl->last; in evDo()
121 if (wl->last == this) in evUnwait()
122 wl->last = prev; in evUnwait()
141 ctx->waitDone.last = prev; in evUnwait()
169 if (ctx->waitDone.last != NULL) in evDefer()
173 ctx->waitDone.last = new; in evDefer()
[all …]
/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dxwork.d27 self int last; variable
30 /self->last && args[0]->pr_stype == SOBJ_CV/
32 @[stringof(args[1]->pr_fname)] = sum(vtimestamp - self->last);
33 self->last = 0;
37 /execname == "Xsun" && self->last == 0/
39 self->last = vtimestamp;
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c99 last = NULL; in sip_untimeout()
113 last->sip_timeout_next = in sip_untimeout()
129 last = current; in sip_untimeout()
138 last = NULL; in sip_untimeout()
146 last->sip_timeout_next = in sip_untimeout()
160 last = current; in sip_untimeout()
177 sip_timeout_t *last; in sip_timeout() local
217 last = current; in sip_timeout()
243 sip_timeout_t *last = NULL; in sip_schedule_to_functions() local
269 last = timeout; in sip_schedule_to_functions()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dcanonize.c40 char *pt, *last; in canonize() local
49 last = pt; in canonize()
52 last += 2; in canonize()
53 if (*last) in canonize()
54 last++; in canonize()
55 } while (isdotdot(last)); in canonize()
65 (void) strcpy(pt, last); in canonize()
/illumos-gate/usr/src/ucbcmd/tr/
H A Dtr.c52 struct string { int last, max; char *p; } string1, string2; member
63 string1.last = string2.last = 0; in main()
139 if(s->last++ < s->max) in next()
140 return(s->last); in next()
141 s->max = s->last = 0; in next()
143 if(s->last && *s->p=='-') { in next()
150 if(s->max < s->last) { in next()
151 s->last = s->max-1; in next()
156 return(s->last = nextc(s)); in next()

12345678910>>...34