/external/chromium/net/ftp/ |
ftp_directory_listing_parser_vms.h | 19 const std::vector<string16>& lines,
|
ftp_directory_listing_parser_windows.h | 19 const std::vector<string16>& lines,
|
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...] |
/external/quake/quake/src/QW/client/ |
menu.h | 38 void M_DrawTextBox (int x, int y, int width, int lines);
|
/external/skia/include/core/ |
SkLineClipper.h | 26 of those segments sequentially in lines as follows: 27 1st segment: lines[0]..lines[1] 28 2nd segment: lines[1]..lines[2] 29 3rd segment: lines[2]..lines[3] 32 SkPoint lines[kMaxPoints]);
|
/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/elfutils/libdw/ |
dwarf_entry_breakpoints.c | 91 Dwarf_Lines *lines; local 93 if (INTUSE(dwarf_getsrclines) (&cudie, &lines, &nlines) < 0) 112 if (lines->info[idx].addr < low) 114 else if (lines->info[idx].addr > low) 116 else if (lines->info[idx].end_sequence) 127 for (size_t i = l; i < u && lines->info[i].addr < high; ++i) 128 if (lines->info[i].prologue_end 129 && add_bkpt (lines->info[i].addr) < 0) 132 while (++l < nlines && lines->info[l].addr < high) 133 if (!lines->info[l].end_sequence [all...] |
dwarf_getsrcfiles.c | 71 if (cu->lines == NULL) 73 Dwarf_Lines *lines; local 78 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines);
|
/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:
|
/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)
|
/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/icu4c/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 52 // Skip comment lines (start with a character below 'A'). 53 if(lines[i].name[0]>=0x41) { 56 int32_t len=lines[i].len; 58 while(len>0 && ((c=lines[i].name[len-1])==0xa || c==0xd)) { 61 lines[i].len=len; 72 const ULine *getCachedLines() const { return lines; } 74 int32_t numTextLines; // excluding comment lines 348 const ULine *lines=perf.getCachedLines(); local 351 // Skip comment lines (start with a character below 'A'). 352 if(lines[i].name[0]<0x41) 369 const ULine *lines=perf.getCachedLines(); local 460 const ULine *lines=perf.getCachedLines(); local 493 const ULine *lines=perf.getCachedLines(); local 517 const ULine *lines=perf.getCachedLines(); local 563 const ULine *lines=perf.getCachedLines(); local 642 const ULine *lines=perf.getCachedLines(); local 669 const ULine *lines=perf.getCachedLines(); local [all...] |
/frameworks/native/opengl/libs/GLES_trace/tools/ |
genapi.py | 340 lines = open(apiEntryFile).readlines() 343 for i in range(0, len(lines)/3): 344 apis.append(ApiCall(prefix, lines[i*3], lines[i*3+1])) 372 lines = [] 373 lines.append(HEADER_LICENSE) 374 lines.append(HEADER_NAMESPACE_START) 378 lines.append("\n// Declarations for %s APIs\n\n" % api.prefix) 380 lines.append(api.genDeclaration()) 381 lines.append("\n" [all...] |
/external/guava/guava/src/com/google/common/io/ |
LineReader.java | 29 * A class for reading lines of text. Provides the same functionality 43 private final Queue<String> lines = new LinkedList<String>(); field in class:LineReader 46 lines.add(line); 51 * Creates a new instance that will read lines from the given 72 while (lines.peek() == null) { 85 return lines.poll();
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
FASerializer.java | 86 List lines = new ArrayList(); local 88 walkSerializingFA(lines, s); 93 lines.add(s0+"\n"); 96 // sort lines to normalize; makes states come out ordered 98 Collections.sort(lines); 99 for (int i = 0; i < lines.size(); i++) { 100 String line = (String) lines.get(i); 135 protected void walkSerializingFA(List lines, State s) { 188 lines.add(buf.toString()); 191 walkSerializingFA(lines, edge.target) [all...] |