/ast/src/lib/libexpr/ |
H A D | exrewind.c | 40 if (!ex->input->pushback && !(ex->input->pushback = oldof(0, char, sizeof(ex->line), 3))) 46 memcpy(ex->input->pushback, ex->line, n); 47 if (ex->input->peek) 49 ex->input->pushback[n++] = ex->input->peek; 50 ex->input->peek = 0; 52 ex->input->pushback[n++] = ' '; 53 ex->input->pushback[n] = 0; 54 ex->input [all...] |
H A D | extoken.c | 193 error(TRACE_lex + lev, "%s: [%d] %04d%s%s", op, ex->input->nesting, c, s, t); 231 if (c = ex->input->peek) 232 ex->input->peek = 0; 233 else if (ex->input->pp) 235 if (!(c = *ex->input->pp++)) 237 ex->input->pp = 0; 241 else if (ex->input->sp) 243 if (!(c = *ex->input->sp++)) 248 ex->input->sp--; 251 else if (ex->input [all...] |
H A D | exlib.h | 34 typedef struct Exinput_s /* input stack */ 100 Exinput_t* input; /* input stack */ \ 105 char line[512]; /* last few input tokens */ \ 122 #define exunlex(p,c) ((p)->linep--,(p)->input->peek=(c)) 152 Exinput_t null; /* null input */
|
H A D | exgram.h | 595 * push a new input stream and program 610 if (!p->input) 611 p->input = &expr.null; 631 if (!(in->next = p->input)->next) 646 p->input = in; 659 * pop the current input stream 668 if (!(in = p->input) || !in->next || in->unit) 691 p->input = in->next; 713 if (!p->input) 719 p->input [all...] |
/ast/src/cmd/pax/ |
H A D | rpm2cpio.sh | 31 [+DESCRIPTION?\brpm2cpio\b converts the input \brpm\b(1) \afile\a, or 32 the standard input if \afile\a is omitted, to a \bcpio\b(1) 69 0) input=- ;; 70 1) input=$1 ;; 73 $show pax $options -r -f "$input" -w -x cpio
|
/ast/src/cmd/re/ |
H A D | sed0.c | 154 Sfio_t *ifile; /* current input file */ 155 } input; variable in typeref:struct:__anon206 164 if (qflag || input.iargc <= 0) 168 if (s = sfgetr(input.ifile, '\n', 1)) 170 c = sfvalue(input.ifile); 173 if (s = sfgetr(input.ifile, '\n', -1)) 175 c = sfvalue(input.ifile) + 1; 181 sfclose(input.ifile); 184 if (--input.iargc <= 0) 186 } while (!(input [all...] |
H A D | ed.c | 30 " command mode and input mode. In command mode characters on the" 31 " standard input are interpreted as commands, and in input mode they" 149 char* input; member in struct:__anon200 212 ed.input = 0; 287 if (!ed.input) { 288 if (!(ed.input = sfgetr(sfstdin, '\n', 1))) { 292 if ((n = sfvalue(sfstdin) - 2) >= 0 && ed.input[n] == '\r') 293 ed.input[n--] = 0; 294 ed.spbeg = ed.input; 335 input(int n) function [all...] |
H A D | grep.c | 26 "[+DESCRIPTION?The \bgrep\b commands search the named input files" 28 " Matching lines are printed by default. The standard input is searched" 72 "[N:name?Set the standard input file name prefix to" 164 int notfound; /* some input file not found */ 346 execute(Sfio_t* input, char* name) argument 358 sfset(input, SF_SHARE, 0); 360 sfsetbuf(input, state.buffer.base, state.buffer.size); 362 name = "(standard input)"; /* posix! (ast prefers /dev/stdin) */ 372 if (s = sfgetr(input, '\n', 0)) 373 len = sfvalue(input) [all...] |
/ast/src/cmd/sortlib/vcodex/ |
H A D | vcodex.c | 31 "decodes input, output and temporary file data. By default temporary and " 33 "input file. Output encoding is only applied to the standard output or " 36 "containing 'z' and the input path has a suffix containing 'z' then the " 37 "output path is renamed by appending the input path suffix.]" 38 "[i:input?Decode the input files using \amethod\a. \b--noinput\b " 39 "disables input encoding.]:[method]" 79 Encoding_t input; member in struct:State_s 136 state->output = state->input; 142 if (!ZIPSUFFIX(path, p) && *state->input [all...] |
/ast/src/cmd/dsslib/netflow/ |
H A D | flow-tool.c | 77 u_int16 input; /* Input interface index */ member in struct:fts3rec_v1 104 u_int16 input; /* Input interface index */ member in struct:fts3rec_v5 132 u_int16 input; /* Input interface index */ member in struct:fts3rec_v6 150 u_int8 in_encaps; /* size in bytes of the input encapsulation */ 164 u_int16 input; /* Input interface index */ member in struct:fts3rec_v7 362 swapmem(n, &R1(fp)->unix_secs, &R1(fp)->unix_secs, (char*)&R1(fp)->input - (char*)&R1(fp)->unix_secs); 366 swapmem(n, &R1(fp)->input, &R1(fp)->input, (char*)&R1(fp)->dPkts - (char*)&R1(fp)->input); 373 rp->input [all...] |
H A D | flow-dump.c | 46 Nfshort_t input; member in struct:Rec_1_s 82 Nfshort_t input; member in struct:Rec_5_s 116 Nfshort_t input; member in struct:Rec_7_s 294 swapmem(1, state->data + 12, &rp->input, 4); 309 swapmem(1, state->data + 12, &rp->input, 4); 325 swapmem(1, state->data + 12, &rp->input, 4); 417 swapmem(1, &rp->input, state->next + 12, 4); 434 swapmem(1, &rp->input, state->next + 12, 4); 452 swapmem(1, &rp->input, state->next + 12, 4);
|
/ast/src/cmd/vczip/ |
H A D | vczip.c | 39 "[+DESCRIPTION?\bvczip\b is a filter that decodes the standard input " 44 "file to delta against. If \asource\a is omitted then the input file is " 52 "[i:input?Input data is read from \afile\a instead of the standard " 53 "input.]:[file]" 68 "[q:identify?Identify the standard input encoding and write the " 70 "If the standard input is not vczip encoded then nothing is " 74 "following methods, each method prefixed by \b<\b to decode the input or " 92 "\n[ source ] < input > output\n" 236 * apply the codex and/or vcodex transforms to a single input/output pair 240 apply(int action, const char* vt, Vcsfdata_t* vcodexdisc, const char* ct, Codexdisc_t* codexdisc, const char* input, cons argument [all...] |
/ast/src/lib/libsum/ |
H A D | sum-md5.c | 44 unsigned char buffer[64]; /* input buffer */ 62 * encode input into output 67 md5_encode(register unsigned char* output, register UINT4* input, unsigned int len) argument 74 output[j] = (unsigned char)(input[i] & 0xff); 75 output[j+1] = (unsigned char)((input[i] >> 8) & 0xff); 76 output[j+2] = (unsigned char)((input[i] >> 16) & 0xff); 77 output[j+3] = (unsigned char)((input[i] >> 24) & 0xff); 82 * decode input into output 87 md5_decode(register UINT4* output, register unsigned char* input, unsigned int len) argument 93 output[i] = ((UINT4)input[ 272 unsigned char* input = (unsigned char*)s; local [all...] |
/ast/src/cmd/nmake/ |
H A D | ppcc.sh | 220 eval input$nfile='$arg' 308 eval input='$input'$n 312 1) echo + "$@" "$input" "$output" ;; 315 1) "$@" "$input" "$output" || exit ;; 319 1) echo + "$@" "$input" ;; 322 1) "$@" "$input" || exit ;;
|
/ast/src/lib/libtk/library/ |
H A D | console.tcl | 65 # Processes the command line input. If the command is complete it 67 # prompt is added and more input may be added. 73 set ranges [.console tag ranges input] 88 .console tag delete input 127 .console insert promptEnd $cmd {input stdin} 143 .console insert promptEnd $cmd {input stdin} 296 %W insert insert [selection get -displayof %W] {input stdin} 385 $w insert insert $s {input stdin}
|
/ast/src/lib/libtksh/src/ |
H A D | filecmd.c | 686 char *input = NULL; /* If non-null, then this points to a 687 * string containing input data (specified 716 if (input) 719 Tcl_DStringAppend(buffer, input, -1); 721 input = NULL; 726 input = argv[i]+2; 727 if (*input == 0) { 728 input = argv[i+1]; 729 if (input == 0) { 738 input 684 char *input = NULL; /* If non-null, then this points to a local [all...] |
/ast/src/lib/libast/port/ |
H A D | astlicense.c | 518 Stack_t input[4]; local 532 input[level].file = "<options>"; 533 input[level].info = options; 534 input[level].line = 0; 538 if (push(&input[++level], file, 0, data, &info[sizeof(info)] - data, &buf)) 540 data += input[level].size; 544 s = input[level].info; 562 while (c == ' ' || c == '\t' || c == '\n' && ++input[level].line || c == '\r' || c == ',' || c == ';' || c == ')') 571 input[level].line++; 585 input[leve [all...] |
/ast/src/cmd/kshlib/cmdtst/ |
H A D | grep.c | 28 "[+DESCRIPTION?The \bgrep\b commands search the named input files for " 30 "printed by default. The standard input is searched if no files are " 82 "[N:name?Set the standard input file name prefix to " 188 int notfound; /* some input file not found */ 459 execute(State_t* state, Sfio_t* input, char* name, Shbltin_t* context) argument 471 sfset(input, SF_SHARE, 0); 473 sfsetbuf(input, state->buffer.base, state->buffer.size); 475 name = "(standard input)"; /* posix! (ast prefers /dev/stdin) */ 487 if (s = sfgetr(input, '\n', 0)) 488 len = sfvalue(input) [all...] |
/ast/src/cmd/mam/ |
H A D | mamdag.sh | 20 : convert MAM dependency info to dag input 32 prerequisite file descriptions from the standard input and writes a
|
H A D | mamdot.sh | 20 : convert MAM dependency info to dot input 31 prerequisite file descriptions from the standard input and writes a
|
/ast/src/lib/libmam/ |
H A D | mam.c | 173 * scan a mam input stream 188 Sfio_t* input; local 195 if (!file) input = sfstdin; 196 else if (!(input = sfopen(NiL, file, "r"))) 202 sfsetbuf(input, buf, sizeof(buf)); 208 while (s = sfgetr(input, '\n', 1)) 360 if (input != sfstdin) sfclose(input);
|
/ast/src/cmd/sort/ |
H A D | main.c | 45 "standard input. If no files are named, the standard input is sorted.]" 90 "any input file name, from left to right, ends with " 94 "regular file, is renamed to contain the input \b%\b\aformat\a.]" 95 "[+-?The first block of the first input file is sampled to check " 128 "[c:check?Check that the single input file is sorted according to the " 129 "ordering rules; give no output on the standard output. If the input " 134 "the input. The current implementation still uses one process for the " 136 "[m:merge?Merge; the input files are already sorted.]" 139 "[s:stable?Stable sort. When all keys compare equal, preserve input " 1316 input(register Sort_t* sp, Sfio_t* ip, const char* name) function [all...] |
/ast/src/cmd/mailx/ |
H A D | misc.c | 180 * The following code deals with input stacking to do source 186 * Pushdown current input file and switch to a new one. 202 state.source.stack[state.source.sp].input = state.input; 208 state.input = fp; 214 * Pop the current input back to the previous level. 225 fileclose(state.input); 231 state.input = state.source.stack[state.source.sp].input;
|
H A D | lex.c | 285 * Interpret user commands one by one. If standard input is not a tty, 329 * Read a line of commands from the current input 334 if (readline(state.input, &linebuf[n], LINESIZE - n) < 0) { 717 register FILE* input; local 721 input = state.input; 722 state.input = fp; 728 state.input = input;
|
/ast/src/lib/libast/disc/ |
H A D | sfdcmore.c | 42 Sfio_t* input; /* tied with this input stream */ member in struct:__anon257 55 * we assume line-at-a-time input 273 if (f = more->input) 275 more->input = 0; 299 * if f==sfstdout then input on sfstdin also resets the state 359 more->input = sfstdin;
|