/external/autotest/client/site_tests/hardware_Badblocks/ |
hardware_Badblocks.py | 108 lines = stdout.split('\n') 109 del lines[-1] # Remove blank line at end. 110 logging.info(lines[0]) 111 logging.info(lines[1]) 113 for line in lines[2:-1]: 123 logging.info(lines[-1]) 126 min_sec = re.match(r'(\w+):(\w+)', lines[-2].split()[-4]) 134 result = lines[-1].strip()
|
/external/boringssl/src/util/ |
convert_comments.go | 38 // the initial line or ' *' for subsequent lines, where N is the same for 71 // A lineGroup is a contiguous group of lines with an eligible comment at the 78 lines []string 85 (*groups)[len(*groups)-1].lines = append((*groups)[len(*groups)-1].lines, line) 95 lines := strings.Split(string(in), "\n") 98 if len(lines) > 0 && len(lines[len(lines)-1]) == 0 { 99 lines = lines[:len(lines)-1 [all...] |
/external/doclava/test/com/google/doclava/ |
StubsTest.java | 101 private static String parseLicenseHeader(String... lines) throws IOException { 103 for (String line : lines) {
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
asciiTable.py | 21 lines = strjoin(content).replace("\r", "\n").split("\n") 22 self.data = tobytes("\r".join(lines[1:-1]))
|
/external/googletest/googletest/scripts/ |
common.py | 47 """Runs the shell command and returns its stdout as a list of lines.""" 50 lines = [line.strip() for line in f.readlines()] 52 return lines
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
dicttrieperf.cpp | 54 // Skip comment lines (start with a character below 'A'). 55 if(lines[i].name[0]>=0x41) { 58 int32_t len=lines[i].len; 60 while(len>0 && ((c=lines[i].name[len-1])==0xa || c==0xd)) { 63 lines[i].len=len; 74 const ULine *getCachedLines() const { return lines; } 76 int32_t numTextLines; // excluding comment lines 412 const ULine *lines=perf.getCachedLines(); local 415 // Skip comment lines (start with a character below 'A'). 416 if(lines[i].name[0]<0x41) 445 const ULine *lines=perf.getCachedLines(); local 469 const ULine *lines=perf.getCachedLines(); local 515 const ULine *lines=perf.getCachedLines(); local 594 const ULine *lines=perf.getCachedLines(); local 621 const ULine *lines=perf.getCachedLines(); local [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpPutRequestTest.java | 70 List<String> lines = readLinesFromFile(reader); local 71 assertLinesOfText(expectedInputToServeMethodViaFile, lines);
|
/external/pdfium/core/fxcodec/jbig2/ |
JBig2_GrrdProc.h | 37 const uint32_t* lines, 41 uint32_t* lines,
|
/external/python/cpython2/Lib/test/ |
test_multifile.py | 54 lines = mf.readlines() 55 linecount += len(lines)
|
/external/skia/tests/ |
PathOpsCubicIntersectionTestData.h | 14 extern const CubicPts lines[];
|
/external/skqp/tests/ |
PathOpsCubicIntersectionTestData.h | 14 extern const CubicPts lines[];
|
/external/toybox/tests/ |
wc.test | 11 lines
|
/external/v8/src/inspector/build/ |
check_injected_script_source.py | 41 lines = f.readlines() 69 for i, line in enumerate(lines):
|
/external/v8/testing/gtest/scripts/ |
common.py | 47 """Runs the shell command and returns its stdout as a list of lines.""" 50 lines = [line.strip() for line in f.readlines()] 52 return lines
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
XmlEditor.java | 73 ArrayList<String> lines = new ArrayList<String>(); local 74 lines.addAll(FileUtils.readLines(f, encoding)); 77 replace(lines, toPosition(it.getStart()), toEndPosition(it.getStop()), ""); 90 recurseReplace(layoutNode, lines, noTag, newTag, 0); 95 replace(lines, rootStartTag, rootEndTag, ""); 98 PositionPair endLayoutPositions = findTerminalPositions(root, lines); 99 replace(lines, endLayoutPositions.left, endLayoutPositions.right, ""); 139 fixPosition(lines, endTagPosition); 140 String line = lines.get(endTagPosition.line); 143 lines.set(endTagPosition.line, newLine) [all...] |
/frameworks/support/lifecycle/compiler/ |
reset_results.py | 33 def writeToFile(fileName, lines): 35 for line in lines:
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_multifile.py | 54 lines = mf.readlines() 55 linecount += len(lines)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_multifile.py | 54 lines = mf.readlines() 55 linecount += len(lines)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multifile.py | 54 lines = mf.readlines() 55 linecount += len(lines)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multifile.py | 54 lines = mf.readlines() 55 linecount += len(lines)
|
/system/media/audio_utils/ |
ErrorLog.cpp | 40 error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) 45 return reinterpret_cast<ErrorLog<int32_t> *>(error_log)->dump(fd, prefix, lines, limit_ns);
|
/test/vts-testcase/vndk/open_libraries/ |
VtsVndkOpenLibrariesTest.py | 57 lines = result[const.STDOUT][0].split("\n") 58 pid_end = lines[0].index("PID") + len("PID") 59 cmd_begin = lines[0].index("COMMAND", pid_end) 61 for line in lines[1:]: 83 lines = result[const.STDOUT][0].split("\n") 84 pid_end = lines[0].index("PID") + len("PID") 85 name_begin = lines[0].index("NAME") 87 for line in lines[1:]:
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
ActivityServiceParser.java | 46 public ActivityServiceItem parse(List<String> lines) { 48 for (String line : lines) {
|
BatteryUsageParser.java | 44 public BatteryUsageItem parse(List<String> lines) { 45 for (String line : lines) {
|
CpuInfoParser.java | 38 public CpuInfoItem parse(List<String> lines) { 40 for (String line : lines) {
|