/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_StringIO.py | 113 lines = ['x' * (linesize - 1) + '\n'] * (size // linesize) + \ 115 f = self.MODULE.StringIO(''.join(lines)) 116 for i, expected in enumerate(lines): 122 for i, expected in enumerate(lines): 128 self.assertEqual(f.readlines(), lines) 131 self.assertEqual(f.readlines(size), lines)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 214 String[] lines = value.split("\n"); local 217 while ((element = parseLines(lines, index)) != null) { 224 * Parses one element from the input lines array, starting at the inOutIndex 227 private static SimpleElement parseLines(String[] lines, int[] inOutIndex) { 230 while (index < lines.length) { 231 String line = lines[index++]; 296 SimpleElement e2 = SimpleElement.parseLines(lines, inOutIndex);
|
/external/bison/examples/calc++/ |
location.hh | 101 /// Extend the current location to the COUNT next lines. 102 void lines (unsigned int count = 1) function in class:yy::location 104 end.lines (count);
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
doctest_webapp.py | 141 lines = [l for l in content.splitlines() if l.strip()] 142 for line in lines: 176 lines = data.splitlines() 178 for line in lines: 245 lines = f.readlines() 249 lines[line:line] = [text] 251 lines[line:text] = [] 256 f.write(''.join(lines)) 272 # Source consists of a PS1 line followed by zero or more PS2 lines. 275 (?:\n [ ]* \.\.\. .*)*) # PS2 lines [all...] |
/external/clang/tools/clang-format/ |
clang-format-diff.py | 17 lines. This is useful to reformat all the lines touched by a specific patch. 40 'Reformat changed lines in diff. Without -i ' 63 # Extract changed lines for each file. 90 ['-lines', str(start_line) + ':' + str(end_line)]) 93 for filename, lines in lines_by_file.iteritems(): 99 command.extend(lines)
|
/external/deqp/scripts/ |
convert_case_list_to_xml.py | 72 lines = open(packageName + ".cases").readlines() variable 74 for line in lines:
|
/external/google-breakpad/src/processor/ |
fast_source_line_resolver_types.h | 89 lines = StaticRangeMap<MemAddr, Line>( 93 StaticRangeMap<MemAddr, Line> lines; member in struct:google_breakpad::FastSourceLineResolver::Function
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
gmock_class.py | 123 lines = [] 133 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # } 134 lines.append('') 137 lines.append('class Mock%s : public %s {' % (class_name, class_name)) # } 138 lines.append('%spublic:' % (' ' * (_INDENT // 2))) 141 _GenerateMethods(lines, source, class_node) 144 if lines: 146 if len(lines) == 2: 147 del lines[-1] 150 lines.append('};' [all...] |
/external/lldb/test/pexpect-2.4/examples/ |
ssh_session.py | 65 lines = child.readlines() 66 self.f.write(lines)
|
/external/mesa3d/scons/ |
source_list.py | 86 # more lines to come 95 # combine with previous lines 116 lines = fp.read().splitlines() 121 for line in lines:
|
/external/parameter-framework/test/functional-tests/PfwTestCase/Functions/ |
tFunction_listingFunctions.py | 322 lines = f_temp_file.readlines() 325 for line in lines : 374 lines = f_temp_file.readlines() 377 for line in lines : 426 lines = f_temp_file.readlines() 429 for line in lines : 475 lines = f_temp_file.readlines() 478 for line in lines :
|
/external/skia/tests/ |
PathOpsCubicIntersectionTestData.cpp | 112 const SkDCubic lines[] = { variable 145 const size_t lines_count = SK_ARRAY_COUNT(lines);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
header.py | 173 lines. 192 # is the same length as subsequent lines. 198 # Second and subsequent lines should subtract off the length in 397 ASCII lines on, in rough support of RFC 2822's `highest level 398 syntactic breaks'. This doesn't affect RFC 2047 encoded lines. 424 lines = [] 431 lines.append(line) 444 lines.append(line) 461 onfirstline = not lines 470 lines.append(joiner.join(this) + eol [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
IdleHistory.py | 24 # Get source code from start index to end index. Lines in the 26 lines = self.text.get(start, end).split(self.output_sep) 27 return "\n".join(lines)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
header.py | 173 lines. 192 # is the same length as subsequent lines. 198 # Second and subsequent lines should subtract off the length in 397 ASCII lines on, in rough support of RFC 2822's `highest level 398 syntactic breaks'. This doesn't affect RFC 2047 encoded lines. 424 lines = [] 431 lines.append(line) 444 lines.append(line) 461 onfirstline = not lines 470 lines.append(joiner.join(this) + eol [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
IdleHistory.py | 24 # Get source code from start index to end index. Lines in the 26 lines = self.text.get(start, end).split(self.output_sep) 27 return "\n".join(lines)
|
/art/tools/ |
cpplint.py | 675 """Tracks current function name and the number of lines in its body.""" 701 """Report if too many lines in function body. 725 ' %s has %d non-comment lines' 726 ' (error triggered by exceeding %d lines).' % ( [all...] |
checker.py | 23 # compiler. "Check lines" are assertions formatted as comments of the Java file. 28 # passes. Each group of check lines therefore must start with a 'CHECK-START' 33 # Matching of check lines is carried out in the order of appearance in the 34 # source file. There are three types of check lines: 36 # later than lines matched against any preceeding checks. Output 37 # lines must therefore match the check lines in the same order. 40 # later than lines matched against any preceeding in-order checks. 41 # In other words, the order of output lines does not matter 44 # later than lines matched against any preceeding checks an [all...] |
/external/compiler-rt/lib/sanitizer_common/scripts/ |
cpplint.py | 675 """Tracks current function name and the number of lines in its body.""" 701 """Report if too many lines in function body. 721 ' %s has %d non-comment lines' 722 ' (error triggered by exceeding %d lines).' % ( [all...] |
/external/icu/icu4c/source/test/perf/normperf/ |
normperf.cpp | 142 fprintf(stderr, "FAILED to read lines from file and create UPerfTest object. Error: %s\n", u_errorName(status)); 198 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); 227 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,lines,numLines, uselen); 257 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,lines,numLines, uselen); 286 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,lines,numLines, uselen); 315 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,lines,numLines, uselen); 344 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); 372 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFD, options,uselen); 400 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_FCD, options,uselen); 429 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFC, options,uselen) [all...] |
/external/google-breakpad/src/testing/gtest/scripts/ |
upload.py | 513 lines = [] 515 lines.append('--' + BOUNDARY) 516 lines.append('Content-Disposition: form-data; name="%s"' % key) 517 lines.append('') 518 lines.append(value) 520 lines.append('--' + BOUNDARY) 521 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % 523 lines.append('Content-Type: %s' % GetContentType(filename)) 524 lines.append('') 525 lines.append(value [all...] |
/external/google-breakpad/src/testing/scripts/ |
upload.py | 513 lines = [] 515 lines.append('--' + BOUNDARY) 516 lines.append('Content-Disposition: form-data; name="%s"' % key) 517 lines.append('') 518 lines.append(value) 520 lines.append('--' + BOUNDARY) 521 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % 523 lines.append('Content-Type: %s' % GetContentType(filename)) 524 lines.append('') 525 lines.append(value [all...] |
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
AtraceHostTest.java | 158 String[] lines = output.split("\\r?\\n"); local 161 assertEquals("capturing trace... done", lines[0]); 162 assertEquals("TRACE:", lines[1]); 165 assertEquals("# tracer: nop", lines[2]);
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Pyramid.h | 45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
main-scripts.rb | 74 lines = output.string.split( /\n/ ) 75 lines.should have( 3 ).things 94 lines = output.string.split( "\n" ) 95 lines.should have( 4 ).things 241 # lines = output.string.split(/\n/) 242 # lines.should have(3).things
|