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

123456789

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/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/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/bison/
H A Dmaint.mk143 # Select which lines of NEWS are searched for $(news-check-regexp).
145 # lines 1..10 of NEWS for $(news-check-regexp).
146 # If you want to search only line 3 or only lines 20-22, use "3" or "20,22".
147 news-check-lines-spec ?= 1,10
214 # Regular expression (ERE) denoting lines to ignore that matched
759 # Match lines like the following, but where there is only one space
761 # -D, --all-repeated[=delimit-method] print all duplicate lines\n
903 # In addition, while the code below detects both blank lines and a missing
909 # I.e., warn if there are blank lines (2 or more newlines), or if the
915 # Use this if you want to remove trailing empty lines fro
[all...]
/external/chromium_org/ash/system/chromeos/
H A Dtray_display.cc90 std::vector<base::string16> lines; local
97 lines.push_back(GetDisplayInfoLine(internal_id));
104 lines.push_back(GetDisplayInfoLine(id));
107 return JoinString(lines, '\n');
H A Dtray_display_unittest.cc33 std::vector<base::string16> lines; local
34 lines.push_back(headline);
36 lines.push_back(name1);
38 lines.push_back(l10n_util::GetStringFUTF16(
43 lines.push_back(l10n_util::GetStringFUTF16(
47 return JoinString(lines, '\n');
/external/chromium_org/ash/system/user/
H A Duser_card_view.cc141 // link do not wrap over more than three lines in total for aesthetic reasons
199 std::vector<base::string16> lines; local
205 &lines);
206 // Loop through the lines, creating a renderer for each.
209 for (std::vector<base::string16>::const_iterator it = lines.begin();
210 it != lines.end();
293 // lines are needed. The lower bound is the minimum of the current bubble
297 std::vector<base::string16> lines; local
299 lines.clear();
306 &lines) !
[all...]
/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();
H A Dtrace_event_memory.cc324 std::vector<std::string> lines; local
325 size_t line_count = Tokenize(input_string, "\n", &lines);
327 DLOG(WARNING) << "No lines found";
333 AppendHeapProfileTotalsAsTraceFormat(lines[0], output);
335 // Handle the following stack trace lines.
337 const std::string& line = lines[i];
/external/chromium_org/chrome/browser/autofill/
H A Dautofill_browsertest.cc212 std::vector<std::string> lines; local
213 base::SplitString(data, '\n', &lines);
215 for (size_t i = 0; i < lines.size(); ++i) {
216 if (StartsWithASCII(lines[i], "#", false))
220 base::SplitString(lines[i], '|', &fields);
/external/chromium_org/chrome/browser/chromeos/imageburner/
H A Dburn_manager.cc84 std::vector<std::string> lines; local
85 Tokenize(file_content, "\n", &lines);
88 for (size_t i = 0; i < lines.size(); ++i) {
89 if (lines[i].empty())
93 Tokenize(lines[i], "=", &key_value_pair);
94 // Skip lines that don't contain key-value pair and lines without a key.
/external/chromium_org/chrome/browser/chromeos/power/
H A Dcpu_data_collector.cc235 std::vector<std::string> lines; local
236 base::SplitString(time_in_state_string, '\n', &lines);
239 size_t state_count = lines.size();
240 if (state_count > 0 && lines.back().empty())
248 base::SplitString(lines[state], ' ', &pair);
/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());
/external/chromium_org/chrome/browser/devtools/device/adb/
H A Dadb_device_info_query.cc231 std::vector<std::string> lines; local
232 Tokenize(response, "\r", &lines);
233 for (size_t i = 0; i < lines.size(); ++i) {
234 std::string line = lines[i];
/external/chromium_org/chrome/browser/download/
H A Ddownload_item_model_unittest.cc195 // typically consist of two lines. One for the filename and one for the
278 // lines of the given width or smaller.
279 std::vector<base::string16> lines; local
282 Tokenize(truncated_tooltip, base::ASCIIToUTF16("\n"), &lines);
283 for (unsigned i = 0; i < lines.size(); ++i)
284 EXPECT_GE(kSmallTooltipWidth, gfx::GetStringWidth(lines[i], font_list));
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_log_uploader_unittest.cc27 std::vector<std::string> lines = GetLinesFromListFile(); local
28 EXPECT_EQ(expected_lines, static_cast<int>(lines.size()));
29 return expected_lines == static_cast<int>(lines.size());
110 // we expect at least two lines including the final empty. Remove the empty
112 std::vector<std::string> lines;
113 base::SplitString(contents, '\n', &lines);
114 EXPECT_GT(lines.size(), 1u);
115 if (lines.size() < 2)
117 EXPECT_TRUE(lines[lines
125 std::vector<std::string> lines = GetLinesFromListFile(); local
135 std::vector<std::string> lines; local
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
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;
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...]
/external/chromium_org/chrome/browser/ui/autofill/
H A Ddata_model_wrapper.cc66 std::vector<std::string> lines; local
67 ::i18n::addressinput::GetFormattedNationalAddress(*address_data, &lines);
82 *horizontally_compact = base::UTF8ToUTF16(JoinString(lines, "\n")) +
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_installed_bubble_view.cc341 std::vector<base::string16> lines; local
344 &lines);
354 // Loop through the lines, creating a renderer for each.
355 for (std::vector<base::string16>::const_iterator it = lines.begin();
356 it != lines.end(); ++it) {
/external/chromium_org/chrome/common/importer/
H A Dfirefox_importer_utils.cc140 std::vector<std::string> lines; local
141 base::SplitString(content, '\n', &lines);
143 for (size_t i = 0; i < lines.size(); ++i) {
144 const std::string& line = lines[i];
305 std::vector<std::string> lines; local
306 base::SplitString(content, '\n', &lines);
309 for (size_t i = 0; i < lines.size(); ++i) {
310 base::TrimWhitespace(lines[i], base::TRIM_ALL, &lines[i]);
311 if (lines[
[all...]
/external/chromium_org/chrome/utility/importer/
H A Dbookmark_html_reader.cc97 std::vector<std::string> lines; local
98 base::SplitString(content, '\n', &lines);
109 i < lines.size() &&
113 base::TrimString(lines[i], " ", &line);
H A Dnss_decryptor.cc123 // Splits the file content into lines.
124 std::vector<std::string> lines; local
125 base::SplitString(content, '\n', &lines);
128 if (lines.empty())
131 if (lines[0] == "#2c")
133 else if (lines[0] == "#2d")
135 else if (lines[0] == "#2e")
148 for (i = 1; i < lines.size() && lines[i].compare(".") != 0; ++i) {
150 form.origin = GURL(lines[
[all...]
/external/chromium_org/chromeos/network/
H A Dnetwork_event_log_unittest.cc41 std::vector<std::string> lines; local
42 base::SplitString(input, '\n', &lines);
43 for (size_t i = 0; i < lines.size(); ++i) {
44 size_t n = lines[i].find(']');
46 output += "[time] " + lines[i].substr(n+2) + '\n';
48 output += lines[i];

Completed in 1426 milliseconds

123456789