OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RefCountedBytes
(Results
1 - 4
of
4
) sorted by null
/external/chromium/base/memory/
ref_counted_memory.cc
21
RefCountedBytes
::
RefCountedBytes
() {
24
RefCountedBytes
::
RefCountedBytes
(const std::vector<unsigned char>& initializer)
28
RefCountedBytes
*
RefCountedBytes
::TakeVector(
30
RefCountedBytes
* bytes = new
RefCountedBytes
;
35
const unsigned char*
RefCountedBytes
::front() const {
41
size_t
RefCountedBytes
::size() const
[
all
...]
ref_counted_memory.h
58
class BASE_API
RefCountedBytes
: public RefCountedMemory {
60
RefCountedBytes
();
62
// Constructs a
RefCountedBytes
object by _copying_ from |initializer|.
63
RefCountedBytes
(const std::vector<unsigned char>& initializer);
65
// Constructs a
RefCountedBytes
object by performing a swap. (To non
66
// destructively build a
RefCountedBytes
, use the constructor that takes a
68
static
RefCountedBytes
* TakeVector(std::vector<unsigned char>* to_destroy);
77
friend class base::RefCountedThreadSafe<
RefCountedBytes
>;
78
virtual ~
RefCountedBytes
();
81
DISALLOW_COPY_AND_ASSIGN(
RefCountedBytes
);
[
all
...]
/external/chromium_org/base/memory/
ref_counted_memory.cc
34
RefCountedBytes
::
RefCountedBytes
() {}
36
RefCountedBytes
::
RefCountedBytes
(const std::vector<unsigned char>& initializer)
40
RefCountedBytes
*
RefCountedBytes
::TakeVector(
42
RefCountedBytes
* bytes = new
RefCountedBytes
;
47
const unsigned char*
RefCountedBytes
::front() const {
53
size_t
RefCountedBytes
::size() const
[
all
...]
ref_counted_memory.h
63
class BASE_EXPORT
RefCountedBytes
: public RefCountedMemory {
65
RefCountedBytes
();
67
// Constructs a
RefCountedBytes
object by _copying_ from |initializer|.
68
explicit
RefCountedBytes
(const std::vector<unsigned char>& initializer);
70
// Constructs a
RefCountedBytes
object by performing a swap. (To non
71
// destructively build a
RefCountedBytes
, use the constructor that takes a
73
static
RefCountedBytes
* TakeVector(std::vector<unsigned char>* to_destroy);
83
virtual ~
RefCountedBytes
();
87
DISALLOW_COPY_AND_ASSIGN(
RefCountedBytes
);
Completed in 36 milliseconds