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

/ast/src/cmd/ksh93/tests/
H A Dglob.sh35 typeset lineno expected drop arg got sep op val add del
36 lineno=$1
70 then 'err_exit' $lineno "glob -- expected '$expected', got '$got'"
77 typeset lineno expected subject pattern got
78 lineno=$1 expected=$2 subject=$3 pattern=$4
86 then 'err_exit' $lineno "case $subject in $pattern) -- expected '$expected', got '$got'"
H A Dpty.sh32 alias err_exit='err_exit $lineno'
35 integer Errors=0 lineno=1
37 whence -q pty || { lineno=$LINENO; err_exit "pty command not found -- tests skipped"; exit 0; }
62 integer lineno=$1 offset
70 err_exit "${text/: line $offset:/: line $(( lineno + offset)):}"
H A Dfunctions.sh900 [[ ${.sh.lineno} == "$1" ]] || err_exit "\${.sh.lineno}=${.sh.lineno} does not match $1 on level ${.level}"
973 _Dbg_print_frame "${.level}" "$0" "${.sh.file}" "${.sh.lineno}" "${.sh.command##* }" "$@"
987 print -r -- "${.sh.lineno}"
H A Dtypes.sh83 typeset -T Frame_t=( typeset file lineno )
85 [[ $(typeset -p frame) == 'Frame_t frame=(typeset file;typeset lineno)' ]] || err_exit 'empty fields in type not displayed'
/ast/src/cmd/INIT/
H A Drt.sh81 integer tests errors signals lineno=0 skip=0
279 (( ++lineno > skip )) || continue
299 (( skip = lineno + 1 ))
308 (( ++lineno > skip )) || continue
332 (( skip = lineno + 1 ))
344 (( skip = lineno + 1 ))
/ast/src/cmd/re/
H A Dtestglob.c270 int lineno; member in struct:__anon211
327 printf("%d: ", state.lineno);
356 printf("skipping lines %d", state.lineno);
475 state.lineno++;
645 printf("test %-3d chdir ../..\n", state.lineno);
650 printf("test %-3d mkdir ", state.lineno);
662 printf("test %-3d link ", state.lineno);
674 printf("test %-3d file ", state.lineno);
707 printf("test %-3d link ", state.lineno);
718 printf("test %-3d file ", state.lineno);
[all...]
H A Dtestfmt.c91 int lineno; member in struct:__anon208
164 sfprintf(sfstdout, "%d:", state.lineno);
422 testno = state.errors = state.lineno = state.signals = state.warnings = 0;
425 state.lineno++;
526 sfprintf(sfstdout, "test %-3d %s \"%s\" \"%s\"\n", state.lineno, fun, re, ans ? ans : "NIL");
H A Dtestfnmatch.c179 int lineno; member in struct:__anon209
255 printf("%d:", state.lineno);
286 printf("skipping lines %d", state.lineno);
457 state.lineno++;
555 state.lineno = 0;
802 printf("-%d\n", state.lineno);
873 printf("test %-3d %s \"%s\" \"%s\"\n", state.lineno, state.which, re, s);
H A Dtestmatch.c208 int lineno; member in struct:__anon213
284 printf("%d:", state.lineno);
323 printf("skipping lines %d", state.lineno);
586 state.lineno++;
734 state.ignore.count = state.lineno = state.signals = state.unspecified = state.warnings = 0;
948 printf("-%d\n", state.lineno);
1008 printf("test %-3d %s \"%s\" \"%s\"\n", state.lineno, state.which, re, s);
H A Dtestregex.c558 int lineno; member in struct:__anon216
658 printf("%d:", state.lineno);
1050 state.lineno++;
1070 printf("skipping lines %d", state.lineno);
1354 testno = state.errors = state.ignored = state.lineno = state.passed =
1736 printf("-%d\n", state.lineno);
1914 printf("test %-3d %s ", state.lineno, state.which);
/ast/src/cmd/tests/
H A Ddate.c63 int lineno; member in struct:__anon235
107 sfprintf(sfstdout, "%d:\t", state.lineno);
285 state.lineno++;
378 sfprintf(sfstdout, "%d: str=`%s' fmt=`%s' ans=`%s'\n", state.lineno, str, fmt, ans);
/ast/src/cmd/std/
H A Dsplit.c385 size_t lineno = 1; local
408 len = op->size - lineno;
416 lineno++;
423 lineno += n;
432 lineno++;
439 lineno++;
/ast/src/lib/libtk/generic/
H A DtkText.c178 int start, int end, int lineno, char *command));
180 char *value, char * command, int lineno, int offset,
1989 int lineno; /* Current line number */
2038 lineno = TkBTreeLineIndex(index1.linePtr) + 1;
2056 index1.charIndex, index2.charIndex, lineno, command);
2059 index1.charIndex, 32000000, lineno, command);
2062 lineno++;
2067 lineno, command);
2070 index2.charIndex, lineno, command);
2077 0, 1, lineno, comman
1975 int lineno; /* Current line number */ local
[all...]
/ast/src/cmd/ksh93/include/
H A Dshell.h126 int lineno; member in struct:sh_scope
H A Dname.h102 int lineno; /* line number of function start */ member in struct:Ufunction
H A Ddefs.h75 int lineno; member in struct:sh_scoped
/ast/src/cmd/builtin/
H A Dpr.c111 long lineno; member in struct:_pr_
385 sfprintf(pp->outfile,"%*d%c",pp->numwidth,++pp->lineno,pp->nchar);
412 pp->lineno += pp->pagelen;
435 sfprintf(pp->outfile,"%*d%c",pp->numwidth,++pp->lineno,pp->nchar);
889 pp->lineno = pp->pageno = 0;
/ast/src/cmd/ksh93/bltins/
H A Dmisc.c264 shp->st.lineno = np?((struct functnod*)nv_funtree(np))->functline:1;
269 shp->st.lineno = 1;
H A Dtypeset.c1337 sfprintf(file," #line %d %s\n",np->nvalue.rp->lineno,fname?sh_fmtq(fname):"");
/ast/src/cmd/ksh93/sh/
H A Dxec.c541 shp->st.lineno = error_info.line;
577 volatile int traceon=0, lineno=0; local
596 lineno = shp->inlineno;
625 if(lineno)
626 shp->inlineno = lineno;
813 int lineno,sig,trace = sh_isoption(SH_XTRACE); local
827 lineno = ((struct forknod*)t->lst.lstlef)->forkline;
829 lineno = t->fork.forkline;
867 sfprintf(sfstdout,"LINENO=%d\n",lineno);
2784 np->nvalue.rp->lineno
[all...]
H A Dinit.c1918 SH_LINENO->nvalue.ip = &shp->st.lineno;

Completed in 92 milliseconds