OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Pickle
(Results
1 - 6
of
6
) sorted by null
/external/chromium/base/
pickle.h
19
// The
Pickle
class supports appending primitive values (ints, strings, etc.)
20
// to a
pickle
instance. The
Pickle
instance grows its internal memory buffer
22
// buffer is exposed as the "data" of the
Pickle
. This "data" can be passed
23
// to a
Pickle
object to initialize it for reading.
25
// When reading from a
Pickle
object, it is important for the consumer to know
26
// what value types to read and in what order to read them as the
Pickle
does
29
// The
Pickle
's data has a header which contains the size of the
Pickle
's
31
// space is controlled by the header_size parameter passed to the
Pickle
[
all
...]
pickle.cc
5
#include "base/
pickle
.h"
15
const int
Pickle
::kPayloadUnit = 64;
17
// We mark a read only
pickle
with a special capacity_.
22
Pickle
::
Pickle
()
31
Pickle
::
Pickle
(int header_size)
42
Pickle
::
Pickle
(const char* data, int data_len)
61
Pickle
::Pickle(const Pickle& other
[
all
...]
/external/chromium/chrome/common/extensions/
user_script.cc
7
#include "base/
pickle
.h"
93
void UserScript::File::
Pickle
(::
Pickle
*
pickle
) const {
94
pickle
->WriteString(url_.spec());
99
void UserScript::File::Unpickle(const ::
Pickle
&
pickle
, void** iter) {
102
CHECK(
pickle
.ReadString(iter, &url));
106
void UserScript::
Pickle
(::
Pickle
* pickle) const
[
all
...]
/external/chromium_org/base/
pickle.cc
5
#include "base/
pickle
.h"
17
const int
Pickle
::kPayloadUnit = 64;
21
PickleIterator::PickleIterator(const
Pickle
&
pickle
)
22
: read_ptr_(
pickle
.payload()),
23
read_end_ptr_(
pickle
.end_of_payload()) {
164
Pickle
::
Pickle
()
173
Pickle
::
Pickle
(int header_size
[
all
...]
pickle.h
17
class
Pickle
;
19
// PickleIterator reads data from a
Pickle
. The
Pickle
object must remain valid
24
explicit PickleIterator(const
Pickle
&
pickle
);
26
// Methods for reading the payload of the
Pickle
. To read from the start of
27
// the
Pickle
, create a PickleIterator from a
Pickle
. If successful, these
62
// Read Type from
Pickle
.
79
// Pointers to the
Pickle
data
[
all
...]
/external/chromium_org/extensions/common/
user_script.cc
8
#include "base/
pickle
.h"
111
void UserScript::File::
Pickle
(::
Pickle
*
pickle
) const {
112
pickle
->WriteString(url_.spec());
117
void UserScript::File::Unpickle(const ::
Pickle
&
pickle
, PickleIterator* iter) {
118
// Read the url from the
pickle
.
120
CHECK(
pickle
.ReadString(iter, &url));
124
void UserScript::
Pickle
(::Pickle* pickle) const
[
all
...]
Completed in 556 milliseconds