OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SharedBuffer
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/include/utils/
SharedBuffer.h
27
class
SharedBuffer
39
static
SharedBuffer
* alloc(size_t size);
41
/*! free the memory associated with the
SharedBuffer
.
42
* Fails if there are any users associated with this
SharedBuffer
.
46
static ssize_t dealloc(const
SharedBuffer
* released);
48
//! get the
SharedBuffer
from the data pointer
49
static inline const
SharedBuffer
*
sharedBuffer
(const void* data);
60
//! get back a
SharedBuffer
object from its data
61
static inline
SharedBuffer
* bufferFromData(void* data)
[
all
...]
/system/core/libpixelflinger/tinyutils/
SharedBuffer.h
2
*
SharedBuffer
.h
19
class
SharedBuffer
31
static
SharedBuffer
* alloc(size_t size);
33
/*! free the memory associated with the
SharedBuffer
.
34
* Fails if there are any users associated with this
SharedBuffer
.
38
static ssize_t dealloc(const
SharedBuffer
* released);
40
//! get the
SharedBuffer
from the data pointer
41
static inline const
SharedBuffer
*
sharedBuffer
(const void* data);
52
//! get back a
SharedBuffer
object from its dat
[
all
...]
/external/webkit/Source/WebCore/platform/
SharedBuffer.h
52
class
SharedBuffer
: public RefCounted<
SharedBuffer
> {
54
static PassRefPtr<
SharedBuffer
> create() { return adoptRef(new
SharedBuffer
); }
55
static PassRefPtr<
SharedBuffer
> create(const char* c, int i) { return adoptRef(new
SharedBuffer
(c, i)); }
56
static PassRefPtr<
SharedBuffer
> create(const unsigned char* c, int i) { return adoptRef(new
SharedBuffer
(c, i)); }
58
static PassRefPtr<
SharedBuffer
> createWithContentsOfFile(const String& filePath);
60
static PassRefPtr<
SharedBuffer
> adoptVector(Vector<char>& vector)
[
all
...]
SharedBuffer.cpp
28
#include "
SharedBuffer
.h"
60
SharedBuffer
::
SharedBuffer
()
65
SharedBuffer
::
SharedBuffer
(const char* data, int size)
71
SharedBuffer
::
SharedBuffer
(const unsigned char* data, int size)
77
SharedBuffer
::~
SharedBuffer
()
82
PassRefPtr<
SharedBuffer
> SharedBuffer::adoptVector(Vector<char>& vector
[
all
...]
/external/webkit/Source/WebCore/platform/cf/
SharedBufferCF.cpp
29
#include "
SharedBuffer
.h"
35
SharedBuffer
::
SharedBuffer
(CFDataRef cfData)
44
CFDataRef
SharedBuffer
::createCFData()
51
// Internal data in
SharedBuffer
can be segmented. We need to get the contiguous buffer.
57
PassRefPtr<
SharedBuffer
>
SharedBuffer
::wrapCFData(CFDataRef data)
59
return adoptRef(new
SharedBuffer
(data));
62
bool
SharedBuffer
::hasPlatformData() const
67
const char*
SharedBuffer
::platformData() cons
[
all
...]
/external/webkit/Source/WebKit/chromium/src/
WebData.cpp
34
#include "
SharedBuffer
.h"
40
class WebDataPrivate : public
SharedBuffer
{
62
SharedBuffer
::create(data, size).releaseRef()));
79
WebData::WebData(const PassRefPtr<
SharedBuffer
>& buffer)
84
WebData& WebData::operator=(const PassRefPtr<
SharedBuffer
>& buffer)
90
WebData::operator PassRefPtr<
SharedBuffer
>() const
92
return PassRefPtr<
SharedBuffer
>(const_cast<WebDataPrivate*>(m_private));
Completed in 52 milliseconds