HomeSort by relevance Sort by last modified time
    Searched refs:lines (Results 101 - 125 of 1509) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
ListCommandHandler.java 64 List lines = new ArrayList(); local
67 lines.add(getFileSystem().formatDirectoryListing(entry));
69 String result = StringUtil.join(lines, endOfLine());
  /external/protobuf/src/google/protobuf/compiler/
mock_code_generator.cc 86 vector<string> lines = Split(content, "\n", true); local
88 while (!lines.empty() && lines.back().empty()) {
89 lines.pop_back();
91 for (int i = 0; i < lines.size(); i++) {
92 lines[i] += "\n";
100 EXPECT_EQ(lines.size(), 3 + insertion_list.size() * 2);
103 lines[0]); local
105 EXPECT_EQ(kFirstInsertionPoint, lines[1 + insertion_list.size()]);
106 EXPECT_EQ(kSecondInsertionPoint, lines[2 + insertion_list.size() * 2])
111 lines[1 + i]); local
    [all...]
  /external/v8/tools/
disasm.py 80 lines = out.split("\n")
82 for i, line in enumerate(lines):
89 for line in lines[header_line + 1:]:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/
pajek.py 27 """Generate lines in Pajek graph format.
133 lines = (line.decode(encoding) for line in path)
134 return parse_pajek(lines)
136 def parse_pajek(lines):
141 lines : string or iterable
155 if is_string_like(lines): lines=iter(lines.split('\n'))
156 lines = iter([line.rstrip('\n') for line in lines])
    [all...]
  /external/fonttools/Lib/fontTools/
afmLib.py 14 # regular expression to parse char lines
32 # regular expression to parse kerning lines
42 # regular expressions to parse composite info lines of the form:
110 lines = readlines(path)
111 for line in lines:
193 lines = [ "StartFontMetrics 2.0",
201 lines.append("Comment " + comment)
211 lines.append(attr + " " + str(value))
218 lines.append(attr + " " + str(value))
221 lines.append("StartCharMetrics " + repr(len(self._chars))
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
VectorAverage.java 106 String[] lines = string.split(System.getProperty("line.separator")); local
108 int lineCount = lines.length;
116 String[] separated = lines[nIndex].split("=");
128 String[] separated = lines[nIndex].split("=");
142 double value = Double.parseDouble(lines[nIndex]);
  /cts/tests/tests/security/src/android/security/cts/
ServicePermissionsTest.java 121 final ArrayList<String> lines = new ArrayList<String>(); local
125 lines.add(line);
132 if (lines.size() > 1) {
133 fail("dump() for " + service + " produced several lines of output; this "
138 if (lines.size() == 1) {
139 String message = lines.get(0);
  /external/guava/guava-tests/test/com/google/common/io/
CharSinkTester.java 61 private final ImmutableList<String> lines; field in class:CharSinkTester
69 this.lines = getLines(string);
108 sink.writeLines(lines);
115 sink.writeLines(lines, separator);
128 if (!lines.isEmpty()) {
129 // if we wrote any lines in writeLines(), there will be a trailing newline
  /external/markdown/markdown/
blockprocessors.py 42 lines = text.split('\n')
43 for line in lines:
50 return '\n'.join(newtext), '\n'.join(lines[len(newtext):])
53 """ Remove a tab from front of lines but allowing dedented lines. """
54 lines = text.split('\n')
55 for i in range(len(lines)):
56 if lines[i].startswith(' '*markdown.TAB_LENGTH*level):
57 lines[i] = lines[i][markdown.TAB_LENGTH*level:
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_dis.py 95 lines = got.split('\n')
96 lines = [line.rstrip() for line in lines]
99 if expected != lines:
103 lines)))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
token.py 100 lines = fp.read().split("\n")
106 for line in lines:
128 lines = []
130 lines.append("%s = %d" % (tokens[val], val))
131 format[start:end] = lines
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_dis.py 95 lines = got.split('\n')
96 lines = [line.rstrip() for line in lines]
99 if expected != lines:
103 lines)))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
token.py 100 lines = fp.read().split("\n")
106 for line in lines:
128 lines = []
130 lines.append("%s = %d" % (tokens[val], val))
131 format[start:end] = lines
  /external/guava/guava/src/com/google/common/io/
CharSource.java 55 * source into lines. Like {@link BufferedReader}, these methods break lines on any of {@code \n},
174 * <p>Like {@link BufferedReader}, this method breaks lines on any of {@code \n}, {@code \r} or
193 * Reads all the lines of this source as a list of strings. The returned list will be empty if
196 * <p>Like {@link BufferedReader}, this method breaks lines on any of {@code \n}, {@code \r} or
197 * {@code \r\n}, does not include the line separator in the returned lines and does not consider
220 * Reads lines of text from this source, processing each line as it is read using the given
221 * {@link LineProcessor processor}. Stops when all lines have been processed or the processor
224 * <p>Like {@link BufferedReader}, this method breaks lines on any of {@code \n}, {@code \r} or
225 * {@code \r\n}, does not include the line separator in the lines passed to the {@code processor
371 private Iterable<String> lines() { method in class:CharSource.CharSequenceCharSource
    [all...]
  /external/elfutils/src/tests/
run-get-lines.sh 23 testrun_compare ${abs_builddir}/get-lines testfile testfile2 <<\EOF
25 5 lines
32 4 lines
38 4 lines
44 4 lines
50 4 lines
56 5 lines
64 # - lines.c
76 # gcc -g -c lines.c
78 # gcc -g -o testfilenolines lines.o nolines.
    [all...]
  /external/markdown/markdown/extensions/
codehilite.py 120 lines = txt.splitlines()
122 for line in lines:
130 Determines language of a code block from shebang lines and whether said
132 path (even a single /) then it is assumed to be a real shebang lines and
145 #split text into lines
146 lines = self.src.split("\n")
148 fl = lines.pop(0)
165 lines.insert(0, fl)
171 lines.insert(0, fl)
173 self.src = "\n".join(lines).strip("\n"
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpServerTest.java 42 List<String> lines = getOutputLines(outputStream); local
43 assertLinesOfText(expected, lines);
46 protected void assertLinesOfText(String[] expected, List<String> lines) {
47 // assertEquals(expected.length, lines.size());
49 String line = lines.get(i);
75 List<String> lines = new ArrayList<String>(); local
80 lines.add(line.trim());
83 return lines;
  /external/icu/icu4c/source/test/cintltst/
sorttest.c 109 printLines(const Line *lines) {
113 const Line *line=lines+i;
135 Line *lines, *p; local
145 lines=p=(Line *)uprv_malloc(NUM_LINES*sizeof(Line));
146 uprv_memset(lines, 0, NUM_LINES*sizeof(Line)); /* avoid uninitialized memory */
161 puts("\n* lines before sorting");
162 printLines(lines);
164 uprv_sortArray(lines, NUM_LINES, (int32_t)sizeof(Line),
170 puts("* lines after sorting");
171 printLines(lines);
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
bdist_wininst.py 208 lines = []
212 lines.append("[metadata]")
228 lines.append("%s=%s" % (name, escape(data)))
232 lines.append("\n[Setup]")
234 lines.append("install_script=%s" % self.install_script)
235 lines.append("info=%s" % escape(info))
236 lines.append("target_compile=%d" % (not self.no_target_compile))
237 lines.append("target_optimize=%d" % (not self.no_target_optimize))
239 lines.append("target_version=%s" % self.target_version)
241 lines.append("user_access_control=%s" % self.user_access_control
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/
bdist_wininst.py 208 lines = []
212 lines.append("[metadata]")
228 lines.append("%s=%s" % (name, escape(data)))
232 lines.append("\n[Setup]")
234 lines.append("install_script=%s" % self.install_script)
235 lines.append("info=%s" % escape(info))
236 lines.append("target_compile=%d" % (not self.no_target_compile))
237 lines.append("target_optimize=%d" % (not self.no_target_optimize))
239 lines.append("target_version=%s" % self.target_version)
241 lines.append("user_access_control=%s" % self.user_access_control
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
feedparser.py 55 # The list of full, pushed lines, in reverse order
101 # Crack into lines, but preserve the newlines on the end of each
113 # and the eol character(s). Gather up a list of lines after
115 lines = []
117 lines.append(parts[i*2] + parts[i*2+1])
118 self.pushlines(lines)
120 def pushlines(self, lines):
121 # Reverse and insert at the front of the lines.
122 self._lines[:0] = lines[::-1]
220 # remaining lines in the input are thrown into the message body
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
feedparser.py 55 # The list of full, pushed lines, in reverse order
101 # Crack into lines, but preserve the newlines on the end of each
113 # and the eol character(s). Gather up a list of lines after
115 lines = []
117 lines.append(parts[i*2] + parts[i*2+1])
118 self.pushlines(lines)
120 def pushlines(self, lines):
121 # Reverse and insert at the front of the lines.
122 self._lines[:0] = lines[::-1]
220 # remaining lines in the input are thrown into the message body
    [all...]
  /external/harfbuzz_ng/util/
view-cairo.cc 38 (vertical ? *w : *h) = (int) lines->len * (font_extents.height + view_options.line_space) - view_options.line_space;
40 for (unsigned int i = 0; i < lines->len; i++) {
41 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i);
82 descent = font_extents.height * (lines->len + .5);
86 for (unsigned int i = 0; i < lines->len; i++)
88 helper_cairo_line_t &l = g_array_index (lines, helper_cairo_line_t, i);
  /external/libvpx/libvpx/tools/
diff.py 24 self.lines = []
28 l = len(self.lines)
31 self.lines.append(line[1:])
35 return len(self.lines) == self.length
48 self.lines = []
65 self.lines.append(line)
  /external/llvm/utils/lit/lit/formats/
googletest.py 32 lines = lit.util.capture([path, '--gtest_list_tests'],
35 lines = lines.replace('\r', '')
36 lines = lines.split('\n')
42 for ln in lines:

Completed in 1784 milliseconds

1 2 3 45 6 7 8 91011>>