/external/skia/include/core/ |
SkLineClipper.h | 19 of those segments sequentially in lines as follows: 20 1st segment: lines[0]..lines[1] 21 2nd segment: lines[1]..lines[2] 22 3rd segment: lines[2]..lines[3] 25 SkPoint lines[kMaxPoints]);
|
/external/elfutils/libdw/ |
dwarf_onesrcline.c | 1 /* Return one of the sources lines of a CU. 23 dwarf_onesrcline (Dwarf_Lines *lines, size_t idx) 25 if (lines == NULL) 28 if (idx >= lines->nlines) 34 return &lines->info[idx];
|
dwarf_getsrc_die.c | 25 Dwarf_Lines *lines; local 28 if (dwarf_getsrclines (cudie, &lines, &nlines) != 0) 31 if (addr >= lines->info[0].addr ) 33 if (addr < lines->info[n].addr) 34 return &lines->info[n - 1];
|
/external/v8/tools/ |
js2c.py | 38 def ToCArray(lines): 40 for chr in lines: 48 def RemoveCommentsAndTrailingWhitespace(lines): 49 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments 50 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments. 51 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace 52 return lines [all...] |
/frameworks/base/tests/framework-tests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 42 String[] lines = sout.toString().split("\\n"); local 43 assertEquals(Arrays.asList(lines), out.lines); 52 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 61 assertEquals(Arrays.asList("4" + o, "2"), out.lines); 66 assertEquals(Arrays.asList("Name: Bob"), out.lines); 68 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); 74 assertTrue(out.lines.isEmpty()); 76 assertEquals(Collections.singletonList("42"), out.lines); 82 assertEquals(Arrays.asList("4", "2"), out.lines); 178 final List<String> lines = new ArrayList<String>(); field in class:LoggingPrintStreamTest.TestPrintStream [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
MultiLineReceiver.java | 25 * <p/>Additionally, it splits the string by lines. 27 * new parsed lines as they become available. 39 * Set the trim lines flag. 40 * @param trim hether the lines are trimmed, or not. 68 // now we split the lines 94 // at this point we've split all the lines. 96 String[] lines = mArray.toArray(new String[mArray.size()]); local 99 processNewLines(lines); 117 * Terminates the process. This is called after the last lines have been through 125 * Called when new lines are being received by the remote process [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/ |
diff_parser_unittest.py | 45 unsigned lines : 1; // EBoxLines 95 self.assertEquals(7, len(diff.lines)) 96 # The first two unchaged lines. 97 self.assertEquals((47, 47), diff.lines[0][0:2]) 98 self.assertEquals('', diff.lines[0][2]) 99 self.assertEquals((48, 48), diff.lines[1][0:2]) 100 self.assertEquals(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2]) 102 self.assertEquals((50, 0), diff.lines[3][0:2]) 103 self.assertEquals(' unsigned orient: 1; // EBoxOrient', diff.lines[3][2]) 109 self.assertEquals(7 + 7 + 9, len(diff.lines)) [all...] |
/external/svox/pico/tests/data/ |
xsampa_pico_man_README.txt | 18 - the lines used in the test are between the lines marked "BEGIN_TEST" and "END_TEST", 19 - lines that start with "#" are not spoken. 21 run the test, i.e. play all valid test lines in the test file. Copy the test files to the
|
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/ |
text.py | 35 """Processes text lines for checking style.""" 41 def process(self, lines): 42 lines = (["// adjust line numbers to make the first line 1."] + lines) 45 for line_number, line in enumerate(lines): 53 def process_file_data(filename, lines, error): 55 processor.process(lines)
|
text_unittest.py | 40 def assertNoError(self, lines): 41 """Asserts that the specified lines has no errors.""" 48 text_style.process_file_data('', lines, error_for_test) 49 self.assert_(not self.had_error, '%s should not have any errors.' % lines) 51 def assertError(self, lines, expected_line_number): 52 """Asserts that the specified lines has an error.""" 61 text_style.process_file_data('', lines, error_for_test) 62 self.assert_(self.had_error, '%s should have an error [whitespace/tab].' % lines)
|
/external/webkit/JavaScriptCore/tests/mozilla/ |
importList.html | 15 var lines = 23 for (var l in lines) 25 if (lines[l].search(/^\s$|\s*\#/) == -1) 27 var ary = lines[l].match (/(.*)\/(.*)\/(.*)/); 30 if (!confirm ("Line " + lines[l] + " is confusing, " +
|
/external/webkit/WebCore/rendering/style/ |
StyleFlexibleBoxData.cpp | 36 , lines(RenderStyle::initialBoxLines()) 48 , lines(o.lines) 56 pack == o.pack && orient == o.orient && lines == o.lines;
|
/external/v8/test/mjsunit/ |
debug-sourceslice.js | 29 // Source lines for test. 30 var lines = [ 'function a() { b(); };\n', variable 42 // Build source by putting all lines together 44 for (var i = 0; i < lines.length; i++) { 45 source += lines[i]; 61 for (var slice_size = 0; slice_size < lines.length; slice_size++) { 62 for (var n = 0; n < lines.length - slice_size; n++) { 70 expected += lines[n + i];
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SMSDispatcherTest.java | 38 String[] lines = new String[2]; local 40 lines[0] = "+CMT: ,158"; 41 lines[1] = "07914140279510F6440A8111110301003BF56080426101748A8C0B05040B" 48 sms = SmsMessage.newFromCMT(lines); 68 String[] lines = new String[2]; local 70 lines[0] = "+CMT: ,77"; 71 lines[1] = "07914140279510F6440A8111110301003BF56080426101848A3B0B05040B8423F" 75 sms = SmsMessage.newFromCMT(lines);
|
/external/icu4c/tools/genprops/misc/ |
ucdstrip.pl | 5 # Removes comments behind data lines but not in others.
|
/external/webkit/WebCore/manual-tests/ |
whitespace-pre-affinity.html | 6 <li>double-click a few times on the blanks lines below</li>
|
/external/quake/quake/src/WinQuake/ |
console.h | 29 extern int con_notifylines; // scan lines to clear for notify lines 35 void Con_DrawConsole (int lines, qboolean drawinput);
|
/external/webkit/WebCore/inspector/front-end/ |
DOMSyntaxHighlighter.js | 48 var lines = node.textContent.split("\n"); 51 for (var i = lines[0].length ? 0 : 1; i < lines.length; ++i) { 52 var line = lines[i]; 75 if (i < lines.length - 1)
|
/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
memorizingfile.py | 35 A memorizing file wraps a file and memorizes lines read by readline. 43 """MemorizingFile wraps a file and memorizes lines read by readline. 46 is good enough for memorizing lines SimpleHTTPServer reads before 54 max_memorized_lines: the maximum number of lines to memorize. 77 """Get lines memorized so far."""
|
/packages/wallpapers/MusicVisualization/res/values/ |
cube.xml | 42 <!-- start,end point index tuples of the lines defining the object --> 43 <string-array name="lines" translatable="false"> 44 <!-- lines forming one face --> 50 <!-- lines forming the opposite face --> 56 <!-- lines connecting the two faces -->
|
/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...] |
/external/kernel-headers/original/asm-generic/ |
xor.h | 21 long lines = bytes / (sizeof (long)) / 8; local 34 } while (--lines > 0); 41 long lines = bytes / (sizeof (long)) / 8; local 55 } while (--lines > 0); 62 long lines = bytes / (sizeof (long)) / 8; local 77 } while (--lines > 0); 84 long lines = bytes / (sizeof (long)) / 8; local 100 } while (--lines > 0); 106 long lines = bytes / (sizeof (long)) / 8; local 136 } while (--lines > 0) 143 long lines = bytes \/ (sizeof (long)) \/ 8; local 189 long lines = bytes \/ (sizeof (long)) \/ 8; local 244 long lines = bytes \/ (sizeof (long)) \/ 8; local 307 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 334 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 364 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 398 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 434 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 480 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 537 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local 605 long lines = bytes \/ (sizeof (long)) \/ 8 - 1; local [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:
|
/external/guava/src/com/google/common/io/ |
LineReader.java | 28 * A class for reading lines of text. Provides the same functionality 41 private final Queue<String> lines = new LinkedList<String>(); field in class:LineReader 44 lines.add(line); 49 * Creates a new instance that will read lines from the given 70 while (lines.peek() == null) { 83 return lines.poll();
|