Searched defs:s1 (Results 1 - 19 of 19) sorted by relevance

/ast/src/cmd/tests/sfio/
H A Dtstdio.c32 long s1, s2; local
104 if((s1 = ftell(f)) != 1010)
105 terror("Bad location in f: s1=%lld", (Sflong_t)s1);
112 if((s1 = ftell(f)) != 1011)
113 terror("Bad location in f: s1=%lld", (Sflong_t)s1);
H A Dtpool.c42 char *s, *os, *s1, *s2, *s3; local
89 if(!(s1 = sfreserve(f1,n,0)) ||
94 if(memcmp(s1,s2,n) != 0 || memcmp(s2,s3,n) != 0)
H A Dtstack.c83 char *s, *s1, *s2, *s3, *s4, str[1024], *ss; local
104 s1 = "1234567890";
109 if(!(f1 = sfopen((Sfio_t*)0,s1,"s")) ||
148 terror("Stacking s1");
150 sfsprintf(str,sizeof(str),"%s%s%s%s",s1,s2,s3,s4);
165 if(!(f1 = sfopen((Sfio_t*)0,s1,"s")) ||
174 if(!(s = sfreserve(f,SF_UNBOUND,0)) || s != s1)
/ast/src/lib/libast/hash/
H A Dhashlook.c48 register char* s1; local
65 s1 = hashname(b);
67 while ((c = *s1++) == *s2++)
106 register char* s1 = hashname(b); local
111 register char* s3 = s1 + tab->root->namesize;
113 while (*s1++ == *s2++)
114 if (s1 >= s3) goto found;
116 else while (*s1 == *s2++)
117 if (!*s1++) goto found;
/ast/src/cmd/tests/cdt/
H A Dtstringset.c25 int strcmp(const char* s1, const char* s2) argument
28 for(;; s1++, s2++)
29 { if((d = s1[0] - s2[0]) )
31 if(s1[0] == 0)
/ast/src/lib/libast/features/
H A Dalign.c52 char s1; member in struct:_s_
/ast/src/cmd/nmake/
H A Dmetarule.c90 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);
95 s1 = sfstruse(internal.met);
96 if (!(r = getrule(s1)) && force)
H A Dstate.c39 * 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++);
54 s1 = sfstruse(internal.nam);
55 if (!(r = getrule(s1)) && force)
59 pathcanon(s1, 0, 0);
60 if (r = getrule(s1))
H A Dparse.c3029 char* s1; local
3038 else if (!(s1 = nextarg(s, &s, &e1, &n)))
3052 n = e1 > s1;
3070 if (*s1 == MARK_CONTEXT && *(e1 - 1) == MARK_CONTEXT)
3088 n = strcoll(s1, s2) >= q;
3091 n = strcoll(s2, s1) >= q;
3094 n = !strmatch(s1, s2);
3097 n = strmatch(s1, s2);
/ast/src/lib/libast/vmalloc/
H A Dvmtrace.c196 void _vmmessage(const char* s1, long n1, const char* s2, long n2) argument
198 void _vmmessage(s1, n1, s2, n2)
199 const char* s1;
209 if (s1)
211 bufp = trstrcpy(bufp, s1, ':');
/ast/src/lib/libcmd/
H A Dcmp.c255 struct stat s1; local
369 if (fstat(sffileno(f1), &s1))
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/cmd/ksh93/sh/
H A Denv.c64 const unsigned char *s1=(unsigned const char*)key1; local
66 while((c= *s1++) && c!='=' && c==*s2)
/ast/src/lib/libast/uwin/
H A Dlgamma.c116 #define s1 2.786469504618194648e+000 macro
225 q = s0+z*(s1+z*(s2+z*(s3+z*s4)));
/ast/src/lib/libbz/
H A Dblocksort.c85 UInt16 s1, s2; local
126 s1 = quadrant[i1];
128 if (s1 != s2) return (s1 > s2);
134 s1 = quadrant[i1];
136 if (s1 != s2) return (s1 > s2);
142 s1 = quadrant[i1];
144 if (s1 != s2) return (s1 > s
[all...]
/ast/src/cmd/mailx/
H A Dmisc.c531 anyof(register char* s1, register char* s2) argument
534 while (*s1)
535 if (strchr(s2, *s1++))
/ast/src/lib/libvcodex/
H A Dvclzparse.c446 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/libsum/
H A Dsum-sha2.c484 s1 = W256[(j+14)&0x0f]; \
485 s1 = sigma1_256(s1); \
487 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \
493 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; local
551 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; local
595 s1 = W256[(j+14)&0x0f];
596 s1 = sigma1_256(s1);
600 (W256[j&0x0f] += s1
861 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; local
916 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; local
[all...]
/ast/src/cmd/ksh93/edit/
H A Dhistory.c1049 * copy command <command> from history file to s1
1051 * if s1==0 the number of lines for the command is returned
1057 int hist_copy(char *s1,int size,int command,int line) argument
1062 register char *s1max = s1+size;
1075 if(s1 && (line<0 || line==count))
1077 if(s1 >= s1max)
1079 *--s1 = 0;
1082 *s1++ = c;
1087 if(s1==0)
1089 if(count && (c= *(s1
1102 register char *s1 = string; local
[all...]
H A Dedit.c1607 static int ed_sortdata(const char *s1, const char *s2) argument
1609 Histmatch_t *m1 = (Histmatch_t*)s1;
1614 static int ed_sortindex(const char *s1, const char *s2) argument
1616 Histmatch_t *m1 = (Histmatch_t*)s1;

Completed in 69 milliseconds