OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Pos
(Results
1 - 25
of
153
) sorted by relevancy
1
2
3
4
5
6
7
/src/external/apache2/llvm/dist/llvm/lib/Demangle/
Demangle.cpp
17
size_t
Pos
= MangledName.find_first_not_of('_');
19
return
Pos
> 0 &&
Pos
<= 4 && MangledName[
Pos
] == 'Z';
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerUtil.h
75
auto
Pos
= S.find(X);
76
if (
Pos
== std::string::npos)
78
return std::make_pair(S.substr(0,
Pos
), S.substr(
Pos
));
FuzzerIOPosix.cpp
50
size_t
Pos
= Path.rfind(GetSeparator());
51
if (
Pos
== std::string::npos) return Path;
52
assert(
Pos
< Path.size());
53
return Path.substr(
Pos
+ 1);
/src/external/apache2/llvm/dist/llvm/lib/IR/
PassInstrumentation.cpp
33
size_t
Pos
= PassID.find('<');
35
if (
Pos
!= StringRef::npos)
36
Prefix = PassID.substr(0,
Pos
);
/src/external/apache2/llvm/dist/llvm/lib/Support/
LineIterator.cpp
57
const char *
Pos
= CurrentLine.end();
58
assert(
Pos
== Buffer->getBufferStart() || isAtLineEnd(
Pos
) || *
Pos
== '\0');
60
if (skipIfAtLineEnd(
Pos
))
62
if (!SkipBlanks && isAtLineEnd(
Pos
)) {
66
while (skipIfAtLineEnd(
Pos
))
71
if (isAtLineEnd(
Pos
) && !SkipBlanks)
73
if (*
Pos
== CommentMarker)
75
++
Pos
;
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMUnwindOpAsm.cpp
31
size_t
Pos
= 3;
38
Vec[
Pos
] = elem;
39
Pos
= (((
Pos
^ 0x3u) + 1) ^ 0x3u);
59
while (
Pos
< Vec.size())
/src/external/apache2/llvm/dist/clang/include/clang/Basic/
JsonSupport.h
33
size_t
Pos
= 0;
37
Pos
= Str.find('\\',
Pos
);
38
if (
Pos
== std::string::npos)
42
size_t TempPos = (
Pos
!= 0) ?
Pos
- 1 : 0;
45
if (TempPos != Str.find("\\\\",
Pos
)) {
46
Str.insert(
Pos
, "\\");
47
++
Pos
; // As we insert the backslash move plus one.
50
++
Pos
;
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/TableGen/
TableGenBackend.cpp
24
size_t
Pos
= (size_t)OS.tell();
28
for (size_t i = (size_t)OS.tell() -
Pos
, e = MAX_LINE_LEN - Suffix.size();
41
size_t
Pos
= 0U;
43
size_t Length = std::min(Desc.size() -
Pos
, MAX_LINE_LEN - PSLen);
44
printLine(OS, Prefix + Desc.substr(
Pos
, Length), ' ', Suffix);
45
Pos
+= Length;
46
} while (
Pos
< Desc.size());
/src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
CodeExpander.cpp
25
size_t
Pos
= Current.find_first_of("$\n\\");
26
if (
Pos
== StringRef::npos) {
32
OS << Current.substr(0,
Pos
);
33
Current = Current.substr(
Pos
);
/src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTImporterSharedState.h
68
auto
Pos
= ImportErrors.find(ToD);
69
if (
Pos
!= ImportErrors.end())
70
return
Pos
->second;
/src/external/apache2/llvm/dist/clang/lib/Frontend/
LayoutOverrideSource.cpp
60
StringRef::size_type
Pos
;
61
if ((
Pos
= LineStr.find("struct ")) != StringRef::npos)
62
LineStr = LineStr.substr(
Pos
+ strlen("struct "));
63
else if ((
Pos
= LineStr.find("class ")) != StringRef::npos)
64
LineStr = LineStr.substr(
Pos
+ strlen("class "));
65
else if ((
Pos
= LineStr.find("union ")) != StringRef::npos)
66
LineStr = LineStr.substr(
Pos
+ strlen("union "));
77
StringRef::size_type
Pos
= LineStr.find(" Size:");
78
if (
Pos
!= StringRef::npos) {
80
LineStr = LineStr.substr(
Pos
+ strlen(" Size:"))
[
all
...]
TextDiagnostic.cpp
48
size_t
Pos
= Str.find(ToggleHighlight);
49
OS << Str.slice(0,
Pos
);
50
if (
Pos
== StringRef::npos)
53
Str = Str.substr(
Pos
+ 1);
/src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
LLJITWithRemoteDebugging.cpp
244
int
Pos
= 0;
246
outs() << (
Pos
++ == 0 ? "" : ", ") << "\"" << Arg << "\"";
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/
AllocationOrder.h
36
// Iterator's
Pos
, which must be signed, so it's typed here as signed, too, to
46
int
Pos
= 0;
49
Iterator(const AllocationOrder &AO, int
Pos
) : AO(AO),
Pos
(
Pos
) {}
52
bool isHint() const { return
Pos
< 0; }
56
if (
Pos
< 0)
57
return AO.Hints.end()[
Pos
];
58
assert(
Pos
< AO.IterationLimit);
59
return AO.Order[
Pos
];
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Utils/
WebAssemblyUtilities.cpp
122
auto
Pos
= EHPad->begin();
125
while (
Pos
!= EHPad->end() &&
126
(
Pos
->isLabel() ||
Pos
->isDebugInstr() || isMarker(
Pos
->getOpcode())))
127
Pos
++;
128
if (
Pos
!= EHPad->end() && WebAssembly::isCatch(
Pos
->getOpcode()))
129
return &*
Pos
;
/src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
ResourceScriptCppFilter.cpp
38
size_t
Pos
= 0;
45
while (!streamEof() &&
Pos
!= StringRef::npos) {
46
size_t LineStart =
Pos
;
47
Pos
= Data.find_first_of("\r\n",
Pos
);
48
Pos
= Data.find_first_not_of("\r\n",
Pos
);
49
StringRef Line = Data.take_front(
Pos
).drop_front(LineStart);
103
bool Filter::streamEof() const { return
Pos
== DataLength; }
/src/external/apache2/llvm/dist/llvm/tools/sanstats/
sanstats.cpp
41
char
Pos
= 0;
42
while (Begin < End &&
Pos
!= Size) {
43
Result |= uint64_t(uint8_t(*Begin)) << (
Pos
* 8);
45
++
Pos
;
/src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
DebugIteratorModeling.cpp
92
const auto *
Pos
= getIteratorPosition(State, V);
93
if (
Pos
) {
94
State = State->BindExpr(CE, C.getLocationContext(), get(
Pos
));
InvalidatedIteratorChecker.cpp
119
const auto *
Pos
= getIteratorPosition(State, Val);
120
if (
Pos
&& !
Pos
->isValid()) {
STLAlgorithmModeling.cpp
122
const auto *
Pos
= getIteratorPosition(State, Param);
123
if (
Pos
) {
124
StateFound = createIteratorPosition(StateFound, RetVal,
Pos
->getContainer(),
131
nonloc::SymbolVal(
Pos
->getOffset()),
144
Pos
= getIteratorPosition(State, Param);
145
if (
Pos
) {
146
StateFound = createIteratorPosition(StateFound, RetVal,
Pos
->getContainer(),
153
nonloc::SymbolVal(
Pos
->getOffset()),
/src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFDebugAbbrev.cpp
120
const auto
Pos
= AbbrDeclSets.find(CUAbbrOffset);
121
if (
Pos
!= End) {
122
PrevAbbrOffsetPos =
Pos
;
123
return &(
Pos
->second);
/src/external/apache2/llvm/dist/llvm/lib/TextAPI/
InterfaceFile.cpp
122
auto
Pos
= llvm::lower_bound(Documents, Document,
128
Documents.insert(
Pos
, Document);
/src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
Lookup.cpp
210
auto
Pos
= ReplacementString.rfind("::");
211
return std::string(
Pos
!= StringRef::npos
212
? ReplacementString.substr(
Pos
+ 2)
/src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
Parsing.cpp
65
ParseError(size_t
Pos
, std::string ErrorMsg, std::string InputExcerpt)
66
:
Pos
(
Pos
), ErrorMsg(std::move(ErrorMsg)),
70
OS << "parse error at position (" <<
Pos
<< "): " << ErrorMsg
79
size_t
Pos
;
139
size_t
Pos
= S.OriginalInput.size() - S.Input.size();
140
return llvm::make_error<ParseError>(
Pos
, std::move(ErrorMsg),
141
S.OriginalInput.substr(
Pos
, 20).str());
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/
AddressSanitizer.h
56
auto
Pos
= Entries.find(G);
57
return (
Pos
!= Entries.end()) ?
Pos
->second : Entry();
Completed in 34 milliseconds
1
2
3
4
5
6
7
Indexes created Tue Sep 22 00:26:15 UTC 2026