Searched refs:last (Results 1 - 25 of 617) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/comp/
H A Ddirname.c35 register char *last; local
37 for(last=pathname; *last; last++);
39 while(last>pathname && *--last=='/');
41 for(;last>pathname && *last!='/';last--);
42 if(last
[all...]
H A Dbasename.c35 register char *first, *last; local
36 for(first=last=pathname; *last; last++);
38 if(last>first)
39 while(*--last=='/' && last > first);
40 if(last==first && *last=='/')
44 if(*++last
[all...]
/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dticktime.d27 uint64_t last[int];
30 /last[cpu]/
32 @[cpu] = min(timestamp - last[cpu]);
37 last[cpu] = timestamp;
H A Dxwork.d27 self int last;
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/libcmd/common/
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; local
70 for(last=pathname; *last; last++);
72 while(last>pathname && *--last=='/');
74 for(;last>pathname && *last!
[all...]
H A Dbasename.c45 "all characters up to and including the last \b/\b are removed. "
64 register char *first, *last; local
66 for(first=last=pathname; *last; last++);
68 if(last>first)
69 while(*--last=='/' && last > first);
70 if(last==first && *last
[all...]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dnew_bugs.sh26 # we are only interested in the last chunk.
28 last=$(echo $err | cut -d ' ' -f 2-)
32 last=$(echo $last | sed -e 's/line .*//')
34 if ! grep -Fq "$last" $old ; then
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rpath.c29 * Return the last path separator in the path or NULL if none found.
37 const char *s, *last; local
39 last = NULL;
43 last = s;
47 last = s;
48 return ((char *)last);
/illumos-gate/usr/src/cmd/dtrace/demo/agg/
H A Dclear.d31 last = timestamp;
41 normalize(@func, (timestamp - last) / 1000000000);
44 last = timestamp;
H A Dtrunc.d31 last = timestamp;
42 normalize(@func, (timestamp - last) / 1000000000);
45 last = timestamp;
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashlast.c24 /* OBSOLETE 19960229 -- use tab->root->last.{table|bucket} */
36 * return last lookup bucket for table
42 return(tab->root->last.bucket);
/illumos-gate/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
[all...]
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A Dtcvn%UTF-8.c38 unsigned short last; member in struct:_icv_state
104 if (st->last != 0) {
119 unidx = binsearch(st->last, vi_comb_data, VOWEL_NUM);
125 st->last = 0;
128 if (st->last < 0x80) {
129 *(*outbuf)++ = (char)st->last;
131 } else if (st->last >= 0x0080 && st->last <= 0x07ff) {
136 *(*outbuf)++ = (char)((st->last >> 6) & 0x1f) | 0xc0;
137 *(*outbuf)++ = (char)(st->last
[all...]
H A Dtcvn%viscii.c40 unsigned short last; member in struct:_icv_state
60 st->last = 0;
108 if (st->last != 0) {
113 idx = binsearch(st->last, tcvn_comb_data, VOWEL_NUM);
120 st->last = 0;
122 tcvn_2_viscii(st->last, &chout);
123 if (st->last != 0x0 && chout == 0x0) {
132 st->last = 0;
141 st->last = ch;
164 st->last
[all...]
/illumos-gate/usr/src/common/util/
H A Dbsearch.c52 char *last; /* Last element in table */ local
59 last = base + width * (nel - 1);
61 while (last >= base) {
63 char *p = base + width * ((last - base)/two_width);
69 last = p - width;
/illumos-gate/usr/src/cmd/dtrace/demo/ip/
H A Dipio.d33 last = timestamp;
38 this->elapsed = (timestamp - last) / 1000;
42 last = timestamp;
47 this->elapsed = (timestamp - last) / 1000;
51 last = timestamp;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwtouchln.c53 * or untouched since the last call to wrefresh().
58 int first, last; local
61 last = bf ? w->_maxx : -1;
65 w->_last[y] = (short) last;
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dstrtok.c46 * sets last to string
49 * last
61 static char *last; local
64 if (s == NULL && (s = last) == NULL)
79 last = NULL;
100 last = s;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dbsearch.c44 POINTER last = base + width * (nel - 1); /* Last element in table */ local
46 while (last >= base) {
48 register POINTER p = base + width * ((last - base)/two_width);
54 last = p - width;
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c52 char *cur, *last, *cp1, *cp2, *ep, *t; local
56 last = buf1;
59 if (goodstart(cur) && goodstart(last)) {
96 * Move increment or decrement into last.
99 ep = last + strlen(last);
112 puts(last);
114 cur = last;
115 last = t;
117 puts(last);
[all...]
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmxduration.c39 char* last; local
49 ns = tmxdate(s, &last, now) - now;
52 ns = strtod(s, &last) * TMX_RESOLUTION;
53 if (*last && (f = sfstropen()))
58 if ((i = x - t - 6) > (last - s))
60 last = (char*)s + i;
68 if ((i = x - t - 1) > (last - s))
70 last = (char*)s + i;
78 *e = last;
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx.c229 demangle(const char *first, const char *last, cpp_db_t *db) argument
233 if (first >= last) {
239 t = parse_type(first, last, db);
247 if (last - first < 4) {
253 t = parse_encoding(first + 2, last, db);
255 if (t != first + 2 && t != last && t[0] == '.') {
256 t = parse_dot_suffix(t, last, db);
267 t = parse_encoding(first + 4, last, db);
268 if (t != first + 4 && t != last)
269 t = parse_block_invoke(t, last, d
277 parse_dot_suffix(const char *first, const char *last, cpp_db_t *db) argument
299 parse_block_invoke(const char *first, const char *last, cpp_db_t *db) argument
340 parse_encoding(const char *first, const char *last, cpp_db_t *db) argument
469 parse_special_name(const char *first, const char *last, cpp_db_t *db) argument
586 parse_call_offset(const char *first, const char *last, locale_t loc) argument
629 parse_name(const char *first, const char *last, boolean_t *ends_with_template_args, cpp_db_t *db) argument
692 parse_local_name(const char *first, const char *last, boolean_t *ends_with_template_args, cpp_db_t *db) argument
760 parse_nested_name(const char *first, const char *last, boolean_t *ends_with_template_args, cpp_db_t *db) argument
935 parse_template_arg(const char *first, const char *last, cpp_db_t *db) argument
1135 parse_expression(const char *first, const char *last, cpp_db_t *db) argument
1178 parse_binary_expr(const char *first, const char *last, const char *op, cpp_db_t *db) argument
1211 parse_prefix_expr(const char *first, const char *last, const char *op, cpp_db_t *db) argument
1233 parse_gs(const char *first, const char *last, cpp_db_t *db) argument
1266 parse_new_expr(const char *first, const char *last, cpp_db_t *db) argument
1333 parse_del_expr(const char *first, const char *last, cpp_db_t *db) argument
1353 parse_idx_expr(const char *first, const char *last, cpp_db_t *db) argument
1373 parse_ppmm_expr(const char *first, const char *last, const char *fmt, cpp_db_t *db) argument
1400 parse_mm_expr(const char *first, const char *last, cpp_db_t *db) argument
1410 parse_pp_expr(const char *first, const char *last, cpp_db_t *db) argument
1421 parse_trinary_expr(const char *first, const char *last, cpp_db_t *db) argument
1449 parse_noexcept_expr(const char *first, const char *last, cpp_db_t *db) argument
1472 parse_cast_expr(const char *first, const char *last, cpp_db_t *db) argument
1515 parse_arrow_expr(const char *first, const char *last, cpp_db_t *db) argument
1580 parse_type(const char *first, const char *last, cpp_db_t *db) argument
1845 parse_qual_type(const char *first, const char *last, cpp_db_t *db) argument
1920 parse_alignof(const char *first, const char *last, cpp_db_t *db) argument
1945 parse_sizeof(const char *first, const char *last, cpp_db_t *db) argument
1983 parse_function_param(const char *first, const char *last, cpp_db_t *db) argument
2023 parse_sizeof_param_pack_expr(const char *first, const char *last, cpp_db_t *db) argument
2057 parse_typeid_expr(const char *first, const char *last, cpp_db_t *db) argument
2087 parse_throw_expr(const char *first, const char *last, cpp_db_t *db) argument
2113 parse_dot_star_expr(const char *first, const char *last, cpp_db_t *db) argument
2138 parse_dot_expr(const char *first, const char *last, cpp_db_t *db) argument
2162 parse_call_expr(const char *first, const char *last, cpp_db_t *db) argument
2201 parse_conv_expr(const char *first, const char *last, cpp_db_t *db) argument
2258 parse_simple_id(const char *first, const char *last, cpp_db_t *db) argument
2280 parse_unresolved_type(const char *first, const char *last, cpp_db_t *db) argument
2330 parse_pack_expansion(const char *first, const char *last, cpp_db_t *db) argument
2353 parse_unscoped_name(const char *first, const char *last, cpp_db_t *db) argument
2389 parse_unqualified_name(const char *first, const char *last, cpp_db_t *db) argument
2428 parse_unnamed_type_name(const char *first, const char *last, cpp_db_t *db) argument
2609 parse_ctor_dtor_name(const char *first, const char *last, cpp_db_t *db) argument
2651 parse_integer_literal(const char *first, const char *last, const char *fmt, cpp_db_t *db) argument
2685 parse_floating_literal(const char *first, const char *last, cpp_db_t *db) argument
2835 parse_expr_primary(const char *first, const char *last, cpp_db_t *db) argument
3022 parse_operator_name(const char *first, const char *last, cpp_db_t *db) argument
3120 parse_builtin_type(const char *first, const char *last, cpp_db_t *db) argument
3158 parse_base36(const char *first, const char *last, size_t *val, locale_t loc) argument
3188 parse_substitution(const char *first, const char *last, cpp_db_t *db) argument
3233 parse_source_name(const char *first, const char *last, cpp_db_t *db) argument
3277 parse_vector_type(const char *first, const char *last, cpp_db_t *db) argument
3338 parse_decltype(const char *first, const char *last, cpp_db_t *db) argument
3366 parse_array_type(const char *first, const char *last, cpp_db_t *db) argument
3419 parse_pointer_to_member_type(const char *first, const char *last, cpp_db_t *db) argument
3468 parse_unresolved_name(const char *first, const char *last, cpp_db_t *db) argument
3587 parse_unresolved_qualifier_level(const char *first, const char *last, cpp_db_t *db) argument
3606 parse_base_unresolved_name(const char *first, const char *last, cpp_db_t *db) argument
3655 parse_destructor_name(const char *first, const char *last, cpp_db_t *db) argument
3681 parse_function_type(const char *first, const char *last, cpp_db_t *db) argument
3757 parse_template_param(const char *first, const char *last, cpp_db_t *db) argument
3811 parse_template_args(const char *first, const char *last, cpp_db_t *db) argument
3873 parse_discriminator(const char *first, const char *last, locale_t loc) argument
3912 parse_cv_qualifiers(const char *first, const char *last, unsigned *cv) argument
3940 parse_number(const char *first, const char *last, locale_t loc) argument
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dcanonize.c40 char *pt, *last; local
49 last = pt;
52 last += 2;
53 if (*last)
54 last++;
55 } while (isdotdot(last));
65 (void) strcpy(pt, last);
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_paths.c95 char *last; local
104 last = pt;
107 last += 2;
108 if (*last) {
109 last++;
111 } while (isdotdot(last));
123 (void) strcpy(pt, last);
163 * If the whole string is "/" (i.e. if the last '/' cahr in dst
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrelapsed.c47 const char* last; local
53 if (!*(last = s))
60 last = s + 1;
74 last = s;
77 if (s == last + 1)
141 last = s - 1;
152 *e = (char*)last;

Completed in 171 milliseconds

1234567891011>>