| /external/python/cpython3/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...] |
| /external/python/cpython3/Lib/ |
| netrc.py | 12 def __init__(self, msg, filename=None, lineno=None): 14 self.lineno = lineno 19 return "%s (%s, line %s)" % (self.msg, self.filename, self.lineno) 41 saved_lineno = lexer.lineno 46 if lexer.lineno == saved_lineno and len(tt) == 1: 66 "bad toplevel token %r" % tt, file, lexer.lineno) 84 file, lexer.lineno) 105 file, lexer.lineno) 110 " the owner", file, lexer.lineno) [all...] |
| /external/python/cpython3/ |
| 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...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/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...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/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...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/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...] |
| /external/ltp/lib/ |
| tst_checkpoint.c | 39 void tst_checkpoint_init(const char *file, const int lineno, 48 file, lineno); 66 "first (call tst_tmpdir())", file, lineno); 130 void tst_safe_checkpoint_wait(const char *file, const int lineno, 144 file, lineno, id, msec_timeout); 148 void tst_safe_checkpoint_wake(const char *file, const int lineno, 157 file, lineno, id, nr_wake, DEFAULT_MSEC_TIMEOUT);
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
| StackViewer.py | 63 frame, lineno = self.info 71 sourceline = linecache.getline(filename, lineno) 74 item = "%s, line %d: %s" % (modname, lineno, sourceline) 77 lineno, sourceline) 81 frame, lineno = self.info 92 frame, lineno = self.info 95 self.flist.gotofileline(filename, lineno)
|
| /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
| StackViewer.py | 63 frame, lineno = self.info 71 sourceline = linecache.getline(filename, lineno) 74 item = "%s, line %d: %s" % (modname, lineno, sourceline) 77 lineno, sourceline) 81 frame, lineno = self.info 92 frame, lineno = self.info 95 self.flist.gotofileline(filename, lineno)
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
| StackViewer.py | 63 frame, lineno = self.info 71 sourceline = linecache.getline(filename, lineno) 74 item = "%s, line %d: %s" % (modname, lineno, sourceline) 77 lineno, sourceline) 81 frame, lineno = self.info 92 frame, lineno = self.info 95 self.flist.gotofileline(filename, lineno)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| StackViewer.py | 63 frame, lineno = self.info 71 sourceline = linecache.getline(filename, lineno) 74 item = "%s, line %d: %s" % (modname, lineno, sourceline) 77 lineno, sourceline) 81 frame, lineno = self.info 92 frame, lineno = self.info 95 self.flist.gotofileline(filename, lineno)
|
| /external/python/cpython2/Lib/test/ |
| test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'): 12 result.append((t.lineno, t.col_offset)) 86 # Multiline generator expression (test for .lineno & .col_offset) 134 # Multiline dict (test for .lineno & .col_offset) 186 node_pos = (ast_node.lineno, ast_node.col_offset) 188 parent_pos = (ast_node.lineno, ast_node.col_offset) 208 ast.AST(lineno=2) 282 x.lineno 287 x = ast.Num(lineno=2) 288 self.assertEqual(x.lineno, 2 [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'): 12 result.append((t.lineno, t.col_offset)) 86 # Multiline generator expression (test for .lineno & .col_offset) 134 # Multiline dict (test for .lineno & .col_offset) 186 node_pos = (ast_node.lineno, ast_node.col_offset) 188 parent_pos = (ast_node.lineno, ast_node.col_offset) 208 ast.AST(lineno=2) 282 x.lineno 287 x = ast.Num(lineno=2) 288 self.assertEqual(x.lineno, 2 [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/test/ |
| test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'): 12 result.append((t.lineno, t.col_offset)) 86 # Multiline generator expression (test for .lineno & .col_offset) 134 # Multiline dict (test for .lineno & .col_offset) 186 node_pos = (ast_node.lineno, ast_node.col_offset) 188 parent_pos = (ast_node.lineno, ast_node.col_offset) 208 ast.AST(lineno=2) 282 x.lineno 287 x = ast.Num(lineno=2) 288 self.assertEqual(x.lineno, 2 [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'): 12 result.append((t.lineno, t.col_offset)) 86 # Multiline generator expression (test for .lineno & .col_offset) 134 # Multiline dict (test for .lineno & .col_offset) 186 node_pos = (ast_node.lineno, ast_node.col_offset) 188 parent_pos = (ast_node.lineno, ast_node.col_offset) 208 ast.AST(lineno=2) 282 x.lineno 287 x = ast.Num(lineno=2) 288 self.assertEqual(x.lineno, 2 [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'): 12 result.append((t.lineno, t.col_offset)) 86 # Multiline generator expression (test for .lineno & .col_offset) 134 # Multiline dict (test for .lineno & .col_offset) 186 node_pos = (ast_node.lineno, ast_node.col_offset) 188 parent_pos = (ast_node.lineno, ast_node.col_offset) 208 ast.AST(lineno=2) 282 x.lineno 287 x = ast.Num(lineno=2) 288 self.assertEqual(x.lineno, 2 [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
| asdl.py | 21 def __init__(self, type, lineno):
23 self.lineno = lineno
32 def __init__(self, value, lineno):
35 self.lineno = lineno
41 def __init__(self, value, lineno):
44 self.lineno = lineno
48 def __init__(self, lineno, token=None, msg=None): [all...] |
| /external/python/cpython2/Parser/ |
| asdl.py | 21 def __init__(self, type, lineno): 23 self.lineno = lineno 32 def __init__(self, value, lineno): 35 self.lineno = lineno 41 def __init__(self, value, lineno): 44 self.lineno = lineno 48 def __init__(self, lineno, token=None, msg=None) [all...] |
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
| InfBuildOptionSectionParser.py | 45 LineNo = 0
49 LineNo = Line[1]
90 Line=LineNo)
97 ValueList[0] = InfExpandMacro(ValueList[0], (FileName, LineContent, LineNo),
99 ValueList[1] = InfExpandMacro(ValueList[1], (FileName, LineContent, LineNo),
117 Line=LineNo)
124 Line=LineNo)
132 Line=LineNo)
173 LineNo = Line[1]
207 Line=LineNo,
[all...] |
| /external/libmojo/third_party/jinja2/ |
| ext.py | 107 def attr(self, name, lineno=None): 113 self.attr('_my_attribute', lineno=lineno) 115 return nodes.ExtensionAttribute(self.identifier, name, lineno=lineno) 118 dyn_kwargs=None, lineno=None): 126 return nodes.Call(self.attr(name, lineno=lineno), args, kwargs, 127 dyn_args, dyn_kwargs, lineno=lineno) [all...] |
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
| Parsing.py | 57 def GetBuildOption(String, File, LineNo= -1):
61 '[<Family>:]<ToolFlag>=Flag', LineNo)
80 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo= -1):
88 'library class instance', Item[0], LineNo)
90 'LibraryClasses', Item[0], LineNo)
105 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo= -1):
116 Item[0], LineNo)
118 'LibraryClasses', Item[0], LineNo)
121 ContainerFile, LineNo)
135 def CheckPcdTokenInfo(TokenInfoString, Section, File, LineNo= -1): [all...] |
| /prebuilts/go/darwin-x86/misc/nacl/ |
| mkzip.go | 91 lineno := 0 96 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 105 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 112 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 116 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 124 lineno++ 135 sysfatal("%s:%d: must use tabs for indentation", args[0], lineno) 148 sysfatal("%s:%d: destination name cannot contain slash", args[0], lineno) 155 sysfatal("%s:%d: malformed attribute %q", args[0], lineno, attr) 162 sysfatal("%s:%d: unknown attribute %q", args[0], lineno, attr [all...] |
| /prebuilts/go/linux-x86/misc/nacl/ |
| mkzip.go | 91 lineno := 0 96 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 105 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 112 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 116 sysfatal("%s:%d: %s: %v", args[0], lineno, src, err) 124 lineno++ 135 sysfatal("%s:%d: must use tabs for indentation", args[0], lineno) 148 sysfatal("%s:%d: destination name cannot contain slash", args[0], lineno) 155 sysfatal("%s:%d: malformed attribute %q", args[0], lineno, attr) 162 sysfatal("%s:%d: unknown attribute %q", args[0], lineno, attr [all...] |
| /external/ImageMagick/ |
| 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 414 # as_fn_error STATUS ERROR [LINENO LOG_FD] 416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO [all...] |