/external/mesa3d/scons/ |
source_list.py | 7 line continuation 58 def _parse_definition(self, line): 59 """Parse a variable definition line.""" 60 op_pos = line.find('=') 66 if line[op_pos - 1] in [':', '+', '?']: 72 op = line[op_pos:op_end] 73 sym = line[:op_pos].strip() 74 val = self._expand_value(line[op_end:].lstrip()) 84 def _parse_line(self, line): 85 """Parse a source list line."" [all...] |
/external/icu/icu4c/source/test/depstest/ |
dependencies.py | 65 def _RemoveComment(line): 68 index = line.find("#") # Remove trailing comment. 69 if index >= 0: line = line[:index] 70 return line.rstrip() # Remove trailing newlines etc. 74 line = _RemoveComment(f.next()) 75 if line: return line 81 line = _ReadLine(deps_file) 82 if not line: continu [all...] |
/prebuilts/go/darwin-x86/test/ |
inline_caller.go | 17 line int 27 g() // line 27 31 h() // line 31 36 x.pc, x.file, x.line, x.ok = runtime.Caller(skip) // line 36 42 f() // line 42 52 line int 68 frame := testCaller(i) // line 68 70 if expected[i].line >= 0 && frame.line != expected[i].line [all...] |
/prebuilts/go/linux-x86/test/ |
inline_caller.go | 17 line int 27 g() // line 27 31 h() // line 31 36 x.pc, x.file, x.line, x.ok = runtime.Caller(skip) // line 36 42 f() // line 42 52 line int 68 frame := testCaller(i) // line 68 70 if expected[i].line >= 0 && frame.line != expected[i].line [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
pygen.py | 23 # counter to produce a line 29 # current line number 56 """print a line or lines of python which already contain indentation. 67 for line in lines: 68 self.writeline(line) 70 def writeline(self, line): 71 """print a line of python, indenting it according to the current 75 content of the line. 83 if (line is None or 84 re.match(r"^\s*#",line) o [all...] |
/external/valgrind/memcheck/tests/ |
threadname_xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 43 <line>...</line> [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your
18 escaping the newline (ie. backslash at end of line), strip
23 report physical line number, even if the logical line in question
25 implementing line-at-a-time lookahead.
41 strip from "#" to end-of-line, as well as any whitespace
44 strip leading whitespace from each line before returning it
46 strip trailing whitespace (including line terminator!) from
47 each line before returning it [all...] |
/external/python/cpython2/Lib/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your 18 escaping the newline (ie. backslash at end of line), strip 23 report physical line number, even if the logical line in question 25 implementing line-at-a-time lookahead. 41 strip from "#" to end-of-line, as well as any whitespace 44 strip leading whitespace from each line before returning it 46 strip trailing whitespace (including line terminator!) from 47 each line before returning i [all...] |
/external/python/cpython3/Lib/distutils/ |
text_file.py | 13 line-by-line syntax: strip comments (as long as "#" is your 15 escaping the newline (ie. backslash at end of line), strip 20 report physical line number, even if the logical line in question 22 implementing line-at-a-time lookahead. 38 strip from "#" to end-of-line, as well as any whitespace 41 strip leading whitespace from each line before returning it 43 strip trailing whitespace (including line terminator!) from 44 each line before returning i [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your 18 escaping the newline (ie. backslash at end of line), strip 23 report physical line number, even if the logical line in question 25 implementing line-at-a-time lookahead. 41 strip from "#" to end-of-line, as well as any whitespace 44 strip leading whitespace from each line before returning it 46 strip trailing whitespace (including line terminator!) from 47 each line before returning i [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your 18 escaping the newline (ie. backslash at end of line), strip 23 report physical line number, even if the logical line in question 25 implementing line-at-a-time lookahead. 41 strip from "#" to end-of-line, as well as any whitespace 44 strip leading whitespace from each line before returning it 46 strip trailing whitespace (including line terminator!) from 47 each line before returning i [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your 18 escaping the newline (ie. backslash at end of line), strip 23 report physical line number, even if the logical line in question 25 implementing line-at-a-time lookahead. 41 strip from "#" to end-of-line, as well as any whitespace 44 strip leading whitespace from each line before returning it 46 strip trailing whitespace (including line terminator!) from 47 each line before returning i [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 16 line-by-line syntax: strip comments (as long as "#" is your 18 escaping the newline (ie. backslash at end of line), strip 23 report physical line number, even if the logical line in question 25 implementing line-at-a-time lookahead. 41 strip from "#" to end-of-line, as well as any whitespace 44 strip leading whitespace from each line before returning it 46 strip trailing whitespace (including line terminator!) from 47 each line before returning i [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ |
Position.java | 27 private int line; field in class:Position 41 public Position(int line, int column){ 42 this.line = line; 47 return this.line;
|
/external/jline/src/src/test/java/jline/example/ |
PasswordReader.java | 26 String line = null; local 28 line = reader.readLine("enter password> ", mask); 29 System.out.println("Got password: " + line); 30 } while(line != null && line.length() > 0);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
Token.java | 9 private int line; field in class:Token 24 return this.line; 27 public void setLine(@SuppressWarnings("hiding") int line) 29 this.line = line;
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
RuleSetFactory.java | 27 import org.slf4j.migrator.line.EmptyRuleSet; 28 import org.slf4j.migrator.line.JCLRuleSet; 29 import org.slf4j.migrator.line.JULRuleSet; 30 import org.slf4j.migrator.line.Log4jRuleSet; 31 import org.slf4j.migrator.line.RuleSet;
|
/hardware/google/av/codec2/docs/ |
doxyfilter.sh | 28 def process_comment(t, ind, line): 33 hold.append(line) 35 def process_line(ind, line): 42 print(line, end='') 45 for line in input: 46 ind = re.match(r'^( *)', line).group(1) 49 m = re.match(r'^ *[*]/', line) 51 process_comment('/*', ind, line) 54 process_comment('/*', ind, line) 56 m = re.match(r'^ *//', line) [all...] |
/external/autotest/tko/parsers/ |
version_1_unittest.py | 18 line = version_1.status_line(0, 'START', '----', 'test', 20 self.assertEquals(line.type, 'START') 21 self.assertEquals(line.status, None) 26 line = version_1.status_line(0, 'INFO', '----', '----', 28 self.assertEquals(line.type, 'INFO') 29 self.assertEquals(line.status, None) 35 line = version_1.status_line(0, stat, '----', 'test', 37 self.assertEquals(line.type, 'STATUS') 38 self.assertEquals(line.status, stat) 44 line = version_1.status_line(0, 'END ' + stat, '----' [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 15 private int line; field in class:Lexer 61 int start_line = this.line; 88 this.line++; 93 this.line++; 149 accept_line = this.line; 166 this.line = accept_line; 181 this.line = accept_line; 195 this.line = accept_line; 209 this.line = accept_line; 223 this.line = accept_line [all...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/signature/ |
SignatureTest.java | 50 private String line; field in class:SignatureTest 52 public SignatureTest(String line) { 54 this.line = line; 62 String line; local 63 while ((line = lnr.readLine()) != null) { 64 if (line.length() < 2) { 67 suite.addTest(new SignatureTest(line)); 74 if (line.length() > 2) { 75 String signature = line.substring(2) [all...] |
/frameworks/av/media/libstagefright/foundation/ |
hexdump.cpp | 47 AString line; local 49 appendIndent(&line, indent); 54 line.append(tmp); 58 line.append(' '); 61 line.append(" "); 64 line.append(tmp); 68 line.append(' '); 76 line.append((char)data[offset + i]); 78 line.append('.'); 83 appendTo->append(line); [all...] |
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
SourcePositionInfo.java | 25 public SourcePositionInfo(String file, int line, int column) { 27 this.line = line; 41 int line = that.line; local 46 line++; 50 return new SourcePositionInfo(that.file, line, 0); 55 return file + ':' + line; 62 return this.line - that.line; 66 public final int line; field in class:SourcePositionInfo [all...] |
/external/autotest/server/site_tests/enterprise_CFM_HuddlyUpdater/ |
parse.py | 29 for line in chunk.split('\n'): 30 if TOKEN_FW_CHUNK_HEADER in line: 34 elif TOKEN_PERIPHERAL_CHUNK_HEADER in line: 42 fields = line.split(':') 48 if TOKEN_BOOT in line: 50 elif TOKEN_APP in line: 52 elif TOKEN_REV in line:
|
/external/elfutils/libdwfl/ |
dwfl_module_getsrc_file.c | 34 dwfl_dwarf_line_file (const Dwarf_Line *line) 36 return line->files->info[line->file].name; 40 dwfl_line (const Dwfl_Line *line) 42 return &dwfl_linecu (line)->die.cu->lines->info[line->idx]; 46 dwfl_line_file (const Dwfl_Line *line) 48 return dwfl_dwarf_line_file (dwfl_line (line)); 79 /* Search through all the line number records for a matching 80 file and line/column number. If any of the numbers is zero 86 Dwarf_Line *line = &cu->die.cu->lines->info[cnt]; local [all...] |