Home
last modified time | relevance | path

Searched refs:lineno (Results 1 – 25 of 173) sorted by relevance

1234567

/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/parse/
H A Dast.py22 def __init__(self, filename, lineno): argument
24 self.lineno = lineno
27 def __init__(self, filename, lineno, what_file, force): argument
28 AstNode.__init__(self, filename, lineno)
37 logger.debug2("CONF %s:%s: including %s", self.filename, self.lineno, s)
41 bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, "include required")
43 bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, False)
46 def __init__(self, filename, lineno, var): argument
47 AstNode.__init__(self, filename, lineno)
54 def __init__(self, filename, lineno, var): argument
[all …]
H A D__init__.py31 def __init__(self, msg, filename, lineno=0): argument
34 self.lineno = lineno
35 Exception.__init__(self, msg, filename, lineno)
38 if self.lineno:
39 return "ParseError at %s:%d: %s" % (self.filename, self.lineno, self.msg)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/parse/parse_py/
H A DConfHandler.py56 def include(parentfn, fns, lineno, data, error_out): argument
67 include_single_file(parentfn, fn, lineno, data, error_out)
69 def include_single_file(parentfn, fn, lineno, data, error_out): argument
94 raise ParseError("Could not %s file %s" % (error_out, fn), parentfn, lineno)
98 … raise ParseError("Could not %s file %s: %s" % (error_out, fn, exc.strerror), parentfn, lineno)
100 raise ParseError("Error parsing %s: %s" % (fn, exc.strerror), parentfn, lineno)
122 lineno = 0
124 lineno = lineno + 1
128 origlineno = lineno
139 lineno = lineno + 1
[all …]
H A DBBHandler.py43 def inherit(files, fn, lineno, d): argument
60 logger.debug("Inheriting %s (from %s:%d)" % (file, fn, lineno))
63 include(fn, file, lineno, d, "inherit")
75 lineno = 0
77 lineno = lineno + 1
81 feeder(lineno, s, filename, base_name, statements)
85 feeder(lineno, "", filename, base_name, statements, eof=True)
143 def feeder(lineno, s, fn, root, statements, eof=False): argument
153 … bb.warn('python should use 4 spaces indentation, but found tabs in %s, line %s' % (root, lineno))
158 … ast.handleMethod(statements, fn, lineno, __infunc__[0], __body__, __infunc__[3], __infunc__[4])
[all …]
/OK3568_Linux_fs/buildroot/utils/checkpackagelib/
H A Dlib_mk.py36 def check_line(self, lineno, text): argument
70 .format(self.filename, lineno),
75 .format(self.filename, lineno),
97 def check_line(self, lineno, text): argument
115 .format(self.filename, lineno, variable),
123 .format(self.filename, lineno, variable),
131 .format(self.filename, lineno, variable),
137 .format(self.filename, lineno, variable),
145 def check_line(self, lineno, text): argument
146 if self.skip or lineno > 6:
[all …]
H A Dlib.py10 def check_line(self, lineno, text): argument
13 .format(self.filename, lineno)]
22 def check_line(self, lineno, text): argument
23 self.lastlineno = lineno
37 def check_line(self, lineno, text): argument
38 self.lastlineno = lineno
49 def check_line(self, lineno, text): argument
53 .format(self.filename, lineno),
64 def check_line(self, lineno, text): argument
67 .format(self.filename, lineno),
H A Dlib_patch.py28 self.lineno = 0
31 def check_line(self, lineno, text): argument
36 self.lineno = lineno
42 .format(self.filename, self.lineno),
52 def check_line(self, lineno, text): argument
H A Dlib_config.py39 def check_line(self, lineno, text): argument
59 .format(self.filename, lineno, self.url_to_manual),
89 def check_line(self, lineno, text): argument
140 prefix = "{}:{}: ".format(self.filename, lineno)
161 def check_line(self, lineno, text): argument
183 .format(self.filename, lineno, self.url_to_manual),
196 def check_line(self, lineno, text): argument
215 .format(self.filename, lineno),
222 .format(self.filename, lineno, self.url_to_manual),
233 .format(self.filename, lineno),
H A Dlib_hash.py20 def check_line(self, lineno, text): argument
27 .format(self.filename, lineno, self.url_to_manual),
35 def check_line(self, lineno, text): argument
48 .format(self.filename, lineno, self.url_to_manual),
53 .format(self.filename, lineno, self.url_to_manual),
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscript_asm.pl193 $lineno = 0; # Line number we are parsing
257 $forward{$symbol} = "line $lineno : $_";
285 die "$0 : syntax error in line $lineno : $_
303 die "$0 : syntax error in line $lineno : $_
325 die "$0 : syntax error in line $lineno : $_
330 die "$0 : syntax error in line $lineno : $_
346 die "$0 : syntax error in line $lineno : $_
357 die "$0 : syntax error in line $lineno : $_
361 die "$0 : syntax error in line $lineno : $_
366 die "$0 : syntax error in line $lineno : $_
[all …]
/OK3568_Linux_fs/buildroot/support/kconfig/
H A Dkxgettext.c66 int lineno; member
69 static struct file_line *file_line__new(const char *file, int lineno) in file_line__new() argument
77 self->lineno = lineno; in file_line__new()
93 const char *file, int lineno) in message__new() argument
100 self->files = file_line__new(file, lineno); in message__new()
134 int lineno) in message__add_file_line() argument
137 struct file_line *fl = file_line__new(file, lineno); in message__add_file_line()
150 int lineno) in message__add() argument
158 rc = message__add_file_line(m, file, lineno); in message__add()
160 m = message__new(escaped, option, file, lineno); in message__add()
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/
H A Dkxgettext.c66 int lineno; member
69 static struct file_line *file_line__new(const char *file, int lineno) in file_line__new() argument
77 self->lineno = lineno; in file_line__new()
93 const char *file, int lineno) in message__new() argument
100 self->files = file_line__new(file, lineno); in message__new()
134 int lineno) in message__add_file_line() argument
137 struct file_line *fl = file_line__new(file, lineno); in message__add_file_line()
150 int lineno) in message__add() argument
158 rc = message__add_file_line(m, file, lineno); in message__add()
160 m = message__new(escaped, option, file, lineno); in message__add()
[all …]
H A Dzconf.l23 int lineno; member
86 current_file->lineno++;
107 current_pos.lineno = current_file->lineno;
119 current_file->lineno++;
141 \n BEGIN(INITIAL); current_file->lineno++; return T_EOL;
153 \\\n current_file->lineno++;
/OK3568_Linux_fs/kernel/scripts/
H A Dheaders_check.pl30 my $lineno = 0;
38 $lineno = 0;
40 $lineno++;
62 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n";
79 printf STDERR "$filename:$lineno: " .
88 printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n";
98 if ($lineno == 1) {
105 printf STDERR "$filename:$lineno: " .
151 if ($lineno == 1) {
164 printf STDERR "$filename:$lineno: " .
/OK3568_Linux_fs/u-boot/tools/
H A Dublimage.c74 char *name, int lineno, int fld, int dcd_len) in parse_cfg_cmd() argument
84 "(%s)\n", name, lineno, token); in parse_cfg_cmd()
92 ublhdr->entry = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
95 ublhdr->pages = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
98 ublhdr->block = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
101 ublhdr->page = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
104 ublhdr->pll_m = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
110 char *token, char *name, int lineno, int fld, int *dcd_len) in parse_cfg_fld() argument
119 "(%s)\n", name, lineno, token); in parse_cfg_fld()
124 parse_cfg_cmd(ublhdr, *cmd, token, name, lineno, fld, *dcd_len); in parse_cfg_fld()
[all …]
H A Dimximage.c144 static void set_dcd_val_v1(struct imx_header *imxhdr, char *name, int lineno, in set_dcd_val_v1() argument
155 name, lineno, value); in set_dcd_val_v1()
238 static void set_dcd_val_v2(struct imx_header *imxhdr, char *name, int lineno, in set_dcd_val_v2() argument
267 char *name, int lineno) in set_dcd_rst_v1() argument
280 char *name, int lineno) in set_dcd_rst_v2() argument
596 char *name, int lineno, int fld, int dcd_len) in parse_cfg_cmd() argument
603 imximage_version = get_cfg_value(token, name, lineno); in parse_cfg_cmd()
607 "valid command in the file\n", name, lineno); in parse_cfg_cmd()
618 "(%s)\n", name, lineno, token); in parse_cfg_cmd()
629 name, lineno, token); in parse_cfg_cmd()
[all …]
H A Dmxsimage.c125 unsigned int lineno; member
580 cmd->lineno); in sb_build_dcd()
589 cmd->lineno); in sb_build_dcd()
666 cmd->lineno); in sb_build_dcd_block()
675 cmd->lineno); in sb_build_dcd_block()
682 cmd->lineno); in sb_build_dcd_block()
691 cmd->lineno); in sb_build_dcd_block()
727 cmd->lineno); in sb_build_section()
736 cmd->lineno); in sb_build_section()
763 cmd->lineno); in sb_build_section()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/
H A Dksparser.py142 self.lineno = 0
211 lineno = 0
214 lineno += 1
222 (confpath, lineno, err))
228 % (confpath, lineno)
232 % (confpath, lineno)
236 err = "%s:%d: erofs does not support LABEL" % (confpath, lineno)
246 % (confpath, lineno, parsed.fsuuid, parsed.fstype)
253 % (confpath, lineno, parsed.fsuuid, parsed.fstype)
257 % (confpath, lineno)
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/config/
H A Ddmxcompat.c120 int lineno = 0; in dmxVDLRead() local
152 ++lineno; in dmxVDLRead()
160 comment = dmxConfigCreateComment(T_COMMENT, lineno, tmp); in dmxVDLRead()
177 lineno, in dmxVDLRead()
181 lineno, in dmxVDLRead()
198 (T_DIMENSION, lineno, NULL, x, y, 0, 0), in dmxVDLRead()
199 dmxConfigCreatePair(T_OFFSET, lineno, in dmxVDLRead()
204 dmxConfigCreateString(T_STRING, lineno, in dmxVDLRead()
206 dmxConfigCreatePair(T_ORIGIN, lineno, in dmxVDLRead()
H A Dscanner.l50 static int lineno = 1; variable
74 {NL} ++lineno;
114 lineno, (int)yyleng, (int)yyleng, yytext);
163 yylval.pair = dmxConfigCreatePair(token, lineno, NULL, x, y, 1, 1);
169 yylval.string = dmxConfigCreateString(token, lineno, NULL,
177 yylval.token = dmxConfigCreateToken(token, lineno, NULL);
183 yylval.comment = dmxConfigCreateComment(token, lineno,
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dmalloc.h15 void *mdbg_malloc(const char *fname, int lineno, size_t size);
16 void *mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size);
17 void *mdbg_realloc(const char *fname, int lineno, void *ptr, size_t size);
18 void *mdbg_memalign(const char *fname, int lineno, size_t alignment,
94 void *nex_mdbg_malloc(const char *fname, int lineno, size_t size);
95 void *nex_mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size);
96 void *nex_mdbg_realloc(const char *fname, int lineno, void *ptr, size_t size);
97 void *nex_mdbg_memalign(const char *fname, int lineno, size_t alignment,
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dmalloc.h15 void *mdbg_malloc(const char *fname, int lineno, size_t size);
16 void *mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size);
17 void *mdbg_realloc(const char *fname, int lineno, void *ptr, size_t size);
18 void *mdbg_memalign(const char *fname, int lineno, size_t alignment,
94 void *nex_mdbg_malloc(const char *fname, int lineno, size_t size);
95 void *nex_mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size);
96 void *nex_mdbg_realloc(const char *fname, int lineno, void *ptr, size_t size);
97 void *nex_mdbg_memalign(const char *fname, int lineno, size_t alignment,
/OK3568_Linux_fs/yocto/poky/scripts/
H A Dverify-bashisms31 def process(filename, function, lineno, script): argument
71 if lineno is not None:
72 … message = SCRIPT_LINENO_RE.sub(lambda m: ' line %d ' % (int(m.group(1)) + int(lineno) - 1),
110 (filename, key, lineno), script = item
113 return process(filename, key, lineno, script)
145 lineno = data.getVarFlag(key, "lineno") variable
150 attributes = (filename or realfn, key, lineno)
/OK3568_Linux_fs/u-boot/cmd/
H A Dini.c131 int lineno = 0; in ini_parse() local
136 lineno++; in ini_parse()
153 error = lineno; in ini_parse()
165 error = lineno; in ini_parse()
193 error = lineno; in ini_parse()
196 error = lineno; in ini_parse()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/
H A Dmalloc.h37 void *mdbg_malloc(const char *fname, int lineno, size_t size);
38 void *mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size);
39 void *mdbg_realloc(const char *fname, int lineno, void *ptr, size_t size);
40 void *mdbg_memalign(const char *fname, int lineno, size_t alignment,

1234567