| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| linecache.py | 13 def getline(filename, lineno, module_globals=None): 15 if 1 <= lineno <= len(lines): 16 return lines[lineno-1]
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
| FileList.py | 38 def gotofileline(self, filename, lineno=None): 40 if edit is not None and lineno is not None: 41 edit.gotoline(lineno)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| linecache.py | 13 def getline(filename, lineno, module_globals=None): 15 if 1 <= lineno <= len(lines): 16 return lines[lineno-1]
|
| /toolchain/binutils/binutils-2.27/gas/ |
| stabs.c | 488 unsigned int lineno; local 490 file = as_where (&lineno); 581 unsigned int lineno; local 595 file = as_where (&lineno); 602 prev_lineno = lineno; 604 else if (lineno == prev_lineno 613 prev_lineno = lineno; 633 sprintf (buf, "%d,0,%d,%s-%s\n", N_SLINE, lineno, 639 sprintf (buf, "%d,0,%d,%s\n", N_SLINE, lineno, sym); 659 unsigned int lineno; local [all...] |
| /toolchain/binutils/binutils-2.27/gold/testsuite/ |
| test.h | 60 fail(const char* filename, int lineno); 91 fail(const char* filename, int lineno) 92 { this->tf_->fail(filename, lineno); }
|
| /art/tools/checker/match/ |
| file.py | 26 def __init__(self, assertion, lineNo, variables): 28 self.lineNo = lineNo 183 lineNo = c1Pass.startLineNo + e.lineNo 188 msg = msg.format(lineNo)
|
| /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
| PythonTarget.java | 144 int lineNo = actionToken.getLine(); 160 lineNo++; 168 //System.out.println(lineNo + ":" + col + " " + quote(chunk.toString())); 192 System.err.println("Warning: badly indented line " + lineNo + " in action:"); 202 System.err.println("Warning: badly indented line " + lineNo + " in action:"); 208 lineNo++;
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
| UCAConformanceTest.java | 202 int lineNo = 0; 210 lineNo++; 217 logln("Skipping line " + lineNo + " because of a known bug"); 234 lineNo, cmpres, cmpres2)); 242 + ") on line " + lineNo); 256 errln("Line " + lineNo + " is not greater or equal than previous line");
|
| /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
| UCAConformanceTest.java | 199 int lineNo = 0; 207 lineNo++; 214 logln("Skipping line " + lineNo + " because of a known bug"); 231 lineNo, cmpres, cmpres2)); 239 + ") on line " + lineNo); 253 errln("Line " + lineNo + " is not greater or equal than previous line");
|
| /external/python/cpython2/Demo/tkinter/guido/ |
| ManPage.py | 34 self.lineno = 0 81 self.lineno = 0 145 self.lineno = self.lineno + 1 161 self.lineno = self.lineno + 1
|
| /external/python/cpython3/Lib/idlelib/ |
| runscript.py | 73 msgtxt, (lineno, start) = msg.args 74 self.editwin.gotoline(lineno) 104 lineno = getattr(value, 'lineno', '') or 1 107 lineno += 1 #mark end of offending line 108 pos = "0.0 + %d lines + %d chars" % (lineno-1, offset-1)
|
| /external/python/cpython3/Parser/ |
| parsetok.c | 171 warn(const char *msg, const char *filename, int lineno) 175 PySys_WriteStderr(msg, filename, lineno); 264 tok->lineno, col_offset, 319 err_ret->lineno = tok->lineno; 364 err_ret->lineno = 0;
|
| /external/selinux/libsepol/src/ |
| genusers.c | 31 buffer, path, lineno); \ 40 unsigned lineno = 0, islist = 0, bit; local 63 lineno++; 168 q, path, lineno); 232 path, lineno); 278 path, lineno);
|
| /build/make/tools/ |
| java-layers.py | 38 def __init__(self, filename, lineno, lower, top, lowlevel, legacy): 40 self.lineno = lineno 60 % (dep.filename, dep.lineno)) 63 % (v.filename, v.lineno, v.lower)) 123 def lineno(s, i): function in function:parse_dependency_file 127 lines = [lineno(x,n) for x in lines] 147 + " line %d.\n") % (filename, n, lower, deps[lower].lineno))
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/ |
| stats.py | 30 what, (filename, lineno, funcname), tdelta = event
40 frame = self.new_frame(filename, lineno, funcname)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_compiler.py | 99 # Test that all nodes except Module have a correct lineno attribute.
110 print node.__class__, node.lineno
115 self.assertIsInstance(node.lineno, int,
116 "lineno=%s on %s" % (node.lineno, node.__class__))
117 self.assertTrue(node.lineno > 0,
118 "lineno=%s on %s" % (node.lineno, node.__class__))
|
| /external/curl/docs/examples/ |
| opensslthreadlock.c | 45 void handle_error(const char *file, int lineno, const char *msg) 47 fprintf(stderr, "** %s:%d %s\n", file, lineno, msg);
|
| /external/libmojo/third_party/jinja2/ |
| optimizer.py | 59 lineno=node.lineno,
|
| /external/ltp/lib/ |
| tst_test.c | 178 static void print_result(const char *file, const int lineno, int ttype, 217 ret = snprintf(str, size, "%s:%i: ", file, lineno); 234 tst_res_(file, lineno, TWARN, 242 tst_res_(file, lineno, TWARN, 251 void tst_vres_(const char *file, const int lineno, int ttype, 254 print_result(file, lineno, ttype, fmt, va); 259 void tst_vbrk_(const char *file, const int lineno, int ttype, 262 static void (*tst_brk_handler)(const char *file, const int lineno, int ttype, 265 static void tst_cvres(const char *file, const int lineno, int ttype, 273 print_result(file, lineno, ttype, fmt, va) [all...] |
| /external/ltp/testcases/kernel/fs/fs_bind/bind/ |
| test13 | 38 trap 'ERR=$? ; ERR_MSG="caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"; break' ERR 59 trap 'ERR=$? ; tst_resm TWARN "bind/test13: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
|
| test14 | 38 trap 'ERR=$? ; ERR_MSG="caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"; break' ERR 57 trap 'ERR=$? ; tst_resm TWARN "bind/test14: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
|
| test16 | 38 trap 'ERR=$? ; ERR_MSG="caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"; break' ERR 58 trap 'ERR=$? ; tst_resm TWARN "bind/test16: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
|
| test22 | 37 trap 'ERR=$? ; ERR_MSG="caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"; break' ERR 70 trap 'ERR=$? ; tst_resm TWARN "bind/test22: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
|
| test24 | 37 trap 'ERR=$? ; ERR_MSG="caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"; break' ERR 60 trap 'ERR=$? ; tst_resm TWARN "bind/test24: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
|
| /external/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
| test01 | 36 trap 'ERR=$? ; ERR_MSG="caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"; break' ERR 58 trap 'ERR=$? ; tst_resm TWARN "cloneNS/test01: caught error near: ${BASH_SOURCE[0]}:${FUNCNAME[0]}:${LINENO}:$_ (returned ${ERR})"' ERR
|