Searched refs:nxt (Results 1 - 21 of 21) sorted by relevance

/ast/src/lib/libast/string/
H A Dfmtbuf.c34 static char* nxt = buf; variable
47 if (n > (&buf[elementsof(buf)] - nxt))
63 nxt = buf;
65 cur = nxt;
66 nxt += n;
H A Dtok.c41 struct Tok_s* nxt; /* next in free list */ member in union:Tok_s::__anon311
60 freelist = freelist->ptr.nxt;
80 p->ptr.nxt = freelist;
/ast/src/lib/libast/astsa/
H A Dsfstr.c39 o = p->nxt - p->beg;
42 p->nxt = p->beg + o;
55 p->nxt = 0;
104 if (p->nxt >= p->end && extend(p, 1))
106 *p->nxt++ = c;
125 if (r > (p->end - p->nxt) && extend(p, r))
127 memcpy(p->nxt, buf, n);
128 p->nxt += n;
130 *p->nxt++ = sep;
157 if (!p->nxt)
[all...]
H A Dsfstr.h30 char* nxt; member in struct:Sfstr_s
/ast/src/cmd/tests/sfio/
H A Dttmp.c50 Sfoff_t nxt; local
71 if ((nxt = sfseek(f, (Sfoff_t)0, SEEK_CUR)) != (pos + siz))
73 sizeof(siz), siz, sizeof(nxt), nxt,
74 sizeof(nxt), nxt + sizeof(Rec));
75 if ((pos = sfseek(f, (Sfoff_t)SF_BUFSIZE, SEEK_CUR)) != (nxt + SF_BUFSIZE))
77 SF_BUFSIZE, sizeof(nxt), nxt, sizeof(nxt), nx
[all...]
/ast/src/cmd/INIT/
H A Dproto.c1485 char* nxt; member in struct:Buffer_s
1600 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( *s++)):(( *s++),(-1)));
1617 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 0 : 1])):(( notice->cc[n > 0 ? 0 : 1]),(-1)));
1619 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1)));
1620 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 1 : 2])):(( notice->cc[n > 0 ? 1 : 2]),(-1)));
1629 ((( b)->nxt<(
[all...]
H A Dmamake.c116 #define add(b,c) (((b)->nxt >= (b)->end) ? append(b, "") : NiL, *(b)->nxt++ = (c))
117 #define get(b) ((b)->nxt-(b)->buf)
118 #define set(b,o) ((b)->nxt=(b)->buf+(o))
119 #define use(b) (*(b)->nxt=0,(b)->nxt=(b)->buf)
159 char* nxt; /* next char to add */ member in struct:Buf_s
388 buf->nxt = buf->buf;
413 if ((n + 1) >= (buf->end - buf->nxt))
415 i = buf->nxt
[all...]
H A Diffe.sh172 nxt) mm="an include path for the native header" ;;
966 [+nxt \aname\a?Defines a string macro \b_nxt_\b\aname\a suitable for
2859 hdr|lcl|nxt|pth|sys)
2862 *.lcl|*.nxt)
2897 lcl|nxt) c=$v.$o ;;
3362 nxt) m=HAVE${u}_NEXT ;;
3781 hdr|lcl|nxt|sys)
3783 lcl|nxt)case $M in
3845 nxt) echo "#define $m <$i> /* include path for the native <$f.h> */"
3861 nxt) ech
[all...]
/ast/src/cmd/builtin/
H A Dpty.c437 char* nxt; /* next line */ member in struct:Master_s
484 if (r = bp->nxt)
503 else if (bp->nxt)
508 bp->restore = *bp->nxt;
509 *bp->nxt = 0;
510 if (bp->nxt >= bp->end)
513 bp->nxt = 0;
517 bp->cur = bp->nxt;
518 if (bp->nxt = memchr(bp->nxt
[all...]
/ast/src/lib/libcmd/
H A Dcat.c131 unsigned char* nxt; local
190 if (!(nxt = (unsigned char*)(*reserve)(ip, SF_UNBOUND, 0)))
204 cp = buf = nxt;
274 if (!(nxt = (unsigned char*)(*reserve)(ip, SF_UNBOUND, 0)))
288 buf = nxt;
351 if (!(nxt = (unsigned char*)(*reserve)(ip, SF_UNBOUND, 0)))
367 buf = nxt;
/ast/src/cmd/cs/
H A Ddbm.c157 char* nxt = msg; local
161 if ((n = csread(fd, nxt, sizeof(msg), CS_LINE)) <= 0) goto drop;
162 nxt[n - 1] = 0;
163 while (tokscan(nxt, &nxt, " %s %s %s", &cmd, &key.dptr, &val.dptr) > 0)
/ast/src/lib/libast/port/
H A Dastlicense.c103 #define PUT(b,c) (((b)->nxt<(b)->end)?(*(b)->nxt++=(c)):((c),(-1)))
105 #define USE(b) ((b)->siz=(b)->nxt-(b)->buf,(b)->nxt=(b)->buf,(b)->siz)
106 #define SIZ(b) ((b)->nxt-(b)->buf)
107 #define END(b) (*((b)->nxt>=(b)->end?((b)->nxt=(b)->end-1):(b)->nxt)=0,(b)->nxt-(b)->buf)
116 char* nxt; member in struct:Buffer_s
[all...]
/ast/src/lib/libpz/
H A Dpzinflate.c62 pat[z - 1] = *pz->nxt++;
208 if (sfread(pz->io, pz->nxt = pz->val, m) != m)
H A Dpzread.c198 if (sfread(pz->io, pz->nxt = pz->val, m) != m)
233 pz->pat[m - 1] = *pz->nxt++;
H A Dpzip.h230 unsigned char* nxt; /* next val pointer */ member in struct:Pz_s
/ast/src/lib/libdss/
H A Ddssopen.c468 char* nxt; local
485 loc = nxt = fmtbuf(n);
487 nxt += sfsprintf(nxt, end - nxt, "%s%s", path, sep);
489 sfsprintf(nxt, end - nxt, "%s %I*u, %s %I*d: ", ERROR_translate(NiL, NiL, id, "record"), sizeof(file->count), file->count, ERROR_translate(NiL, NiL, id, "offset"), sizeof(file->offset), file->offset);
/ast/src/cmd/dsslib/bgp/
H A Dbgp-mrt.c95 char* nxt; member in struct:Mrtstate_s
808 char* nxt; local
834 if ((nxt = state->buf + size) > end)
1076 if (state->buf < nxt)
1086 if (state->buf < nxt)
1088 state->nxt = state->end;
1089 state->end = nxt;
1124 state->buf = nxt;
1534 state->nxt = (state->buf += 2) + size;
1542 if (state->buf < state->nxt)
[all...]
/ast/src/cmd/pzip/
H A Dpin.c823 Part_t* nxt; local
830 nxt = partition(row);
959 np = nxt;
1061 if (np == nxt)
1063 tp = nxt;
1064 nxt = cur;
1111 free(nxt);
/ast/src/lib/libast/regex/
H A Dregnexec.c618 collic(register Celt_t* ce, char* key, register char* nxt, int c, int x) argument
634 while (*nxt)
636 if (collic(ce, key, nxt + 1, c, x))
638 if (islower(*nxt))
639 *nxt = toupper(*nxt);
640 else if (isupper(*nxt))
641 *nxt = tolower(*nxt);
644 nxt
[all...]
/ast/src/cmd/codexlib/lzh/
H A Dlzh.c67 ui4 nxt; member in struct:State_s
/ast/src/cmd/dsslib/flat/
H A Dflat.c3032 tabs(Sfio_t* op, int cur, int nxt) argument
3034 cur = (nxt - cur - 1) / 8 + 1;
3037 return nxt;

Completed in 68 milliseconds