Searched refs:Line (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineParser.cpp27 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, argument
29 : Line(Line), Stack(Stack) {
30 Line.MustBeDeclaration = MustBeDeclaration;
36 Line.MustBeDeclaration = Stack.back();
38 Line.MustBeDeclaration = true;
41 UnwrappedLine &Line; member in class:clang::format::ScopedDeclarationState
47 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, argument
49 : Line(Line), TokenSourc
86 UnwrappedLine &Line; member in class:clang::format::ScopedMacroState
[all...]
H A DTokenAnnotator.h209 AnnotatedLine(const UnwrappedLine &Line) argument
210 : First(Line.Tokens.front()), Level(Line.Level),
211 InPPDirective(Line.InPPDirective),
212 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false),
214 assert(!Line.Tokens.empty());
216 for (std::list<FormatToken>::const_iterator I = ++Line.Tokens.begin(),
217 E = Line.Tokens.end();
262 void annotate(AnnotatedLine &Line);
263 void calculateFormattingInformation(AnnotatedLine &Line);
[all...]
H A DTokenAnnotator.cpp81 AnnotatingParser(SourceManager &SourceMgr, Lexer &Lex, AnnotatedLine &Line, argument
83 : SourceMgr(SourceMgr), Lex(Lex), Line(Line), CurrentToken(&Line.First),
266 Line.StartsDefinition = true;
309 if (Tok->Parent == NULL && Line.MustBeDeclaration)
319 Line.First.Type == TT_ObjCMethodSpecifier) {
353 if (Line.MustBeDeclaration && NameFound && !Contexts.back().IsExpression)
354 Line.MightBeFunctionDecl = true;
400 if (Line
770 AnnotatedLine &Line; member in class:clang::format::AnnotatingParser
781 ExpressionParser(AnnotatedLine &Line) argument
848 annotate(AnnotatedLine &Line) argument
871 calculateFormattingInformation(AnnotatedLine &Line) argument
919 splitPenalty(const AnnotatedLine &Line, const AnnotatedToken &Tok) argument
995 spaceRequiredBetween(const AnnotatedLine &Line, const AnnotatedToken &Left, const AnnotatedToken &Right) argument
1064 spaceRequiredBefore(const AnnotatedLine &Line, const AnnotatedToken &Tok) argument
1125 canBreakBefore(const AnnotatedLine &Line, const AnnotatedToken &Right) argument
1187 printDebugInfo(const AnnotatedLine &Line) argument
[all...]
H A DUnwrappedLineParser.h120 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0;
171 // FIXME: We are constantly running into bugs where Line.Level is incorrectly
172 // subtracted from beyond 0. Introduce a method to subtract from Line.Level
174 OwningPtr<UnwrappedLine> Line; member in class:clang::format::UnwrappedLineParser
H A DFormat.cpp116 const AnnotatedLine &Line, unsigned FirstIndent,
119 : Style(Style), SourceMgr(SourceMgr), Line(Line),
148 if (Line.Last->TotalLength <= ColumnLimit - FirstIndent) {
157 if (Line.Type == LT_ObjCMethodDecl)
217 /// \brief Line breaking in this context would break a formatting rule.
346 State.Column = Line.Level * 2;
375 Line.StartsDefinition)) {
409 if (!Line.InPPDirective)
439 Line
115 UnwrappedLineFormatter(const FormatStyle &Style, SourceManager &SourceMgr, const AnnotatedLine &Line, unsigned FirstIndent, const AnnotatedToken &RootToken, WhitespaceManager &Whitespaces) argument
886 const AnnotatedLine &Line; member in class:clang::format::UnwrappedLineFormatter
1246 AnnotatedLine &Line = *I; local
[all...]
/freebsd-10.0-release/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c79 UINT32 Line);
86 UINT32 Line);
135 * Line - Line number of caller
148 UINT32 Line)
155 Component, Module, Line);
162 ACPI_MEM_MALLOC, Component, Module, Line);
188 * Line - Line number of caller
201 UINT32 Line)
144 AcpiUtAllocateAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
197 AcpiUtAllocateZeroedAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
254 AcpiUtFreeAndTrack( void *Allocation, UINT32 Component, const char *Module, UINT32 Line) argument
380 AcpiUtTrackAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, ACPI_SIZE Size, UINT8 AllocType, UINT32 Component, const char *Module, UINT32 Line) argument
483 AcpiUtRemoveAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, UINT32 Component, const char *Module, UINT32 Line) argument
[all...]
H A Dutalloc.c333 * Line - Line number of caller
346 UINT32 Line)
358 ACPI_WARNING ((Module, Line,
368 ACPI_WARNING ((Module, Line,
385 * Line - Line number of caller
398 UINT32 Line)
406 Allocation = AcpiUtAllocate (Size, Component, Module, Line);
342 AcpiUtAllocate( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
394 AcpiUtAllocateZeroed( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
/freebsd-10.0-release/contrib/llvm/include/llvm/DebugInfo/
H A DDIContext.h34 uint32_t Line; member in class:llvm::DILineInfo
39 Line(0), Column(0) {}
44 Line(line), Column(column) {}
48 uint32_t getLine() const { return Line; }
52 return Line == RHS.Line && Column == RHS.Column &&
/freebsd-10.0-release/sys/contrib/dev/acpica/compiler/
H A Dprexpress.c55 char *Line);
99 * PARAMETERS: Line - Pointer into the current line
109 char *Line)
165 return (Line);
251 * PARAMETERS: Line - Pointer to integer expression
264 char *Line,
272 "**** Resolve #if: %s\n", Gbl_CurrentLineNumber, Line);
276 ExpandedLine = PrExpandMacros (Line);
108 PrExpandMacros( char *Line) argument
263 PrResolveIntegerExpression( char *Line, UINT64 *ReturnValue) argument
H A Ddtutils.c95 FieldObject->Line,
96 FieldObject->Line,
151 FieldObject->Line,
152 FieldObject->Line,
H A Daslcompile.c324 Status->Line++;
348 Status->Line++;
469 Status.Line = 1;
509 Byte, Status.Line, Status.Offset);
519 Status.Line++;
H A Ddtio.c66 UINT32 Line,
238 * Line - Current line number in the source
250 UINT32 Line,
375 Field->Line = Line;
406 * Line is returned in Gbl_CurrentLineBuffer.
407 * Line number in original file is returned in Gbl_CurrentLineNumber.
750 ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "Line %2.2u/%4.4X - %s",
943 Field->Line, Field->ByteOffset, Field->NameColumn,
248 DtParseLine( char *LineBuffer, UINT32 Line, UINT32 Offset) argument
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DInclusionRewriter.cpp68 void WriteLineInfo(const char *Filename, int Line,
100 /// \p Line we are located at, using the specified \p EOL line separator, and
102 void InclusionRewriter::WriteLineInfo(const char *Filename, int Line, argument
108 OS << "#line" << ' ' << Line << ' ' << '"' << Filename << '"';
112 OS << '#' << ' ' << Line << ' ' << '"' << Filename << '"';
212 StringRef EOL, int &Line,
218 Line += std::count(FromFile.getBufferStart() + WriteFrom,
231 /// and \p Line to track the number of source lines visited and the progress
237 unsigned &NextToWrite, int &Line) {
239 SM.getFileOffset(StartToken.getLocation()), EOL, Line);
210 OutputContentUpTo(const MemoryBuffer &FromFile, unsigned &WriteFrom, unsigned WriteTo, StringRef EOL, int &Line, bool EnsureNewline) argument
233 CommentOutDirective(Lexer &DirectiveLex, const Token &StartToken, const MemoryBuffer &FromFile, StringRef EOL, unsigned &NextToWrite, int &Line) argument
354 int Line = 1; // The current input file line number. local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h27 unsigned Line; member in struct:clang::ParsedSourceLocation
41 !LineSplit.second.getAsInteger(10, PSL.Line)) {
H A DLogDiagnosticPrinter.h31 unsigned Line; member in struct:clang::LogDiagnosticPrinter::DiagEntry
/freebsd-10.0-release/sys/boot/i386/boot2/
H A Dsio.S42 incl %edx # Line status reg
58 movw $SIO_PRT+0x5,%dx # Line status reg
80 sio_ischar: movw $SIO_PRT+0x5,%dx # Line status register
/freebsd-10.0-release/contrib/llvm/lib/Support/Unix/
H A DMemory.inc321 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
322 asm volatile("dcbf 0, %0" : : "r"(Line));
325 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
326 asm volatile("icbi 0, %0" : : "r"(Line));
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManagerInternals.h26 // Line Table Implementation
49 static LineEntry get(unsigned Offs, unsigned Line, int Filename, argument
54 E.LineNo = Line;
/freebsd-10.0-release/contrib/llvm/lib/DebugInfo/
H A DDWARFContext.cpp210 if (!Line)
211 Line.reset(new DWARFDebugLine(&lineRelocMap()));
220 if (const DWARFLineTable *lt = Line->getLineTable(stmtOffset))
226 return Line->getOrParseLineTable(lineData, stmtOffset);
331 uint32_t &Line, uint32_t &Column) {
343 Line = Row.Line;
355 uint32_t Line = 0; local
375 FileName, Line, Column);
378 Line, Colum
326 getFileLineInfoForCompileUnit(DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t Address, bool NeedsAbsoluteFilePath, std::string &FileName, uint32_t &Line, uint32_t &Column) argument
457 uint32_t Line = 0; local
489 Line, Column); local
[all...]
/freebsd-10.0-release/sys/contrib/dev/acpica/include/
H A Dacoutput.h306 #define ACPI_DO_DEBUG_PRINT(Function, Level, Line, Filename, Modulename, Component, ...) \
310 Function (Level, Line, Filename, Modulename, Component, __VA_ARGS__); \
314 #define ACPI_ACTUAL_DEBUG(Level, Line, Filename, Modulename, Component, ...) \
315 ACPI_DO_DEBUG_PRINT (AcpiDebugPrint, Level, Line, \
318 #define ACPI_ACTUAL_DEBUG_RAW(Level, Line, Filename, Modulename, Component, ...) \
319 ACPI_DO_DEBUG_PRINT (AcpiDebugPrintRaw, Level, Line, \
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DDebugLoc.h58 static DebugLoc get(unsigned Line, unsigned Col,
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DDebugLoc.cpp74 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, argument
83 if (Line >= (1 << 24)) Line = 0;
84 Result.LineCol = Line | (Col << 24);
/freebsd-10.0-release/contrib/llvm/include/llvm/MC/
H A DMCContext.h319 void addMCLineSection(const MCSection *Sec, MCLineSection *Line) { argument
320 MCLineSections[Sec] = Line;
347 void setCurrentDwarfLoc(unsigned FileNum, unsigned Line, unsigned Column, argument
351 CurrentDwarfLoc.setLine(Line);
H A DMCDwarf.h79 // Line - the line number.
80 unsigned Line; member in class:llvm::MCDwarfLoc
103 : FileNum(fileNum), Line(line), Column(column), Flags(flags), Isa(isa),
113 /// getLine - Get the Line of this MCDwarfLoc.
114 unsigned getLine() const { return Line; }
131 /// setLine - Set the Line of this MCDwarfLoc.
132 void setLine(unsigned line) { Line = line; }
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp41 std::string Line; local
42 getline(Input, Line);
44 StringRef LineStr(Line);

Completed in 434 milliseconds

123