Home
last modified time | relevance | path

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

12345678910>>...37

/titanic_51/usr/src/lib/libast/common/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()
48 else if(last[1]=='/') in dirname()
49 last++; in dirname()
54 for(;*last=='/' && last > pathname; 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()
/titanic_51/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 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 in basename()
[all...]
/titanic_51/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()
119 unidx = binsearch(st->last, vi_comb_data, VOWEL_NUM); in _icv_iconv()
125 st->last = 0; in _icv_iconv()
128 if (st->last < 0x80) { in _icv_iconv()
129 *(*outbuf)++ = (char)st->last; in _icv_iconv()
131 } else if (st->last >= 0x0080 && st->last <= 0x07ff) { in _icv_iconv()
136 *(*outbuf)++ = (char)((st->last >> 6) & 0x1f) | 0xc0; in _icv_iconv()
137 *(*outbuf)++ = (char)(st->last 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()
113 idx = binsearch(st->last, tcvn_comb_data, VOWEL_NUM); in _icv_iconv()
120 st->last = 0; in _icv_iconv()
122 tcvn_2_viscii(st->last, &chout); in _icv_iconv()
123 if (st->last != 0x0 && chout == 0x0) { in _icv_iconv()
132 st->last = 0; in _icv_iconv()
141 st->last = ch; in _icv_iconv()
164 st->last 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()
127 unidx = binsearch(st->last, vi_comb_data, VOWEL_NUM); 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! in _icv_iconv()
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Ddirname.c37 "the last component from \astring\a.]"
45 "Otherwise, all characters following the last \b/\b are removed. "
68 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! in l_dirname()
[all...]
H A Dbasename.c44 "characters in \astring\a, all characters up to and including the last "
71 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()
[all...]
/titanic_51/usr/src/lib/libcmd/common/
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.c64 register char *first, *last; in namebase() local
66 for(first=last=pathname; *last; last++); in namebase()
68 if(last>first) in namebase()
69 while(*--last=='/' && last > first); in namebase()
70 if(last==first && *last=='/') in namebase()
74 if(*++last=='/') /* keep leading // */ in namebase()
75 last++; in namebase()
79 for(first=last++;first>pathname && *first!='/';first--); in namebase()
83 if(suffix && (n=strlen(suffix)) && n<(last-first)) in namebase()
85 if(memcmp(last-n,suffix,n)==0) in namebase()
[all …]
/titanic_51/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c133 DAPL_LLIST_ENTRY *last; in dapl_llist_add_tail() local
141 last = (*head)->blink; in dapl_llist_add_tail()
142 entry->flink = last->flink; in dapl_llist_add_tail()
143 entry->blink = last; in dapl_llist_add_tail()
144 last->flink->blink = entry; in dapl_llist_add_tail()
145 last->flink = entry; in dapl_llist_add_tail()
163 DAPL_LLIST_ENTRY *last; in dapl_llist_add_entry() local
171 last = entry->blink; in dapl_llist_add_entry()
173 last->flink = new_entry; in dapl_llist_add_entry()
176 new_entry->blink = last; in dapl_llist_add_entry()
218 DAPL_LLIST_ENTRY *last; dapl_llist_remove_tail() local
[all...]
/titanic_51/usr/src/lib/libast/common/cdt/
H A Ddtflatten.c37 reg Dtlink_t *t, *r, *list, *last, **s, **ends; local
43 list = last = NIL(Dtlink_t*);
47 { if(last)
48 last->right = t;
49 else list = last = t;
50 while(last->right)
51 last = last->right;
52 *s = last;
61 for(list = last = r, r = r->right; r; last = r, r = r->right)
66 last->right = r;
/titanic_51/usr/src/lib/libtecla/common/
H A Dioutil.c54 * string, a newline will not be started at the end of the last word
76 * in the last column of the terminal line. If
108 int last = start; /* The column number of the last character written */ in _io_display_text() local
150 last = start; in _io_display_text()
155 if(indentation > 0 && last < indentation) { in _io_display_text()
156 if(_io_pad_line(write_fn, data, fill_char, indentation - last)) in _io_display_text()
158 last = indentation; in _io_display_text()
164 if(prefix_len > 0 && last < margin_width) { in _io_display_text()
165 int pstart = last in _io_display_text()
[all...]
/titanic_51/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c130 * The undo order is from last command to the first command.
217 char *last; in parse_version() local
221 tok = strtok_r(line, WHITESPACE, &last); in parse_version()
226 vertok = strtok_r(last, WHITESPACE, &last); in parse_version()
238 tok = strtok_r(last, WHITESPACE, &last); in parse_version()
265 char *last; in parse_path() local
267 pathtok = strtok_r(line, WHITESPACE, &last); in parse_path()
272 tok = strtok_r(last, WHITESPAC in parse_path()
315 char *last; parse_node() local
601 char *last; parse_prop() local
768 char *last; parse_refnode() local
859 char *last; parse_refprop() local
958 char *last = NULL; parse_table() local
1087 char *last; parse_verbose() local
1134 char *last; parse_and_tokenize_line() local
1315 char *last; get_line_control_info() local
[all...]
/titanic_51/usr/src/cmd/mandoc/
H A Dman_macro.c103 n = man->last; in man_unscope()
122 man->last = n; in man_unscope()
124 man_node_delete(man, man->last); in man_unscope()
135 * We might delete the man->last node in man_unscope()
141 man->last = n; in man_unscope()
153 man->next = (man->last == to) ? in man_unscope()
251 for (n = man->last; n; n = n->parent) { in rew_scope()
290 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close()
314 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close()
323 line = man->last in blk_close()
[all...]
H A Dmdoc_validate.c326 n = mdoc->last; in mdoc_valid_post()
351 if (n->last != NULL) in mdoc_valid_post()
352 n->last->flags &= ~MDOC_DELIMO; in mdoc_valid_post()
406 for (node = mdoc->last->parent; node; node = node->parent) in pre_display()
779 np = mdoc->last; in post_bf()
837 n = mdoc->last->child; in post_lb()
855 n = mdoc->last; in post_eoln()
870 n = mdoc->last->child; in post_fname()
891 n = mdoc->last; in post_fo()
901 if (n->child != n->last) { in post_fo()
[all...]
/titanic_51/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()
78 else if(*last=='.' && shp->decomma && d==(unsigned long)d) 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()
[all...]
/titanic_51/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()
96 * Move increment or decrement into 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()
[all...]
/titanic_51/usr/src/lib/libast/common/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()
/titanic_51/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()
/titanic_51/usr/src/lib/libc/port/gen/
H A Dnftw.c135 struct Save *last; member
173 int depth, struct Save *last, struct Var *vp) in walk() argument
190 this.last = last; in walk()
192 if ((vp->curflags & FTW_CHDIR) && last) in walk()
193 comp = last->comp; in walk()
216 if ((*vp->statf)(comp, &statb, last, _AT_TRIGGER) >= 0) { in walk()
220 (void) oldclose(last); in walk()
222 if (errno == EMFILE && oldclose(last) && in walk()
263 (cdlstat(comp, &statb, last, in walk()
[all...]
/titanic_51/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;
/titanic_51/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c63 if (wl->last != NULL) in evWaitFor()
64 wl->last->next = new; in evWaitFor()
67 wl->last = new; in evWaitFor()
92 if (ctx->waitDone.last != NULL) in evDo()
93 ctx->waitDone.last->next = first; in evDo()
96 ctx->waitDone.last = wl->last; in evDo()
125 if (wl->last == this) in evUnwait()
126 wl->last = prev; in evUnwait()
144 if (ctx->waitDone.last in evUnwait()
[all...]
/titanic_51/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()

12345678910>>...37