/external/chromium_org/tools/gyp/tools/ |
pretty_gyp.py | 64 lines (lines that matche the double_*_brace re's above) before 67 These are used to split lines which have multiple braces on them, so 115 def prettyprint_input(lines): 120 for line in lines: 147 lines = split_double_braces(data) 150 prettyprint_input(lines)
|
/external/llvm/utils/ |
sort_includes.py | 3 """Script to sort the top-most block of #include lines. 15 """Sort the #include lines of a specific file.""" 25 lines = f.readlines() 34 for (i, l) in enumerate(lines): 72 lines = lines[:headers_begin] + header_lines + lines[headers_end + 1:] 76 f.writelines(lines)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
parse-malloc-history | 62 my @lines = (); 65 push(@lines, <FILE>); 72 for (my $i = 0; $i < @lines; $i++) { 73 my $line = $lines[$i]; 91 $line = $lines[$i]; 104 $line = $lines[++$i]; 106 while ($lines[$i+1] !~ /^(?:-|\d)/) { 112 $line = $lines[++$i];
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
jsonchecker.py | 30 """Processes JSON lines for checking style.""" 38 def check(self, lines): 40 json.loads('\n'.join(lines) + '\n')
|
xml.py | 31 """Processes XML lines for checking style.""" 37 def check(self, lines): 40 for line in lines:
|
/external/chromium_org/tools/checkdeps/ |
results.py | 75 lines = [] 76 lines.append('\nERROR in %s' % dependee_status.dependee_path) 78 lines.append(self.FormatViolation(violation, self.verbose)) 79 self.results.append('\n'.join(lines)) 83 lines = [] 85 lines.append(' For %s' % violation.rules) 86 lines.append( 89 return '\n'.join(lines)
|
/external/markdown/markdown/extensions/ |
footnotes.py | 153 def run(self, lines): 154 lines = self._handleFootnoteDefinitions(lines) 155 text = "\n".join(lines) 158 def _handleFootnoteDefinitions(self, lines): 160 Recursively find all footnote definitions in lines. 164 * lines: A list of lines of text 166 Return: A list of lines with footnote definitions removed. 169 i, id, footnote = self._findFootnoteDefinition(lines) [all...] |
meta.py | 27 >>> text = ' Some Code - not extra lines of meta data.' 30 u'<pre><code>Some Code - not extra lines of meta data.\\n</code></pre>' 61 def run(self, lines): 66 line = lines.pop(0) 79 lines.insert(0, line) 82 return lines
|
/external/skia/tests/ |
PathOpsAngleTest.cpp | 42 static const SkPoint lines[][2] = { variable 67 {lines[0], 2, 0.574070336, 0.388888889, {0, 0}}, 69 {lines[0], 2, 0.574070336, 0.9140625, {0, 0}}, 74 {lines[0], 2, 0.574074074, 0.9140625, {4.44444466f,2.77777767f}}, 79 {lines[0], 2, 0.574074074, 0.388888889, {0, 0}}, 81 {lines[0], 2, 0.574074074, 0.9140625, {0, 0}}, 95 {lines[1], 2, 0.777777778, 1, {0, 0}}, 97 {lines[2], 2, 0, 1, {0, 0}}, 101 {lines[1], 2, 0.777777778, 1, {306,590}}, 103 {lines[2], 2, 0, 1, {306,617}} [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SMSDispatcherTest.java | 40 String[] lines = new String[2]; local 42 lines[0] = "+CMT: ,158"; 43 lines[1] = "07914140279510F6440A8111110301003BF56080426101748A8C0B05040B" 50 sms = SmsMessage.newFromCMT(lines); 70 String[] lines = new String[2]; local 72 lines[0] = "+CMT: ,77"; 73 lines[1] = "07914140279510F6440A8111110301003BF56080426101848A3B0B05040B8423F" 77 sms = SmsMessage.newFromCMT(lines);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
data.py | 16 * lines: a dict mapping filenames to sorted lists of line numbers 51 self.lines = {} 74 self.lines, self.arcs = self._read_file(self.filename) 76 self.lines, self.arcs = {}, {} 98 self.lines = {} 104 [(f, self.sorted(lmap.keys())) for f, lmap in self.lines.items()] 119 data['lines'] = self.line_data() 136 self.lines, self.arcs = self._read_file(filename) 150 Returns two values, suitable for assigning to `self.lines` and 154 lines = { [all...] |
/frameworks/native/opengl/libs/GLES_trace/tools/ |
genapi.py | 348 lines = open(apiEntryFile).readlines() 351 for i in range(0, len(lines)/3): 352 apis.append(ApiCall(prefix, lines[i*3], lines[i*3+1])) 380 lines = [] 381 lines.append(HEADER_LICENSE) 382 lines.append(HEADER_NAMESPACE_START) 386 lines.append("\n// Declarations for %s APIs\n\n" % api.prefix) 388 lines.append(api.genDeclaration()) 389 lines.append("\n" [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
WrappedGTestResultParser.java | 56 public void processNewLines(String[] lines) { 61 String[] gtestOutput = parseInstrumentation(lines); 69 * @param lines the raw instrumentation output 72 public String[] parseInstrumentation(String[] lines) { 75 for (String line : lines) {
|
/external/chromium_org/chrome/test/chromedriver/ |
cpp_source.py | 56 lines = [] 58 lines = [' "%s"' % EscapeLine(contents)] 61 lines += [' "%s\\n"' % EscapeLine(line)] 62 definitions += ['const char %s[] =\n%s;' % (name, '\n'.join(lines))]
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_ls.h | 23 const std::vector<base::string16>& lines,
|
ftp_directory_listing_parser_netware.h | 23 const std::vector<base::string16>& lines,
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleDeprecatedFlexibleBoxData.h | 51 unsigned lines : 1; // EBoxLines
|
/external/chromium_org/third_party/skia/include/core/ |
SkLineClipper.h | 27 of those segments sequentially in lines as follows: 28 1st segment: lines[0]..lines[1] 29 2nd segment: lines[1]..lines[2] 30 3rd segment: lines[2]..lines[3] 33 SkPoint lines[kMaxPoints]);
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
xml_formatted_writer.py | 71 lines = xml[1:len(xml) - 1].split('><') 75 for i, line in enumerate(lines): 80 lines[i] = indent + '<' + line + '>' 86 # Reconstruct XML text from the lines. 87 return '\n'.join(lines)
|
/external/chromium_org/tools/ |
include_tracer.py | 176 lines = open(resolved_filename).readlines() 179 lines = [] 180 for line in lines: 192 return total_bytes + len("".join(lines))
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
block_page_measurement_results_unittest.py | 37 def lines(self): member in class:BlockPageMeasurementResultsTest 38 lines = StringIO.StringIO(self._output.getvalue()).readlines() 39 return [line.strip() for line in lines] 43 return [line.split(': ', 1) for line in self.lines]
|
/external/guava/guava/src/com/google/common/io/ |
LineReader.java | 29 * A class for reading lines of text. Provides the same functionality 43 private final Queue<String> lines = new LinkedList<String>(); field in class:LineReader 46 lines.add(line); 51 * Creates a new instance that will read lines from the given 72 while (lines.peek() == null) { 85 return lines.poll();
|
/external/harfbuzz_ng/src/ |
check-header-guards.sh | 18 lines=`grep "\<$tag\>" "$x" | wc -l | sed 's/[ ]*//g'` 19 if test "x$lines" != x3; then
|
/external/skia/include/core/ |
SkLineClipper.h | 27 of those segments sequentially in lines as follows: 28 1st segment: lines[0]..lines[1] 29 2nd segment: lines[1]..lines[2] 30 3rd segment: lines[2]..lines[3] 33 SkPoint lines[kMaxPoints]);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
keyword.py | 64 lines = [] 69 lines.append(" '" + match.group(1) + "',\n") 71 lines.sort() 78 # insert the lines of keywords 82 format[start:end] = lines
|