Searched refs:push (Results 1 - 25 of 28) sorted by relevance

12

/ast/src/cmd/html/
H A Dbb2tok.c78 int push; member in struct:State_s
85 token(State_t* state, Sfio_t* op, const char* text, const Header_t* head, int push) argument
95 sfprintf(op, "%s<%s%s>\n", (!state->push && (state->prev->lex == HEADER || state->prev->lex == CODE && state->last != '\n')) ? "\n" : "", state->push ? "" : "/", state->prev->out);
101 else if (push)
105 if (head->lex == LINK && state->prev->lex == NAME && state->push)
107 if (head->lex == LINE && state->prev->lex == HEADER && !state->push)
109 if (head->lex == HEADER && push && state->prev->lex == HEADER && !state->push)
114 if (state->keep && (state->prev->lex != head->lex || !head->unary && state->push))
[all...]
/ast/src/lib/libast/sfio/
H A Dsfstack.c66 { if(!(f2 = f1->push))
71 { if(f2->push)
98 if(f2->push != f2)
101 f1->push = f2;
107 f2->push = NIL(Sfio_t*);
H A Dsfreserve.c112 else if(size < 0 && n == 0 && f->push) /* maybe stack-pop */
113 { if((iosz = f->push->endb - f->push->next) == 0)
114 iosz = f->push->size;
H A Dsfexcept.c111 if(local && f->push &&
H A Dsfclose.c51 while(f->push)
H A Dsftmp.c336 f->push = savf.push;
H A Dsfsync.c114 for(; f; f = f->push)
H A Dsfhdr.h36 #define _push push
/ast/src/lib/libast/tm/
H A Dtmxfmt.c261 goto push;
270 goto push;
276 goto push;
279 goto push;
307 goto push;
321 goto push;
335 goto push;
338 goto push;
341 goto push;
369 goto push;
[all...]
/ast/src/cmd/pzip/
H A Dpzip.c130 "[Z:push?Push the \bsfdcpzip\b(3) io discipline rather than direct library"
205 int push = 0; local
300 push = 1;
328 if (push)
333 error(3, "sfdcpzip discipline push error");
342 error(3, "compression method discipline push error");
/ast/src/cmd/sortlib/vcodex/
H A Dvcodex.c106 push(Sfio_t* sp, Encoding_t* code, const char* trans, int type) function
133 if (!push(sp, NiL, NiL, 0))
137 if (push(sp, NiL, state->output.trans, VC_ENCODE) < 0)
139 error(2, "%s: cannot push vcodex encode discipline (%s)", path, state->output.trans);
189 if ((i = push((Sfio_t*)data, &state->input, NiL, VC_DECODE)) < 0)
191 error(2, "%s: cannot push vcodex decode discipline (%s)", arg, state->input.trans);
220 if (push((Sfio_t*)data, NiL, state->temporary.trans, VC_ENCODE) < 0)
222 error(2, "temporary-%d: cannot push vcodex encode discipline (%s)", tempid(state, data), state->temporary.trans);
240 if ((i = push((Sfio_t*)data, NiL, NiL, VC_DECODE)) < 0)
242 error(2, "temporary-%d: cannot push vcode
[all...]
/ast/src/cmd/codexlib/lzd/
H A Dlzd.c96 push(State_t* state, int c) function
194 push(state, state->fin_char);
198 push(state, state->table[c].z_ch);
204 push(state, state->suf_code);
/ast/src/lib/libast/include/
H A Dsfio_t.h77 (Sfio_t*)0, /* push */ \
105 (f)->push = (Sfio_t*)0, /* push */ \
/ast/src/lib/libbz/
H A Dblocksort.c283 #define push(lz,hz,dz) { stack[sp].ll = lz; \ macro
320 push ( loSt, hiSt, dSt );
363 push(lo, hi, d+1 );
373 push ( lo, n, d );
374 push ( n+1, m-1, d+1 );
375 push ( m, hi, d );
/ast/src/lib/libjcl/
H A Djcllib.h134 Push_t push[2]; \
H A Dparse.c73 * push a string on the input token stream
77 push(Jcl_t* jcl, char* s) function
79 if (jcl->pushed >= elementsof(jcl->push))
85 memcpy(&jcl->push[jcl->pushed++], &jcl->data, sizeof(Push_t));
92 * push back one token or entire card if tok==0
532 memcpy(&jcl->data, &jcl->push[--jcl->pushed], sizeof(Push_t));
1365 else if (push(jcl, val + (*val == '(')))
1498 if (*val == '(' && push(jcl, val + 1))
/ast/src/lib/libast/port/
H A Dastlicense.c431 push(Stack_t* sp, char* file, char* parent, char* info, int size, Buffer_t* buf) function
538 if (push(&input[++level], file, 0, data, &info[sizeof(info)] - data, &buf))
586 if (++level >= (sizeof(input) / sizeof(input[0])) || push(&input[level], file, input[level-1].file, data, &info[sizeof(info)] - data, &buf))
/ast/src/lib/libdss/
H A Dtag.c164 * parse include file name and push on the input stack
168 push(Tag_t* tag, register char* s, Tagdisc_t* disc) function
243 return push(tag, s, disc);
274 if (push(tag, s + 11, disc))
/ast/src/lib/libast/regex/
H A Dregcomp.c67 #define eat(p) do{if ((p)->token.push)(p)->token.push=0;else (p)->cursor+=(p)->token.len;}while (0)
106 short push; member in struct:Token_s
923 if (env->token.push)
2094 env->token.push = 1;
2756 tok.push = 1;
2824 env->token.push = 1;
2830 env->token.push = 1;
3316 env.token.push = 0;
/ast/src/cmd/nmake/
H A Dcommand.c44 #define PUSHED 010 /* currently push'd */
333 * push job context
337 push(Joblist_t* job) function
519 push(job);
909 push(job);
1022 push(job);
/ast/src/cmd/INIT/
H A Dmamake.c137 #define STREAM_MUST 0x0002 /* push() file must exist */
1064 * push file onto the input stack
1068 push(char* file, Stdio_t* fp, int flags) function
1368 if (h < q || !push(s, (Stdio_t*)0, 0))
1379 if (!push(s, (Stdio_t*)0, 0))
1827 if (push(use(buf), (Stdio_t*)0, 0))
2023 push("recurse", popen(s, "r"), STREAM_PIPE);
2359 push(state.file, (Stdio_t*)0, STREAM_MUST);
H A Dproto.c290 int push; member in struct:counter
1787 push __PARAM__((Stack_t* sp, char* file, char* parent, char* info, int size, Buffer_t* buf), (sp, file, parent, info, size, buf)) __OTORP__(Stack_t* sp; char* file; char* parent; char* info; int size; Buffer_t* buf;){
1892 if (push(&input[++level], file, 0, data, &info[sizeof(info)] - data, &buf))
1940 if (++level >= (sizeof(input) / sizeof(input[0])) || push(&input[level], file, input[level-1].file, data, &info[sizeof(info)] - data, &buf))
/ast/src/lib/libpp/
H A Dpplib.h209 int push; /* input stream pushes */ member in struct:counter
336 PPINCREF incref; /* include file push/return */ \
553 count(push); \
/ast/src/lib/libcodex/
H A Dcodex.c423 * single sfio method discipline push of meth!=0 onto sp
427 push(Sfio_t* sp, const char* name, Codexnum_t flags, Codexdisc_t* disc, Codexmeth_t* meth) function
655 (*disc->errorf)(NiL, disc, 2, "%s: sfio discipline push error", name);
701 * recursively identify and push sfcode() disciplines
755 * push the codex method composition name onto ip/op
961 if (push(ip, p->name, CODEX_DECODE|flags, disc, p->meth) < 0)
981 if (push(op, p->name, CODEX_ENCODE|flags, disc, p->meth) < 0)
/ast/src/cmd/dsslib/bgp/
H A Dbgp-mrt.c92 int push; member in struct:Mrtstate_s
1090 state->push = state->state == STATE_BGP_MESSAGE ? STATE_BGP_ATTR : state->state;
1607 state->state = state->push;
1621 state->state = state->push;

Completed in 105 milliseconds

12