/external/elfutils/libdw/ |
dwarf_entry_breakpoints.c | 68 Dwarf_Lines *lines, size_t nlines, 75 if (lines->info[idx].addr < low) 77 else if (lines->info[idx].addr > low) 79 else if (lines->info[idx].end_sequence) 90 for (size_t i = l; i < u && lines->info[i].addr < high; ++i) 91 if (lines->info[i].prologue_end 92 && add_bkpt (lines->info[i].addr, bkpts, pnbkpts) < 0) 95 while (++l < nlines && lines->info[l].addr < high) 96 if (!lines->info[l].end_sequence) 97 return add_bkpt (lines->info[l].addr, bkpts, pnbkpts) 112 Dwarf_Lines *lines; local [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/csv/ |
CSVFormatterTest.java | 62 final List<String> lines = getLines(); local 63 assertEquals(HEADER, lines.get(0)); 66 lines.get(1)); 72 final List<String> lines = getLines(); local 73 assertEquals(HEADER, lines.get(0)); 76 lines.get(1)); 79 lines.get(2)); 85 final List<String> lines = getLines(); local 86 assertEquals(HEADER, lines.get(0)); 89 lines.get(1)) 97 final List<String> lines = getLines("UTF-16"); local 139 final List<String> lines = new ArrayList<String>(); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
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.
60 size, mtime, lines, fullname = cache[filename]
73 """Update a cache entry and return its list of lines.
132 lines = fp.readlines()
135 if lines and not lines[-1].endswith('\n'): [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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...] |
/external/python/cpython2/Lib/ |
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. 60 size, mtime, lines, fullname = cache[filename] 73 """Update a cache entry and return its list of lines. 132 lines = fp.readlines() 135 if lines and not lines[-1].endswith('\n') [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...] |
/system/extras/simpleperf/ |
cmd_report_test.cpp | 56 lines.clear(); 60 lines.push_back(s); 63 ASSERT_GE(lines.size(), 2u); 68 std::vector<std::string> lines; member in class:ReportCommandTest 88 while (line_index < lines.size() && 89 lines[line_index].find("Pid") == std::string::npos) { 92 ASSERT_LT(line_index + 2, lines.size()); 99 while (line_index < lines.size() && 100 lines[line_index].find("Overhead") == std::string::npos) { 103 ASSERT_LT(line_index + 1, lines.size()) [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
EventsLogParserTest.java | 50 List<String> lines = Arrays.asList(""); local 52 parseTransitionDelayInfo(readInputBuffer(getTempFile(lines))); 60 List<String> lines = Arrays local 68 parseTransitionDelayInfo(readInputBuffer(getTempFile(lines))); 77 List<String> lines = Arrays local 81 parseTransitionDelayInfo(readInputBuffer(getTempFile(lines))); 99 List<String> lines = Arrays local 105 parseTransitionDelayInfo(readInputBuffer(getTempFile(lines))); 121 List<String> lines = Arrays local 125 parseTransitionDelayInfo(readInputBuffer(getTempFile(lines))); 138 List<String> lines = Arrays local 158 List<String> lines = Arrays local 175 List<String> lines = Arrays local 193 List<String> lines = Arrays local 209 List<String> lines = Arrays local 226 List<String> lines = Arrays local [all...] |
/build/make/tools/ |
post_process_props.py | 76 def __init__(self, lines): 77 self.lines = [s.strip() for s in lines] 81 for line in self.lines: 91 for line in self.lines: 98 for i in range(0,len(self.lines)): 99 if self.lines[i].startswith(key): 100 self.lines[i] = key + value 102 self.lines.append(key + value) 106 self.lines = [ line for line in self.lines if not line.startswith(key) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
logmerge.py | 79 lines = []
85 if lines:
86 chunk.append(lines)
89 if lines:
90 chunk.append(lines)
91 lines = []
93 lines.append(line)
98 lines = chunk[0]
101 for line in lines:
115 for line in lines: [all...] |
/external/googletest/googlemock/scripts/generator/cpp/ |
gmock_class.py | 128 lines = [] 139 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # } 140 lines.append('') 151 lines.append('template <' + ', '.join(template_decls) + '>') 155 lines.append('class Mock%s : public %s {' # } 157 lines.append('%spublic:' % (' ' * (_INDENT // 2))) 160 _GenerateMethods(lines, source, class_node) 163 if lines: 165 if len(lines) == 2: 166 del lines[-1 [all...] |
/external/python/cpython2/Tools/scripts/ |
logmerge.py | 79 lines = [] 85 if lines: 86 chunk.append(lines) 89 if lines: 90 chunk.append(lines) 91 lines = [] 93 lines.append(line) 98 lines = chunk[0] 101 for line in lines: 115 for line in lines [all...] |
/external/turbine/javatests/com/google/turbine/options/ |
TurbineOptionsTest.java | 51 String[] lines = { local 83 TurbineOptionsParser.parse(Iterables.concat(BASE_ARGS, Arrays.asList(lines))); 104 String[] lines = { local 123 TurbineOptionsParser.parse(Iterables.concat(BASE_ARGS, Arrays.asList(lines))); 140 String[] lines = { local 148 TurbineOptionsParser.parse(Iterables.concat(BASE_ARGS, Arrays.asList(lines))); 158 String[] lines = { local 169 TurbineOptionsParser.parse(Iterables.concat(BASE_ARGS, Arrays.asList(lines))); 179 String[] lines = { local 188 TurbineOptions options = TurbineOptionsParser.parse(Arrays.asList(lines)); 203 String[] lines = { local 219 String[] lines = { local [all...] |
/external/v8/testing/gmock/scripts/generator/cpp/ |
gmock_class.py | 128 lines = [] 139 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # } 140 lines.append('') 151 lines.append('template <' + ', '.join(template_decls) + '>') 155 lines.append('class Mock%s : public %s {' # } 157 lines.append('%spublic:' % (' ' * (_INDENT // 2))) 160 _GenerateMethods(lines, source, class_node) 163 if lines: 165 if len(lines) == 2: 166 del lines[-1 [all...] |
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
ARDSDPUtils.m | 26 NSMutableArray *lines = 39 for (NSInteger i = 0; (i < lines.count) && (mLineIndex == -1 || !codecRtpMap); 41 NSString *line = lines[i]; 65 [lines[mLineIndex] componentsSeparatedByString:mLineSeparator]; 82 [lines replaceObjectAtIndex:mLineIndex 85 RTCLogWarning(@"Wrong SDP media description format: %@", lines[mLineIndex]); 87 NSString *mangledSdpString = [lines componentsJoinedByString:lineSeparator];
|
/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))
|
/external/swiftshader/third_party/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))
|
/external/turbine/java/com/google/turbine/diag/ |
LineMap.java | 28 private final ImmutableRangeMap<Integer, Integer> lines; field in class:LineMap 30 private LineMap(String source, ImmutableRangeMap<Integer, Integer> lines) { 32 this.lines = lines; 67 return position - lines.getEntry(position).getKey().lowerEndpoint(); 73 return lines.get(position); 79 Range<Integer> range = lines.getEntry(position).getKey();
|
/external/turbine/javatests/com/google/turbine/binder/ |
BinderErrorTest.java | 359 assertThat(e.getMessage()).isEqualTo(lines(expected)); 363 private static CompUnit parseLines(String... lines) { 364 return Parser.parse(lines(lines)); 367 private static String lines(String... lines) { method in class:BinderErrorTest 368 return Joiner.on('\n').join(lines);
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
SourceNodeImpl.java | 24 private LineImpl[] lines; field in class:SourceNodeImpl 26 /** first line number in {@link #lines} */ 39 lines = null; 44 * Make sure that the internal buffer can keep lines from first to last. 57 if (lines == null) { 59 lines = new LineImpl[last - first + 1]; 64 if (newLength > lines.length) { 66 System.arraycopy(lines, 0, newLines, offset - newFirst, 67 lines.length); 69 lines = newLines [all...] |
/external/tensorflow/tensorflow/python/debug/cli/ |
tensor_format_test.py | 58 ValueError: if any ellipses ("...") are found in the lines representing 62 while not out.lines[begin_line_num].startswith("array"): 65 for line_num in range(begin_line_num, len(out.lines)): 66 line = out.lines[line_num] 88 ValueError: if any ellipses ("...") are found in the lines representing 93 while not out.lines[begin_line_num].startswith("array"): 97 for line_num in range(begin_line_num, len(out.lines)): 98 line = out.lines[line_num] 113 def _findFirst(self, lines, string): 115 for i, line in enumerate(lines) [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
TextUtils.java | 37 final String[] lines = source.split("\\n", -1); local 40 for (; i < lines.length; i++) { 41 final String line = lines[i]; 52 for (; i < lines.length; i++) { 53 final String line = lines[i];
|