/development/tools/bugreport/src/com/android/bugreport/util/ |
Lines.java | 28 * A stream of parsed lines. Can be rewound, and sub-regions cloned for 31 public class Lines<T extends Line> { 42 * Read the whole file into a Lines object. 44 public static Lines<Line> readLines(File file) throws IOException { 48 return Lines.readLines(reader); 57 * Read the whole file into a Lines object. 59 public static Lines<Line> readLines(BufferedReader in) throws IOException { 69 return new Lines<Line>(list); 73 * Construct with a list of lines. 75 public Lines(ArrayList<? extends Line> list) [all...] |
/external/clang/lib/Format/ |
BreakableToken.cpp | 259 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n"); 262 LeadingWhitespace.resize(Lines.size()); 263 StartOfLineColumn.resize(Lines.size()); 265 for (size_t i = 1; i < Lines.size(); ++i) 269 if (Lines.size() == 1 && !FirstInLine) { 272 // lines with the first one. 277 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) { 279 if (i + 1 == e && Lines[i].empty()) 281 if (!Lines[i].empty() && i + 1 != e && Decoration.startswith(Lines[i]) [all...] |
UnwrappedLineFormatter.h | 12 /// linebreaks unwrapped lines can be formatted in. 42 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines,
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/ |
Misc.h | 21 Advance/Retreat lines.
36 Advance/Retreat lines and set CurrentLine in BufferImage to it.
51 Free all the lines in HBufferImage.
53 Lines
59 @param[in] Lines The lines.
66 IN HEFI_EDITOR_LINE *Lines
|
/development/tools/bugreport/src/com/android/bugreport/monkey/ |
MonkeyLogParser.java | 23 import com.android.bugreport.util.Lines; 48 public void parse(Bugreport bugreport, Lines<? extends Line> in) throws IOException { 49 // Get the lines 50 final Lines<Line> lines = extractAnrLines(in); local 51 if (!lines.hasNext()) { 55 final Line line = lines.next(); 62 final ArrayList<Anr> anrs = anrParser.parse(lines, true); 71 * Pull out the ANR lines from a monkey log. 73 private static Lines<Line> extractAnrLines(Lines<? extends Line> lines) throws IOException [all...] |
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
MetadataParser.java | 20 import com.android.bugreport.util.Lines; 59 public void parseHeader(Lines<? extends Line> lines) { 63 while (lines.hasNext()) { 64 final Line line = lines.next(); 83 public void parseFooter(Lines<? extends Line> lines, int durationMs) {
|
BugreportParser.java | 23 import com.android.bugreport.util.Lines; 73 * Parse the given lines. Add any information found to mBugreport. 75 public void parse(String section, String command, Lines<? extends Line> lines); 93 public Bugreport parse(Lines<? extends Line> lines) { 101 pos = lines.pos; 102 while (lines.hasNext()) { 103 final Line line = lines.next(); 105 lines.rewind() [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Trim/ |
Trim.py | 143 Lines = f.readlines()
151 for Index in range(len(Lines)):
152 Line = Lines[Index]
154 # Find out the name of files injected by preprocessor from the lines
173 # Any non-empty lines must be from original preprocessed file.
193 # in case preprocessor removed some lines, like blank or comment lines
203 EdkLogger.verbose("Now we have lines: %d" % len(NewLines))
209 NewLines = Lines
235 Lines = f.readlines() [all...] |
/development/tools/bugreport/src/com/android/bugreport/ |
Main.java | 25 import com.android.bugreport.util.Lines; 78 bugreport = parser.parse(Lines.readLines(options.bugreport)); 90 parser.parse(bugreport, Lines.readLines(options.monkey)); 103 bugreport.logcat = parser.parse(Lines.readLines(options.logcat));
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/m68hc11/ |
malis-include.s | 13 ;; Lines starting with '#' represent instructions that fail in GAS.
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
GCOV.cpp | 175 DeleteContainerSeconds(Lines); 179 GCOVLines *&LinesForFile = Lines[Filename]; 188 for (StringMap<GCOVLines *>::iterator I = Lines.begin(), 189 E = Lines.end(); I != E; ++I) 203 if (!Lines.empty()) { 205 for (StringMap<GCOVLines *>::iterator LI = Lines.begin(), 206 LE = Lines.end(); LI != LE; ++LI) { 221 for (SmallVector<uint32_t, 16>::iterator I = Lines.begin(), 222 E = Lines.end(); I != E; ++I) 228 for (SmallVector<uint32_t, 16>::iterator I = Lines.begin() [all...] |
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/ |
CpuUsageParser.java | 21 import com.android.bugreport.util.Lines; 43 public CpuUsageSnapshot parse(Lines<? extends Line> lines) { 49 while (lines.hasNext()) { 50 final Line line = lines.next();
|
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
VmTracesParser.java | 23 import com.android.bugreport.util.Lines; 52 public VmTraces parse(Lines<? extends Line> lines) { 56 while (lines.hasNext()) { 57 final Line line = lines.next(); 60 lines.rewind(); 65 while (lines.hasNext()) { 66 final Line line = lines.next(); 70 lines.rewind(); 72 final ProcessSnapshot snapshot = parser.parse(lines); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
EdkIIWorkspace.py | 256 Lines = []
257 Lines = F.readlines()
260 Lines = []
267 for Line in Lines:
276 Lines.pop(Index)
278 Lines.insert(Index, Line)
286 Lines.append(Line)
291 F.writelines(Lines)
|
String.py | 157 # @param Lines: The content to be parsed
164 def GetLibraryClassesWithModuleType(Lines, Key, KeyValues, CommentCharacter):
166 Lines = Lines.split(DataType.TAB_SECTION_END, 1)[1]
167 LineList = Lines.splitlines()
179 # @param Lines: The content to be parsed
186 def GetDynamics(Lines, Key, KeyValues, CommentCharacter):
192 Lines = Lines.split(DataType.TAB_SECTION_END, 1)[1]
193 LineList = Lines.splitlines() [all...] |
/external/llvm/lib/Support/ |
Signals.cpp | 145 SmallVector<StringRef, 32> Lines; 146 Output.split(Lines, "\n"); 147 auto CurLine = Lines.begin(); 154 // Read pairs of lines (function name and file/line info) until we 157 if (CurLine == Lines.end()) 165 if (CurLine == Lines.end())
|
Host.cpp | 1047 SmallVector<StringRef, 32> Lines; 1048 Str.split(Lines, "\n"); 1052 for (unsigned I = 0, E = Lines.size(); I != E; ++I) 1053 if (Lines[I].startswith("CPU implementer")) 1054 Implementer = Lines[I].substr(15).ltrim("\t :"); 1058 for (unsigned I = 0, E = Lines.size(); I != E; ++I) 1059 if (Lines[I].startswith("CPU part")) 1063 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) 1079 for (unsigned I = 0, E = Lines.size(); I != E; ++I) 1080 if (Lines[I].startswith("CPU part") [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Signals.cpp | 145 SmallVector<StringRef, 32> Lines; 146 Output.split(Lines, "\n"); 147 auto CurLine = Lines.begin(); 154 // Read pairs of lines (function name and file/line info) until we 157 if (CurLine == Lines.end()) 165 if (CurLine == Lines.end())
|
Host.cpp | 1089 SmallVector<StringRef, 32> Lines; 1090 Str.split(Lines, "\n"); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/ |
DscFile.h | 58 SECTION_LINE *Lines;
|
DscFile.c | 21 provides services to find the sections by name, and read the lines from
218 // Read lines and process until done
282 if (DSC->Lines == NULL) {
283 DSC->Lines = NewLine;
460 while (DSC->Lines != NULL) {
461 NextLine = DSC->Lines->Next;
462 free (DSC->Lines->Line);
463 free (DSC->Lines);
464 DSC->Lines = NextLine;
|
/external/llvm/tools/llvm-pdbdump/ |
CompilandDumper.h | 23 enum Flags { None = 0x0, Children = 0x1, Symbols = 0x2, Lines = 0x4 };
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
GCOV.h | 198 StringMap<GCOVLines *> Lines; 204 ~GCOVLines() { Lines.clear(); } 205 void add(uint32_t N) { Lines.push_back(N); } 210 SmallVector<uint32_t, 4> Lines;
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
LogcatParser.java | 20 import com.android.bugreport.util.Lines; 47 * Parse the logcat lines, returning a Logcat object. 49 public Logcat parse(Lines<? extends Line> lines) { 55 while (lines.hasNext()) { 56 final Line line = lines.next(); 67 result.lines.add(ll); 82 result.lines.add(ll);
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
UniClassObject.py | 401 Lines = []
444 Lines.extend(self.PreProcess(IncFile))
450 Lines.append(Line)
452 return Lines
464 Lines = self.PreProcess(File)
469 for IndexI in range(len(Lines)):
470 Line = Lines[IndexI]
471 if (IndexI + 1) < len(Lines):
472 SecondLine = Lines[IndexI + 1]
473 if (IndexI + 2) < len(Lines): [all...] |