Home
last modified time | relevance | path

Searched refs:Current (Results 1 – 25 of 179) sorted by relevance

12345678

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DContinuationIndenter.cpp333 if (Current.MustBreakBefore || Current.is(TT_InlineASMColon)) in mustBreak()
463 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
825 if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore) in addTokenOnNewLine()
830 if (Current.is(tok::r_brace) && Current.MatchingParen && in addTokenOnNewLine()
948 if (Current.is(tok::identifier) && Current.Next && in getNewLineColumn()
1069 if (Current.is(TT_ConditionalExpr) && Current.Previous && in moveStateToNextToken()
1084 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1275 if (Current.MatchingParen && Current.BlockKind == BK_Block) { in moveStatePastScopeOpener()
1347 if (Current.is(TT_ObjCMethodExpr) && Current.MatchingParen) { in moveStatePastScopeOpener()
1774 Current, StartColumn, Current.OriginalColumn, !Current.Previous, in createBreakableToken()
[all …]
H A DSortJavaScriptImports.cpp208 FormatToken *Current; member in clang::format::JavaScriptImportSorter
215 void skipComments() { Current = skipComments(Current); } in skipComments()
224 Current = Current->Next; in nextToken()
226 if (!Current || Current == LineEnd->Next) { in nextToken()
230 Current = &invalidToken; in nextToken()
287 Current = Line->First; in parseModuleReferences()
295 if (!Current) { in parseModuleReferences()
336 if (!Current || !Current->isOneOf(Keywords.kw_import, tok::kw_export)) in parseModuleReference()
345 Current->TokenText.substr(1, Current->TokenText.size() - 2); in parseModuleReference()
359 Current->TokenText.substr(1, Current->TokenText.size() - 2); in parseModuleReference()
[all …]
H A DTokenAnnotator.cpp1308 Current.Type = determineStarAmpUsage(Current, in determineTokenType()
1348 if (Current.MatchingParen && Current.Next && in determineTokenType()
1389 Current.Type = Current.Previous->Type; in determineTokenType()
1423 Current.Type = Current.Previous->Type; in determineTokenType()
1759 while (Current && (!Current->closesScope() || Current->opensScope())) { in parse()
1868 if (!Current || !Current->is(tok::question)) in parseConditionalExpr()
1881 Current = Current->Next; in next()
1885 Current = Current->Next; in next()
2166 Current = Current->Next; in calculateFormattingInformation()
2171 for (Current = Line.First; Current != nullptr; Current = Current->Next) { in calculateFormattingInformation()
[all …]
H A DTokenAnnotator.h55 FormatToken *Current = First; in AnnotatedLine() local
60 Current->Next = I->Tok; in AnnotatedLine()
61 I->Tok->Previous = Current; in AnnotatedLine()
62 Current = Current->Next; in AnnotatedLine()
63 Current->Children.clear(); in AnnotatedLine()
69 Last = Current; in AnnotatedLine()
77 FormatToken *Current = First; in ~AnnotatedLine() local
78 while (Current) { in ~AnnotatedLine()
79 Current->Children.clear(); in ~AnnotatedLine()
80 Current->Role.reset(); in ~AnnotatedLine()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DYAMLParser.cpp299 return StringRef(Current, End - Current); in currentInput()
1277 while (Current != End && *Current != '"') in scanFlowScalar()
1288 if (Current + 1 < End && *Current == '\'' && *(Current + 1) == '\'') { in scanFlowScalar()
1411 if ( *Current == '[' || *Current == ']' in scanAliasOrAnchor()
1412 || *Current == '{' || *Current == '}' in scanAliasOrAnchor()
1443 if (Current != End && (*Current == '+' || *Current == '-')) { in scanBlockChompingIndicator()
1466 if (Current != End && (*Current >= '1' && *Current <= '9')) { in scanBlockIndentationIndicator()
1509 if (skip_nb_char(Current) != Current) { in findBlockScalarIndent()
1525 if (skip_b_break(Current) != Current && in findBlockScalarIndent()
1559 if (skip_nb_char(Current) == Current) in scanBlockScalarIndent()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DAttrIterator.h45 mutable Iterator Current; variable
48 while (!isa<SpecificAttr>(*Current)) in AdvanceToNext()
49 ++Current; in AdvanceToNext()
53 while (Current != I && !isa<SpecificAttr>(*Current)) in AdvanceToNext()
54 ++Current; in AdvanceToNext()
69 return cast<SpecificAttr>(*Current);
73 return cast<SpecificAttr>(*Current);
77 ++Current;
88 assert((Left.Current == nullptr) == (Right.Current == nullptr));
89 if (Left.Current < Right.Current)
[all …]
H A DRedeclarable.h242 decl_type *Current = nullptr; variable
254 explicit redecl_iterator(decl_type *C) : Current(C), Starter(C) {} in redecl_iterator()
256 reference operator*() const { return Current; }
257 pointer operator->() const { return Current; }
260 assert(Current && "Advancing while iterator has reached end");
262 if (Current->isFirstDecl()) {
265 Current = nullptr;
272 decl_type *Next = Current->getNextRedeclaration();
273 Current = (Next != Starter) ? Next : nullptr;
284 return x.Current == y.Current;
[all …]
H A DDeclBase.h929 return x.Current == y.Current;
933 return x.Current != y.Current;
1974 Current = Current->getNextDeclInContext();
1985 return x.Current == y.Current;
1989 return x.Current != y.Current;
2027 while (*Current && !isa<SpecificDecl>(*Current)) in SkipToNextDecl()
2061 ++Current;
2074 return x.Current == y.Current;
2079 return x.Current != y.Current;
2150 return x.Current == y.Current;
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/compiler/
H A Dcvcompiler.c420 while (Current) in CvCalculateCommentLengths()
426 Current = Current->Next; in CvCalculateCommentLengths()
433 while (Current) in CvCalculateCommentLengths()
439 Current = Current->Next; in CvCalculateCommentLengths()
534 Current = Op->Asl.CommentList; in CgWriteAmlDefBlockComment()
537 while (Current) in CgWriteAmlDefBlockComment()
541 Current = Current->Next; in CgWriteAmlDefBlockComment()
668 while (Current) in CgWriteAmlComment()
671 Current = Current->Next; in CgWriteAmlComment()
678 while (Current) in CgWriteAmlComment()
[all …]
H A Dcvdisasm.c194 while (Current) in CvPrintOneCommentList()
196 Previous = Current; in CvPrintOneCommentList()
197 if (Current->Comment) in CvPrintOneCommentList()
201 Current->Comment = NULL; in CvPrintOneCommentList()
204 Current = Current->Next; in CvPrintOneCommentList()
512 ACPI_FILE_NODE *Current; in CvSwitchFiles() local
532 Current = FNode; in CvSwitchFiles()
539 while (Current && in CvSwitchFiles()
540 Current->Parent && in CvSwitchFiles()
543 CvPrintInclude (Current, Level); in CvSwitchFiles()
[all …]
H A Dcvparser.c392 if (!Current) in CvCommentExists()
402 while (Current) in CvCommentExists()
404 if (Current->Addr != Address) in CvCommentExists()
406 Current = Current->Next; in CvCommentExists()
456 while (Current) in CvFilenameExists()
460 return (Current); in CvFilenameExists()
463 Current = Current->Next; in CvFilenameExists()
492 while (Current) in CvFileAddressLookup()
496 !Current->FileEnd)) in CvFileAddressLookup()
498 return (Current); in CvFileAddressLookup()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/common/
H A Ddmswitch.c196 ACPI_PARSE_OBJECT_LIST *Current; in AcpiDmProcessSwitch() local
245 while (Current) in AcpiDmProcessSwitch()
266 Current->Op = NULL; in AcpiDmProcessSwitch()
267 Current->Next = NULL; in AcpiDmProcessSwitch()
268 ACPI_FREE (Current); in AcpiDmProcessSwitch()
273 Previous = Current; in AcpiDmProcessSwitch()
274 Current = Current->Next; in AcpiDmProcessSwitch()
314 Current = AcpiGbl_TempListHead; in AcpiDmClearTempList()
316 Current->Op = NULL; in AcpiDmClearTempList()
317 Current->Next = NULL; in AcpiDmClearTempList()
[all …]
/freebsd-12.1/contrib/dtc/
H A Dsrcpos.h80 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
83 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
84 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
85 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
86 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
87 (Current).file = YYRHSLOC(Rhs, N).file; \
89 (Current).first_line = (Current).last_line = \
91 (Current).first_column = (Current).last_column = \
93 (Current).file = YYRHSLOC (Rhs, 0).file; \
/freebsd-12.1/contrib/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp30 if (Current == End) in read()
78 Current += sizeof(float); in read()
87 Current += sizeof(double); in read()
188 Current += sizeof(T); in readRaw()
198 Current += sizeof(T); in readInt()
208 Current += sizeof(T); in readUInt()
218 Current += sizeof(T); in readLength()
228 Current += sizeof(T); in readExt()
238 Current += Size; in createRaw()
243 if (Current == End) in createExt()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp193 auto Current = MI; in runOnMachineFunction() local
196 int Offset = X86II::getMemoryOperandNo(Current->getDesc().TSFlags); in runOnMachineFunction()
199 unsigned Bias = X86II::getOperandBias(Current->getDesc()); in runOnMachineFunction()
202 if (!IsMemOpCompatibleWithPrefetch(*Current, MemOpOffset)) in runOnMachineFunction()
205 if (!findPrefetchInfo(Samples, *Current, Prefetches)) in runOnMachineFunction()
215 MF.CreateMachineInstr(Desc, Current->getDebugLoc(), true); in runOnMachineFunction()
228 Current->getOperand(MemOpOffset + X86::AddrScaleAmt).getImm()) in runOnMachineFunction()
233 .addReg(Current->getOperand(MemOpOffset + X86::AddrSegmentReg) in runOnMachineFunction()
236 if (!Current->memoperands_empty()) { in runOnMachineFunction()
237 MachineMemOperand *CurrentOp = *(Current->memoperands_begin()); in runOnMachineFunction()
[all …]
/freebsd-12.1/contrib/atf/atf-c/
H A Dtc.c1025 pass(&Current); in atf_tc_run()
1059 PRE(Current.tc != NULL); in atf_tc_fail()
1071 PRE(Current.tc != NULL); in atf_tc_fail_nonfatal()
1083 PRE(Current.tc != NULL); in atf_tc_fail_check()
1096 PRE(Current.tc != NULL); in atf_tc_fail_requirement()
1106 PRE(Current.tc != NULL); in atf_tc_pass()
1108 _atf_tc_pass(&Current); in atf_tc_pass()
1114 PRE(Current.tc != NULL); in atf_tc_require_prog()
1124 PRE(Current.tc != NULL); in atf_tc_skip()
1135 PRE(Current.tc != NULL); in atf_tc_check_errno()
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DStratifiedSets.h422 auto *Current = Start; in linksAt() local
423 while (Current->isRemapped()) in linksAt()
424 Current = &Links[Current->getRemapIndex()]; in linksAt()
430 Current = Start; in linksAt()
434 Current = Next; in linksAt()
437 return *Current; in linksAt()
520 auto *Current = Lower; in tryMergeUpwards() local
522 while (Current->hasAbove() && Current != Upper) { in tryMergeUpwards()
523 Found.push_back(Current); in tryMergeUpwards()
525 Current = &linksAt(Current->getAbove()); in tryMergeUpwards()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MCA/
H A DSourceMgr.h31 unsigned Current; variable
37 : Sequence(S), Current(0), Iterations(Iter ? Iter : DefaultIterations) {} in SourceMgr()
41 bool hasNext() const { return Current < (Iterations * Sequence.size()); } in hasNext()
42 void updateNext() { ++Current; } in updateNext()
46 return SourceRef(Current, *Sequence[Current % Sequence.size()]); in peekNext()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DUse.cpp95 const Use *Current = this; in getImpliedUser() local
98 unsigned Tag = (Current++)->Prev.getInt(); in getImpliedUser()
105 ++Current; in getImpliedUser()
108 unsigned Tag = Current->Prev.getInt(); in getImpliedUser()
112 ++Current; in getImpliedUser()
116 return Current + Offset; in getImpliedUser()
122 return Current; in getImpliedUser()
/freebsd-12.1/contrib/llvm/lib/MCA/HardwareUnits/
H A DRetireControlUnit.cpp63 RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx]; in consumeCurrentToken() local
64 assert(Current.NumSlots && "Reserved zero slots?"); in consumeCurrentToken()
65 assert(Current.IR && "Invalid RUToken in the RCU queue."); in consumeCurrentToken()
66 Current.IR.getInstruction()->retire(); in consumeCurrentToken()
69 CurrentInstructionSlotIdx += Current.NumSlots; in consumeCurrentToken()
71 AvailableSlots += Current.NumSlots; in consumeCurrentToken()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DModule.cpp143 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable() local
144 if (Current->ShadowingModule) { in isAvailable()
145 ShadowingModule = Current->ShadowingModule; in isAvailable()
150 Current->Requirements[I].second) { in isAvailable()
151 Req = Current->Requirements[I]; in isAvailable()
155 if (!Current->MissingHeaders.empty()) { in isAvailable()
156 MissingHeader = Current->MissingHeaders.front(); in isAvailable()
300 Module *Current = Stack.back(); in markUnavailable() local
303 if (!needUpdate(Current)) in markUnavailable()
306 Current->IsAvailable = false; in markUnavailable()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Option/
H A DArgList.h43 BaseIter Current, End; variable
50 for (; Current != End; ++Current) { in SkipToNextArg()
52 if (!*Current) in SkipToNextArg()
60 const Option &O = (*Current)->getOption(); in SkipToNextArg()
80 BaseIter Current, BaseIter End,
82 : Current(Current), End(End) { in Current() argument
88 reference operator*() const { return *Current; }
89 pointer operator->() const { return Current; }
92 ++Current;
104 return LHS.Current == RHS.Current;
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DManagedStringPool.h33 SmallVectorImpl<std::string *>::iterator Current = Pool.begin(); in ~ManagedStringPool() local
34 while (Current != Pool.end()) { in ~ManagedStringPool()
35 delete *Current; in ~ManagedStringPool() local
36 Current++; in ~ManagedStringPool()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DSymbolicFile.h72 content_type Current; variable
75 content_iterator(content_type symb) : Current(std::move(symb)) {} in content_iterator()
77 const content_type *operator->() const { return &Current; }
79 const content_type &operator*() const { return Current; }
82 return Current == other.Current;
90 Current.moveNext();
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DInterferenceCache.h183 const BlockInterference *Current = nullptr; variable
187 Current = nullptr; in setEntry()
223 Current = CacheEntry ? CacheEntry->get(MBBNum) : &NoInterference; in moveToBlock()
228 return Current->First.isValid(); in hasInterference()
234 return Current->First; in first()
240 return Current->Last; in last()

12345678