Searched defs:ss (Results 1 - 23 of 23) sorted by relevance

/ast/src/cmd/3d/
H A Dfstat3d.c102 struct stat ss; local
108 if (!fscall(NiL, MSG_fstat, 0, fd, &ss))
H A Dlstat3d.c95 struct stat ss; local
99 if (!fscall(NiL, MSG_lstat, 0, path, &ss))
103 if (!(sp = pathreal(path, P_LSTAT, &ss)))
110 fscall(mp, MSG_lstat, 0, state.path.name, &ss);
113 fscall(mp, MSG_lstat, 0, state.path.name, &ss);
H A Dstat3d.c111 struct stat ss; local
115 if (!fscall(NiL, MSG_stat, 0, path, &ss))
119 if (!(sp = pathreal(path, 0, &ss)))
126 fscall(mp, MSG_stat, 0, state.path.name, &ss);
129 fscall(mp, MSG_stat, 0, state.path.name, &ss);
/ast/src/lib/libast/sfio/
H A Dsfputr.c39 char *ss; local
49 f->val = sn = -1; ss = (char*)s;
53 { sn = sn < 0 ? strlen(s) : (sn - (s-ss));
54 ss = (char*)s; /* save current checkpoint */
66 { n = sn < 0 ? strlen(s) : sn - (s-ss);
/ast/src/lib/libast/regex/
H A Dregsubexec.c71 sub(const regex_t* p, register regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch, register regmatch_t* match) argument
88 s = (char*)ss + c;
91 e = (char*)ss + c;
/ast/src/cmd/tests/sfio/
H A Dtseek.c43 char *ss, *s, *tmp; local
71 if(!(ss = sfgetr(f,'\n',1)))
73 if(strncmp(ss,s,sfvalue(f)-1) != 0)
H A Dtstack.c83 char *s, *s1, *s2, *s3, *s4, str[1024], *ss; local
151 if((ss = sfgetr(f,'\n',1)) )
154 { if(!(ss = sfgetr(f,'\n',-1)) )
157 if (ss[n])
158 ss[n] = 0;
161 if(strcmp(ss,str) != 0)
162 terror("Expect=%s Got=%s",str,ss);
/ast/src/cmd/paxlib/lha/
H A Dlha.c108 unsigned char ss[2]; local
110 if (paxread(pax, ap, ss, sizeof(ss), 0, 0) != sizeof(ss) || !(hdr = paxget(pax, ap, n = ss[0], NiL)) || lha_method(hdr))
114 if ((h & 0xff) != ss[1])
/ast/src/lib/libcmd/
H A Dcksum.c184 struct stat ss; local
238 if (!st && fstat(sffileno(ip), st = &ss))
/ast/src/cmd/pax/
H A Dpax-saveset.c75 getsaveset(Pax_t* pax, register Archive_t* ap, register File_t* f, register Saveset_t* ss, int header) argument
85 ss->bp += ss->lastsize;
86 while (ss->bp >= ss->block + state.blocksize)
88 ss->bp = ss->block;
89 ss->lastsize = 0;
90 if (paxread(pax, ap, ss->bp, (off_t)0, (off_t)state.blocksize, 0) <= 0)
97 if (swapget(1, ss
196 register Saveset_t* ss = (Saveset_t*)ap->data; local
294 register Saveset_t* ss = (Saveset_t*)ap->data; local
[all...]
/ast/src/cmd/sortlib/sync/
H A Dsync.c76 " [+sort -lsync,control=xyz.ss,out02=out.2?Sorts using the"
77 " control file \bxyz.ss\b and places auxiliary file"
90 #include <ss.h>
97 Ss_t* ss; member in struct:State_s
141 for (f = state->ss->sum; f; f = f->next)
155 Ss_t* ss = state->ss; local
169 if (ssannounce(ss, rs))
171 return ss->initexit ? CALLOUT(ss, s
280 checkmark(Ss_t* ss, char** v, Ssdisc_t* ssdisc) argument
375 Ss_t* ss; local
[all...]
H A Dss.c63 #include <ss.h>
178 syntax(Ss_t* ss, char* s) argument
180 if (ss->disc->errorf)
183 (*ss->disc->errorf)(NiL, ss->disc, 2, "%s: unknown keyword", s);
185 (*ss->disc->errorf)(NiL, ss->disc, 2, "unexpected EOF");
202 lex(register Ss_t* ss) argument
208 if (s = ss->peek)
210 ss
366 value(Ss_t* ss, int flags) argument
401 type(Ss_t* ss, char* s, int silent) argument
473 codeset(register Ss_t* ss, register int n) argument
517 eat(Ss_t* ss) argument
542 fields(Ss_t* ss, int tuple, int flags, size_t* zp) argument
769 options(Ss_t* ss, int flags, Ssfile_t* fp, Ssfield_t** dp, int tuple, size_t* zp) argument
922 operand(Ss_t* ss, Ssexpr_t* lp) argument
1097 compile(Ss_t* ss, int precedence) argument
1224 finalize(Ss_t* ss, register Ssexpr_t* xp, int type) argument
1333 cond(Ss_t* ss) argument
1394 group(Ss_t* ss, Ssfile_t* fp, const char* id) argument
1419 load(Ss_t* ss, const char* usr, const char* fun, const char* lib, Ssdisc_t* disc) argument
1514 register Ss_t* ss; local
1780 sskey(Ss_t* ss, Ssfield_t* dp) argument
1842 listexpr(Ss_t* ss, Sfio_t* io, Ssexpr_t* xp) argument
1880 listfields(Ss_t* ss, Sfio_t* io, Ssfield_t* dp, const char* label) argument
1907 listfile(Ss_t* ss, Sfio_t* io, Ssfile_t* fp) argument
1940 sslist(Ss_t* ss, Sfio_t* io) argument
1999 sscopy(Ss_t* ss, Ssfile_t* fp, const char* buf, size_t bsize, char* out, size_t osize) argument
2057 sswrite(Ss_t* ss, Ssfile_t* fp, const char* buf, size_t size) argument
2143 sssum(Ss_t* ss, register Ssfield_t* dp, const char* buf, size_t size, char* out) argument
2409 sseval(Ss_t* ss, register Ssexpr_t* xp, const char* buf, size_t size) argument
2480 ssio(Ss_t* ss, int list) argument
2610 ssannounce(Ss_t* ss, Rs_t* rs) argument
2647 ssclose(Ss_t* ss) argument
[all...]
/ast/src/cmd/cs/vcs_src/
H A Dvcs_search.c55 * time :: hh ":" mm [ ":" ss ]
384 int dd, yy, hh, mm, ss; local
393 #define LINIT() (yy = 0, ss = 59, mm = 59, hh = 23)
429 (LINIT(), sfsscanf(s, "%s %d %d %d:%d:%d", month, &dd, &yy, &hh, &mm, &ss) != 6) &&
430 (LINIT(), sfsscanf(s, "%s %d %d:%d:%d", month, &dd, &hh, &mm, &ss) != 5) &&
443 sfsprintf(tbuf, sizeof(tbuf), "%s %d %d %d:%d:%d", month, dd, yy, hh, mm, ss);
445 sfsprintf(tbuf, sizeof(tbuf), "%s %d %d:%d:%d", month, dd, hh, mm, ss);
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwfile.c194 Grint_t ws, ss, t; local
204 { if((ws = vcwf->work[i]) == (ss = msig[i-v]) )
207 { if(ws < ss)
208 { t = ws; ws = ss; ss = t; }
209 if(DIST(ws,ss) < ACCEPT(ss))
217 { if((ws = vcwf->work[i]) == (ss = msig[i-v]) )
220 { if(ws < ss)
221 { t = ws; ws = ss; s
251 Grint_t **ss, **es, **ms, workn; local
[all...]
/ast/src/lib/libvdelta/vd01/
H A Dvddelta01.c166 reg uchar *s, *sm, *ends, *ss, *heade; local
225 for(sm -= head, ss = s; ss < heade; )
226 if(*sm++ != *ss++)
228 ss += M_MIN;
233 for(; ss < ends; ++ss, ++sm)
234 if(*sm != *ss)
244 len = ss-s;
245 if(ss >
[all...]
/ast/src/lib/libvdelta/
H A Dvddelta.c160 reg uchar *sm, *ends, *ss, *endh; local
209 for(sm -= head, ss = fold; ss < endh; )
210 if(*sm++ != *ss++)
214 ss += M_MIN;
219 for(;; ++ss, ++sm)
220 if(ss >= ends || *sm != *ss)
229 len = ss-fold;
230 if(ss >
[all...]
H A Dvdsqueeze.c147 reg uchar *s, *sm, *ends, *ss, *heade; local
188 for(sm -= head, ss = s; ss < heade; )
189 if(*sm++ != *ss++)
191 ss += M_MIN;
194 for(; ss < ends; ++ss, ++sm)
195 if(*sm != *ss)
205 len = ss-s;
206 if(ss >
[all...]
/ast/src/lib/libbz/
H A Dblocksort.c389 Int32 i, j, k, ss, sb; local
500 qSort3 to sort the small buckets [ss, j], but
503 ss = runningOrder[i];
507 Complete the big bucket [ss] by quicksorting
508 any unsorted small buckets [ss, j], for j != ss.
510 completed many of the small buckets [ss, j], so
514 if (j != ss) {
515 sb = (ss << 8) + j;
522 ss,
[all...]
/ast/src/cmd/ss/
H A Dssd.c240 update(char* data, unsigned long now, int delay, CSSTAT* ss) argument
250 if (ss->up < 0)
253 if (down) ss->up -= (long)(tm - down);
258 if (now > next || ss->idle < idle)
265 if (!now && csnote(data, ss) || stat(data, &st)) finish(1);
266 idle = ss->idle;
296 CSSTAT ss; local
334 csstat(buf, &ss);
356 update(data, 0, 0, &ss);
360 update(data, 0, CS_STAT_FREQ + (CS_STAT_DOWN - CS_STAT_FREQ) / 2, &ss);
[all...]
/ast/src/lib/libvcodex/
H A Dvcsfxsort.c101 { Vcchar_t *ps = sfx->str+p, *ss = sfx->str+s; local
105 { if((v = ps[k] - ss[k]) == 0)
/ast/src/cmd/html/
H A Dtroff2html.h146 int ss; /* sub/super script state */ member in struct:Env_s
/ast/src/cmd/nmake/
H A Dscan.c354 register Scan_t* ss; local
372 ss = newof(0, Scan_t, 1, 0);
373 ss->flags = flags;
391 ss->classid = newof(0, Action_t, 1, 0);
392 scanaction(ss->classid, s);
393 ss->data = hashalloc(NiL, HASH_set, HASH_ALLOCATE, HASH_name, r->name, 0);
396 if (!(ss->flags & SCAN_define))
413 ss->after = newof(0, Action_t, 1, 0);
414 scanaction(ss->after, s);
425 ss
818 scanmacro(int fd, Rule_t* r, Scan_t* ss, register List_t* p) argument
1246 scanexec(int fd, Rule_t* r, Scan_t* ss, List_t* p) argument
1763 Scan_t* ss; local
[all...]
/ast/src/cmd/re/
H A Ded.c365 register Sfio_t** ss; local
382 for (ss = (Sfio_t**)&ed.buffer; ss < (Sfio_t**)(((char*)&ed.buffer) + sizeof(ed.buffer)); ss++) {
383 if (!(*ss = sfstropen()))
385 sfputc(*ss, 0);
386 sfstrseek(*ss, 0, SEEK_SET);

Completed in 43 milliseconds