Searched defs:lines (Results 1 - 25 of 201) sorted by relevance

123456789

/external/chromium_org/v8/test/mjsunit/
H A Ddebug-sourceslice.js29 // 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];
/external/elfutils/0.153/libdw/
H A Ddwarf_onesrcline.c1 /* Return one of the sources lines of a CU.
59 dwarf_onesrcline (Dwarf_Lines *lines, size_t idx) argument
61 if (lines == NULL)
64 if (idx >= lines->nlines)
70 return &lines->info[idx];
H A Ddwarf_decl_file.c80 if (cu->lines == NULL)
82 Dwarf_Lines *lines; local
87 (void) INTUSE(dwarf_getsrclines) (&CUDIE (cu), &lines, &nlines); local
88 assert (cu->lines != NULL);
91 if (cu->lines == (void *) -1l)
H A Ddwarf_getsrc_die.c62 Dwarf_Lines *lines; local
65 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0)
68 /* The lines are sorted by address, so we can use binary search. */
73 if (addr < lines->info[idx].addr)
75 else if (addr > lines->info[idx].addr || lines->info[idx].end_sequence)
78 return &lines->info[idx];
82 assert (lines->info[nlines - 1].end_sequence);
89 if (u > 0 && u < nlines && addr > lines->info[u - 1].addr)
91 while (lines
[all...]
H A Ddwarf_getsrcfiles.c71 if (cu->lines == NULL)
73 Dwarf_Lines *lines; local
78 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines);
/external/elfutils/0.153/libdwfl/
H A Dlines.c57 if (cu->lines == NULL)
59 Dwarf_Lines *lines; local
61 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0)
64 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines]));
65 if (cu->lines == NULL)
67 cu->lines->cu = cu;
69 cu->lines->idx[i].idx = i;
/external/chromium_org/net/ftp/
H A Dftp_directory_listing_parser_os2.cc19 const std::vector<base::string16>& lines,
21 for (size_t i = 0; i < lines.size(); i++) {
22 if (lines[i].empty())
26 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns);
62 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i], 4);
18 ParseFtpDirectoryListingOS2( const std::vector<base::string16>& lines, std::vector<FtpDirectoryListingEntry>* entries) argument
H A Dftp_directory_listing_parser_windows.cc19 const std::vector<base::string16>& lines,
21 for (size_t i = 0; i < lines.size(); i++) {
22 if (lines[i].empty())
26 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns);
57 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i], 3);
18 ParseFtpDirectoryListingWindows( const std::vector<base::string16>& lines, std::vector<FtpDirectoryListingEntry>* entries) argument
H A Dftp_directory_listing_parser_netware.cc39 const std::vector<base::string16>& lines,
42 if (!lines.empty() &&
43 !StartsWith(lines[0], base::ASCIIToUTF16("total "), true)) {
47 for (size_t i = 1U; i < lines.size(); i++) {
48 if (lines[i].empty())
52 base::SplitString(base::CollapseWhitespace(lines[i], false), ' ', &columns);
88 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i], 7);
38 ParseFtpDirectoryListingNetware( const std::vector<base::string16>& lines, const base::Time& current_time, std::vector<FtpDirectoryListingEntry>* entries) argument
H A Dftp_directory_listing_parser.cc50 std::vector<base::string16> lines; local
51 base::SplitStringUsingSubstr(text, newline_separator, &lines);
58 base::Bind(&ParseFtpDirectoryListingLs, lines, current_time, entries),
62 base::Bind(&ParseFtpDirectoryListingWindows, lines, entries),
66 base::Bind(&ParseFtpDirectoryListingVms, lines, entries),
71 lines, current_time, entries),
75 base::Bind(&ParseFtpDirectoryListingOS2, lines, entries),
H A Dftp_directory_listing_parser_unittest.cc58 std::vector<std::string> lines; local
59 base::SplitStringUsingSubstr(expected_listing, "\r\n", &lines);
62 if (lines.size() == 1 && lines[0].empty())
63 lines.clear();
65 ASSERT_EQ(9 * entries.size(), lines.size());
67 for (size_t i = 0; i < lines.size() / 9; i++) {
68 std::string type(lines[9 * i]);
69 std::string name(lines[9 * i + 1]);
71 base::StringToInt64(lines[
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Deditable_text_area_shadow.js58 // measure blank lines otherwise.
77 var lines = {0: {startIndex: 0, endIndex: 0}};
122 lines[lineIndex].endIndex = offset - 1;
124 lines[lineIndex] = {startIndex: offset, endIndex: offset};
137 lines[lineIndex].endIndex = lastGoodOffset;
139 lines[lineIndex] = {startIndex: lastGoodOffset, endIndex: lastGoodOffset};
149 lines[lineIndex].endIndex = text.length;
154 for (var j = lines[i].startIndex; j <= lines[i].endIndex; j++) {
161 this.lines_ = lines;
[all...]
H A Dcontent_editable_extractor.js66 var lines = {0: {startIndex: 0, endIndex: 0}};
149 lines[lineIndex].endIndex = textSize;
151 lines[lineIndex] = {startIndex: textSize, endIndex: textSize};
169 lines[lineIndex].endIndex = textSize;
174 for (var j = lines[i].startIndex; j <= lines[i].endIndex; j++) {
182 this.lines_ = lines;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DFASerializer.java86 List lines = new ArrayList();
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) { argument
188 lines.add(buf.toString());
191 walkSerializingFA(lines, edg
[all...]
/external/chromium_org/media/blink/
H A Dcache_util_unittest.cc36 std::vector<std::string> lines; local
37 Tokenize(test.headers, "\n", &lines);
38 for (size_t i = 0; i < lines.size(); ++i) {
39 size_t colon = lines[i].find(": ");
41 WebString::fromUTF8(lines[i].substr(0, colon)),
42 WebString::fromUTF8(lines[i].substr(colon + 2)));
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
H A Daddress_formatter_test.cc114 std::vector<std::string> lines; local
115 GetFormattedNationalAddress(address, &lines);
116 EXPECT_EQ(expected, lines);
122 lines.clear();
123 GetFormattedNationalAddress(address, &lines);
124 EXPECT_EQ(expected, lines);
154 std::vector<std::string> lines; local
155 GetFormattedNationalAddress(address, &lines);
156 EXPECT_EQ(expected, lines);
178 lines
203 std::vector<std::string> lines; local
218 std::vector<std::string> lines; local
228 std::vector<std::string> lines; local
253 std::vector<std::string> lines; local
290 std::vector<std::string> lines; local
311 std::vector<std::string> lines; local
336 std::vector<std::string> lines; local
[all...]
/external/chromium_org/ui/base/l10n/
H A Dl10n_font_util.cc26 double lines = 0; local
27 base::StringToDouble(l10n_util::GetStringUTF8(row_resource_id), &lines); local
28 int height = static_cast<int>(font.GetHeight() * lines);
/external/guava/guava/src/com/google/common/io/
H A DLineReader.java29 * 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/lldb/test/lang/c/blocks/
H A DTestBlocks.py12 lines = [] variable in class:AnonymousTestCase
30 self.lines.append(line_number('main.c', '// Set breakpoint 0 here.'))
31 self.lines.append(line_number('main.c', '// Set breakpoint 1 here.'))
40 for line in self.lines:
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DBufferedLineReaderTest.cpp80 // No more lines returned.
93 // No more lines returned.
179 String MakeTestData(const char** lines, const LineBreakType* breaks, int count) argument
183 builder.append(lines[i]);
193 const char* lines[] = { local
203 const size_t numTestLines = WTF_ARRAY_LENGTH(lines);
205 String data = MakeTestData(lines, breaks, numTestLines);
217 ASSERT_EQ(line, lines[lineCount++]);
226 const char* lines[] = { local
236 const size_t numTestLines = WTF_ARRAY_LENGTH(lines);
[all...]
/external/chromium_org/tools/telemetry/telemetry/results/
H A Dcsv_output_formatter_unittest.py30 def lines(self): member in class:CsvOutputFormatterTest
31 lines = StringIO.StringIO(self._output.getvalue()).readlines()
32 return lines
36 rows = list(csv.reader(self.lines))
41 rows = list(csv.reader(self.lines))
/external/bison/examples/calc++/
H A Dlocation.hh101 /// Extend the current location to the COUNT next lines.
102 void lines (unsigned int count = 1) function in class:yy::location
104 end.lines (count);
H A Dposition.hh85 /// (line related) Advance to the COUNT next lines.
86 void lines (int count = 1) function in class:yy::position
/external/chromium_org/base/debug/
H A Dproc_maps_linux.cc99 std::vector<std::string> lines; local
100 SplitString(input, '\n', &lines);
102 for (size_t i = 0; i < lines.size(); ++i) {
104 if (i == lines.size() - 1) {
105 if (!lines[i].empty()) {
113 const char* line = lines[i].c_str();
/external/chromium_org/chrome/browser/chromeos/
H A Dversion_loader.cc82 // The file contains lines such as:
90 std::vector<std::string> lines; local
91 base::SplitString(contents, '\n', &lines);
92 for (size_t i = 0; i < lines.size(); ++i) {
93 if (StartsWithASCII(lines[i], kFirmwarePrefix, false)) {
94 std::string str = lines[i].substr(std::string(kFirmwarePrefix).size());

Completed in 646 milliseconds

123456789