OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StartOffs
(Results
1 - 3
of
3
) sorted by null
/external/clang/include/clang/Rewrite/Core/
RewriteRope.h
60
unsigned
StartOffs
;
63
RopePiece() : StrData(0),
StartOffs
(0), EndOffs(0) {}
66
: StrData(Str),
StartOffs
(Start), EndOffs(End) {
71
: StrData(RP.StrData),
StartOffs
(RP.
StartOffs
), EndOffs(RP.EndOffs) {
89
StartOffs
= RHS.
StartOffs
;
94
return StrData->Data[Offset+
StartOffs
];
97
return StrData->Data[Offset+
StartOffs
];
100
unsigned size() const { return EndOffs-
StartOffs
; }
[
all
...]
/external/clang/lib/Rewrite/Core/
Rewriter.cpp
242
unsigned
StartOffs
= getLocationOffsetAndFileID(Loc, FID);
248
unsigned lineNo = SourceMgr->getLineNumber(FID,
StartOffs
) - 1;
275
getEditBuffer(FID).InsertText(
StartOffs
, Str, InsertAfter);
282
unsigned
StartOffs
= getLocationOffsetAndFileID(Loc, FID);
285
StartOffs
+= getRangeSize(SourceRange(Loc, Loc), rangeOpts);
286
getEditBuffer(FID).InsertText(
StartOffs
, Str, /*InsertAfter*/true);
295
unsigned
StartOffs
= getLocationOffsetAndFileID(Start, FID);
296
getEditBuffer(FID).RemoveText(
StartOffs
, Length, opts.RemoveLineIfEmpty);
307
unsigned
StartOffs
= getLocationOffsetAndFileID(Start, StartFileID);
309
getEditBuffer(StartFileID).ReplaceText(
StartOffs
, OrigLength, NewStr)
[
all
...]
RewriteRope.cpp
260
RopePiece Tail(Pieces[i].StrData, Pieces[i].
StartOffs
+IntraPieceOffset,
263
Pieces[i].EndOffs = Pieces[i].
StartOffs
+IntraPieceOffset;
378
Pieces[StartPiece].
StartOffs
+= NumBytes;
Completed in 707 milliseconds