OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:WebData
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebKit/chromium/public/
WebData.h
45
// A container for raw bytes. It is inexpensive to copy a
WebData
object.
47
// WARNING: It is not safe to pass a
WebData
across threads!!!
49
class
WebData
{
51
~
WebData
() { reset(); }
53
WebData
() : m_private(0) { }
55
WebData
(const char* data, size_t size) : m_private(0)
61
WebData
(const char (&data)[N]) : m_private(0)
66
WebData
(const
WebData
& d) : m_private(0) { assign(d); }
68
WebData
& operator=(const WebData& d
[
all
...]
/external/webkit/Source/WebKit2/Shared/
WebData.h
35
//
WebData
- A data buffer type suitable for vending to an API.
37
class
WebData
: public APIObject {
43
static PassRefPtr<
WebData
> createWithoutCopying(const unsigned char* bytes, size_t size, FreeDataFunction freeDataFunction, const void* context)
45
return adoptRef(new
WebData
(bytes, size, freeDataFunction, context));
48
static PassRefPtr<
WebData
> create(const unsigned char* bytes, size_t size)
60
static PassRefPtr<
WebData
> create(const Vector<unsigned char>& buffer)
65
~
WebData
()
74
WebData
(const unsigned char* bytes, size_t size, FreeDataFunction freeDataFunction, const void* context)
/external/webkit/Source/WebKit/chromium/src/
WebData.cpp
32
#include "
WebData
.h"
43
void
WebData
::reset()
51
void
WebData
::assign(const
WebData
& other)
59
void
WebData
::assign(const char* data, size_t size)
65
size_t
WebData
::size() const
72
const char*
WebData
::data() const
79
WebData
::
WebData
(const PassRefPtr<SharedBuffer>& buffer)
84
WebData
& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer
[
all
...]
Completed in 503 milliseconds