/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
feedparser.py | 8 message, line by line. This has advantages for certain applications, such as 47 You can also push and pop line-matching predicates onto a stack. When the 48 current predicate matches the current line, a false EOF response 53 # The last partial line pushed into this object. 69 # Don't forget any trailing partial line. 79 # Pop the line off the stack and see if it matches the current 81 line = self._lines.pop() 86 if ateof(line): 87 # We're at the false EOF. But push the last line back first [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParser.java | 44 * Single line aapt warning for skipping files.<br> 51 * First line of dual line aapt error.<br> 52 * "ERROR at line <line>: <error>"<br> 56 "^ERROR\\s+at\\s+line\\s+(\\d+):\\s+(.*)$"); //$NON-NLS-1$ 58 * Second line of dual line aapt error.<br> 59 * "ERROR at line <line>: <error>"<br 512 int line = -1; \/\/ default value for error with no line. local [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
easy_template.py | 21 for line in template.splitlines(1): # 1 => keep line ends 22 m = statement_re.match(line) 31 while line and line[-1] in '\\"\n\r': 32 line_ending = line[-1] + line_ending 33 line = line[:-1] 35 m = expr_re.search(line) 37 line = line.replace('%', '%%' [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
closebrackets.js | 22 var str = cm.getRange(CodeMirror.Pos(pos.line, pos.ch - 1), 23 CodeMirror.Pos(pos.line, pos.ch + 1)); 34 cm.replaceRange("", CodeMirror.Pos(cur.line, cur.ch - 1), CodeMirror.Pos(cur.line, cur.ch + 1)); 47 var cur = cm.getCursor(), ahead = cm.getRange(cur, CodeMirror.Pos(cur.line, cur.ch + 1)); 56 var cur = cm.getCursor(), ahead = CodeMirror.Pos(cur.line, cur.ch + 1); 57 var line = cm.getLine(cur.line), nextChar = line.charAt(cur.ch), curChar = cur.ch > 0 ? line.charAt(cur.ch - 1) : "" [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_location.py | 10 def assert_location(loc, line, column, offset): 11 assert loc.line == line 23 assert_location(one.location,line=1,column=5,offset=4) 24 assert_location(two.location,line=2,column=5,offset=13) 34 assert_location(one.location,line=2,column=5,offset=5) 35 assert_location(two.location,line=3,column=5,offset=14) 37 # adding a space should affect column on first line only 42 assert_location(one.location,line=1,column=6,offset=5) 43 assert_location(two.location,line=2,column=5,offset=14 [all...] |
/external/clang/test/CodeGenObjC/ |
arc-linetable.m | 51 // CHECK: ![[ARC1]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 53 // CHECK: ![[RET1]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 57 // CHECK: ![[RET2]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 62 // CHECK: ![[MSG3]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 64 // CHECK: ![[RET3]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 68 // CHECK: ![[MSG4]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 70 // CHECK: ![[EXP4]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 72 // CHECK: ![[RET4]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 76 // CHECK: ![[ARC5]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null} 78 // CHECK: ![[RET5]] = metadata !{i32 [[@LINE+1]], i32 0, metadata !{{.*}}, null [all...] |
/external/chromium/testing/gtest/scripts/ |
pump.py | 88 """Represents a position (line and column) in a text file.""" 90 def __init__(self, line=-1, column=-1): 91 self.line = line 95 return self.line == rhs.line and self.column == rhs.column 101 return self.line < rhs.line or ( 102 self.line == rhs.line and self.column < rhs.column [all...] |
/external/gtest/scripts/ |
pump.py | 88 """Represents a position (line and column) in a text file.""" 90 def __init__(self, line=-1, column=-1): 91 self.line = line 95 return self.line == rhs.line and self.column == rhs.column 101 return self.line < rhs.line or ( 102 self.line == rhs.line and self.column < rhs.column [all...] |
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
pump.py | 88 """Represents a position (line and column) in a text file.""" 90 def __init__(self, line=-1, column=-1): 91 self.line = line 95 return self.line == rhs.line and self.column == rhs.column 101 return self.line < rhs.line or ( 102 self.line == rhs.line and self.column < rhs.column [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-fasta.js | 61 var line = new Array(60); 64 if (n<line.length) line = new Array(n); 65 for (var i=0; i<line.length; i++) { 69 line[i] = c; 74 ret = line.join(''); 75 n -= line.length;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-fasta.js | 61 var line = new Array(60); 64 if (n<line.length) line = new Array(n); 65 for (var i=0; i<line.length; i++) { 69 line[i] = c; 74 ret = line.join(''); 75 n -= line.length;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
string-fasta.js | 61 var line = new Array(60); 64 if (n<line.length) line = new Array(n); 65 for (var i=0; i<line.length; i++) { 69 line[i] = c; 74 ret = line.join(''); 75 n -= line.length;
|
/external/chromium_org/tools/find_runtime_symbols/ |
reduce_debugline.py | 11 This script assumes that the result of 'readelf -wL' ends with an empty line. 28 for line in input_file: 29 line = line.strip() 30 unpacked = line.split(None, 2) 38 if line.endswith(':'): 39 matched = _FILENAME_PATTERN.match(line)
|
/external/chromium_org/tools/memory_watcher/scripts/ |
finditem.pl | 21 my $line = $_; 22 if ($line =~ m/([0-9]*) bytes, ([0-9]*) allocs/) { 28 elsif ($line =~ m/$search/) { 31 elsif ($line =~ m/=============/) { 32 $save .= $line; 43 $save .= $line; 51 # Get the command line argument
|
/external/llvm/utils/lit/tests/Inputs/shtest-shell/ |
redirects.txt | 10 # RUN: echo "appended-line" >> %t.stdout-write 14 # STDOUT-APPEND: appended-line 24 # STDERR-WRITE: a line on stderr 29 # STDERR-APPEND: a line on stderr 30 # STDERR-APPEND: a line on stderr 40 # COMBINED-WRITE: a line on stdout 41 # COMBINED-WRITE: a line on stderr
|
/external/proguard/src/proguard/classfile/editor/ |
LineNumberTableAttributeEditor.java | 26 * This class can add line numbers to a given line number table attribute. 27 * Line numbers to be added must have been filled out beforehand. 37 * Creates a new LineNumberTableAttributeEditor that will edit line numbers 38 * in the given line number table attribute. 47 * Adds a given line number to the line number table attribute.
|
/external/valgrind/main/memcheck/tests/ |
filter_xml | 8 sed "s/<line>.*<\/line>/<line>...<\/line>/" | 19 perl -p -0 -e 's/(<what>Syscall param[^\n]*\n)([^\n]*(stack|frame|ip|obj|fn|dir|file|line)[^\n]*\n)+/$1/gs' 30 # record separator so that it reads in the whole file as a single line 31 # (which means we can do multi-line matching in a single regexp) which you
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
line-map.h | 1 /* Map logical line numbers to (source file, line number) pairs. 30 /* Reason for adding a line change with add_line_map (). LC_ENTER is 33 name or line number changes for neither of the above reasons 34 (e.g. a #line directive in C); LC_RENAME_VERBATIM is like LC_RENAME 38 /* The type of line numbers. */ 41 /* A logical line/column number, i.e. an "index" into a line_map. */ 47 /* Physical source file TO_FILE at line TO_LINE at column 0 is represented 51 (The top line is line 1 and the leftmost column is column 1; line/column [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
line-map.h | 1 /* Map logical line numbers to (source file, line number) pairs. 30 /* Reason for adding a line change with add_line_map (). LC_ENTER is 33 name or line number changes for neither of the above reasons 34 (e.g. a #line directive in C); LC_RENAME_VERBATIM is like LC_RENAME 38 /* The type of line numbers. */ 41 /* A logical line/column number, i.e. an "index" into a line_map. */ 47 /* Physical source file TO_FILE at line TO_LINE at column 0 is represented 51 (The top line is line 1 and the leftmost column is column 1; line/column [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
line-map.h | 1 /* Map logical line numbers to (source file, line number) pairs. 30 /* Reason for adding a line change with add_line_map (). LC_ENTER is 33 name or line number changes for neither of the above reasons 34 (e.g. a #line directive in C); LC_RENAME_VERBATIM is like LC_RENAME 38 /* The type of line numbers. */ 41 /* A logical line/column number, i.e. an "index" into a line_map. */ 47 /* Physical source file TO_FILE at line TO_LINE at column 0 is represented 51 (The top line is line 1 and the leftmost column is column 1; line/column [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
line-map.h | 1 /* Map logical line numbers to (source file, line number) pairs. 30 /* Reason for adding a line change with add_line_map (). LC_ENTER is 33 name or line number changes for neither of the above reasons 34 (e.g. a #line directive in C); LC_RENAME_VERBATIM is like LC_RENAME 38 /* The type of line numbers. */ 41 /* A logical line/column number, i.e. an "index" into a line_map. */ 47 /* Physical source file TO_FILE at line TO_LINE at column 0 is represented 51 (The top line is line 1 and the leftmost column is column 1; line/column [all...] |
/external/chromium_org/chrome/browser/resources/ |
test_presubmit.py | 33 def GetHighlight(self, line, error): 34 """Returns the substring of |line| that is highlighted in |error|.""" 36 highlight = error_lines[error_lines.index(line) + 1] 37 return ''.join(ch1 for (ch1, ch2) in zip(line, highlight) if ch2 == '^') 39 def ShouldFailConstCheck(self, line): 40 """Checks that the 'const' checker flags |line| as a style error.""" 41 error = self.checker.ConstCheck(1, line) 43 'Should be flagged as style error: ' + line) 44 self.assertEqual(self.GetHighlight(line, error), 'const') 46 def ShouldPassConstCheck(self, line) [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readstabs.c | 83 N_SLINE = 68, /* Source line number */ 113 Int line; /* first line */ member in struct:__anon29636 120 Int prev; /* prev line */ 121 Int no; /* current line */ 122 Int ovf; /* line wrap */ 123 Addr addr; /* start of this line */ 124 Bool first; /* first line in function */ 125 } line = { 0, 0, 0, 0, False }; local 129 68 N_SLINE a source line numbe [all...] |
/external/chromium_org/third_party/WebKit/Source/core/scripts/ |
in_file.py | 52 def _is_comment(line): 53 return line.startswith("//") or line.startswith("#") 79 for line in lines: 80 if _is_comment(line): 82 if not line: 86 self._parse_parameter(line) 88 entry = self._parse_line(line) 123 def _parse_parameter(self, line): 124 if '=' in line [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
vdbe-compress.tcl | 31 # on the first line after the open curly-brace that begins a new opcode 49 set line [gets stdin] 50 if {[regexp {INSERT STACK UNION HERE} $line]} break 51 append beforeUnion $line\n 61 set line [gets stdin] 62 if {[regexp "^case (OP_\\w+): \173" $line all operator]} { 63 append afterUnion $line\n 66 set line [gets stdin] 67 if {[regexp {^ +(const )?\w+ \**(\w+)(\[.*\])?;} $line \ 79 append unionDef " $line\n [all...] |