/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | dirname.c | 35 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 D | basename.c | 35 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...] |
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wtouchln.c | 48 * or untouched since the last call to wrefresh(). 55 int first, last; local 61 last = bf ? w->_maxx : -1; 65 w->_last[y] = last;
|
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_rpath.c | 29 * 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);
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/ |
H A D | init.c | 29 static grub_uint32_t last = 0; local 33 if (low < last) 35 last = low;
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | canonize.c | 40 char *pt, *last; local 49 last = pt; 52 last += 2; 53 if (*last) 54 last++; 55 } while (isdotdot(last)); 65 (void) strcpy(pt, last);
|
/osnet-11/usr/src/lib/libeti/form/common/ |
H A D | chg_page.c | 39 #define last(f) (f->maxpage - 1) macro 47 if (++p > last(f)) 59 p = last(f); 84 return (_set_form_page(f, last(f), (FIELD *) 0));
|
/osnet-11/usr/src/lib/libast/common/cdt/ |
H A D | dtflatten.c | 37 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...] |
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmclose.c | 42 Vmalloc_t *v, *last; local 64 for(last = Vmheap, v = last->next; v; last = v, v = v->next) 66 { last->next = v->next;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | memmem.c | 42 char *cur, *last; local 58 /* the last position where its possible to find "s" in "l" */ 59 last = (char *)cl + l_len - s_len; 61 for (cur = (char *)cl; cur <= last; cur++)
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wtouchln.c | 53 * 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;
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppargs.c | 181 * if last!=0 then argv[opt_info.index]==0 with return(0) 186 * use last=0 if the preprocessor is combined with other passes 191 ppargs(char** argv, int last) argument 206 for (; c = optget(argv, usage); last = 0) switch (c) 462 if (!last) 578 * and this is the last option 600 if (!last) return(1);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | basename.c | 44 "characters in \astring\a, all characters up to and including the last " 71 register char *first, *last; local 73 for(first=last=pathname; *last; last++); 75 if(last>first) 76 while(*--last=='/' && last > first); 77 if(last==first && *last [all...] |
H A D | dirname.c | 37 "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 D | chmod.c | 159 char* last; local 243 mode = strperm(amode, &last, 0); 244 if (*last) 278 mode = strperm(amode, &last, ent->fts_statp->st_mode);
|
/osnet-11/usr/src/lib/libinstzones/common/ |
H A D | zones_paths.c | 95 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
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_overflow.c | 63 * A single DBT is written to each chain, so a lot of space on the last page 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);
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | trace.c | 73 unsigned int first, last; local 90 /* find last flag to set */ 101 last = i; 115 if (last >= tTsize) 116 last = tTsize - 1; 119 while (first <= last)
|
/osnet-11/usr/src/cmd/ast/msgcc/ |
H A D | msgcpp.c | 109 msgppargs(char** argv, int last) argument 118 if (!last) 126 if (!last) 134 if (!last)
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | setenviron.c | 48 static char** last; /* last free slot (0) */ local 76 if (!p || (last - p + 1) < n) 89 last = p + n - 1; 107 else if (next == last) 109 n = last - v + INCREMENT + 1; 112 last = p + n - 1; 113 next = last - INCREMENT;
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strelapsed.c | 47 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;
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxduration.c | 39 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;
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | au_usermask.c | 98 char *last = NULL; local 101 KV_AUDIT_DELIMIT, &last), &(per_user.au_always)); 103 KV_AUDIT_DELIMIT, &last), &(per_user.au_never));
|
/osnet-11/usr/src/lib/nsswitch/user/common/ |
H A D | user_common.c | 196 char *last; local 198 if ((last = strchr(instr, '#')) == 0) { 199 last = instr + linelen; 201 *last-- = '\0'; /* Nuke '\n' or #comment */ 219 while (isspace(*last)) { 220 --last; 223 linelen = last - first + 1;
|
/osnet-11/usr/src/lib/libcommputil/common/ |
H A D | commp_util.c | 63 char token, boolean_t last) 67 if (!last && (**current == token)) 62 commp_find_token(const char **begin, const char **current, const char *end, char token, boolean_t last) argument
|