Searched defs:line (Results 1 - 25 of 74) sorted by relevance

123

/ast/src/lib/libpp/
H A Dppcomment.c31 ppcomment(char* head, char* comment, char* tail, int line) argument
33 NoP(line);
H A Dppline.c25 * 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 Dppincref.c32 ppincref(char* parent, char* file, int line, int type) argument
38 NoP(line);
H A Dppmacref.c31 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);
H A Dppargs.c25 * common preprocessor command line argument parse
37 " by the \b-D-X\b command line option.]"
60 " affects error message and line sync output.]"
67 " [+-D-L\b[\aid\a]], \bpp::lineid\b [\aid\a]]?Set the line sync directive"
116 " [+-I-R\afile\a?Include \afile\a but do not emit text or line syncs.]"
134 "[P!:sync?Emit line syncs.]"
141 " one per line, indented to show nesting. If the optional \asize\a"
169 pplint(char* head, char* comment, char* tail, int line) argument
171 NoP(line);
176 ppline(error_info.line, Ni
[all...]
/ast/src/lib/libast/misc/
H A Ddebug.c32 debug_fatal(const char* file, int line) argument
34 error(2, "%s:%d: debug error", file, line);
/ast/src/lib/libcs/
H A Dcsinfo.c26 * 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/ncsl/
H A Dncsl.c65 register unsigned long line; local
68 line = 0;
74 return(line);
83 if (data > 0) line++;
170 line++;
/ast/src/cmd/tests/sfio/
H A Dtpipe.c22 static int line; variable
24 #define SYNC line = __LINE__;
33 terror("blocked at line %d", line);
/ast/src/lib/libcmd/
H A Drev.c38 "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)
H A Dtee.c44 "[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 Dcat.c41 "[b:number-nonblank?Number lines as with \b-n\b but omit line numbers from"
46 "[n:number?Causes a line number to be inserted at the beginning of each line.]"
60 "[B:squeeze-blank?Multiple adjacent new-line characters are replace by one"
61 " new-line.]"
64 "[E:show-ends?Causes a \b$\b to be inserted before each new-line.]"
133 register int line; local
149 line = 1;
182 sfprintf(op, "%6d\t", line);
219 sfprintf(op, "%6d\t", line);
[all...]
/ast/src/lib/libjcl/
H A Dopen.c116 if (!jcl->name && error_info.line && jcl->disc->errorf)
172 jclpush(register Jcl_t* jcl, Sfio_t* sp, const char* file, long line) argument
185 ip->line = error_info.line;
186 error_info.line = 0;
214 error_info.line = ip->line;
/ast/src/lib/libtk/generic/
H A DtkMain.c54 static Tcl_DString line; /* Used to read the next line from the variable
110 * Parse command-line arguments. A leading "-file" argument is
131 * Make command-line arguments available in the Tcl variables "argc"
177 * Invoke the script specified on the command line, if any.
213 Tcl_DStringInit(&line);
249 * standard input becomes readable. It grabs the next line of
274 count = Tcl_Gets(chan, &line);
289 (void) Tcl_DStringAppend(&command, Tcl_DStringValue(&line), -1);
291 Tcl_DStringFree(&line);
[all...]
/ast/src/cmd/pax/
H A Dnocomment.c33 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/vczip/tests/
H A Dterror.h126 static void tstputmesg(int line, char* form, va_list args) argument
128 static void tstputmesg(line, form, args)
129 int line;
141 if(line >= 0)
144 sfsprintf(s, sizeof(buf), "\tLine=%d: ", line);
146 sprintf(s, "\tLine=%d: ", line);
/ast/src/lib/libast/astsa/
H A Derror.h35 int line; member in struct:Error_info_s
/ast/src/lib/libast/string/
H A Dtokline.c33 * if <arg> is a file and first line matches
50 int* line; member in struct:__anon312
86 (*d->line)++;
153 * if line!=0 then it points to a line count that starts at 0
154 * and is incremented for each input line
158 tokline(const char* arg, int flags, int* line) argument
190 *(d->line = line ? line
[all...]
/ast/src/cmd/dsslib/bgp/
H A Dbgp-ciscov6.c33 char* line; member in struct:Ciscov6state_s
112 while ((state->line = sfgetr(file->io, '\n', 0)) && !isupper(*state->line));
131 while (s = state->line)
172 if ((!*s || *s == '\n') && (!(s = state->line = sfgetr(file->io, '\n', 0)) || *s != ' ' && *s != '\t' && *s != '\r' && *s != '\n'))
180 while ((state->line = sfgetr(file->io, '\n', 0)) && !isupper(*state->line));
/ast/src/lib/libvgraph/
H A Dkpvdebug.h16 static void _oops(char* file, int line) argument
19 sprintf(buf, "\nFailed at %s:%d\n", file, line);
/ast/src/cmd/ksh93/bltins/
H A Dregress.c53 "command line option, these shells may contain system library function "
58 "command line \b--regress\b=\avalue\a option, where \avalue\a is passed "
60 "intercepts are enabled with one or more command line \b--regress\b "
68 "line is produced each time an enabled intercept is called.]"
71 "trace line info is either \begid==rgid\b or \begid!=rgid\b. The "
83 "trace line info is either \beuid==ruid\b or \beuid!=ruid\b. The "
98 "\bp_suid\b. A trace line is output for each SHOPT_P_SUID "
103 "[+sh_source()?The trace line info is the path of the script "
136 void sh_regress(unsigned int index, const char* intercept, const char* info, unsigned int line, const char* file) argument
240 uid_t sh_regress_p_suid(unsigned int line, cons argument
252 sh_regress_etc(const char* path, unsigned int line, const char* file) argument
[all...]
/ast/src/cmd/3d/
H A Derror.c102 int line; local
141 if (level > 0 && error_info.line > 0)
145 bprintf(&b, e, "line %d: ", error_info.line);
177 * source ([version], file, line) message
181 line = va_arg(ap, int);
182 if (error_info.version) bprintf(&b, e, "(%s: %s, line %d) ", error_info.version, file, line);
183 else bprintf(&b, e, "(%s, line %d) ", file, line);
[all...]
/ast/src/cmd/cs/vcs_src/
H A Difs_http.c112 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/lib/libtksh/src/
H A Ddebug.c13 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/libast/vmalloc/
H A Dvmtrace.c114 int line = 0; local
129 VMFLF(vm,file,line,func);
154 if(file && file[0] && line > 0)
171 bufp = trstrcpy(bufp, "line", '=');
172 bufp = trstrcpy(bufp, tritoa((Vmulong_t)line,1), 0);

Completed in 26 milliseconds

123