/ast/src/lib/libpp/ |
H A D | ppcomment.c | 31 ppcomment(char* head, char* comment, char* tail, int line) argument 33 NoP(line);
|
H A D | ppincref.c | 32 ppincref(char* parent, char* file, int line, int type) argument 38 NoP(line);
|
H A D | ppline.c | 25 * common preprocessor line sync handler 31 ppline(int line, char* file) argument 51 type[1] = ((pp.flags & PP_linetype) && !*pp.lineid && pp.lastfile) ? (line <= 1 ? (file == pp.firstfile ? PP_sync : PP_sync_push) : PP_sync_pop) : PP_sync; 75 * some front ends can't handle two line syncs in a row 81 ppprintf("#%s %d \"%s\"%s\n", pp.lineid, line, (pp.flags & PP_linebase) && (s = strrchr(file, '/')) ? s + 1 : file, type); 83 ppprintf("#%s %d\n", pp.lineid, line);
|
H A D | ppmacref.c | 31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument 36 NoP(line); 38 p += sfsprintf(p, MAXTOKEN, "\n#%s %d", pp.lineid, error_info.line);
|
/ast/src/lib/libexpr/ |
H A D | excontext.c | 43 if (p->linep > p->line || p->linewrap) 49 while (t < &p->line[sizeof(p->line)] && isspace(*t)) 51 if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) 53 if (n > &p->line[sizeof(p->line)] - t) 54 t = &p->line[sizeof(p->line)]; 57 while (t < &p->line[sizeof(p->line)]) [all...] |
H A D | exrewind.c | 40 if (!ex->input->pushback && !(ex->input->pushback = oldof(0, char, sizeof(ex->line), 3))) 45 if (n = ex->linep - ex->line) 46 memcpy(ex->input->pushback, ex->line, n);
|
H A D | exlib.h | 40 int line; /* previous line */ member in struct:Exinput_s 105 char line[512]; /* last few input tokens */ \ 106 char* linep; /* line[] pointer */ \ 110 int linewrap; /* linep wrapped around line[] */ \ 123 #define putcontext(p,c) (((p)->linep>=&(p)->line[sizeof((p)->line)]?(p)->linep=(p)->line,(p)->linewrap=1:0),*(p)->linep++=(c)) 124 #define setcontext(p) ((p)->linep=(p)->line,(p)->linewrap=0)
|
H A D | extoken.c | 262 error_info.line++; 307 if (error_info.line) 308 error_info.line++; 309 else error_info.line = 2; 317 if (error_info.line) 318 error_info.line++; 319 else error_info.line = 2; 340 if (error_info.line) 341 error_info.line++; 342 else error_info.line [all...] |
/ast/src/cmd/INIT/ |
H A D | rt.sh | 161 while read -r line 162 do set '' $line 164 case $line in 167 set '' $line 190 set '' $line 205 read -r line || break 207 set '' $line 222 set '' $line 241 case $line in 280 read -r line || brea [all...] |
/ast/src/lib/libcs/ |
H A D | csinfo.c | 26 * if line!=0 then it points to current line number in file 32 csinfo(register Cs_t* state, const char* file, int* line) argument 42 if (strmatch(file, "*[ \t\n=]*")) sp = tokline(file, SF_STRING, line); 43 else if (!strchr(file, '/') || stat(file, &st) || S_ISDIR(st.st_mode) || !(sp = tokline(file, SF_READ, line))) 49 sp = tokline(buf, SF_READ, line); 58 _cs_info(const char* file, int* line) argument 60 return csinfo(&cs, file, line);
|
/ast/src/cmd/pax/ |
H A D | nocomment.c | 33 static int line_sfputc(int line, Sfio_t* sp, int c) 35 sfprintf(sp, "<<<C:%d>>>", line); 38 static int line_sfputr(int line, Sfio_t* sp, const char* buf, int op) 40 sfprintf(sp, "<<<R:%d>>>", line); 51 if (line > prev && line > directive) \ 53 if (sfsprintf(buf, sizeof(buf), "\n#%s %d\n", sync <= 0 ? "line" : "", line + 1) <= line - prev) \ 56 prev = line; \ 131 unsigned long line = 0; local [all...] |
/ast/src/cmd/ksh93/tests/ |
H A D | grep.sh | 69 while read -r line # read in a line 71 case "$line" in 72 $expr) # line matches pattern 73 test "$noprint" || print -r -- "$fname${nflag:+$n:}$line" 77 then print -r -- "$fname${nflag:+$n:}$line" 93 Some line contain foo only, 96 A line containing foobar should also be counted. 98 There are only two line with out foo but with bar.
|
/ast/src/lib/libtksh/src/ |
H A D | debug.c | 13 static void printState(char *file, int line); 27 int __dprintfOK(char *file, int line, int level) argument 33 printState(file, line); 82 static void printState(char *file, int line) argument 85 Tksh_InterpString(debugInterp->interpType), file, line);
|
/ast/src/lib/libtk/library/demos/ |
H A D | floor.tcl | 127 $w create line 386 129 398 129 -fill $outline -tags {floor1 bg} 128 $w create line 258 355 258 387 -fill $outline -tags {floor1 bg} 129 $w create line 60 387 60 391 -fill $outline -tags {floor1 bg} 130 $w create line 0 337 0 391 -fill $outline -tags {floor1 bg} 131 $w create line 60 391 0 391 -fill $outline -tags {floor1 bg} 132 $w create line 3 114 3 337 -fill $outline -tags {floor1 bg} 133 $w create line 258 387 60 387 -fill $outline -tags {floor1 bg} 134 $w create line 484 162 398 162 -fill $outline -tags {floor1 bg} 135 $w create line 398 162 398 129 -fill $outline -tags {floor1 bg} 136 $w create line 48 [all...] |
/ast/src/lib/libast/misc/ |
H A D | debug.c | 32 debug_fatal(const char* file, int line) argument 34 error(2, "%s:%d: debug error", file, line);
|
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_http.c | 112 char line[ STRLEN ]; local 133 while( fgets( line, sizeof(line), fp ) != NULL && line[0] != '\n' ) { 134 if( strncasecmp( line, "Last-Modified: ", 15 ) == 0 ) { 135 sfsprintf( buf, sizeof(buf), "If-Modified-Since: %s", line+15 ); 146 if( DataEntryQuery( srv->lpath, "cookie", line, sizeof(line) ) > 0 ) { 147 sfsprintf( buf, sizeof(buf), "Cookie: %s\n", line ); 157 NetGets( nFile, line, sizeo [all...] |
/ast/src/cmd/mam/ |
H A D | mamdag.sh | 60 integer level=0 line=0 65 do line=line+1 91 then print -u2 "$COMMAND: line $line: $op $arg: no matching make op"
|
/ast/src/cmd/ncsl/ |
H A D | ncsl.c | 65 register unsigned long line; local 68 line = 0; 74 return(line); 83 if (data > 0) line++; 170 line++;
|
/ast/src/lib/libcmd/ |
H A D | tee.c | 44 "[l:linebuffer?Set the standard output to be line buffered.]" 62 int line; member in struct:Tee_s 102 if (tp->line >= 0) 103 sfset(sfstdout, SF_LINE, tp->line); 116 int line; local 128 line = -1; 141 line = sfset(sfstdout, 0, 0) & SF_LINE; 142 if ((line == 0) == (opt_info.num == 0)) 143 line = -1; 176 tp->line [all...] |
H A D | rev.c | 38 "reversing the order of characters on every line of the file " 42 "[l:line?Reverse the lines of the file.]" 58 * reverse the characters within a line 121 register int n, line=0; local 130 line=1; 157 if(line) 158 line = rev_line(fp,sfstdout,sftell(fp)); 160 line = rev_char(fp,sfstdout); 163 if(line < 0)
|
/ast/src/cmd/at/ |
H A D | crontab.sh | 68 line.] 108 [+?The sixth field of a line in a crontab entry is a string that will 112 character to be treated literally. Only the first line (up to a "%" 113 or end-of-line) of the command field will be executed by the 198 while read -r line 199 do set '' $line 205 [0-5]) print -u2 "$command: $line: invalid entry" 213 while read -r line 214 do set '' $line
|
/ast/src/cmd/proto/ |
H A D | changes.sh | 108 do while read line 109 do if [[ $line == *:PACKAGE:* ]] 110 then set -- $line
|
/ast/src/cmd/builtin/ |
H A D | who.c | 34 "[+?\bwho\b lists the user's name, terminal line, login time, and remote " 40 "is the time since last activity on that line.]" 47 "[H:heading?Put a heading line in before of the output.]" 172 char line[sizeof(up->ut_line)+6]; local 176 sfsprintf(line,sizeof(line),"/dev/%s\0",up->ut_line); 177 r = stat(line,&statb); 191 sfsprintf(line,sizeof(line),"/dev/%s\0",up->ut_line); 214 char *line local [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | vmdebug.c | 99 char* file, int line, Void_t* func, int type) 101 static void dbwarn(vm, data, where, file, line, func, type) 106 int line; /* line number of call */ 172 if(file && file[0] && line > 0 && (bufp + strlen(file) + SLOP) < endbuf) 175 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(line),-1), ','); 188 char* file, int line, Void_t* func, int type) 190 static void dbwatch(vm, data, file, line, func, type) 194 int line; 203 { dbwarn(vm,data,type,file,line,fun 98 dbwarn(Vmalloc_t* vm, Void_t* data, int where, char* file, int line, Void_t* func, int type) argument 187 dbwatch(Vmalloc_t* vm, Void_t* data, char* file, int line, Void_t* func, int type) argument 211 dbsetinfo(Vmuchar_t* data, size_t size, char* file, int line) argument 373 int line; local 420 int line; local 477 int line, oldline; local 666 int line; local [all...] |
/ast/src/lib/libvcodex/ |
H A D | vcbuffer.c | 62 /**/DEBUG_PRINT(2,"line=%d ",b->line); 83 /**/DEBUG_PRINT(2,"line=%d ",b->line); 110 /**/DEBUG_PRINT(2,"line=%d ",b->line); 129 b->line = vc->line; vc->line = 0; 132 /**/DEBUG_PRINT(2,"line [all...] |