/external/jdiff/src/jdiff/ |
DiffMyers.java | 8 edit script. The objects compared are traditionally lines 94 The diagonal number equals the number of inserted lines minus the number 95 of deleted lines (counting only lines before the midpoint). 97 lines inserted or deleted (counting only lines before the midpoint). 99 This function assumes that the first lines of the specified portions 100 of the two files do not match, and likewise that the last lines do not 101 match. The caller must trim matching lines from the beginning and end 286 All line numbers are origin-0 and discarded lines are not counted. * [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/ |
pajek.py | 27 """Generate lines in Pajek graph format. 133 lines = (line.decode(encoding) for line in path) 134 return parse_pajek(lines) 136 def parse_pajek(lines): 141 lines : string or iterable 155 if is_string_like(lines): lines=iter(lines.split('\n')) 156 lines = iter([line.rstrip('\n') for line in lines]) [all...] |
/art/tools/ |
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...] |
/art/compiler/ |
cfi_test.h | 40 std::vector<std::string> lines; local 56 ReformatCfi(Objdump(false, "-W"), &lines); local 63 ReformatAsm(&stream, &lines); 65 std::stable_sort(lines.begin(), lines.end(), CompareByAddress); 66 for (const std::string& line : lines) { 80 // Spit to lines and remove raw instruction bytes. 98 // Find interesting parts of objdump output and prefix the lines with address. 99 static void ReformatCfi(const std::vector<std::string>& lines, 102 for (const std::string& line : lines) { [all...] |
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 50 // Skip comment lines (start with a character below 'A'). 51 if(lines[i].name[0]>=0x41) { 54 int32_t len=lines[i].len; 56 while(len>0 && ((c=lines[i].name[len-1])==0xa || c==0xd)) { 59 lines[i].len=len; 70 const ULine *getCachedLines() const { return lines; } 72 int32_t numTextLines; // excluding comment lines 408 const ULine *lines=perf.getCachedLines(); local 411 // Skip comment lines (start with a character below 'A'). 412 if(lines[i].name[0]<0x41) 441 const ULine *lines=perf.getCachedLines(); local 465 const ULine *lines=perf.getCachedLines(); local 511 const ULine *lines=perf.getCachedLines(); local 590 const ULine *lines=perf.getCachedLines(); local 617 const ULine *lines=perf.getCachedLines(); local [all...] |
/external/markdown/markdown/ |
blockprocessors.py | 42 lines = text.split('\n') 43 for line in lines: 50 return '\n'.join(newtext), '\n'.join(lines[len(newtext):]) 53 """ Remove a tab from front of lines but allowing dedented lines. """ 54 lines = text.split('\n') 55 for i in range(len(lines)): 56 if lines[i].startswith(' '*markdown.TAB_LENGTH*level): 57 lines[i] = lines[i][markdown.TAB_LENGTH*level: [all...] |
/external/google-breakpad/src/common/ |
dwarf_line_to_module.h | 67 // line parser will call AddLine with a series of lines starting at address 104 // Instead of collecting runs of lines describing code that is not there, 117 // files to MODULE, and add all lines to the end of LINES. LINES 121 // sort out which lines belong to which functions; we don't add them 124 vector<Module::Line> *lines) 127 lines_(lines), 152 // lines are being accumulated. 155 // The vector of lines we're accumulating. Owned by our client [all...] |
/external/valgrind/gdbserver_tests/ |
filter_gdb | 15 # memcheck filter might leave some "..." lines, we are not interested 19 # delete the initial lines between the launch of vgdb and the 21 # This removes a whole lot of uninteresting lines varying 24 # lines. 25 # suppress lines telling file _exit.c does not exist 33 # delete Reading symbols file lines 34 # delete Loaded symbols file lines 44 # and cleanup some lines for a system call (on ubuntu 10 64 bits) 50 # SIGFPE backtrace is varying so much that we just remove all lines 53 # delete lines telling that some memory can't be accessed: this i [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
inspect.py | 375 lines = string.split(string.expandtabs(doc), '\n') 379 # Find minimum indentation of any non-blank lines after first line. 381 for line in lines[1:]: 387 if lines: 388 lines[0] = lines[0].lstrip() 390 for i in range(1, len(lines)): lines[i] = lines[i][margin:] 391 # Remove any trailing or leading blank lines [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
inspect.py | 375 lines = string.split(string.expandtabs(doc), '\n') 379 # Find minimum indentation of any non-blank lines after first line. 381 for line in lines[1:]: 387 if lines: 388 lines[0] = lines[0].lstrip() 390 for i in range(1, len(lines)): lines[i] = lines[i][margin:] 391 # Remove any trailing or leading blank lines [all...] |
/build/core/ |
checktree | 54 lines = fd.readlines() 62 if len(lines) >= 1: 63 lines = filter(filterit, lines) 64 if len(lines) >= 1: 65 return map(matchit, lines)
|
/build/tools/ |
compare_fileslist.py | 37 lines = f.readlines() 39 lines = map(string.split, lines) 40 lines = map(lambda (x,y): (y,int(x)), lines) 41 for fn,sz in lines:
|
/cts/tests/tests/security/src/android/security/cts/ |
ServicePermissionsTest.java | 121 final ArrayList<String> lines = new ArrayList<String>(); local 125 lines.add(line); 132 if (lines.size() > 1) { 133 fail("dump() for " + service + " produced several lines of output; this " 138 if (lines.size() == 1) { 139 String message = lines.get(0);
|
/external/chromium-trace/trace-viewer/tracing/tracing/extras/importer/linux_perf/ |
power_parser_test.html | 16 var lines = [ 24 var m = new tr.Model(lines.join('\n'), false); 37 var lines = [ 47 var m = new tr.Model(lines.join('\n'), false); 60 var lines = [ 74 var m = new tr.Model(lines.join('\n'), false);
|
/external/guava/guava/src/com/google/common/io/ |
LineReader.java | 30 * A class for reading lines of text. Provides the same functionality 44 private final Queue<String> lines = new LinkedList<String>(); field in class:LineReader 47 lines.add(line); 52 * Creates a new instance that will read lines from the given 72 while (lines.peek() == null) { 85 return lines.poll();
|
/external/guava/guava-tests/test/com/google/common/io/ |
CharSinkTester.java | 61 private final ImmutableList<String> lines; field in class:CharSinkTester 69 this.lines = getLines(string); 108 sink.writeLines(lines); 115 sink.writeLines(lines, separator); 128 if (!lines.isEmpty()) { 129 // if we wrote any lines in writeLines(), there will be a trailing newline
|
/external/harfbuzz_ng/util/ |
view-cairo.cc | 38 (vertical ? *w : *h) = (int) lines->len * (font_extents.height + view_options.line_space) - view_options.line_space; 40 for (unsigned int i = 0; i < lines->len; i++) { 41 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i); 82 descent = font_extents.height * (lines->len + .5); 86 for (unsigned int i = 0; i < lines->len; i++) 88 helper_cairo_line_t &l = g_array_index (lines, helper_cairo_line_t, i);
|
/external/llvm/utils/lit/lit/formats/ |
googletest.py | 32 lines = lit.util.capture([path, '--gtest_list_tests'], 35 lines = lines.replace('\r', '') 36 lines = lines.split('\n') 42 for ln in lines:
|
/external/markdown/markdown/extensions/ |
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/toybox/toys/posix/ |
uniq.c | 1 /* uniq.c - report or filter out repeated lines in a file 15 Report or filter out repeated lines in a file 18 -d show only lines that are repeated 19 -u show only lines that are unique 20 -i ignore case when comparing lines 21 -z lines end with \0 not \n
|
/build/core/tasks/check_boot_jars/ |
check_boot_jars.py | 22 lines = [] 28 lines.append(line) 29 combined_re = r'^(%s)$' % '|'.join(lines)
|
/development/build/tools/ |
sdk_clean.sh | 10 # Remove BEGIN_INCLUDE and END_INCLUDE lines used by the javadoc. 12 # This does it by replacing these lines with blank lines so line numbers aren't
|
/external/ceres-solver/data/nist/ |
DanWood.dat | 5 Starting Values (lines 41 to 42)
6 Certified Values (lines 41 to 47)
7 Data (lines 61 to 66)
|
Rat43.dat | 5 Starting Values (lines 41 to 44)
6 Certified Values (lines 41 to 49)
7 Data (lines 61 to 75)
|
Roszman1.dat | 5 Starting Values (lines 41 to 44)
6 Certified Values (lines 41 to 49)
7 Data (lines 61 to 85)
|