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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/net/ftp/
ftp_directory_listing_parser_vms_unittest.cc 54 std::vector<string16> lines(GetSingleLineTestCase(good_cases[i].input));
57 lines.insert(lines.begin(),
61 lines.insert(lines.end(),
65 EXPECT_TRUE(ParseFtpDirectoryListingVms(lines,
108 std::vector<string16> lines(GetSingleLineTestCase(bad_cases[i]));
111 lines.insert(lines.begin(),
115 lines.insert(lines.end()
    [all...]
ftp_directory_listing_parser_netware_unittest.cc 32 std::vector<string16> lines(GetSingleLineTestCase(good_cases[i].input));
35 lines.insert(lines.begin(), ASCIIToUTF16("total 1"));
38 EXPECT_TRUE(ParseFtpDirectoryListingNetware(lines,
59 std::vector<string16> lines(GetSingleLineTestCase(bad_cases[i]));
62 lines.insert(lines.begin(), ASCIIToUTF16("total 1"));
65 EXPECT_FALSE(ParseFtpDirectoryListingNetware(lines,
ftp_directory_listing_parser_unittest.cc 99 std::vector<std::string> lines; local
102 lines.push_back(tokenizer.token());
104 ASSERT_EQ(8 * entries.size(), lines.size());
106 for (size_t i = 0; i < lines.size() / 8; i++) {
107 std::string type(lines[8 * i]);
108 std::string name(lines[8 * i + 1]);
110 base::StringToInt64(lines[8 * i + 2], &size);
115 base::StringToInt(lines[8 * i + 3], &year);
116 base::StringToInt(lines[8 * i + 4], &month);
117 base::StringToInt(lines[8 * i + 5], &day_of_month)
    [all...]
ftp_directory_listing_parser_ls.h 22 bool ParseFtpDirectoryListingLs(const std::vector<string16>& lines,
ftp_directory_listing_parser_netware.h 23 const std::vector<string16>& lines,
ftp_directory_listing_parser_vms.h 19 const std::vector<string16>& lines,
ftp_directory_listing_parser_windows.h 19 const std::vector<string16>& lines,
  /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];
  /packages/apps/Calendar/src/com/android/calendar/
ColorChipView.java 105 float[] lines = new float[16]; local
107 lines [ptr++] = 0;
108 lines [ptr++] = top;
109 lines [ptr++] = right;
110 lines [ptr++] = top;
111 lines [ptr++] = 0;
112 lines [ptr++] = bottom - halfBorderWidth;
113 lines [ptr++] = right;
114 lines [ptr++] = bottom - halfBorderWidth;
115 lines [ptr++] = left
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
common.py 43 def check(self, lines):
44 """Check for and strip trailing carriage returns from lines."""
45 for line_number in range(len(lines)):
46 if not lines[line_number].endswith("\r"):
55 lines[line_number] = lines[line_number].rstrip("\r")
57 return lines
68 def check(self, lines):
70 for line_number, line in enumerate(lines):
text.py 36 """Processes text lines for checking style."""
43 def check(self, lines):
44 self._tab_checker.check(lines)
48 def process_file_data(filename, lines, error):
50 checker.check(lines)
  /external/webkit/Tools/Scripts/webkitpy/common/checkout/
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/llvm/utils/lint/
generic_lint.py 12 def RunOnFile(self, filename, lines):
13 common_lint.VerifyLineLength(filename, lines,
15 common_lint.VerifyTrailingWhitespace(filename, lines)
common_lint.py 7 def VerifyLineLength(filename, lines, max_length):
8 """Checks to make sure the file has no lines with lines exceeding the length
13 lines: contents of the file as string array
22 for line in lines:
30 def VerifyTabs(filename, lines):
35 lines: contents of the file as string array
44 for line in lines:
51 def VerifyTrailingWhitespace(filename, lines):
52 """Checks to make sure the file has no lines with trailing whitespace
    [all...]
  /external/pcre/
Detrail 3 # This is a script for removing trailing whitespace from lines in files that
12 @lines = <IN>;
14 foreach (@lines)
25 print OUT @lines;
  /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...]
  /build/tools/
post_process_props.py 40 def __init__(self, lines):
41 self.lines = [s[:-1] for s in lines]
45 for line in self.lines:
52 for i in range(0,len(self.lines)):
53 if self.lines[i].startswith(key):
54 self.lines[i] = key + value
56 self.lines.append(key + value)
59 f.write("\n".join(self.lines))
65 lines = f.readlines(
    [all...]
  /frameworks/base/opengl/libs/GLES2_dbg/
generate_debugger_message_proto.py 22 def generate_egl_entries(output, lines, i):
23 for line in lines:
31 def generate_gl_entries(output,lines,i):
32 for line in lines:
74 lines = open("gl2_api_annotated.in").readlines() variable
75 i = generate_gl_entries(output, lines, i)
78 #lines = open("gl2ext_api.in").readlines()
79 #i = generate_gl_entries(output, lines, i)
82 lines = open("../EGL/egl_entries.in").readlines() variable
83 i = generate_egl_entries(output, lines, i
    [all...]
  /external/webkit/Source/WebCore/rendering/style/
StyleFlexibleBoxData.cpp 36 , lines(RenderStyle::initialBoxLines())
48 , lines(o.lines)
56 pack == o.pack && orient == o.orient && lines == o.lines;
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
test_results_uploader.py 58 lines = []
61 lines.append('--' + BOUNDARY)
62 lines.append('Content-Disposition: form-data; name="%s"' % key)
63 lines.append('')
66 lines.append(value)
69 lines.append('--' + BOUNDARY)
70 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % (key, filename))
71 lines.append('Content-Type: %s' % get_mime_type(filename))
72 lines.append('')
75 lines.append(value
    [all...]
  /external/chromium/chrome/browser/importer/
nss_decryptor.cc 117 // Splits the file content into lines.
118 std::vector<std::string> lines; local
119 base::SplitString(content, '\n', &lines);
122 if (lines.empty())
125 if (lines[0] == "#2c")
127 else if (lines[0] == "#2d")
129 else if (lines[0] == "#2e")
142 for (i = 1; i < lines.size() && lines[i].compare(".") != 0; ++i) {
144 form.origin = GURL(lines[i]).ReplaceComponents(rep)
    [all...]
  /external/webkit/Tools/iExploder/iexploder-1.7.2/src/
scanner.rb 39 # puts "Asked: Total Lines: #{total_lines} Line Count: #{width} Offsets: #{offsets.join(',')}"
49 lines = []
56 lines << (offset + line_offset)
58 if lines[-1] >= total_lines - 1
91 return [width, new_offsets, lines]
121 lines = []
125 puts "Find lines: #{find_lines.join(',')}"
126 while not find_lines.all? { |x| lines.include?(x) }
127 (width, offset, lines) = seq_combo_creator(line_count, width, offset)
130 puts "Sequential found #{find_lines.join(',')} in #{attempts} attempts with #{lines.length} total lines.
    [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 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]);

Completed in 1196 milliseconds

1 2 3 4 5 6 7 8 91011>>