Home
last modified time | relevance | path

Searched refs:ColonPos (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Format/
DContinuationIndenter.h187 unsigned ColonPos = 0; member
287 if (ColonPos != Other.ColonPos)
288 return ColonPos < Other.ColonPos;
DContinuationIndenter.cpp347 State.Stack.back().ColonPos = MinIndent + Current.LongestObjCSelectorName; in addTokenOnCurrentLine()
349 State.Stack.back().ColonPos = FirstColonPos; in addTokenOnCurrentLine()
496 State.Stack.back().ColonPos = in addTokenOnNewLine()
504 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
505 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
671 if (State.Stack.back().ColonPos > NextNonComment->ColumnWidth) in getNewLineColumn()
672 return State.Stack.back().ColonPos - NextNonComment->ColumnWidth; in getNewLineColumn()
/external/llvm-project/clang/lib/Format/
DContinuationIndenter.h248 unsigned ColonPos = 0; member
375 if (ColonPos != Other.ColonPos)
376 return ColonPos < Other.ColonPos;
DContinuationIndenter.cpp622 State.Stack.back().ColonPos = MinIndent + Current.LongestObjCSelectorName; in addTokenOnCurrentLine()
624 State.Stack.back().ColonPos = FirstColonPos; in addTokenOnCurrentLine()
738 State.Stack.back().ColonPos = State.Column; in addTokenOnCurrentLine()
829 State.Stack.back().ColonPos = in addTokenOnNewLine()
838 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
839 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
970 return State.Stack.back().ColonPos + 2; in getNewLineColumn()
1104 if (State.Stack.back().ColonPos > NextNonComment->ColumnWidth) in getNewLineColumn()
1105 return State.Stack.back().ColonPos - NextNonComment->ColumnWidth; in getNewLineColumn()
1109 return State.Stack.back().ColonPos; in getNewLineColumn()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantStringInitCheck.cpp35 std::string::size_type ColonPos = Name.rfind(':'); in removeNamespaces() local
37 Name.substr(ColonPos == std::string::npos ? 0 : ColonPos + 1)); in removeNamespaces()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DStringConstructorCheck.cpp34 std::string::size_type ColonPos = Name.rfind(':'); in removeNamespaces() local
36 Name.substr(ColonPos == std::string::npos ? 0 : ColonPos + 1)); in removeNamespaces()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp372 size_t ColonPos = ModuleName.find_last_of(':'); in getOrCreateModuleInfo() local
374 if (ColonPos != std::string::npos) { in getOrCreateModuleInfo()
375 std::string ArchStr = ModuleName.substr(ColonPos + 1); in getOrCreateModuleInfo()
377 BinaryName = ModuleName.substr(0, ColonPos); in getOrCreateModuleInfo()
/external/llvm-project/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp530 size_t ColonPos = ModuleName.find_last_of(':'); in getOrCreateModuleInfo() local
532 if (ColonPos != std::string::npos) { in getOrCreateModuleInfo()
533 std::string ArchStr = ModuleName.substr(ColonPos + 1); in getOrCreateModuleInfo()
535 BinaryName = ModuleName.substr(0, ColonPos); in getOrCreateModuleInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp527 size_t ColonPos = ModuleName.find_last_of(':'); in getOrCreateModuleInfo() local
529 if (ColonPos != std::string::npos) { in getOrCreateModuleInfo()
530 std::string ArchStr = ModuleName.substr(ColonPos + 1); in getOrCreateModuleInfo()
532 BinaryName = ModuleName.substr(0, ColonPos); in getOrCreateModuleInfo()
/external/llvm-project/llvm/tools/sancov/
Dsancov.cpp417 size_t ColonPos = Loc.find(':'); in read() local
418 failIf(ColonPos == std::string::npos, "expected ':': " + InputFile); in read()
420 auto LineStr = Loc.substr(0, ColonPos); in read()
421 auto ColStr = Loc.substr(ColonPos + 1, Loc.size()); in read()