HomeSort by relevance Sort by last modified time
    Searched refs:lines (Results 26 - 50 of 426) sorted by null

12 3 4 5 6 7 8 91011>>

  /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...]
  /external/chromium/net/ftp/
ftp_directory_listing_parser_netware.cc 39 const std::vector<string16>& lines,
42 if (!lines.empty() && !StartsWith(lines[0], ASCIIToUTF16("total "), true))
45 for (size_t i = 1U; i < lines.size(); i++) {
46 if (lines[i].empty())
50 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns);
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_parser_windows.cc 78 const std::vector<string16>& lines,
80 for (size_t i = 0; i < lines.size(); i++) {
81 if (lines[i].empty())
85 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns);
113 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i], 3);
ftp_directory_listing_parser.cc 45 std::vector<string16> lines; local
46 base::SplitString(text, '\n', &lines);
51 if (ParseFtpDirectoryListingLs(lines, current_time, entries)) {
57 if (ParseFtpDirectoryListingWindows(lines, entries)) {
63 if (ParseFtpDirectoryListingVms(lines, entries)) {
69 if (ParseFtpDirectoryListingNetware(lines, current_time, entries)) {
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
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)
xml.py 31 """Processes XML lines for checking style."""
37 def check(self, lines):
40 for line in lines:
  /frameworks/base/opengl/libs/GLES2_dbg/
generate_debug_in.py 23 def append_functions(functions, lines):
25 for line in lines:
61 lines = open("gl2_api_annotated.in").readlines() variable
62 definedFunctions = append_functions(definedFunctions, lines)
65 lines = open("../trace.in").readlines() variable
67 for line in lines:
  /external/llvm/utils/lint/
cpp_lint.py 13 def VerifyIncludes(filename, lines):
19 lines: contents of the file as string array
34 for line in lines:
76 def RunOnFile(self, filename, lines):
78 lint.extend(VerifyIncludes(filename, lines))
79 lint.extend(common_lint.VerifyLineLength(filename, lines,
81 lint.extend(common_lint.VerifyTabs(filename, lines))
82 lint.extend(common_lint.VerifyTrailingWhitespace(filename, lines))
  /external/clang/utils/C++Tests/LLVM-Code-Symbols/
check-symbols 16 lines = data.split('\n')
17 lines.sort()
20 lines = [ln for ln in lines
23 return lines
  /external/webkit/Source/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/elfutils/libdw/
dwarf_getsrcfiles.c 34 if (cu->lines == NULL)
36 Dwarf_Lines *lines; local
41 res = dwarf_getsrclines (cudie, &lines, &nlines);
  /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/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/
shell.js 67 var lines = msg.split ("\n");
72 for (var i=0; i<lines.length; i++)
73 print (FAILED + prefix + lines[i]);
82 var lines = msg.split ("\n");
85 for (var i=0; i<lines.length; i++)
86 print (STATUS + lines[i]);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/
shell.js 67 var lines = msg.split ("\n");
72 for (var i=0; i<lines.length; i++)
73 print (FAILED + prefix + lines[i]);
82 var lines = msg.split ("\n");
85 for (var i=0; i<lines.length; i++)
86 print (STATUS + lines[i]);
  /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/webkit/Source/ThirdParty/ANGLE/src/compiler/
generate_glslang_parser.sh 12 bison --no-lines --skeleton=yacc.c --defines=$output_header --output=$output_source $input_file
  /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/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();
  /external/chromium/chrome/browser/chromeos/
version_loader.cc 91 // The file contains lines such as:
94 // Split the lines and look for the one that starts with prefix. The version
96 std::vector<std::string> lines; local
97 base::SplitString(contents, '\n', &lines);
98 for (size_t i = 0; i < lines.size(); ++i) {
99 if (StartsWithASCII(lines[i], prefix, false)) {
100 std::string version = lines[i].substr(std::string(prefix).size());
114 // The file contains lines such as:
122 std::vector<std::string> lines; local
123 base::SplitString(contents, '\n', &lines);
    [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...]
  /external/emma/core/java12/com/vladium/emma/data/
MethodDescriptor.java 137 final int [] lines = blockMap [bl]; local
138 if (lines != null)
140 final int lineCount = lines.length;
144 final int line = lines [l];
158 final int [] lines = lineMap.keys (); local
159 for (int l = 0, lineCount = lines.length; l < lineCount; ++ l)
161 final int line = lines [l];
203 final int [] lines = m_blockMap [bl]; local
204 for (int l = 0; l < lines.length; ++ l)
207 s.append (lines [l])
213 final int [] lines = m_lineMap.keys (); local
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/
FileSystemUtils.java 225 List<String> lines = performCommand(cmdAttribs, Integer.MAX_VALUE); local
227 // now iterate over the lines we just read and find the LAST
231 for (int i = lines.size() - 1; i >= 0; i--) {
232 String line = lines.get(i);
237 // all lines are blank
322 // perform the command, asking for up to 3 lines (header, interesting, overflow)
323 List<String> lines = performCommand(cmdAttribs, 3); local
324 if (lines.size() < 2) {
328 "for path '" + path + "'- response was " + lines);
330 String line2 = lines.get(1); // the line we're interested in
397 List<String> lines = new ArrayList<String>(20); 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)

Completed in 215 milliseconds

12 3 4 5 6 7 8 91011>>