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

/ast/src/lib/libast/string/
H A Dfmtre.c36 char* beg; member in struct:Stack_s
115 p->beg = s - 1;
117 p->len = s - p->beg;
142 p->beg = s - 1;
185 p->beg = s - 1;
197 *t++ = p->beg[c];
/ast/src/lib/libast/astsa/
H A Dsfstr.h29 char* beg; member in struct:Sfstr_s
H A Dstrmatch.c74 char* beg[MAXGROUP]; member in struct:__anon246
150 mp->current.beg[n] = mp->current.end[n] = 0;
209 mp->current.beg[g] = mp->current.end[g] = 0;
236 if (!mp->current.beg[n] || mp->current.beg[n] > olds)
237 mp->current.beg[n] = olds;
245 if (!mp->current.beg[n] || mp->current.beg[n] > olds)
246 mp->current.beg[n] = olds;
295 if (n <= g && mp->current.beg[
[all...]
/ast/src/lib/libz/
H A Dinffast.c76 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local
103 beg = out - (start - strm->avail_out);
187 op = (unsigned)(out - beg); /* max distance in output */
H A Ddeflate.c654 uInt beg = s->pending; /* start of bytes to update crc */ local
658 if (s->gzhead->hcrc && s->pending > beg)
659 strm->adler = crc32(strm->adler, s->pending_buf + beg,
660 s->pending - beg);
662 beg = s->pending;
669 if (s->gzhead->hcrc && s->pending > beg)
670 strm->adler = crc32(strm->adler, s->pending_buf + beg,
671 s->pending - beg);
682 uInt beg = s->pending; /* start of bytes to update crc */ local
687 if (s->gzhead->hcrc && s->pending > beg)
713 uInt beg = s->pending; /* start of bytes to update crc */ local
[all...]
/ast/src/lib/libast/regex/
H A Dregrexec.c39 register unsigned char* beg; local
62 buf = beg = (unsigned char*)s;
97 while (l > beg)
114 x = beg;
115 while (beg < l)
119 if (n = (*record)(handle, (char*)beg, x - beg))
121 beg = ++x;
131 beg = r + 1;
H A Dregcomp.c1091 mbxfrm(ce->beg, key, COLL_KEY_MAX);
1642 strcpy((char*)ce->beg, (char*)xc->key);
1694 if (strcmp((char*)ce->beg, (char*)ce->end) > 0)
1699 strcpy((char*)ce->beg, (char*)(ce-1)->end);
2052 int beg; local
2056 beg = env->pattern == env->cursor - env->token.len;
2539 if (typ >= 0 && beg)
H A Dreglib.h288 Ckey_t beg; member in struct:Celt_s
318 unsigned char* beg; /* beginning of next match */ member in struct:Cond_s
326 unsigned char* beg; /* beginning of left match */ member in struct:Conj_left_s
434 unsigned char* beg; member in struct:Behind_catch_s
448 unsigned char* beg; member in struct:Neg_catch_s
461 unsigned char* beg; member in struct:Rep_catch_s
533 unsigned char* beg; /* beginning of string */ member in struct:reglib_s
/ast/src/lib/libodelta/
H A Ddelta.c159 static Move *makeAdd(char* beg, char* end, Move* last) argument
163 ip = newMove(DELTA_ADD,(long)(end-beg),(long)(beg-Btar),NiL);
/ast/src/lib/libpz/
H A Dpzpart.c107 range(Pz_t* pz, register Pzpart_t* pp, char* s, char** p, int* beg, int* end) argument
158 if (beg)
159 *beg = n;
/ast/src/cmd/pzip/
H A Dpop.c122 int beg; member in struct:__anon194
266 lp->beg = (lp-1)->end + 1;
267 lp->end += lp->beg - 1;
269 else if (tokscan(s, NiL, "%d-%d %s", &lp->beg, &lp->end, &lp->name) != 3)
279 for (i = lp->beg; i <= lp->end; i++)
282 error(2, "%d-%d\t%s", lp->beg, lp->end, lp->name);
287 lp->beg = lp->end = (lp-1)->end + 1;
290 xv[lp->beg] = lp;
H A Dpin.c754 solution(int* lab, int label, size_t* sol, int beg, int end) argument
759 if (i >= beg)
760 label = solution(lab, label, sol, beg, i);
761 for (label++, beg = i + 1; beg <= end; beg++)
762 lab[beg] = label;
/ast/src/cmd/3d/
H A Dlib.c220 const char* beg; local
226 beg = key;
271 message((-10, "getkey: key=%-*s hash=%x value=%-*s next=%-*s", end - beg, beg, x, state.key.valsize, state.key.value, state.key.next ? end - state.key.next : 6, state.key.next));
H A Dstrmatch.c150 char* beg[MAXGROUP]; member in struct:Group_s
238 mp->current.beg[n] = mp->current.end[n] = 0;
307 mp->current.beg[g] = mp->current.end[g] = 0;
334 if (!mp->current.beg[n] || mp->current.beg[n] > olds)
335 mp->current.beg[n] = olds;
339 error(-4, "subgroup#%d n=%d beg=%p end=%p len=%d", __LINE__, n, mp->current.beg[n], mp->current.end[n], mp->current.end[n] - mp->current.beg[n]);
346 if (!mp->current.beg[
[all...]
H A D3d.h350 #define reclaim() do { if (state.brk.beg) fix(); } while (0)
464 char* beg; member in struct:__anon7::__anon11
/ast/src/cmd/mailx/
H A Dlist.c355 int beg; local
378 beg = 0;
389 if (beg) {
392 for (i = beg; i <= state.lexnumber; i++)
396 beg = 0;
399 beg = state.lexnumber;
400 if (check(beg, f))
405 markone(beg);
406 beg = 0;
411 if (beg) {
[all...]
H A Dmailx.h484 int beg; /* begin character match */ member in struct:match
492 unsigned char beg[256]; /* begin character match */ member in struct:linematch
/ast/src/cmd/nmake/
H A Dconvert.c55 editcontext(register char* beg, register char* cur) argument
62 strncpy(s, beg, cur - beg);
H A Dexpand.c3309 * generate edit context in xp at cur from beg
3313 editcontext(register char* beg, register char* cur) argument
3318 if ((n = cur - beg) > (EDITCONTEXT / 2)) beg = cur - (n = (EDITCONTEXT / 2));
3319 if (n > 0) sfprintf(internal.tmp, "%-*.*s", n, n, beg);
3393 long beg; local
3418 top[0] = beg = sfstrtell(xp);
3441 beg = top[out];
3926 x = sfstrseek(xp, beg, SEEK_SET);
3933 beg
4484 long beg; local
[all...]
/ast/src/cmd/sortlib/sum/
H A Dsortsum.c107 Position_t beg; member in struct:Summary_s
169 int beg; local
182 beg = end = 0;
191 while (beg < sum->beg.field)
213 end = ++beg;
215 if (sum->beg.index < (e - s))
217 a = s + sum->beg.index;
475 sum->beg.field = -1;
498 pos = &sum->beg;
[all...]
/ast/src/lib/libcmd/
H A Djoin.c126 char* beg; member in struct:Field_s
320 field->beg = cp;
336 field->beg = cp;
417 cp = fp->fields[n].beg;
470 cp = fp->fields[n].beg;
/ast/src/lib/libdss/
H A Dcx.h514 Cxquery_f beg; /* called before first eval */ member in struct:Cxquery_s
/ast/src/cmd/INIT/
H A Dratz.c2072 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local
2099 beg = out - (start - strm->avail_out);
2183 op = (unsigned)(out - beg); /* max distance in output */

Completed in 146 milliseconds