/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/strings/ |
H A D | apr_strtok.c | 27 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 D | apr_strtok.c | 27 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 D | os_rpath.c | 15 * 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 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 | 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...] |
/macosx-10.9.5/Libc-997.90.3/string/FreeBSD/ |
H A D | wcsrchr.c | 35 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 D | seeksize.d | 53 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 D | seeksize.d | 53 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 D | os_vx_rpath.c | 17 * 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 D | sane_basename.c | 5 /* 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 D | hashlast.c | 24 /* 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 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...] |
/macosx-10.9.5/ruby-104/ruby/benchmark/ |
H A D | bm_so_random.rb | 7 $last = 42.0 10 (max * ($last = ($last * IA + IC) % IM)) / IM
|
/macosx-10.9.5/tcl-102/tcl/tcl/tools/ |
H A D | uniClass.tcl | 15 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 D | uniClass.tcl | 15 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 D | list.c | 41 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 D | demo.tcl | 17 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 D | demold.tcl | 6 # 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 D | demo.py | 18 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 D | stringprep.py | 80 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 D | list_NULf.perl5 | 60 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 D | strtok.h | 28 char *Curl_strtok_r(char *s, const char *delim, char **last);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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;
|