OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AllocBuffer
(Results
1 - 2
of
2
) sorted by null
/external/clang/include/clang/Rewrite/Core/
RewriteRope.h
188
RopeRefCountString *
AllocBuffer
;
193
RewriteRope() :
AllocBuffer
(0), AllocOffs(AllocChunkSize) {}
195
: Chunks(RHS.Chunks),
AllocBuffer
(0), AllocOffs(AllocChunkSize) {
200
if (
AllocBuffer
)
201
AllocBuffer
->dropRef();
/external/clang/lib/Rewrite/Core/
RewriteRope.cpp
764
/// the
AllocBuffer
object to aggregate requests for small strings into one
772
memcpy(
AllocBuffer
->Data+AllocOffs, Start, Len);
774
return RopePiece(
AllocBuffer
, AllocOffs-Len, AllocOffs);
792
if (
AllocBuffer
&& --
AllocBuffer
->RefCount == 0)
793
delete [] (char*)
AllocBuffer
;
796
AllocBuffer
= reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);
797
AllocBuffer
->RefCount = 0;
798
memcpy(
AllocBuffer
->Data, Start, Len);
803
AllocBuffer
->addRef()
[
all
...]
Completed in 71 milliseconds