OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BinaryValue
(Results
1 - 7
of
7
) sorted by null
/external/libchrome/base/json/
json_writer_unittest.cc
114
std::unique_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));
132
binary_dict.Set("a",
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
134
binary_dict.Set("c",
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
136
binary_dict.Set("e",
BinaryValue
::CreateWithCopiedBuffer("asdf", 4));
/external/libchrome/base/
values.h
38
class
BinaryValue
;
88
virtual bool GetAsBinary(const
BinaryValue
** out_value) const;
171
class BASE_EXPORT
BinaryValue
: public Value {
173
// Creates a
BinaryValue
with a null buffer and size of 0.
174
BinaryValue
();
176
// Creates a
BinaryValue
, taking ownership of the bytes pointed to by
178
BinaryValue
(std::unique_ptr<char[]> buffer, size_t size);
180
~
BinaryValue
() override;
183
// factory method creates a new
BinaryValue
by copying the contents of the
185
static std::unique_ptr<
BinaryValue
> CreateWithCopiedBuffer(const char* buffer
[
all
...]
values.cc
80
bool Value::GetAsBinary(const
BinaryValue
**) const {
293
/////////////////////
BinaryValue
////////////////////
295
BinaryValue
::
BinaryValue
()
300
BinaryValue
::
BinaryValue
(std::unique_ptr<char[]> buffer, size_t size)
303
BinaryValue
::~
BinaryValue
() {
307
std::unique_ptr<
BinaryValue
>
BinaryValue
::CreateWithCopiedBuffer
[
all
...]
values_unittest.cc
112
TEST(ValuesTest,
BinaryValue
) {
113
// Default constructor creates a
BinaryValue
with a null buffer and size 0.
114
std::unique_ptr<
BinaryValue
> binary(new
BinaryValue
());
122
binary.reset(new
BinaryValue
(std::move(buffer), 15));
130
binary =
BinaryValue
::CreateWithCopiedBuffer(stack_buffer, 42);
139
const
BinaryValue
* narrow_binary = NULL;
422
std::unique_ptr<
BinaryValue
> scoped_binary(
423
new
BinaryValue
(std::move(original_buffer), 42));
424
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());
/external/libmojo/mojo/common/
common_custom_types_unittest.cc
192
dict.Set("some_binary", base::
BinaryValue
::CreateWithCopiedBuffer("mojo", 4));
210
list.Append(base::
BinaryValue
::CreateWithCopiedBuffer("mojo", 4));
/external/libmojo/ipc/
ipc_message_utils.cc
111
const base::
BinaryValue
* binary =
112
static_cast<const base::
BinaryValue
*>(value);
181
const base::
BinaryValue
* binary =
182
static_cast<const base::
BinaryValue
*>(value);
302
std::unique_ptr<base::
BinaryValue
> val =
303
base::
BinaryValue
::CreateWithCopiedBuffer(data, length);
[
all
...]
Completed in 547 milliseconds