Searched refs:linenum (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-current/contrib/less/
H A Dlinenum.c123 public void add_lnum(LINENUM linenum, POSITION pos) argument
136 if (p->line == linenum)
167 new->line = linenum;
263 LINENUM linenum; local
314 for (linenum = p->line, cpos = p->pos; cpos < pos; linenum++)
331 add_lnum(linenum, cpos);
337 linenum--;
345 for (linenum = p->line, cpos = p->pos; cpos > pos; linenum
372 find_pos(LINENUM linenum) argument
447 LINENUM linenum; local
467 LINENUM linenum = 0; local
493 vlinenum(LINENUM linenum) argument
[all...]
H A Dprompt.c120 static void ap_linenum(LINENUM linenum) argument
122 char buf[INT_STRLEN_BOUND(linenum) + 2];
124 linenumtoa(linenum, buf, 10);
237 LINENUM linenum; local
243 #define PAGE_NUM(linenum) ((((linenum) - 1) / (sc_height - header_lines - 1)) + 1)
258 linenum = currline(where);
259 if (linenum > 0 && sc_height > header_lines + 1)
260 ap_linenum(PAGE_NUM(linenum));
274 linenum
[all...]
H A Djump.c87 public void jump_back(LINENUM linenum) argument
98 pos = find_pos(linenum);
104 } else if (linenum <= 1 && ch_beg_seek() == 0)
110 parg.p_linenum = linenum;
/freebsd-current/sbin/ipf/libipf/
H A Doptname.c14 optname(char ***cp, u_short *sp, int linenum) argument
30 linenum, s);
39 linenum);
54 linenum, s);
H A Dload_file.c17 int linenum, not; local
29 linenum = 0;
33 linenum++;
40 linenum, filename);
90 filename, linenum, t);
H A Dtcp_flags.c16 u_char tcp_flags(char *flgs, u_char *mask, int linenum) argument
H A Dload_http.c32 int fd, len, left, port, endhdr, removed, linenum = 0; local
159 linenum++;
189 url, linenum, buffer);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_007_pos.ksh63 typeset -i linenum=0
98 linenum=$(wc -l < $migrated_cmds_f)
99 (( linenum = linenum - 2 ))
100 head -n $linenum $migrated_cmds_f > $tmpfile
/freebsd-current/tests/sys/cddl/zfs/tests/history/
H A Dhistory_007_pos.ksh76 typeset -i linenum=0
114 linenum=`$CAT $migrated_cmds_f | $WC -l`
115 (( linenum = linenum - 2 ))
116 $HEAD -n $linenum $migrated_cmds_f > $tmpfile
/freebsd-current/contrib/flex/src/
H A Dscan.l108 linenum++; \
177 brace_start_line = linenum;
178 ++linenum;
179 buf_linedir( &top_buf, infilename?infilename:"<stdin>", linenum);
197 ^"%pointer".*{NL} yytext_is_array = false; ++linenum;
198 ^"%array".*{NL} yytext_is_array = true; ++linenum;
202 ^"%"{LEXOPT}{OPTWS}[[:digit:]]*{OPTWS}{NL} ++linenum; /* ignore */
203 ^"%"{LEXOPT}{WS}.*{NL} ++linenum; /* ignore */
224 ^{OPTWS}{NL} ++linenum; /* allows blank lines in section 1 */
225 {OPTWS}{NL} ACTION_ECHO; ++linenum; /* mayb
[all...]
/freebsd-current/crypto/openssh/
H A Ddh.c61 parse_prime(int linenum, char *line, struct dhgroup *dhg) argument
87 error("moduli:%d: type is not %d", linenum, MODULI_TYPE_SAFE);
97 error("moduli:%d: invalid moduli tests flag", linenum);
105 error("moduli:%d: invalid primality trial count", linenum);
112 error("moduli:%d: invalid prime length", linenum);
123 error("moduli:%d: truncated", linenum);
133 error("moduli:%d: could not parse generator value", linenum);
137 error("moduli:%d: could not parse prime value", linenum);
142 linenum, BN_num_bits(dhg->p), dhg->size - 1);
146 error("moduli:%d: generator is invalid", linenum);
164 int best, bestcount, which, linenum; local
[all...]
H A Dsshsig.c635 sshsigopt_parse(const char *opts, const char *path, u_long linenum, argument
731 parse_principals_key_and_options(const char *path, u_long linenum, char *line, argument
755 error("%s:%lu: invalid line", path, linenum);
776 path, linenum, required_principal);
788 error("%s:%lu: invalid options", path, linenum);
793 error("%s:%lu: missing key", path, linenum);
800 error("%s:%lu: invalid key", path, linenum);
805 debug3("%s:%lu: options %s", path, linenum, opts == NULL ? "" : opts);
806 if ((sigopts = sshsigopt_parse(opts, path, linenum, &reason)) == NULL) {
807 error("%s:%lu: bad options: %s", path, linenum, reaso
833 cert_filter_principals(const char *path, u_long linenum, char **principalsp, const struct sshkey *cert, uint64_t verify_time) argument
889 check_allowed_keys_line(const char *path, u_long linenum, char *line, const struct sshkey *sign_key, const char *principal, const char *sig_namespace, uint64_t verify_time, char **principalsp) argument
990 u_long linenum = 0; local
1031 u_long linenum = 0; local
1079 u_long linenum = 0; local
[all...]
H A Dservconf.c744 int linenum, u_int *flags)
755 filename, linenum, cp);
1310 const char *filename, int linenum, int *activep,
1352 filename, linenum, keyword);
1357 opcode = parse_token(keyword, filename, linenum, &flags);
1360 error("%s line %d: invalid quotes", filename, linenum);
1371 debug3("%s:%d setting %s %s", filename, linenum, keyword, str);
1375 "within a Match block", filename, linenum, keyword);
1399 filename, linenum);
1403 filename, linenum);
743 parse_token(const char *cp, const char *filename, int linenum, u_int *flags) argument
1309 process_server_config_line_depth(ServerOptions *options, char *line, const char *filename, int linenum, int *activep, struct connection_info *connectinfo, int *inc_flags, int depth, struct include_list *includes) argument
2645 process_server_config_line(ServerOptions *options, char *line, const char *filename, int linenum, int *activep, struct connection_info *connectinfo, struct include_list *includes) argument
2899 int linenum, bad_options = 0; local
[all...]
H A Dreadconf.c140 const char *filename, int linenum, int *activep, int flags,
654 int *want_final_pass, const char *filename, int linenum)
696 filename, linenum, oattrib);
721 filename, linenum,
802 "\"%.100s\"", filename, linenum, cmd);
810 linenum, cmd);
824 filename, linenum, this_result ? "": "not ", oattrib,
845 rm_env(Options *options, const char *arg, const char *filename, int linenum) argument
856 filename, linenum, options->send_env[i]);
877 parse_token(const char *cp, const char *filename, int linenum, argument
652 match_cfg_line(Options *options, char **condition, struct passwd *pw, const char *host_arg, const char *original_host, int final_pass, int *want_final_pass, const char *filename, int linenum) argument
1012 parse_multistate_value(const char *arg, const char *filename, int linenum, const struct multistate *multistate_ptr) argument
1033 process_config_line(Options *options, struct passwd *pw, const char *host, const char *original_host, char *line, const char *filename, int linenum, int *activep, int flags) argument
1043 process_config_line_depth(Options *options, struct passwd *pw, const char *host, const char *original_host, char *line, const char *filename, int linenum, int *activep, int flags, int *want_final_pass, int depth) argument
2450 int linenum; local
[all...]
H A Dauth2-pubkeyfile.c227 u_long linenum = 0, nonblank = 0; local
234 linenum++;
249 snprintf(loc, sizeof(loc), "%.200s:%lu", file, linenum);
253 debug2_f("%s: processed %lu/%lu lines", file, nonblank, linenum);
413 u_long linenum = 0, nonblank = 0; local
419 linenum++;
431 snprintf(loc, sizeof(loc), "%.200s:%lu", file, linenum);
437 debug2_f("%s: processed %lu/%lu lines", file, nonblank, linenum);
H A Dsshsig.h93 const char *path, u_long linenum, const char **errstrp);
/freebsd-current/usr.bin/sed/
H A Dextern.h40 extern u_long linenum;
H A Dcompile.c166 linenum, fname);
210 errx(1, "%lu: %s: command expected", linenum, fname);
216 errx(1, "%lu: %s: invalid command code %c", linenum, fname, *p);
220 linenum, fname, *p, fp->naddr, naddr);
243 errx(1, "%lu: %s: unexpected }", linenum, fname);
258 linenum, fname, cmd->code);
265 "%lu: %s: command %c expects \\ followed by text", linenum, fname, cmd->code);
271 linenum, fname, cmd->code);
280 errx(1, "%lu: %s: filename expected", linenum, fname);
293 errx(1, "%lu: %s: filename expected", linenum, fnam
[all...]
H A Dmain.c107 u_long linenum; variable
228 linenum = 0;
256 linenum++;
257 if (linenum == 1 && buf[0] == '#' && buf[1] == 'n')
268 if (linenum == 0 && s[0] == '#' && s[1] == 'n')
274 linenum++;
288 linenum++;
297 linenum++;
427 linenum = 0;
461 linenum
[all...]
H A Ddefs.h68 u_long linenum; /* Line number. */ member in struct:s_subst
/freebsd-current/usr.sbin/ppp/
H A Dsystems.c293 GetLabel(char *line, const char *filename, int linenum) argument
305 filename, linenum);
324 int linenum; local
343 linenum = 0;
345 linenum += n;
373 if ((cp = GetLabel(cp, filename, linenum)) == NULL)
383 linenum += n;
392 cp = GetLabel(cp, filename, linenum);
398 log_Printf(LogWARN, "%s: %d: Syntax error\n", filename, linenum);
/freebsd-current/contrib/bearssl/test/
H A Dtest_x509.c960 get_value(char *objtype, HT *objdata, long linenum, char *name) argument
968 name, objtype, linenum);
975 parse_hex(const char *name, long linenum, const char *value, size_t *len) argument
1002 name, linenum);
1018 name, linenum);
1146 parse_object(char *objtype, HT *objdata, long linenum) argument
1150 name = get_value(objtype, objdata, linenum, "name");
1155 stype = get_value(objtype, objdata, linenum, "type");
1160 sn = get_value(objtype, objdata, linenum, "n");
1161 se = get_value(objtype, objdata, linenum, "
[all...]
/freebsd-current/usr.bin/lex/
H A Dinitscan.c1954 linenum++; \
2330 brace_start_line = linenum;
2331 ++linenum;
2332 buf_linedir( &top_buf, infilename?infilename:"<stdin>", linenum);
2363 yytext_is_array = false; ++linenum;
2369 yytext_is_array = true; ++linenum;
2380 ++linenum; /* ignore */ variable
2386 ++linenum; /* ignore */ variable
2422 ++linenum; /* allows blank lines in section 1 */ variable
2428 ACTION_ECHO; ++linenum; /* mayb
2446 ++linenum; ACTION_ECHO; variable
2484 ++linenum; variable
2502 ++linenum; variable
2515 linenum = myctoi( yytext ); variable
2549 ++linenum; END_CODEBLOCK; variable
2675 ++linenum; BEGIN(INITIAL); variable
3106 ++linenum; BEGIN(INITIAL); variable
3149 ++linenum; ACTION_ECHO; variable
3165 ++linenum; /* allow blank lines in section 2 */ variable
3532 ++linenum; /* Allow blank lines & continuations */ variable
4025 ++linenum; ACTION_ECHO; if (bracelevel <= 0) { BEGIN(SECT2); } else { BEGIN(ACTION); } variable
[all...]
/freebsd-current/sys/ddb/
H A Ddb_sym.h98 char **filename, int *linenum, db_expr_t off);
/freebsd-current/usr.bin/less/
H A DMakefile7 line.c linenum.c lsystem.c mark.c optfunc.c option.c \

Completed in 511 milliseconds

123