/ast/src/lib/libast/comp/ |
H A D | memccpy.c | 33 * Copy s2 to s1, stopping if character c is copied. Copy no more than n bytes. 42 register const char* s2 = (char*)as2; 43 register const char* ep = s2 + n; 45 while (s2 < ep) 46 if ((*s1++ = *s2++) == c)
|
H A D | memcpy.c | 39 memcpy(void* s1, void* s2, size_t n) 41 bcopy(s2, s1, n); 51 register const char* s2 = (const char*)as2; 54 *s1++ = *s2++;
|
H A D | strstr.c | 49 strstr(register const char* s1, register const char* s2) 56 if (s2) 58 if (!*s2) 60 c2 = *s2++; 65 t2 = s2;
|
/ast/src/cmd/tests/sfio/ |
H A D | tstdio.c | 32 long s1, s2; local 92 if((s2 = ftell(f2)) != 7) 117 if((s2 = ftell(f2)) != 1010) 118 terror("Bad location in f2: s2=%lld", (Sflong_t)s2);
|
H A D | tstack.c | 83 char *s, *s1, *s2, *s3, *s4, str[1024], *ss; local 105 s2 = "abcdefghijklmnopqrstuvwxyz"; 110 !(f2 = sfopen((Sfio_t*)0,s2,"s")) || 146 terror("Stacking s2"); 150 sfsprintf(str,sizeof(str),"%s%s%s%s",s1,s2,s3,s4); 166 !(f2 = sfopen((Sfio_t*)0,s2,"s")) || 177 if(!(s = sfreserve(f,SF_UNBOUND,0)) || s != s2)
|
H A D | tpool.c | 42 char *s, *os, *s1, *s2, *s3; local 90 !(s2 = sfreserve(f2,n,0)) || 94 if(memcmp(s1,s2,n) != 0 || memcmp(s2,s3,n) != 0)
|
/ast/src/cmd/tests/cdt/ |
H A D | tstringset.c | 25 int strcmp(const char* s1, const char* s2) argument 28 for(;; s1++, s2++) 29 { if((d = s1[0] - s2[0]) )
|
/ast/src/lib/libtk/library/demos/ |
H A D | entry2.tcl | 31 entry $w.frame.e2 -relief sunken -xscrollcommand "$w.frame.s2 set" 32 scrollbar $w.frame.s2 -relief sunken -orient horiz -command \ 38 pack $w.frame.e1 $w.frame.s1 $w.frame.spacer1 $w.frame.e2 $w.frame.s2 \
|
/ast/src/lib/libz/ |
H A D | zutil.c | 160 int zmemcmp(s1, s2, len) 162 const Bytef* s2; 168 if (s1[j] != s2[j]) return 2*(s1[j] > s2[j])-1;
|
H A D | zutil.h | 236 extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
|
/ast/src/lib/libcmd/ |
H A D | cmp.c | 256 struct stat s2; local 371 else if (fstat(sffileno(f2), &s2)) 373 else if (s1.st_ino == s2.st_ino && s1.st_dev == s2.st_dev && o1 == o2) 376 n = ((flags & CMP_SILENT) && S_ISREG(s1.st_mode) && S_ISREG(s2.st_mode) && (s1.st_size - o1) != (s2.st_size - o2)) ? 1 : cmp(file1, f1, file2, f2, flags, count, differences);
|
/ast/src/lib/libbz/ |
H A D | blocksort.c | 85 UInt16 s1, s2; local 127 s2 = quadrant[i2]; 128 if (s1 != s2) return (s1 > s2); 135 s2 = quadrant[i2]; 136 if (s1 != s2) return (s1 > s2); 143 s2 = quadrant[i2]; 144 if (s1 != s2) return (s1 > s2); [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | vmtrace.c | 196 void _vmmessage(const char* s1, long n1, const char* s2, long n2) argument 198 void _vmmessage(s1, n1, s2, n2) 201 const char* s2; 215 if (s2) 217 bufp = trstrcpy(bufp, s2, ':');
|
/ast/src/lib/libast/hash/ |
H A D | hashlook.c | 49 register const char* s2; local 55 s2 = name; 57 while (c = *s2++) HASHPART(n, c); 66 s2 = name; 67 while ((c = *s1++) == *s2++) 107 register const char* s2 = name; local 113 while (*s1++ == *s2++) 116 else while (*s1 == *s2++)
|
/ast/src/cmd/ksh93/sh/ |
H A D | env.c | 65 const unsigned char *s2=(unsigned const char*)key2; local 66 while((c= *s1++) && c!='=' && c==*s2) 67 s2++; 70 if((d=*s2)=='=')
|
/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 234 int s2 = rresvport(&lport), s3; local 237 if (s2 < 0) 239 listen(s2, 1); 249 (void) close(s2); 252 s3 = accept(s2, (struct sockaddr *)&from, &len); 253 (void) close(s2);
|
H A D | lgamma.c | 117 #define s2 1.564546365519179805e+000 macro 225 q = s0+z*(s1+z*(s2+z*(s3+z*s4)));
|
/ast/src/cmd/cs/vcs_src/ |
H A D | vcs_search.c | 37 int cmptime(s1, s2) 39 const void* s2; 42 return (TAGTIME(s1) - TAGTIME(s2));
|
/ast/src/lib/libvcodex/ |
H A D | vclzparse.c | 446 Vcchar_t *s1, *s2, *ends, *str = NIL(Vcchar_t*); local 477 { s1 = str+p; s2 = str+lp; 478 for(; s1 < ends && *s1 == *s2; ++s1, ++s2 ) 489 { s1 = str+p; s2 = str+rp; 490 for(; s1 < ends && *s1 == *s2; ++s1, ++s2 )
|
/ast/src/lib/libast/features/ |
H A D | align.c | 53 union _u_ s2; member in struct:_s_
|
/ast/src/cmd/nmake/ |
H A D | metarule.c | 90 metainfo(int type, char* s1, char* s2, int force) argument 94 sfprintf(internal.met, "%s.%c.%s%s%s", internal.metarule->name, type, s1 ? s1 : null, s2 ? ">" : null, s2 ? s2 : null);
|
H A D | state.c | 39 * return a pointer to the rule <s1><s2><s3> 45 catrule(register char* s1, register char* s2, register char* s3, int force) argument 49 sfputr(internal.nam, s1, *s2++); 50 if (*s2) 51 sfputr(internal.nam, s2, s3 ? *s3++ : -1);
|
/ast/src/cmd/mailx/ |
H A D | misc.c | 531 anyof(register char* s1, register char* s2) argument 535 if (strchr(s2, *s1++))
|
/ast/src/lib/libtksh/ |
H A D | Makefile | 74 desksh/lib/s2.c \
|
/ast/src/lib/libtksh/tcl/ |
H A D | regexp.c | 219 static int strcspn _ANSI_ARGS_((char *s1, char *s2)); 1283 * of characters not from s2 1287 strcspn(s1, s2) 1289 char *s2; 1297 for (scan2 = s2; *scan2 != '\0';) /* ++ moved down. */
|