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

12 3 4 5 6 7 8 91011>>

  /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/src/libdw/
dwarf_entry_breakpoints.c 70 Dwarf_Lines *lines; local
72 if (INTUSE(dwarf_getsrclines) (&cudie, &lines, &nlines) < 0)
91 if (lines->info[idx].addr < low)
93 else if (lines->info[idx].addr > low)
95 else if (lines->info[idx].end_sequence)
106 for (size_t i = l; i < u && lines->info[i].addr < high; ++i)
107 if (lines->info[i].prologue_end
108 && add_bkpt (lines->info[i].addr) < 0)
111 while (++l < nlines && lines->info[l].addr < high)
112 if (!lines->info[l].end_sequence
    [all...]
dwarf_getsrcfiles.c 51 if (cu->lines == NULL)
53 Dwarf_Lines *lines; local
58 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines);
  /external/strace/tests/
unix-yy-accept.awk 2 lines = 8
39 NR == lines && $0 == "+++ exited with 0 +++" {next}
47 if (NR != lines) {
48 print "Expected " lines " lines, found " NR " line(s)."
net-yy-accept.awk 2 lines = 9
49 NR == lines && $0 == "+++ exited with 0 +++" {next}
57 if (NR != lines) {
58 print "Expected " lines " lines, found " NR " line(s)."
  /external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/bench/
write.py 153 lines = []
160 lines.append('')
161 lines.append('')
164 lines.append(line)
165 lines.append('~' * len(line))
168 lines.append('')
169 lines.append('.. rst-class:: benchmark')
170 lines.append('')
175 lines.append(separator())
176 lines.append('|'.join([''] +
    [all...]
  /external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/bench/
write.py 156 lines = []
163 lines.append('')
164 lines.append('')
167 lines.append(line)
168 lines.append('~' * len(line))
171 lines.append('')
172 lines.append('.. rst-class:: benchmark')
173 lines.append('')
178 lines.append(separator())
179 lines.append('|'.join([''] +
    [all...]
  /external/toybox/toys/posix/
tail.c 1 /* tail.c - copy last lines from input to stdout.
15 Copy last lines from files to stdout. If no files listed, copy from
18 -n output the last NUMBER lines (default 10), +X counts from start.
34 long lines;
72 // Note: bytes and lines are negative here.
73 static int try_lseek(int fd, long bytes, long lines)
89 // Read from end to find enough lines, then output them.
92 while (lines && pos) {
113 else if (list->data[offset] == '\n' && !++lines) {
134 long bytes = TT.bytes, lines = TT.lines local
    [all...]
split.c 17 usage: split [-a SUFFIX_LEN] [-b BYTES] [-l LINES] [INPUT [OUTPUT]]
24 -l LINES/file (default 1000)
31 long lines;
59 if ((TT.bytes && !bytesleft) || (TT.lines && !linesleft)) {
69 linesleft = TT.lines;
75 if (TT.lines) {
100 if (!TT.bytes && !TT.lines) TT.lines = 1000;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
linecache.py 1 """Cache lines from files.
3 This is intended to read lines from modules imported -- hence if a filename
14 lines = getlines(filename, module_globals)
15 if 1 <= lineno <= len(lines):
16 return lines[lineno-1]
34 """Get the lines for a file from the cache.
56 size, mtime, lines, fullname = cache[filename]
69 """Update a cache entry and return its list of lines.
128 lines = fp.readlines()
131 if lines and not lines[-1].endswith('\n')
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
linecache.py 1 """Cache lines from files.
3 This is intended to read lines from modules imported -- hence if a filename
14 lines = getlines(filename, module_globals)
15 if 1 <= lineno <= len(lines):
16 return lines[lineno-1]
34 """Get the lines for a file from the cache.
56 size, mtime, lines, fullname = cache[filename]
69 """Update a cache entry and return its list of lines.
128 lines = fp.readlines()
131 if lines and not lines[-1].endswith('\n')
    [all...]
  /build/tools/
post_process_props.py 75 def __init__(self, lines):
76 self.lines = [s.strip() for s in lines]
80 for line in self.lines:
90 for line in self.lines:
97 for i in range(0,len(self.lines)):
98 if self.lines[i].startswith(key):
99 self.lines[i] = key + value
101 self.lines.append(key + value)
105 self.lines = [ line for line in self.lines if not line.startswith(key)
    [all...]
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/v8/tools/
js2c.py 54 def RemoveCommentsAndTrailingWhitespace(lines):
55 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
56 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
57 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace
58 return lines
64 lines = file.read()
67 return lines
    [all...]
  /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))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/
p2g.py 25 and "c". The rest of the graph contains two lines for each node. The
78 lines = (line.decode(encoding) for line in path)
79 G=parse_p2g(lines)
82 def parse_p2g(lines):
89 description = next(lines).strip()
92 nnodes,nedges=map(int,next(lines).split())
98 n=next(lines).strip()
101 nbrs[n]=map(int,next(lines).split())
  /external/llvm/utils/
sort_includes.py 3 """Script to sort the top-most block of #include lines.
15 """Sort the #include lines of a specific file."""
25 lines = f.readlines()
34 for (i, l) in enumerate(lines):
72 lines = lines[:headers_begin] + header_lines + lines[headers_end + 1:]
76 f.writelines(lines)
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
filemixin.py 49 def writelines(self, lines):
50 for line in lines:
  /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...]
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
formatter.py 42 lines = []
54 lines.append(self.format_sup_line_pos(sup.line, sup.column))
56 lines.append(self.format_sup_expression(sup.expression))
59 lines.append(self.format_sup_warning(warning))
61 lines.extend(self.format_sup_info(sup.info))
63 lines.append('Exception in supplement:')
64 lines.append(self.quote_long(frame.supplement_exception))
66 lines.append(self.format_traceback_info(frame.traceback_info))
73 lines.append(self.format_source_line(filename or '?', frame))
77 lines.append(self.format_long_source
    [all...]
  /frameworks/native/opengl/libs/GLES_trace/tools/
genapi.py 348 lines = open(apiEntryFile).readlines()
351 for i in range(0, len(lines)/3):
352 apis.append(ApiCall(prefix, lines[i*3], lines[i*3+1]))
380 lines = []
381 lines.append(HEADER_LICENSE)
382 lines.append(HEADER_NAMESPACE_START)
386 lines.append("\n// Declarations for %s APIs\n\n" % api.prefix)
388 lines.append(api.genDeclaration())
389 lines.append("\n"
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
WrappedGTestResultParser.java 56 public void processNewLines(String[] lines) {
61 String[] gtestOutput = parseInstrumentation(lines);
69 * @param lines the raw instrumentation output
72 public String[] parseInstrumentation(String[] lines) {
75 for (String line : lines) {
  /external/chromium-trace/trace-viewer/third_party/Paste/tests/
test_grantip.py 7 lines = [
13 lines = [line.encode('utf8') for line in lines]
14 return lines
  /external/elfutils/src/libdwfl/
dwfl_dwarf_line.c 39 const Dwarf_Line *info = &cu->die.cu->lines->info[line->idx];
  /external/guava/guava/src/com/google/common/io/
LineReader.java 30 * A class for reading lines of text. Provides the same functionality
44 private final Queue<String> lines = new LinkedList<String>(); field in class:LineReader
47 lines.add(line);
52 * Creates a new instance that will read lines from the given
72 while (lines.peek() == null) {
85 return lines.poll();

Completed in 2011 milliseconds

12 3 4 5 6 7 8 91011>>