/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/core/tests/coretests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 46 String[] lines = sout.toString().split("\\n"); local 47 assertEquals(Arrays.asList(lines), out.lines); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 65 assertEquals(Arrays.asList("4" + o, "2"), out.lines); 70 assertEquals(Arrays.asList("Name: Bob"), out.lines); 72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); 78 assertTrue(out.lines.isEmpty()); 80 assertEquals(Collections.singletonList("42"), out.lines); 86 assertEquals(Arrays.asList("4", "2"), out.lines); 182 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/chromium/net/ftp/ |
ftp_ctrl_response_buffer_unittest.cc | 32 ASSERT_EQ(1U, response.lines.size()); 33 EXPECT_EQ("Status Text", response.lines[0]); 51 ASSERT_EQ(1U, response.lines.size()); 52 EXPECT_EQ("Status Text", response.lines[0]); 68 ASSERT_EQ(3U, response.lines.size()); 69 EXPECT_EQ("FirstLine", response.lines[0]); 70 EXPECT_EQ("SecondLine", response.lines[1]); 71 EXPECT_EQ("LastLine", response.lines[2]); 93 ASSERT_EQ(3U, response.lines.size()); 94 EXPECT_EQ("FirstLineContinued", response.lines[0]) [all...] |
ftp_directory_listing_buffer_unittest.cc | 74 std::vector<std::string> lines; local 77 lines.push_back(tokenizer.token()); 78 ASSERT_EQ(0U, lines.size() % 8); 80 for (size_t i = 0; i < lines.size() / 8; i++) { 81 std::string type(lines[8 * i]); 82 std::string name(lines[8 * i + 1]); 83 int64 size = StringToInt64(lines[8 * i + 2]); 88 if (lines[8 * i + 3] == "current") { 93 year = StringToInt(lines[8 * i + 3]); 95 int month = StringToInt(lines[8 * i + 4]) [all...] |
ftp_ctrl_response_buffer.cc | 30 response_buf_.lines.push_back(line_buf_); 36 response_buf_.lines.push_back(line_buf_); 39 // Prepare to handle following lines. 53 response_buf_.lines.push_back(line.status_text); 56 // Prepare to handle following lines.
|
/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/protobuf/src/google/protobuf/compiler/ |
mock_code_generator.cc | 71 vector<string> lines; local 72 SplitStringUsing(content, "\n", &lines); 74 while (!lines.empty() && lines.back().empty()) { 75 lines.pop_back(); 77 for (int i = 0; i < lines.size(); i++) { 78 lines[i] += "\n"; 86 ASSERT_EQ(lines.size(), 3 + insertion_list.size() * 2); 88 lines[0]); local 90 EXPECT_EQ(kFirstInsertionPoint, lines[1 + insertion_list.size()]) 96 lines[1 + i]); local [all...] |
/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/chromium/third_party/icu/source/tools/genprops/misc/ |
ucdstrip.pl | 5 # Removes comments behind data lines but not in others.
|
/external/icu4c/tools/genprops/misc/ |
ucdstrip.pl | 5 # Removes comments behind data lines but not in others.
|
/external/icu4c/tools/genprops/ |
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."""
|