Searched refs:beg (Results 1 - 25 of 35) sorted by relevance

12

/ast/src/lib/libast/astsa/
H A Dsfstr.c38 n += p->end - p->beg;
39 o = p->nxt - p->beg;
40 if (!(p->beg = realloc(p->beg, n)))
42 p->nxt = p->beg + o;
43 p->end = p->beg + n;
147 return p->beg;
159 if (!p->beg)
161 if (!(p->beg = malloc(STR)))
163 p->end = p->beg
[all...]
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/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 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
H A Dregnexec.c126 #define LEADING(e,r,s) (*(s)==(e)->leading&&((s)==(e)->beg||*((s)-1)==(r)->explicit))
316 DEBUG_CODE(0x0080,{sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n %-*.*snew ", (level + 3) * 4, (level + 3) * 4, "");for (oe = ns; oe < nend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n");},{0;});
433 catcher.re.rep_catch.beg = s;
437 rex->re.rep_catch.beg = s;
596 if (!strcmp((char*)ce->beg, (char*)elt))
600 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max)
604 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max && (iswlower(c) || !iswupper(c)))
608 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max && (iswupper(c) || !iswlower(c)))
867 t = env->beg
[all...]
/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/cmd/3d/
H A Dexecve3d.c35 if (state.brk.beg)
39 if (state.brk.end && (n = state.brk.end - state.brk.beg) > 0)
41 memset(state.brk.beg, 0, n);
45 state.brk.beg = state.brk.end = 0;
109 state.brk.beg = (char*)alloca(n);
111 state.brk.beg = (char*)sbrk(n);
114 ep = state.brk.beg + argn + 10 - sizeof(var_3d) + 1;
126 arge = (char**)state.brk.beg;
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 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 D3d.h350 #define reclaim() do { if (state.brk.beg) fix(); } while (0)
464 char* beg; member in struct:__anon7::__anon11
/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/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/lib/libz/
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...]
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 */
/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/lib/libdss/
H A Dcxeval.c67 else if (expr->query->beg)
78 r = (*expr->query->beg)(cx, expr, expr->argv, cx->disc);
/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/cmd/html/
H A Dmm2twiki.sh732 typeset op=$1 i o options beg
752 beg=---+
754 do beg=$beg+
756 putop "$beg$*"
907 ?*) beg="$beg[size=$size_big][color=blue]"
910 putop "$beg ${mm.title} $end"
H A Dmm2html.sh1177 typeset op=$1 i o options beg end txt lnlnk
1212 beg="$beg<CENTER>"
1216 beg="$beg<FONT $i>"
1222 print -nr -- "$beg<H$count$options>"
1534 beg="$beg<CENTER>"
1538 beg="$beg<FON
[all...]
H A Dmm2bb.sh798 typeset op=$1 i o options beg end
819 then beg="$beg\\red{\\1{"
821 else beg="$beg[color=red][size=$size_big]"
826 putop "$beg $* $end"
996 then beg="$beg\\1{\\blue{"
998 else beg="$beg[siz
[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/cmd/nmake/
H A Dconvert.c55 editcontext(register char* beg, register char* cur) argument
62 strncpy(s, beg, cur - beg);

Completed in 62 milliseconds

12