/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 | 595 assertThat(e).hasMessageThat().isEqualTo(lines(expected)); 599 private static CompUnit parseLines(String... lines) { 600 return Parser.parse(lines(lines)); 603 private static String lines(String... lines) { method in class:BinderErrorTest 604 return Joiner.on(System.lineSeparator()).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/turbine/javatests/com/google/turbine/parse/ |
ParseErrorTest.java | 71 lines( 88 lines( 105 lines( 122 lines( 139 lines( 156 lines( 173 lines( 190 lines( 207 lines( 224 lines( 231 private static String lines(String... lines) { method in class:ParseErrorTest [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...] |
/external/u-boot/tools/buildman/ |
test.py | 195 lines = terminal.GetPrintTestLines() 197 for line in lines: 207 lines = terminal.GetPrintTestLines() 208 self.assertEqual(lines[0].text, '01: %s' % commits[0][1]) 209 self.assertEqual(lines[1].text, '02: %s' % commits[1][1]) 213 self.assertSummary(lines[2].text, 'sandbox', '+', ['board4']) 214 self.assertSummary(lines[3].text, 'arm', '+', ['board1']) 215 self.assertSummary(lines[4].text, 'powerpc', '+', ['board2', 'board3']) 218 self.assertEqual(lines[5].text, 'w+%s' % 220 self.assertEqual(lines[5].colour, col.MAGENTA [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];
|
/cts/common/device-side/util-axt/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];
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
StringUtil.java | 39 * @param lines collection to join 41 public static String join(String start, Collection<?> lines) { 42 return join(start, "", lines); 50 * @param lines collection to join 52 public static String join(String start, String linePrefix, Collection<?> lines) { 53 if (lines.isEmpty()) { 57 for (Object line : lines) {
|
/external/perf_data_converter/src/quipper/ |
perf_stat_parser.cc | 29 std::vector<string> lines; local 30 SplitString(data, '\n', &lines); 32 for (size_t i = 0; i < lines.size(); ++i) { 33 TrimWhitespace(&lines[i]); 34 // Look for lines of the form: 39 SplitString(lines[i], ' ', &tokens);
|
/external/perfetto/tools/ |
fix_include_guards | 22 lines = [l.strip('\n') for l in f.readlines()] 28 for line_idx in xrange(len(lines) - 1, -1, -1): 29 if lines[line_idx].startswith('#endif'): 35 for line in lines: 47 if res == lines:
|
/external/testng/src/test/java/test/assertion/ |
SoftAssertTest.java | 44 String[] lines = e.getMessage().split("\r?\n"); local 45 Assert.assertEquals(lines.length, 2); 46 lines[1] = lines[1].replaceFirst(message, ""); 47 Assert.assertFalse(lines[1].contains(message));
|
/external/fonttools/Lib/fontTools/mtiLib/ |
__init__.py | 100 def parseScriptList(lines, featureMap=None): 103 with lines.between('script table'): 104 for line in lines: 150 def parseFeatureList(lines, lookupMap=None, featureMap=None): 153 with lines.between('feature table'): 154 for line in lines: 179 def parseLookupFlags(lines): 190 while lines.peeks()[0].lower() in allFlags: 191 line = next(lines) 211 def parseSingleSubst(lines, font, _lookupMap=None) [all...] |
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
Logcat.java | 28 * The lines contained in this logcat. 30 public ArrayList<LogLine> lines = new ArrayList<LogLine>(); field in class:Logcat 33 * Return the lines that match the given log tags and optional log level. 37 for (LogLine line: lines) { 46 * Return the lines that match the given log tag and optional log level. 50 for (LogLine line: lines) {
|
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
LogMessageParserTest.java | 57 List<String> lines = Resources.readLines( local 59 for (String line : lines) { 65 List<String> lines = Resources.readLines( local 67 for (String line : lines) { 86 List<String> lines = Resources.readLines( local 88 for (String line : lines) { 94 List<String> lines = Resources.readLines( local 96 for (String line : lines) { 102 List<String> lines = Resources.readLines( local 104 for (String line : lines) { 110 List<String> lines = Resources.readLines( local [all...] |
/external/catch2/scripts/ |
scriptCommon.py | 19 lines = [] 27 lines.append( line ) 31 return lines
|
/external/deqp/external/vulkancts/scripts/ |
gen_ext_deps.py | 63 def writeInlFile(filename, lines): 64 khr_util.format.writeInlFile(filename, VK_INL_HEADER, lines) 75 lines = [] 78 lines = lines + [line for line in genExtDepArray(VK_INST_EXT_DEP_1_0, allExtDepsDict[VK_INST_EXT_DEP_1_0])] 80 lines = lines + [line for line in genExtDepArray(VK_INST_EXT_DEP_1_1, allExtDepsDict[VK_INST_EXT_DEP_1_1])] 82 lines = lines + [line for line in genExtDepArray(VK_DEV_EXT_DEP_1_0, allExtDepsDict[VK_DEV_EXT_DEP_1_0])] 84 lines = lines + [line for line in genExtDepArray(VK_DEV_EXT_DEP_1_1, allExtDepsDict[VK_DEV_EXT_DEP_1_1]) [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Util.java | 43 String[] lines = resource.split("\\r?\\n"); local 45 for (int j = 0; j < lines.length; j++) { 46 buffer.append(lines[j]);
|
/build/make/tools/ |
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/freetype/src/tools/docmaker/ |
docbeauty.py | 32 lines = [" /*************************************************************************"] 34 lines.append( " *" + l ) 35 lines.append( " */" ) 37 block.lines = lines 97 for line in block.lines:
|
/frameworks/av/services/camera/libcameraservice/utils/ |
LatencyHistogram.cpp | 58 String8 lines; local 59 lines.appendFormat("%s (%" PRId64 ") samples\n", name, mTotalCount); 66 lines.append(lineBins); 67 lines.append(lineBinCounts); 69 write(fd, lines.string(), lines.size());
|
/bootable/recovery/update_verifier/ |
care_map_generator.py | 30 def GenerateCareMapProtoFromLegacyFormat(lines, fingerprint_enabled): 31 """Constructs a care map proto message from the lines of the input file.""" 45 assert len(lines) % step == 0, \ 46 "line count must be multiple of {}: {}".format(step, len(lines)) 49 for index in range(0, len(lines), step): 51 info.name = lines[index] 52 info.ranges = lines[index + 1] 54 info.id = lines[index + 2] 55 info.fingerprint = lines[index + 3]
|
/cts/tests/tests/media/src/android/media/cts/ |
ConnectionStatus.java | 66 * Print lines. 68 * Print lines in ArrayList<String> 70 * @param lines ArrayList<String> 72 private void printLines(final ArrayList<String> lines) { 73 for (String line : lines) { 97 ArrayList<String> lines = new ArrayList<String>(); local 102 lines.add(line); 104 printLines(lines); 105 lines.clear(); 111 lines.add(line) [all...] |
/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/nos/test/system-test-harness/src/test-data/NIST-CAVP/ |
nist2h.py | 21 def _read_nist_header(lines): 28 while lines: 29 line = lines.pop(0) 42 def _read_nist_blocks(lines): 49 while lines: 50 line = lines[0] 53 lines.pop(0) 60 while lines: 61 line = lines.pop(0) 74 lines = infile.readlines( [all...] |