/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
node.h | 21 char *str, int lineno, int col_offset);
|
parsetok.h | 13 int lineno; member in struct:__anon60595
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
OutputWindow.py | 101 filename, lineno = result 103 edit.gotoline(lineno) 109 filename, lineno = match.group(1, 2) 119 return filename, int(lineno)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
fixer_base.py | 132 lineno = node.get_lineno() 136 self.log_message(msg % (lineno, for_output)) 147 lineno = node.get_lineno() 148 self.log_message("Line %d: %s" % (lineno, reason))
|
/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...] |
test_fileinput.py | 56 self.assertEqual(fi.lineno(), 31) 66 self.assertEqual(fi.lineno(), 21) 75 self.assertEqual(fi.lineno(), 22) 95 self.assertEqual(fi.lineno(), 0) 98 self.assertEqual(fi.lineno(), 0) 132 self.assertEqual(fi.lineno(), 1) 138 self.assertEqual(fi.lineno(), 1) 153 self.assertEqual(fi.lineno(), 6)
|
/build/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))
|
/external/chromium_org/tools/idl_parser/ |
idl_lexer_test.py | 59 tokens2[i].value, tokens1[i].value, tokens1[i].lineno, filename) 84 actual_type, expect_type, tokens[index].lineno, filename)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fileinput.py | 56 self.assertEqual(fi.lineno(), 31) 66 self.assertEqual(fi.lineno(), 21) 75 self.assertEqual(fi.lineno(), 22) 95 self.assertEqual(fi.lineno(), 0) 98 self.assertEqual(fi.lineno(), 0) 132 self.assertEqual(fi.lineno(), 1) 138 self.assertEqual(fi.lineno(), 1) 153 self.assertEqual(fi.lineno(), 6)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
doctest.py | 109 # info about where the docstring came from (name, filename, lineno). 422 - lineno: The line number within the DocTest string containing 436 def __init__(self, source, want, exc_msg=None, lineno=0, indent=0, 448 self.lineno = lineno 460 self.lineno == other.lineno and \ 469 return hash((self.source, self.want, self.lineno, self.indent, 489 - lineno: The line number within filename where this DocTest 497 def __init__(self, examples, globs, name, filename, lineno, docstring) [all...] |
xmllib.py | 147 self.lineno = 1 252 self.lineno = self.lineno + data.count('\n') 270 self.lineno = self.lineno + data.count('\n') 278 self.lineno = self.lineno + data.count('\n') 284 self.lineno = self.lineno + rawdata[i:k].count('\n') 290 self.lineno = self.lineno + rawdata[i:k].count('\n' [all...] |
ast.py | 115 Copy source location (`lineno` and `col_offset` attributes) from 118 for attr in 'lineno', 'col_offset': 127 When you compile a node tree with compile(), the compiler expects lineno and 133 def _fix(node, lineno, col_offset): 134 if 'lineno' in node._attributes: 135 if not hasattr(node, 'lineno'): 136 node.lineno = lineno 138 lineno = node.lineno [all...] |
pdb.py | 38 lineno = 1 45 answer = funcname, filename, lineno 47 lineno = lineno + 1 112 self.lineno = None 345 # break [ ([filename:]lineno | function) [, "condition"] ] 356 lineno = None 363 # parse stuff before comma: [filename:]lineno | function 377 lineno = int(arg) 379 print >>self.stdout, '*** Bad lineno:', ar [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
doctest.py | 109 # info about where the docstring came from (name, filename, lineno). 422 - lineno: The line number within the DocTest string containing 436 def __init__(self, source, want, exc_msg=None, lineno=0, indent=0, 448 self.lineno = lineno 460 self.lineno == other.lineno and \ 469 return hash((self.source, self.want, self.lineno, self.indent, 489 - lineno: The line number within filename where this DocTest 497 def __init__(self, examples, globs, name, filename, lineno, docstring) [all...] |
xmllib.py | 147 self.lineno = 1 252 self.lineno = self.lineno + data.count('\n') 270 self.lineno = self.lineno + data.count('\n') 278 self.lineno = self.lineno + data.count('\n') 284 self.lineno = self.lineno + rawdata[i:k].count('\n') 290 self.lineno = self.lineno + rawdata[i:k].count('\n' [all...] |
ast.py | 115 Copy source location (`lineno` and `col_offset` attributes) from 118 for attr in 'lineno', 'col_offset': 127 When you compile a node tree with compile(), the compiler expects lineno and 133 def _fix(node, lineno, col_offset): 134 if 'lineno' in node._attributes: 135 if not hasattr(node, 'lineno'): 136 node.lineno = lineno 138 lineno = node.lineno [all...] |
pdb.py | 38 lineno = 1 45 answer = funcname, filename, lineno 47 lineno = lineno + 1 112 self.lineno = None 345 # break [ ([filename:]lineno | function) [, "condition"] ] 356 lineno = None 363 # parse stuff before comma: [filename:]lineno | function 377 lineno = int(arg) 379 print >>self.stdout, '*** Bad lineno:', ar [all...] |
/external/libsepol/src/ |
genusers.c | 31 buffer, path, lineno); \ 41 unsigned lineno = 0, islist = 0, bit; local 62 lineno++; 167 q, path, lineno); 231 path, lineno); 277 path, lineno);
|
/external/libselinux/src/ |
label_file.c | 279 char *line_buf, int pass, unsigned lineno) 301 lineno); 323 path, lineno, regex); 330 path, lineno, regex, 343 path, lineno, type); 371 path, lineno, type); 382 path, lineno, spec_arr[nspec].lr.ctx_raw); 407 unsigned int lineno, pass, i, j, maxnspec; local 456 lineno = 0; 462 pass, ++lineno) != 0 [all...] |
/external/chromium_org/third_party/simplejson/ |
decoder.py | 39 lineno: The line corresponding to pos 51 self.lineno, self.colno = linecol(doc, pos) 59 lineno = doc.count('\n', 0, pos) + 1 60 if lineno == 1: 64 return lineno, colno 69 lineno, colno = linecol(doc, pos) 72 #return fmt.format(msg, lineno, colno, pos) 74 return fmt % (msg, lineno, colno, pos) 77 #return fmt.format(msg, lineno, colno, endlineno, endcolno, pos, end) 79 return fmt % (msg, lineno, colno, endlineno, endcolno, pos, end [all...] |
/development/tools/findunused/ |
find_unused_resources.rb | 97 @@globalJavaIdUses[id] = FilePosition.new(filename, file.lineno) 116 strings[id] = FilePosition.new(filename, file.lineno) 119 layouts[id] = FilePosition.new(filename, file.lineno) 123 xmlIdUses[id] = FilePosition.new(filename, file.lineno) 136 xmlIdUses[id] = FilePosition.new(filename, file.lineno)
|
/external/elfutils/tests/ |
dwflmodtest.c | 64 int lineno = 0, colno = 0; local 67 lineno = val; 71 if (lineno == 0) 77 printf (" at %s:%u", file, lineno); 79 printf (" at %s:%u:%u", file, lineno, colno);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 207 lineno = -1 218 lineno += 1 243 if lineno + 1 == len(lines): 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 207 lineno = -1 218 lineno += 1 243 if lineno + 1 == len(lines): 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
Debugger.py | 43 lineno = frame.f_lineno 45 message = "%s:%s" % (basename, lineno) 207 filename, lineno = self.__frame2fileline(frame) 209 self.flist.gotofileline(filename, lineno) 214 lineno = frame.f_lineno 215 return filename, lineno 256 def show_frame(self, (frame, lineno)): 303 def set_breakpoint_here(self, filename, lineno): 304 self.idb.set_break(filename, lineno) 306 def clear_breakpoint_here(self, filename, lineno) [all...] |