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

1234567891011>>

/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/strings/
H A Dapr_strtok.c27 APR_DECLARE(char *) apr_strtok(char *str, const char *sep, char **last) argument
32 str = *last; /* start where we left off */
46 *last = token + 1;
47 while (**last && !strchr(sep, **last))
48 ++*last;
50 if (**last) {
51 **last = '\0';
52 ++*last;
/macosx-10.9.5/apr-30/apr/apr/strings/
H A Dapr_strtok.c27 APR_DECLARE(char *) apr_strtok(char *str, const char *sep, char **last) argument
32 str = *last; /* start where we left off */
46 *last = token + 1;
47 while (**last && !strchr(sep, **last))
48 ++*last;
50 if (**last) {
51 **last = '\0';
52 ++*last;
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_rpath.c15 * Return the last path separator in the path or NULL if none found.
23 const char *s, *last; local
26 last = NULL;
30 last = s;
34 last = s;
35 return ((char *)last);
/macosx-10.9.5/ksh-20/ksh/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; local
70 for(last=pathname; *last; last++);
72 while(last>pathname && *--last=='/');
74 for(;last>pathname && *last!
[all...]
H A Dbasename.c44 "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...]
/macosx-10.9.5/Libc-997.90.3/string/FreeBSD/
H A Dwcsrchr.c35 const wchar_t *last; local
37 last = NULL;
40 last = s;
46 return ((wchar_t *)last);
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/
H A Dseeksize.d53 self int last[dev_t];
59 /self->last[args[0]->b_edev] != 0/
62 this->last = self->last[args[0]->b_edev];
63 this->dist = (int)(args[0]->b_blkno - this->last) > 0 ?
64 args[0]->b_blkno - this->last : this->last - args[0]->b_blkno;
72 /* save last position of disk head */
73 self->last[args[0]->b_edev] = args[0]->b_blkno +
/macosx-10.9.5/dtrace-118.1/DTTk/Disk/
H A Dseeksize.d53 self int last[dev_t];
59 /self->last[args[0]->b_edev] != 0/
62 this->last = self->last[args[0]->b_edev];
63 this->dist = (int)(args[0]->b_blkno - this->last) > 0 ?
64 args[0]->b_blkno - this->last : this->last - args[0]->b_blkno;
72 /* save last position of disk head */
73 self->last[args[0]->b_edev] = args[0]->b_blkno +
/macosx-10.9.5/BerkeleyDB-21/db/os_vxworks/
H A Dos_vx_rpath.c17 * Return the last path separator in the path or NULL if none found.
23 const char *s, *last; local
45 last = NULL;
49 last = s;
53 last = s;
54 return ((char *)last);
/macosx-10.9.5/postfix-252/postfix/src/util/
H A Dsane_basename.c5 /* split pathname into last component and parent directory
17 /* These functions split a pathname into its last component
30 /* sane_basename() returns a pointer to string with the last
73 const char *last; local
94 last = path + strlen(path) - 1;
95 while (*last == '/') {
96 if (last == path)
98 last--;
102 * The pathname does not end in '/'. Skip to last '/' character if any.
104 first = last
116 const char *last; local
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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...]
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_so_random.rb7 $last = 42.0
10 (max * ($last = ($last * IA + IC) % IM)) / IM
/macosx-10.9.5/tcl-102/tcl/tcl/tools/
H A DuniClass.tcl15 proc emitRange {first last} {
18 if {$first < ($last-1)} {
20 $first $last]
30 if {$first != $last} {
31 append chars [format "0x%04x, " $last]
41 global first last ranges numranges chars numchars
43 set last -2
52 if {$i == ($last + 1)} {
53 set last $i
56 emitRange $first $last
[all...]
/macosx-10.9.5/tcl-102/tcl84/tcl/tools/
H A DuniClass.tcl15 proc emitRange {first last} {
18 if {$first < ($last-1)} {
20 $first $last]
30 if {$first != $last} {
31 append chars [format "0x%04x, " $last]
41 global first last ranges numranges chars numchars
43 set last -2
52 if {$i == ($last + 1)} {
53 set last $i
56 emitRange $first $last
[all...]
/macosx-10.9.5/sudo-72/src/
H A Dlist.c41 struct list_proto *last; member in struct:list_head_proto
45 * Pop the last element off the end of vh.
53 void *last = NULL; local
56 last = (void *)h->last;
57 if (h->first == h->last) {
59 h->last = NULL;
61 h->last = h->last->prev;
62 h->last
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/examples/
H A Ddemo.tcl17 mk::view layout db.people {first last shoesize:I}
21 $vw insert end first John last Lennon shoesize 44
22 $vw insert end first Flash last Gordon shoesize 42
29 puts [$vw get $r first last shoesize]
33 foreach r [$vw select -sort last] {
34 puts [$vw get $r first last shoesize]
39 puts [$vw get $r first last shoesize]
H A Ddemold.tcl6 # first Flash last Gordon shoesize 42
7 # first John last Lennon shoesize 44
8 # first John last Lennon shoesize 44
17 set vw [mk::view layout db.people {first last shoesize:I}]
20 mk::row append $vw first John last Lennon shoesize 44
21 mk::row append $vw first Flash last Gordon shoesize 42
28 puts [mk::get $c first last shoesize]
32 foreach r [mk::select $vw -sort last] {
H A Ddemo.py18 vw = db.getas("people[first:S,last:S,shoesize:I]")
21 vw.append(first='John',last='Lennon',shoesize=44)
22 vw.append(first='Flash',last='Gordon',shoesize=42)
29 print r.first, r.last, r.shoesize
32 for r in vw.sort(vw.last):
33 print r.first, r.last, r.shoesize
37 print r.first, r.last, r.shoesize
/macosx-10.9.5/Heimdal-323.92.1/lib/wind/
H A Dstringprep.py80 last = 0
82 if last:
83 if last[0] == x[0]:
84 last = (last[0], last[1], last[2], last[3] + x[3])
86 ret.append(last)
87 last
[all...]
/macosx-10.9.5/lsof-52/lsof/scripts/
H A Dlist_NULf.perl560 if ($F[$i] =~ /^c(.*)/) { $cmd = $1; last PROC }
61 if ($F[$i] =~ /^g(.*)/) { $pgrp = $1; last PROC }
62 if ($F[$i] =~ /^p(.*)/) { $pid = $1; last PROC }
63 if ($F[$i] =~ /^u(.*)/) { $uid = $1; last PROC }
64 if ($F[$i] =~ /^L(.*)/) { $login = $1; last PROC }
65 if ($F[$i] =~ /^R(.*)/) { $ppid = $1; last PROC }
82 if ($F[$i] =~ /^a(.*)/) { $access = $1; last FD; }
83 if ($F[$i] =~ /^C(.*)/) { last FD; }
84 if ($F[$i] =~ /^f(.*)/) { $fd = $1; last FD; }
85 if ($F[$i] =~ /^F(.*)/) { last F
[all...]
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dstrtok.h28 char *Curl_strtok_r(char *s, const char *delim, char **last);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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;

Completed in 153 milliseconds

1234567891011>>