HomeSort by: relevance | last modified time | path
    Searched refs:Line (Results 1 - 25 of 269) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
ResourceScriptCppFilter.cpp 29 // Parse the line, returning whether the line should be included in
31 bool parseLine(StringRef Line);
49 StringRef Line = Data.take_front(Pos).drop_front(LineStart);
51 if (parseLine(Line))
52 Output.push_back(Line);
58 bool Filter::parseLine(StringRef Line) {
59 Line = Line.ltrim();
61 if (!Line.consume_front("#"))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Format/
AffectedRangeManager.cpp 29 AnnotatedLine *Line = *I;
30 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First);
32 // If a line is part of a preprocessor directive, it needs to be formatted
34 if (Line->InPPDirective) {
35 FormatToken *Last = Line->Last;
42 if (affectsTokenRange(*Line->First, *Last,
51 if (nonPPLineAffected(Line, PreviousLine, Lines))
54 PreviousLine = Line;
102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine
    [all...]
TokenAnnotator.h 29 LT_ObjCDecl, // An @interface, @implementation, or @protocol line.
31 LT_ObjCProperty, // An @property line.
39 AnnotatedLine(const UnwrappedLine &Line)
40 : First(Line.Tokens.front().Tok), Level(Line.Level),
41 MatchingOpeningBlockLineIndex(Line.MatchingOpeningBlockLineIndex),
42 MatchingClosingBlockLineIndex(Line.MatchingClosingBlockLineIndex),
43 InPPDirective(Line.InPPDirective),
44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false),
47 FirstStartColumn(Line.FirstStartColumn)
    [all...]
UnwrappedLineParser.cpp 41 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack,
43 : Line(Line), Stack(Stack) {
44 Line.MustBeDeclaration = MustBeDeclaration;
50 Line.MustBeDeclaration = Stack.back();
52 Line.MustBeDeclaration = true;
56 UnwrappedLine &Line;
64 // Checks if \p FormatTok is a line comment that continues the line comment
81 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource
    [all...]
UsingDeclarationsSorter.cpp 68 const AnnotatedLine *Line;
71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label)
72 : Line(Line), Label(Label) {}
119 if (Declaration.Line->Affected) {
142 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin();
143 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc();
152 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line)
154 auto Begin = (*UsingDeclarations)[I].Line->First->Tok.getLocation()
    [all...]
UnwrappedLineFormatter.cpp 22 bool startsExternCBlock(const AnnotatedLine &Line) {
23 const FormatToken *Next = Line.First->getNextNonComment();
25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() &&
32 /// getIndent() will return the indent for the last line \c nextLine was called
34 /// If the line is not formatted (and thus the indent does not change), calling
37 /// given line.
48 /// Returns the indent for the current line.
51 /// Update the indent state given that \p Line is going to be formatted
53 void nextLine(const AnnotatedLine &Line) {
54 Offset = getIndentOffset(*Line.First)
    [all...]
NamespaceEndCommentsFixer.h 25 // If \p Line contains the closing `}` of a namespace, is affected and is not in
28 // \p AnnotatedLines is the sequence of lines from which \p Line is a member of.
30 getNamespaceToken(const AnnotatedLine *Line,
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/
LineEntry.h 17 /// Line entries are used to encode the line tables in FunctionInfo objects.
19 /// address, file and line of the line table row for a given address. The
20 /// size of a line table entry is calculated by looking at the next entry
23 uint64_t Addr; ///< Start address of this line entry.
25 uint32_t Line; ///< Source line number.
27 : Addr(A), File(F), Line(L) {}
33 << ", line=" << format("%3u", LE.Line)
    [all...]
LookupResult.h 24 StringRef Dir; ///< Line entry source file directory path.
25 StringRef Base; ///< Line entry source file basename.
26 uint32_t Line = 0; ///< Source file line number.
32 LHS.Base == RHS.Base && LHS.Line == RHS.Line &&
46 /// be filled in if the FunctionInfo contains a line table. If an address is
  /src/external/apache2/llvm/dist/llvm/lib/Support/
SymbolRemappingReader.cpp 36 StringRef Line = *LineIt;
37 Line = Line.ltrim(' ');
39 if (Line.startswith("#") || Line.empty())
43 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false);
47 "found '" + Line + "'");
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_powerpc64.cc 38 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
39 asm volatile("dcbf 0, %0" : : "r"(Line));
42 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
43 asm volatile("icbi 0, %0" : : "r"(Line));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
SymbolRemappingReader.h 71 SymbolRemappingParseError(StringRef File, int64_t Line, const Twine &Message)
72 : File(File), Line(Line), Message(Message.str()) {}
75 OS << File << ':' << Line << ": " << Message;
82 int64_t getLineNum() const { return Line; }
89 int64_t Line;
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
NativeLineNumber.cpp 1 //===- NativeLineNumber.cpp - Native line number implementation -*- C++ -*-===//
15 const codeview::LineInfo Line,
19 : Session(Session), Line(Line), ColumnNumber(ColumnNumber),
23 uint32_t NativeLineNumber::getLineNumber() const { return Line.getStartLine(); }
26 return Line.getEndLine();
51 bool NativeLineNumber::isStatement() const { return Line.isStatement(); }
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
SourceCoverageView.h 57 unsigned Line;
60 InstantiationView(StringRef FunctionName, unsigned Line,
62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {}
66 return LHS.Line < RHS.Line;
70 /// A view that represents one or more branch regions on a given source line.
74 unsigned Line;
76 BranchView(unsigned Line, ArrayRef<CountedRegion> Regions,
78 : Regions(Regions), View(std::move(View)), Line(Line) {
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
aslascii.c 104 Status.Line = 1;
144 "0x%2.2X in line %u, file offset 0x%2.2X\n",
145 Byte, Status.Line, Status.Offset);
158 "0x%2.2X in line %u, file offset 0x%2.2X\n",
159 Byte, Status.Line, Status.Offset);
164 /* Update line counter as necessary */
168 Status.Line++;
246 /* Maintain line count */
250 Status->Line++;
287 Status->Line++
    [all...]
prexpress.c 53 char *Line);
98 * PARAMETERS: Line - Pointer into the current line
100 * RETURN: Updated pointer into the current line
102 * DESCRIPTION: Expand any macros found in the current line buffer.
108 char *Line)
143 /* Replace the name in the original line buffer */
164 return (Line);
250 * PARAMETERS: Line - Pointer to integer expression
263 char *Line,
    [all...]
  /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
IRBindings.h 30 unsigned Line;
46 void LLVMGoSetCurrentDebugLocation(LLVMBuilderRef Bref, unsigned Line,
  /src/external/apache2/llvm/dist/llvm/lib/LineEditor/
LineEditor.cpp 1 //===-- LineEditor.cpp - line editor --------------------------------------===//
122 // the line editor business, here we are.
158 // to the end of the line, so that when we emit a newline we will be on
159 // a new blank line. The tab causes libedit to call this function again
169 // Move cursor to a blank line.
181 // the line after this.
186 // the distance between end of line and the original cursor position.
259 const char *Line = ::el_gets(Data->EL, &LineLen);
262 if (!Line || LineLen == 0)
267 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_value.h 47 u32 Line;
51 SourceLocation() : Filename(), Line(), Column() {}
52 SourceLocation(const char *Filename, unsigned Line, unsigned Column)
53 : Filename(Filename), Line(Line), Column(Column) {}
64 return SourceLocation(Filename, Line, OldColumn);
75 /// \brief Get the presumed line number.
76 unsigned getLine() const { return Line; }
77 /// \brief Get the column within the presumed line.
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_value.h 46 u32 Line;
50 SourceLocation() : Filename(), Line(), Column() {}
51 SourceLocation(const char *Filename, unsigned Line, unsigned Column)
52 : Filename(Filename), Line(Line), Column(Column) {}
63 return SourceLocation(Filename, Line, OldColumn);
74 /// \brief Get the presumed line number.
75 unsigned getLine() const { return Line; }
76 /// \brief Get the column within the presumed line.
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_value.h 46 u32 Line;
50 SourceLocation() : Filename(), Line(), Column() {}
51 SourceLocation(const char *Filename, unsigned Line, unsigned Column)
52 : Filename(Filename), Line(Line), Column(Column) {}
63 return SourceLocation(Filename, Line, OldColumn);
74 /// \brief Get the presumed line number.
75 unsigned getLine() const { return Line; }
76 /// \brief Get the column within the presumed line.
  /src/sys/external/bsd/acpica/dist/utilities/
uttrack.c 50 * line number. AcpiUtAllocate and AcpiUtAllocateZeroed call
77 UINT32 Line);
84 UINT32 Line);
131 * Line - Line number of caller
144 UINT32 Line)
154 ACPI_WARNING ((Module, Line,
164 ACPI_WARNING ((Module, Line,
171 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line);
200 * Line - Line number of calle
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineDebugify.cpp 53 // This will likely emit line numbers beyond the end of the imagined
55 // that as it doesn't really matter to the compiler where the line is in
64 // Instead, simply keep track of one variable per line. Later, we can insert
78 unsigned Line = DVI->getDebugLoc().getLine();
79 assert(Line != 0 && "debugify should not insert line 0 locations");
80 Line2Var[Line] = DVI->getVariable();
81 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine())
113 unsigned Line = MI.getDebugLoc().getLine();
114 if (!Line2Var.count(Line))
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-undname/
llvm-undname.cpp 108 StringRef Line(LineStr);
109 Line = Line.trim();
110 if (Line.empty() || Line.startswith("#") || Line.startswith(";"))
115 // input, however, then we should display the input line so that the
118 outs() << Line << "\n";
121 if (!msDemangle(std::string(Line)))
  /src/external/apache2/llvm/dist/clang/include/clang/Frontend/
SerializedDiagnosticReader.h 48 unsigned Line;
52 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset)
53 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {}

Completed in 33 milliseconds

1 2 3 4 5 6 7 8 91011