/external/clang/lib/Format/ |
UnwrappedLineParser.cpp | 37 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, 39 : Line(Line), Stack(Stack) { 40 Line.MustBeDeclaration = MustBeDeclaration; 46 Line.MustBeDeclaration = Stack.back(); 48 Line.MustBeDeclaration = true; 52 UnwrappedLine &Line; 58 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, 60 : Line(Line), TokenSource(TokenSource), ResetToken(ResetToken) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
WrappedGTestResultParser.java | 75 for (String line : lines) { 77 if (line.startsWith("INSTRUMENTATION_RESULT: ")) { 83 CLog.e(line); 87 if (line.startsWith("INSTRUMENTATION_STATUS: gtest=")) { 88 output.add(line.replace("INSTRUMENTATION_STATUS: gtest=", "")); 93 if (line.startsWith("INSTRUMENTATION_")) { 99 output.add(line);
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/ |
gUnit.g | 90 System.err.println("error(line "+$ACTION.getLine()+"): invalid header"); 128 int line = -1; 131 in = new gUnitTestInput(testInput, inputIsFile, line); 137 line = $STRING.line; 142 line = $ML_STRING.line; 148 line = $file.line; 171 file returns [int line] [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
properties.rb | 24 @properties << [$text, $type, $line, $pos, $index, $channel, $start, $stop] 35 text, type, line, pos, index, channel, start, stop = lexer.properties[ 0 ] 38 line.should == 1 45 text, type, line, pos, index, channel, start, stop = lexer.properties[ 1 ] 48 line.should == 1 56 text, type, line, pos, index, channel, start, stop = lexer.properties[ 2 ] 59 line.should == 2
|
/external/chromium/net/disk_cache/ |
trace.cc | 119 char line[kEntrySize + 2]; local 126 memcpy(line, s_trace_buffer->buffer[current], kEntrySize); 127 line[kEntrySize] = '\0'; 128 size_t length = strlen(line); 130 line[length] = '\n'; 131 line[length + 1] = '\0'; 132 DebugOutput(line);
|
/external/chromium_org/chrome/browser/extensions/ |
PRESUBMIT.py | 40 """Represents a range of line numbers (1-based)""" 60 """Returns an |EnumRange| object representing the line extent of the 61 HistogramValue enum members in |contents|. The line numbers are 1-based, 62 compatible with line numbers returned by AffectedFile.ChangeContents(). 71 line_num = 1 # Line numbers are 1-based 72 for line in contents: 73 if line.startswith(self.ENUM_START_MARKER): 75 elif line.startswith(self.ENUM_END_MARKER): 93 "definition (\"%s\" at line %d) *after* its end " 94 "(\"%s\" at line %d). Something is not quite right. [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
sunspider-string-fasta.html | 65 var line = new Array(60); 68 if (n<line.length) line = new Array(n); 69 for (var i=0; i<line.length; i++) { 73 line[i] = c; 78 ret = line.join(''); 79 n -= line.length;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
stack_utils.py | 56 for filename, lineno, name, line in traceback.extract_stack(stack): 57 logger('File: "%s", line %d, in %s' % (filename, lineno, name)) 58 if line: 59 logger(' %s' % line.strip()) 65 for line in frame_str.split('\n'): 66 if line: 67 logger(" %s" % line)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
annotate.py | 8 """Generate annotated source files showing line coverage. 12 each line:: 71 line = source.readline() 72 if line == '': 81 if self.blank_re.match(line): 83 elif self.else_re.match(line): 99 dest.write(line)
|
/external/chromium_org/tools/mac/ |
symbolicate_crash.py | 106 line = '' 107 while not thread_re.match(line): 110 line = line.strip() 111 if line: 112 parts = line.split(':', 1) 119 line = fd.readline() 123 # position by the length of the line so that it is re-read when 125 fd.seek(-len(line), os.SEEK_CUR) 136 # line [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
debug-evaluate-blockscopes.js | 40 { // Line 1. 41 let i = 1; // Line 2. 42 try { // Line 3. 43 throw 'stuff'; // Line 4. 44 } catch (e) { // Line 5. 45 x = 2; // Line 6. 52 // Set breakpoint on line 6.
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1586.js | 34 var i = 1; // Line 1. 35 { // Line 2. 36 try { // Line 3. 37 throw 'stuff'; // Line 4. 38 } catch (e) { // Line 5. 39 x = 2; // Line 6. 46 // Set breakpoint on line 6.
|
/external/chromium_org/v8/tools/ |
jsmin.py | 93 declarations. (These last two must be on one line including the opening 194 The compressed version hopefully does the same thing. Line breaks are 204 for line in re.split(r"\n", text): 205 line = line.replace("\t", " ") 207 m = re.search(r"\*/", line) 209 line = line[m.end():] 216 line = re.sub(r"/\*.*?\*/", " ", line) [all...] |
/external/clang/test/TableGen/ |
anonymous-groups.td | 4 // Do not move this line; it is referred to by absolute line number in the 10 // CHECK: anonymous-groups.td:[[@LINE-1]]:41: error: group 'name' is referred to anonymously 20 // CHECK: anonymous-groups.td:[[@LINE-1]]:48: error: group 'name' is referred to anonymously 34 // CHECK: anonymous-groups.td:[[@LINE-5]]:43: error: group 'anonymous' is referred to anonymously 37 // CHECK-NEXT: anonymous-groups.td:[[@LINE-7]]:47: note: also referenced here 40 // CHECK-NEXT: anonymous-groups.td:[[@LINE-8]]:11: note: also referenced here
|
tg-fixits.td | 7 // CHECK: tg-fixits.td:[[@LINE-1]]:41: error: group 'name' is referred to anonymously 14 // CHECK: tg-fixits.td:[[@LINE-2]]:36: error: group 'name' is referred to anonymously 21 // CHECK: tg-fixits.td:[[@LINE-1]]:3: error: group 'name' is referred to anonymously 29 // CHECK: tg-fixits.td:[[@LINE-1]]:11: error: group 'name' is referred to anonymously 34 // The following line has Unicode characters in it; do not change them! 37 // map around to line things up like Clang does. 39 // CHECK: tg-fixits.td:[[@LINE-1]]:51: error: group 'name' is referred to anonymously
|
/external/v8/test/mjsunit/harmony/ |
debug-evaluate-blockscopes.js | 40 { // Line 1. 41 let i = 1; // Line 2. 42 try { // Line 3. 43 throw 'stuff'; // Line 4. 44 } catch (e) { // Line 5. 45 x = 2; // Line 6. 52 // Set breakpoint on line 6.
|
/external/v8/test/mjsunit/regress/ |
regress-1586.js | 34 var i = 1; // Line 1. 35 { // Line 2. 36 try { // Line 3. 37 throw 'stuff'; // Line 4. 38 } catch (e) { // Line 5. 39 x = 2; // Line 6. 46 // Set breakpoint on line 6.
|
/external/v8/tools/ |
jsmin.py | 93 declarations. (These last two must be on one line including the opening 194 The compressed version hopefully does the same thing. Line breaks are 204 for line in re.split(r"\n", text): 205 line = line.replace("\t", " ") 207 m = re.search(r"\*/", line) 209 line = line[m.end():] 216 line = re.sub(r"/\*.*?\*/", " ", line) [all...] |
/hardware/ti/omap4xxx/ |
mapinfo.c | 24 static mapinfo *parse_maps_line(char *line) 27 int len = strlen(line); 30 line[--len] = 0; 33 if(line[20] != 'x') return 0; 38 mi->start = strtoul(line, 0, 16); 39 mi->end = strtoul(line + 9, 0, 16); 44 strcpy(mi->name, line + 49);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
Logger.java | 75 StringBuilder line = new StringBuilder(); local 77 line.append(prefix); 78 line.append(Byte.toHexString(data[i+offset], false)); 79 line.append(delimiter); 82 super.println(line.toString()); 83 line = new StringBuilder(); 86 super.println(line.toString());
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
junit.stg | 49 // gunit test on line <test.line> 60 // gunit test on line <test.line> 69 // gunit test on line <test.line> 70 Object retval = <if(isLexicalRule)>execLexer<else>execParser<endif>(<testRuleName>, <test.line>, "<test.inputEscaped>", <test.isFile>); 80 // gunit test on line <test.line> 81 <returnType> retval = (<returnType>)execParser(<testRuleName>, <test.line>, "<test.inputEscaped>", <test.isFile>) [all...] |
/external/bison/src/ |
location.h | 31 /* If nonnegative, the (origin-1) line that contains the boundary. 32 If this is INT_MAX, the line number has overflowed. 36 int line; member in struct:__anon2780 54 b->line = l; 65 res = a.line - b.line; 76 && a.line == b.line 109 /* Output to OUT the line and caret corresponding to location LOC. */ 123 /* LOC_STR must be formatted as `file:line.column', it will be modified. * [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
memorizingfile.py | 74 """Override file.readline and memorize the line read. 77 the whole line will be read out from underlying file object by 82 line = self._buffered_line 85 line = self._file.readline() 86 if line and len(self._memorized_lines) < self._max_memorized_lines: 87 self._memorized_lines.append(line) 88 if size >= 0 and size < len(line): 90 self._buffered_line = line[size:] 91 return line[:size] 92 return line [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
memorizingfile.py | 74 """Override file.readline and memorize the line read. 77 the whole line will be read out from underlying file object by 82 line = self._buffered_line 85 line = self._file.readline() 86 if line and len(self._memorized_lines) < self._max_memorized_lines: 87 self._memorized_lines.append(line) 88 if size >= 0 and size < len(line): 90 self._buffered_line = line[size:] 91 return line[:size] 92 return line [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
textfile.cpp | 76 UBool TextFile::readLine(UnicodeString& line, UErrorCode& ec) { 102 // Remove BOM in first line, if present 107 line = str.unescape(); 111 UBool TextFile::readLineSkippingComments(UnicodeString& line, UErrorCode& ec, 114 if (!readLine(line, ec)) return FALSE; 117 ICU_Utility::skipWhitespace(line, pos, TRUE); 119 if (pos == line.length() || line.charAt(pos) == 0x23/*'#'*/) { 122 // Process line 123 if (trim) line.remove(0, pos) [all...] |