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

1234

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Format/
H A DTokenAnnotator.h40 AnnotatedLine(const UnwrappedLine &Line) argument
41 : First(Line.Tokens.front().Tok), Level(Line.Level),
42 InPPDirective(Line.InPPDirective),
43 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false),
45 assert(!Line.Tokens.empty());
52 for (std::list<UnwrappedLineNode>::const_iterator I = ++Line.Tokens.begin(),
53 E = Line.Tokens.end();
108 void annotate(AnnotatedLine &Line);
109 void calculateFormattingInformation(AnnotatedLine &Line);
[all...]
H A DUnwrappedLineParser.cpp37 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, argument
39 : Line(Line), Stack(Stack) {
40 Line.MustBeDeclaration = MustBeDeclaration;
46 Line.MustBeDeclaration = Stack.back();
48 Line.MustBeDeclaration = true;
52 UnwrappedLine &Line; member in class:clang::format::__anon3277::ScopedDeclarationState
58 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, argument
60 : Line(Line), TokenSourc
108 UnwrappedLine &Line; member in class:clang::format::__anon3277::ScopedMacroState
1241 printDebugInfo(const UnwrappedLine &Line, StringRef Prefix = �) argument
[all...]
H A DTokenAnnotator.cpp32 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, argument
34 : Style(Style), Line(Line), CurrentToken(Line.First),
66 Line.First->isNot(tok::kw_template))
273 Line.StartsDefinition = true;
320 if (Tok->Previous == NULL && Line.MustBeDeclaration)
332 Line.First->Type == TT_ObjCMethodSpecifier) {
346 } else if (Contexts.size() == 1 && Line.First->isNot(tok::kw_enum)) {
369 if (Line
852 AnnotatedLine &Line; member in class:clang::format::__anon3276::AnnotatingParser
866 ExpressionParser(AnnotatedLine &Line) argument
1030 annotate(AnnotatedLine &Line) argument
1055 calculateFormattingInformation(AnnotatedLine &Line) argument
1109 calculateUnbreakableTailLengths(AnnotatedLine &Line) argument
1125 splitPenalty(const AnnotatedLine &Line, const FormatToken &Tok, bool InFunctionDecl) argument
1215 spaceRequiredBetween(const AnnotatedLine &Line, const FormatToken &Left, const FormatToken &Right) argument
1321 spaceRequiredBefore(const AnnotatedLine &Line, const FormatToken &Tok) argument
1382 mustBreakBefore(const AnnotatedLine &Line, const FormatToken &Right) argument
1415 canBreakBefore(const AnnotatedLine &Line, const FormatToken &Right) argument
1510 printDebugInfo(const AnnotatedLine &Line) argument
[all...]
H A DUnwrappedLineParser.h54 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0;
112 // FIXME: We are constantly running into bugs where Line.Level is incorrectly
113 // subtracted from beyond 0. Introduce a method to subtract from Line.Level
115 OwningPtr<UnwrappedLine> Line; member in class:clang::format::UnwrappedLineParser
H A DContinuationIndenter.cpp69 const AnnotatedLine *Line,
74 State.Line = Line;
75 State.NextToken = Line->First;
76 State.Stack.push_back(ParenState(FirstIndent, Line->Level, FirstIndent,
192 State.Line->MightBeFunctionDecl &&
237 (State.Line->First->is(tok::kw_for) || State.ParenLevel == 0) &&
375 State.Line->StartsDefinition))) {
427 State.Column, State.Line->InPPDirective);
461 State.Line
68 getInitialState(unsigned FirstIndent, const AnnotatedLine *Line, bool DryRun) argument
[all...]
/freebsd-10-stable/sys/contrib/dev/acpica/compiler/
H A Daslascii.c104 Status.Line = 1;
145 Byte, Status.Line, Status.Offset);
159 Byte, Status.Line, Status.Offset);
168 Status.Line++;
247 Status->Line++;
284 Status->Line++;
H A Dprexpress.c55 char *Line);
100 * PARAMETERS: Line - Pointer into the current line
110 char *Line)
166 return (Line);
252 * PARAMETERS: Line - Pointer to integer expression
265 char *Line,
273 "**** Resolve #if: %s\n", Gbl_CurrentLineNumber, Line);
277 ExpandedLine = PrExpandMacros (Line);
109 PrExpandMacros( char *Line) argument
264 PrResolveIntegerExpression( char *Line, UINT64 *ReturnValue) argument
/freebsd-10-stable/contrib/llvm/tools/lli/ChildTarget/Unix/
H A DChildTarget.inc144 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
145 asm volatile("dcbf 0, %0" : : "r"(Line));
148 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
149 asm volatile("icbi 0, %0" : : "r"(Line));
/freebsd-10-stable/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c77 UINT32 Line);
84 UINT32 Line);
133 * Line - Line number of caller
146 UINT32 Line)
156 ACPI_WARNING ((Module, Line,
166 ACPI_WARNING ((Module, Line,
173 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line);
202 * Line - Line numbe
142 AcpiUtAllocateAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
211 AcpiUtAllocateZeroedAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument
280 AcpiUtFreeAndTrack( void *Allocation, UINT32 Component, const char *Module, UINT32 Line) argument
406 AcpiUtTrackAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, ACPI_SIZE Size, UINT8 AllocType, UINT32 Component, const char *Module, UINT32 Line) argument
510 AcpiUtRemoveAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, UINT32 Component, const char *Module, UINT32 Line) argument
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/DebugInfo/
H A DDIContext.h35 uint32_t Line; member in class:llvm::DILineInfo
40 Line(0), Column(0) {}
43 : FileName(fileName), FunctionName(functionName), Line(line),
48 uint32_t getLine() const { return Line; }
52 return Line == RHS.Line && Column == RHS.Column &&
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
H A DSampleProfile.cpp304 StringRef Line = Loader.readLine(); local
305 if (Line != "symbol table")
306 Loader.reportParseError("Expected 'symbol table', found " + Line);
308 Line = Loader.readLine();
309 if (Line.getAsInteger(10, NumSymbols))
310 Loader.reportParseError("Expected a number, found " + Line);
326 Line = Loader.readLine();
327 if (!HeadRE.match(Line, &Matches))
329 Line);
342 Line
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DInclusionRewriter.cpp73 void WriteLineInfo(const char *Filename, int Line,
105 /// \p Line we are located at, using the specified \p EOL line separator, and
107 void InclusionRewriter::WriteLineInfo(const char *Filename, int Line, argument
113 OS << "#line" << ' ' << Line << ' ' << '"'; local
119 OS << '#' << ' ' << Line << ' ' << '"'; local
221 StringRef EOL, int &Line,
232 Line += std::count(FromFile.getBufferStart() + WriteFrom,
245 /// and \p Line to track the number of source lines visited and the progress
251 unsigned &NextToWrite, int &Line) {
253 SM.getFileOffset(StartToken.getLocation()), EOL, Line);
219 OutputContentUpTo(const MemoryBuffer &FromFile, unsigned &WriteFrom, unsigned WriteTo, StringRef EOL, int &Line, bool EnsureNewline) argument
247 CommentOutDirective(Lexer &DirectiveLex, const Token &StartToken, const MemoryBuffer &FromFile, StringRef EOL, unsigned &NextToWrite, int &Line) argument
368 int Line = 1; // The current input file line number. local
[all...]
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DFormattedStream.cpp25 unsigned &Line = Position.second; local
33 Line += 1;
/freebsd-10-stable/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-stable/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-stable/contrib/llvm/lib/Support/Unix/
H A DMemory.inc328 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
329 asm volatile("dcbf 0, %0" : : "r"(Line));
332 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
333 asm volatile("icbi 0, %0" : : "r"(Line));
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DGCOV.cpp137 for (uint32_t Line = 0; Count > 0; ++Line) {
138 if (Line >= Blocks.size()) {
142 GCOVBlock &Block = *Blocks[Line];
212 uint32_t Line; local
213 if (!Buff.readInt(Line)) return false;
214 if (!Line) break;
215 Block->addLine(Line);
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-stable/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-stable/contrib/llvm/lib/Transforms/Instrumentation/
H A DDebugIR.cpp80 /// If V appears on a line in the textual IR representation, sets Line to the
82 bool getLine(const Value *V, unsigned int &Line) const {
85 Line = i->second;
199 unsigned Line = 0; local
200 if (!findLine(&F, Line)) {
221 DICompileUnit(CUNode), F.getName(), MangledName, DIFile(FileNode), Line,
244 unsigned Line; local
245 if (!LineTable.getLine(RealInst, Line)) {
257 NewLoc = DebugLoc::get(Line, Col, Loc.getScope(RealInst->getContext()),
260 NewLoc = DebugLoc::get(Line, Co
346 findLine(const Value *V, unsigned &Line) argument
[all...]
/freebsd-10-stable/sys/contrib/dev/acpica/include/
H A Dacoutput.h327 #define ACPI_DO_DEBUG_PRINT(Function, Level, Line, Filename, Modulename, Component, ...) \
331 Function (Level, Line, Filename, Modulename, Component, __VA_ARGS__); \
335 #define ACPI_ACTUAL_DEBUG(Level, Line, Filename, Modulename, Component, ...) \
336 ACPI_DO_DEBUG_PRINT (AcpiDebugPrint, Level, Line, \
339 #define ACPI_ACTUAL_DEBUG_RAW(Level, Line, Filename, Modulename, Component, ...) \
340 ACPI_DO_DEBUG_PRINT (AcpiDebugPrintRaw, Level, Line, \
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h33 SourceLocation() : Line(), Column() {}
34 unsigned Line; member in struct:clang::ast_matchers::dynamic::SourceLocation
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DDebugLoc.h60 static DebugLoc get(unsigned Line, unsigned Col,
/freebsd-10-stable/contrib/llvm/lib/DebugInfo/
H A DDWARFContext.cpp261 if (!Line)
262 Line.reset(new DWARFDebugLine(&getLineSection().Relocs));
271 if (const DWARFLineTable *lt = Line->getLineTable(stmtOffset))
277 return Line->getOrParseLineTable(lineData, stmtOffset);
398 uint32_t &Line, uint32_t &Column) {
410 Line = Row.Line;
422 uint32_t Line = 0; local
442 FileName, Line, Column);
445 Line, Colum
393 getFileLineInfoForCompileUnit(DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t Address, bool NeedsAbsoluteFilePath, std::string &FileName, uint32_t &Line, uint32_t &Column) argument
520 uint32_t Line = 0; local
553 Line, Column); local
[all...]

Completed in 121 milliseconds

1234