OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BinaryValue
(Results
1 - 9
of
9
) sorted by null
/external/libchrome/base/json/
json_writer_unittest.cc
112
scoped_ptr<Value> root(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
119
binary_list.Append(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
121
binary_list.Append(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
123
binary_list.Append(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
131
"a", make_scoped_ptr(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4)));
134
"c", make_scoped_ptr(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4)));
137
"e", make_scoped_ptr(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4)));
/external/libweave/third_party/chromium/base/json/
json_writer_unittest.cc
114
scoped_ptr<Value> root(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
121
binary_list.Append(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
123
binary_list.Append(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
125
binary_list.Append(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
133
"a", make_scoped_ptr(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4)));
136
"c", make_scoped_ptr(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4)));
139
"e", make_scoped_ptr(
BinaryValue
::CreateWithCopiedBuffer("asdf", 4)));
/external/libchrome/base/
values.h
38
class
BinaryValue
;
91
virtual bool GetAsBinary(const
BinaryValue
** out_value) const;
174
class BASE_EXPORT
BinaryValue
: public Value {
176
// Creates a
BinaryValue
with a null buffer and size of 0.
177
BinaryValue
();
179
// Creates a
BinaryValue
, taking ownership of the bytes pointed to by
181
BinaryValue
(scoped_ptr<char[]> buffer, size_t size);
183
~
BinaryValue
() override;
186
// factory method creates a new
BinaryValue
by copying the contents of the
188
static
BinaryValue
* CreateWithCopiedBuffer(const char* buffer, size_t size)
[
all
...]
values.cc
96
bool Value::GetAsBinary(const
BinaryValue
** /* out_value */) const {
309
/////////////////////
BinaryValue
////////////////////
311
BinaryValue
::
BinaryValue
()
316
BinaryValue
::
BinaryValue
(scoped_ptr<char[]> buffer, size_t size)
319
BinaryValue
::~
BinaryValue
() {
323
BinaryValue
*
BinaryValue
::CreateWithCopiedBuffer(const char* buffer
[
all
...]
values_unittest.cc
110
TEST(ValuesTest,
BinaryValue
) {
111
// Default constructor creates a
BinaryValue
with a null buffer and size 0.
112
scoped_ptr<
BinaryValue
> binary(new
BinaryValue
());
120
binary.reset(new
BinaryValue
(std::move(buffer), 15));
128
binary.reset(
BinaryValue
::CreateWithCopiedBuffer(stack_buffer, 42));
137
const
BinaryValue
* narrow_binary = NULL;
419
scoped_ptr<
BinaryValue
> scoped_binary(
420
new
BinaryValue
(std::move(original_buffer), 42));
421
BinaryValue
* original_binary = scoped_binary.get()
[
all
...]
/external/libweave/third_party/chromium/base/
values.h
37
class
BinaryValue
;
89
virtual bool GetAsBinary(const
BinaryValue
** out_value) const;
168
class BASE_EXPORT
BinaryValue
: public Value {
170
// Creates a
BinaryValue
with a null buffer and size of 0.
171
BinaryValue
();
173
// Creates a
BinaryValue
, taking ownership of the bytes pointed to by
175
BinaryValue
(scoped_ptr<char[]> buffer, size_t size);
177
~
BinaryValue
() override;
180
// factory method creates a new
BinaryValue
by copying the contents of the
182
static
BinaryValue
* CreateWithCopiedBuffer(const char* buffer, size_t size)
[
all
...]
values.cc
96
bool Value::GetAsBinary(const
BinaryValue
** /* out_value */) const {
294
/////////////////////
BinaryValue
////////////////////
296
BinaryValue
::
BinaryValue
()
301
BinaryValue
::
BinaryValue
(scoped_ptr<char[]> buffer, size_t size)
304
BinaryValue
::~
BinaryValue
() {
308
BinaryValue
*
BinaryValue
::CreateWithCopiedBuffer(const char* buffer
[
all
...]
values_unittest.cc
110
TEST(ValuesTest,
BinaryValue
) {
111
// Default constructor creates a
BinaryValue
with a null buffer and size 0.
112
scoped_ptr<
BinaryValue
> binary(new
BinaryValue
());
120
binary.reset(new
BinaryValue
(std::move(buffer), 15));
128
binary.reset(
BinaryValue
::CreateWithCopiedBuffer(stack_buffer, 42));
137
const
BinaryValue
* narrow_binary = NULL;
401
scoped_ptr<
BinaryValue
> scoped_binary(
402
new
BinaryValue
(std::move(original_buffer), 42));
403
BinaryValue
* original_binary = scoped_binary.get()
[
all
...]
/external/libchrome/base/trace_event/
trace_event_memory_overhead.cc
87
const
BinaryValue
* binary_value = nullptr;
89
Add("
BinaryValue
", sizeof(
BinaryValue
) + binary_value->GetSize());
Completed in 756 milliseconds