| /external/selinux/libsemanage/src/ |
| parse_utils.c | 30 tmp_info->lineno = 0; 88 int lineno = info->lineno; local 105 lineno++; 121 info->lineno = lineno; 146 info->filename, info->lineno); 161 info->filename, info->lineno, info->orig_line); 181 info->lineno, info->orig_line); 202 info->filename, info->lineno, info->orig_line) [all...] |
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
| InfParser.py | 122 LineNo = 0
187 LineNo = LineNo + 1
189 if (LineNo < len(FileLinesList) - 1):
190 NextLine = FileLinesList[LineNo].strip()
195 if (Line == '' or not Line) and LineNo == len(FileLinesList):
209 HeaderStarLineNo = LineNo
210 SectionLines.append((Line, LineNo))
220 SectionLines.append((Line, LineNo))
235 SectionLines.append((Line, LineNo))
[all...] |
| InfGuidPpiProtocolSectionParser.py | 52 LineNo = Line[1]
68 LineNo))
76 Name, Value = MacroParser((LineContent, LineNo),
92 ValueList = [InfExpandMacro(Value, (FileName, LineContent, LineNo),
96 CurrentLineVar = (LineContent, LineNo, FileName)
139 LineNo = Line[1]
155 LineNo))
163 Name, Value = MacroParser((LineContent, LineNo),
179 ValueList = [InfExpandMacro(Value, (FileName, LineContent, LineNo), self.FileLocalMacros, SectionMacros)
182 CurrentLineVar = (LineContent, LineNo, FileName) [all...] |
| /external/ltp/lib/ |
| tst_resource.c | 82 static int file_copy(const char *file, const int lineno, 95 safe_cp(file, lineno, cleanup_fn, buf, dest); 100 void tst_resource_copy(const char *file, const int lineno, 107 file, lineno); 119 if (file_copy(file, lineno, cleanup_fn, dataroot, filename, dest)) 127 if (file_copy(file, lineno, cleanup_fn, buf, filename, dest)) 133 if (file_copy(file, lineno, cleanup_fn, startwd, filename, dest)) 137 filename, file, lineno);
|
| /external/python/cpython3/Include/ |
| node.h | 21 char *str, int lineno, int col_offset); 34 #define LINENO(n) ((n)->n_lineno)
|
| warnings.h | 34 int lineno, 42 int lineno, 49 const char *filename, int lineno,
|
| /external/python/cpython3/Lib/test/ |
| test_mailcap.py | 18 'lineno': 4}], 22 'lineno': 5}], 28 'lineno': 6}], 30 [{'view': 'mpeg_play %s', 'lineno': 13}], 32 [{'needsterminal': '', 'view': 'ps-to-terminal %s', 'lineno': 1}, 33 {'compose': 'idraw %s', 'view': 'ps-to-terminal %s', 'lineno': 2}], 35 [{'view': 'xdvi %s', 'lineno': 3}], 41 'lineno': 10}], 46 'lineno': 11}], 48 [{'view': 'display %s', 'lineno': 9}] [all...] |
| test_global.py | 27 check_syntax_error(self, prog_text_1, lineno=4, offset=4) 35 check_syntax_error(self, prog_text_2, lineno=3, offset=4) 44 check_syntax_error(self, prog_text_3, lineno=4, offset=4)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
| eptags.py | 32 lineno = 0
39 lineno = lineno + 1
42 tag = m.group(0) + '\177%d,%d\n' % (lineno, charno)
|
| /external/ltp/include/ |
| tst_safe_prw.h | 21 static inline ssize_t safe_pread(const char *file, const int lineno, 30 tst_brk_(file, lineno, TBROK | TERRNO, 41 static inline ssize_t safe_pwrite(const char *file, const int lineno, 49 tst_brk_(file, lineno, TBROK | TERRNO,
|
| /external/python/cpython2/Tools/scripts/ |
| eptags.py | 32 lineno = 0 39 lineno = lineno + 1 42 tag = m.group(0) + '\177%d,%d\n' % (lineno, charno)
|
| /external/python/cpython3/Tools/scripts/ |
| eptags.py | 32 lineno = 0 39 lineno = lineno + 1 42 tag = m.group(0) + '\177%d,%d\n' % (lineno, charno)
|
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-powerpc/ |
| aix-lineno-1.s | 1 .file "tmpdir/aix-lineno-1.txt"
|
| /external/strace/ |
| configure | 199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 408 # as_fn_error STATUS ERROR [LINENO LOG_FD] 410 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 411 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 470 as_lineno_1=$LINENO as_lineno_1a=$LINENO [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'):
12 result.append((t.lineno, t.col_offset))
133 node_pos = (ast_node.lineno, ast_node.col_offset)
135 parent_pos = (ast_node.lineno, ast_node.col_offset)
173 x = ast.BinOp(1, 2, 3, lineno=0)
177 self.assertEqual(x.lineno, 0)
183 x = ast.BinOp(left=1, op=2, right=3, lineno=0)
187 self.assertEqual(x.lineno, 0)
228 "lineno=1, col_offset=0), args=[Name(id='eggs', ctx=Load(), "
229 "lineno=1, col_offset=5), Str(s='and cheese', lineno=1, " [all...] |
| /external/compiler-rt/test/sanitizer_common/TestCases/ |
| print-stack-trace.cc | 3 // RUN: %env_tool_opts=stack_trace_format='"frame:%n lineno:%l"' %run %t 2>&1 | FileCheck %s --check-prefix=CUSTOM 20 // CUSTOM: frame:1 lineno:[[@LINE-11]] 21 // CUSTOM: frame:2 lineno:[[@LINE-8]]
|
| /external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
| libnewipc.h | 45 key_t getipckey(const char *file, const int lineno); 49 int get_used_queues(const char *file, const int lineno); 53 void *probe_free_addr(const char *file, const int lineno);
|
| /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/ianlancetaylor/demangle/ |
| expected_test.go | 47 lineno := 1 49 format, got := getOptLine(t, scanner, &lineno) 53 report := lineno 54 input := getLine(t, scanner, &lineno) 55 expect := getLine(t, scanner, &lineno) 91 expectNoParams = getLine(t, scanner, &lineno) 162 func getLine(t *testing.T, scanner *bufio.Scanner, lineno *int) string { 163 s, got := getOptLine(t, scanner, lineno) 165 t.Fatalf("%s:%d: unexpected EOF", filename, *lineno) 171 // false at EOF. It skips comment lines and updates *lineno [all...] |
| /prebuilts/go/linux-x86/src/cmd/vendor/github.com/ianlancetaylor/demangle/ |
| expected_test.go | 47 lineno := 1 49 format, got := getOptLine(t, scanner, &lineno) 53 report := lineno 54 input := getLine(t, scanner, &lineno) 55 expect := getLine(t, scanner, &lineno) 91 expectNoParams = getLine(t, scanner, &lineno) 162 func getLine(t *testing.T, scanner *bufio.Scanner, lineno *int) string { 163 s, got := getOptLine(t, scanner, lineno) 165 t.Fatalf("%s:%d: unexpected EOF", filename, *lineno) 171 // false at EOF. It skips comment lines and updates *lineno [all...] |
| /external/valgrind/ |
| configure | 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO [all...] |
| /external/python/cpython2/ |
| configure | 198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 407 # as_fn_error STATUS ERROR [LINENO LOG_FD] 409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 469 as_lineno_1=$LINENO as_lineno_1a=$LINENO [all...] |
| /external/ply/ply/example/yply/ |
| ylex.py | 48 t.lexer.lineno += t.value.count('\n') 55 t.lexer.lineno += t.value.count("\n") 61 t.lexer.lineno += 1 99 t.lexer.lineno += t.value.count('\n') 112 print("%d: Illegal character '%s'" % (t.lexer.lineno, t.value[0]))
|
| /external/python/cpython3/Lib/ |
| warnings.py | 10 def showwarning(message, category, filename, lineno, file=None, line=None): 12 msg = WarningMessage(message, category, filename, lineno, file, line) 15 def formatwarning(message, category, filename, lineno, line=None): 17 msg = WarningMessage(message, category, filename, lineno, None, line) 37 % (msg.filename, msg.lineno, msg.category.__name__, 43 line = linecache.getline(msg.filename, msg.lineno) 67 s += (' File "%s", lineno %s\n' 68 % (frame.filename, frame.lineno)) 72 line = linecache.getline(frame.filename, frame.lineno) 98 sw(msg.message, msg.category, msg.filename, msg.lineno, [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
| driver.py | 43 lineno = 1
49 if start != (lineno, column):
50 assert (lineno, column) <= start, ((lineno, column), start)
52 if lineno < s_lineno:
53 prefix += "\n" * (s_lineno - lineno)
54 lineno = s_lineno
61 lineno, column = end
63 lineno += 1
76 lineno, column = end [all...] |
| /external/python/cpython2/Lib/lib2to3/pgen2/ |
| driver.py | 43 lineno = 1 49 if start != (lineno, column): 50 assert (lineno, column) <= start, ((lineno, column), start) 52 if lineno < s_lineno: 53 prefix += "\n" * (s_lineno - lineno) 54 lineno = s_lineno 61 lineno, column = end 63 lineno += 1 76 lineno, column = en [all...] |