OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RefCountedBytes
(Results
1 - 2
of
2
) sorted by null
/external/libchrome/base/memory/
ref_counted_memory.cc
32
RefCountedBytes
::
RefCountedBytes
() {}
34
RefCountedBytes
::
RefCountedBytes
(const std::vector<unsigned char>& initializer)
38
RefCountedBytes
::
RefCountedBytes
(const unsigned char* p, size_t size)
41
scoped_refptr<
RefCountedBytes
>
RefCountedBytes
::TakeVector(
43
scoped_refptr<
RefCountedBytes
> bytes(new
RefCountedBytes
);
[
all
...]
ref_counted_memory.h
71
class BASE_EXPORT
RefCountedBytes
: public RefCountedMemory {
73
RefCountedBytes
();
75
// Constructs a
RefCountedBytes
object by _copying_ from |initializer|.
76
explicit
RefCountedBytes
(const std::vector<unsigned char>& initializer);
78
// Constructs a
RefCountedBytes
object by copying |size| bytes from |p|.
79
RefCountedBytes
(const unsigned char* p, size_t size);
81
// Constructs a
RefCountedBytes
object by performing a swap. (To non
82
// destructively build a
RefCountedBytes
, use the constructor that takes a
84
static scoped_refptr<
RefCountedBytes
> TakeVector(
95
~
RefCountedBytes
() override
[
all
...]
Completed in 286 milliseconds