BinaryValue 132 base/json/json_writer_unittest.cc Value* root = BinaryValue::CreateWithCopiedBuffer("asdf", 4); BinaryValue 140 base/json/json_writer_unittest.cc binary_list.Append(BinaryValue::CreateWithCopiedBuffer("asdf", 4)); BinaryValue 142 base/json/json_writer_unittest.cc binary_list.Append(BinaryValue::CreateWithCopiedBuffer("asdf", 4)); BinaryValue 144 base/json/json_writer_unittest.cc binary_list.Append(BinaryValue::CreateWithCopiedBuffer("asdf", 4)); BinaryValue 151 base/json/json_writer_unittest.cc binary_dict.Set("a", BinaryValue::CreateWithCopiedBuffer("asdf", 4)); BinaryValue 153 base/json/json_writer_unittest.cc binary_dict.Set("c", BinaryValue::CreateWithCopiedBuffer("asdf", 4)); BinaryValue 155 base/json/json_writer_unittest.cc binary_dict.Set("e", BinaryValue::CreateWithCopiedBuffer("asdf", 4)); BinaryValue 324 base/values.cc BinaryValue::BinaryValue() BinaryValue 329 base/values.cc BinaryValue::BinaryValue(scoped_ptr<char[]> buffer, size_t size) BinaryValue 335 base/values.cc BinaryValue::~BinaryValue() { BinaryValue 339 base/values.cc BinaryValue* BinaryValue::CreateWithCopiedBuffer(const char* buffer, BinaryValue 344 base/values.cc return new BinaryValue(scoped_buffer_copy.Pass(), size); BinaryValue 347 base/values.cc BinaryValue* BinaryValue::DeepCopy() const { BinaryValue 351 base/values.cc bool BinaryValue::Equals(const Value* other) const { BinaryValue 354 base/values.cc const BinaryValue* other_binary = static_cast<const BinaryValue*>(other); BinaryValue 570 base/values.cc const BinaryValue** out_value) const { BinaryValue 577 base/values.cc *out_value = static_cast<const BinaryValue*>(value); BinaryValue 583 base/values.cc BinaryValue** out_value) { BinaryValue 586 base/values.cc const_cast<const BinaryValue**>(out_value)); BinaryValue 947 base/values.cc bool ListValue::GetBinary(size_t index, const BinaryValue** out_value) const { BinaryValue 954 base/values.cc *out_value = static_cast<const BinaryValue*>(value); BinaryValue 959 base/values.cc bool ListValue::GetBinary(size_t index, BinaryValue** out_value) { BinaryValue 962 base/values.cc const_cast<const BinaryValue**>(out_value)); BinaryValue 175 base/values.h class BASE_EXPORT BinaryValue: public Value { BinaryValue 178 base/values.h BinaryValue(); BinaryValue 182 base/values.h BinaryValue(scoped_ptr<char[]> buffer, size_t size); BinaryValue 184 base/values.h virtual ~BinaryValue(); BinaryValue 189 base/values.h static BinaryValue* CreateWithCopiedBuffer(const char* buffer, size_t size); BinaryValue 198 base/values.h virtual BinaryValue* DeepCopy() const OVERRIDE; BinaryValue 205 base/values.h DISALLOW_COPY_AND_ASSIGN(BinaryValue); BinaryValue 288 base/values.h bool GetBinary(const std::string& path, const BinaryValue** out_value) const; BinaryValue 289 base/values.h bool GetBinary(const std::string& path, BinaryValue** out_value); BinaryValue 424 base/values.h bool GetBinary(size_t index, const BinaryValue** out_value) const; BinaryValue 425 base/values.h bool GetBinary(size_t index, BinaryValue** out_value); BinaryValue 107 base/values_unittest.cc TEST(ValuesTest, BinaryValue) { BinaryValue 109 base/values_unittest.cc scoped_ptr<BinaryValue> binary(new BinaryValue()); BinaryValue 116 base/values_unittest.cc binary.reset(new BinaryValue(scoped_ptr<char[]>(buffer), 15)); BinaryValue 124 base/values_unittest.cc binary.reset(BinaryValue::CreateWithCopiedBuffer(stack_buffer, 42)); BinaryValue 379 base/values_unittest.cc BinaryValue* original_binary = new BinaryValue(original_buffer.Pass(), 42); BinaryValue 458 base/values_unittest.cc static_cast<BinaryValue*>(copy_binary)->GetBuffer()); BinaryValue 460 base/values_unittest.cc static_cast<BinaryValue*>(copy_binary)->GetSize()); BinaryValue 462 base/values_unittest.cc static_cast<BinaryValue*>(copy_binary)->GetBuffer(), BinaryValue 586 base/values_unittest.cc BinaryValue* original_binary = new BinaryValue(original_buffer.Pass(), 42); BinaryValue 822 base/values_unittest.cc BinaryValue binary_value; BinaryValue 24 chrome/browser/chromeos/extensions/wallpaper_api.cc using base::BinaryValue; BinaryValue 191 chrome/browser/chromeos/extensions/wallpaper_api.cc BinaryValue* result = BinaryValue::CreateWithCopiedBuffer( BinaryValue 38 chrome/browser/chromeos/extensions/wallpaper_private_api.cc using base::BinaryValue; BinaryValue 601 chrome/browser/chromeos/extensions/wallpaper_private_api.cc BinaryValue* result = BinaryValue::CreateWithCopiedBuffer( BinaryValue 727 chrome/browser/chromeos/extensions/wallpaper_private_api.cc BinaryValue* thumbnail = BinaryValue::CreateWithCopiedBuffer(data.c_str(), BinaryValue 371 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer->StartOfBuffer(), BinaryValue 406 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* tmp_data; BinaryValue 472 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* tmp_data; BinaryValue 506 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* hash = base::BinaryValue::CreateWithCopiedBuffer( BinaryValue 509 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc base::BinaryValue* randomizer = base::BinaryValue::CreateWithCopiedBuffer( BinaryValue 198 chrome/browser/extensions/api/bluetooth/bluetooth_api.h const base::BinaryValue* data_to_write_; // memory is owned by args_ BinaryValue 276 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc base::BinaryValue* binary_value; BinaryValue 39 chrome/browser/extensions/api/cast_channel/cast_message_util.cc base::BinaryValue* real_value; BinaryValue 50 chrome/browser/extensions/api/cast_channel/cast_message_util.cc real_value = static_cast<base::BinaryValue*>(message.data.get()); BinaryValue 80 chrome/browser/extensions/api/cast_channel/cast_message_util.cc value.reset(base::BinaryValue::CreateWithCopiedBuffer( BinaryValue 65 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc message->data.reset(base::BinaryValue::CreateWithCopiedBuffer( BinaryValue 683 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::BinaryValue* binary; BinaryValue 195 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); BinaryValue 265 chrome/browser/extensions/api/hid/hid_api.cc SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer_->data(), bytes)); BinaryValue 9 chrome/browser/extensions/api/idltest/idltest_api.cc using base::BinaryValue; BinaryValue 13 chrome/browser/extensions/api/idltest/idltest_api.cc base::ListValue* CopyBinaryValueToIntegerList(const BinaryValue* input) { BinaryValue 25 chrome/browser/extensions/api/idltest/idltest_api.cc BinaryValue* input = NULL; BinaryValue 32 chrome/browser/extensions/api/idltest/idltest_api.cc BinaryValue* input = NULL; BinaryValue 40 chrome/browser/extensions/api/idltest/idltest_api.cc BinaryValue* output = BinaryValue 41 chrome/browser/extensions/api/idltest/idltest_api.cc BinaryValue::CreateWithCopiedBuffer(hello.c_str(), hello.size()); BinaryValue 347 chrome/browser/extensions/api/usb/usb_api.cc result->Set(kDataKey, base::BinaryValue::CreateWithCopiedBuffer(data->data(), BinaryValue 16 chrome/browser/extensions/api/web_request/upload_data_presenter.cc using base::BinaryValue; BinaryValue 95 chrome/browser/extensions/api/web_request/upload_data_presenter.cc BinaryValue::CreateWithCopiedBuffer(bytes, size), BinaryValue 51 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::BinaryValue> expected_a( BinaryValue 52 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc base::BinaryValue::CreateWithCopiedBuffer(block1, block1_size)); BinaryValue 57 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc scoped_ptr<base::BinaryValue> expected_c( BinaryValue 58 chrome/browser/extensions/api/web_request/upload_data_presenter_unittest.cc base::BinaryValue::CreateWithCopiedBuffer(block2, block2_size)); BinaryValue 59 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc using base::BinaryValue; BinaryValue 588 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc BinaryValue::CreateWithCopiedBuffer(kPlainBlock1, kPlainBlock1Length), BinaryValue 596 chrome/browser/extensions/api/web_request/web_request_api_unittest.cc BinaryValue::CreateWithCopiedBuffer(kPlainBlock2, kPlainBlock2Length), BinaryValue 483 chrome/renderer/extensions/cast_streaming_native_handler.cc scoped_ptr<base::BinaryValue> raw_events) { BinaryValue 20 chrome/renderer/extensions/cast_streaming_native_handler.h class BinaryValue; BinaryValue 71 chrome/renderer/extensions/cast_streaming_native_handler.h scoped_ptr<base::BinaryValue> raw_events); BinaryValue 96 chrome/renderer/extensions/set_icon_natives.cc *bitmap_value = base::BinaryValue::CreateWithCopiedBuffer( BinaryValue 488 chrome/renderer/media/cast_rtp_stream.cc const base::Callback<void(scoped_ptr<base::BinaryValue>)>& callback) { BinaryValue 19 chrome/renderer/media/cast_rtp_stream.h class BinaryValue; BinaryValue 131 chrome/renderer/media/cast_rtp_stream.h const base::Callback<void(scoped_ptr<base::BinaryValue>)>& callback); BinaryValue 17 chrome/renderer/media/cast_session.h class BinaryValue; BinaryValue 48 chrome/renderer/media/cast_session.h typedef base::Callback<void(scoped_ptr<base::BinaryValue>)> EventLogsCallback; BinaryValue 211 chrome/renderer/media/cast_session_delegate.cc callback.Run(make_scoped_ptr(new base::BinaryValue).Pass()); BinaryValue 233 chrome/renderer/media/cast_session_delegate.cc callback.Run(make_scoped_ptr(new base::BinaryValue).Pass()); BinaryValue 239 chrome/renderer/media/cast_session_delegate.cc scoped_ptr<base::BinaryValue> blob( BinaryValue 240 chrome/renderer/media/cast_session_delegate.cc new base::BinaryValue(serialized_log.Pass(), output_bytes)); BinaryValue 23 chrome/renderer/media/cast_session_delegate.h class BinaryValue; BinaryValue 53 chrome/renderer/media/cast_session_delegate.h typedef base::Callback<void(scoped_ptr<base::BinaryValue>)> EventLogsCallback; BinaryValue 104 content/browser/renderer_host/pepper/pepper_socket_utils.cc base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), BinaryValue 113 content/browser/renderer_host/pepper/pepper_socket_utils.cc base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length())); BinaryValue 336 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), BinaryValue 345 content/browser/renderer_host/pepper/pepper_tcp_socket.cc base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length())); BinaryValue 173 content/renderer/v8_value_converter_impl.cc return ToArrayBuffer(static_cast<const base::BinaryValue*>(value)); BinaryValue 228 content/renderer/v8_value_converter_impl.cc const base::BinaryValue* value) const { BinaryValue 298 content/renderer/v8_value_converter_impl.cc base::BinaryValue* binary_value = FromV8Buffer(val); BinaryValue 355 content/renderer/v8_value_converter_impl.cc base::BinaryValue* V8ValueConverterImpl::FromV8Buffer( BinaryValue 375 content/renderer/v8_value_converter_impl.cc return base::BinaryValue::CreateWithCopiedBuffer(data, length); BinaryValue 16 content/renderer/v8_value_converter_impl.h class BinaryValue; BinaryValue 53 content/renderer/v8_value_converter_impl.h v8::Handle<v8::Value> ToArrayBuffer(const base::BinaryValue* value) const; BinaryValue 65 content/renderer/v8_value_converter_impl.h base::BinaryValue* FromV8Buffer(v8::Handle<v8::Value> value) const; BinaryValue 391 extensions/browser/api/socket/socket_api.cc base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), BinaryValue 394 extensions/browser/api/socket/socket_api.cc result->Set(kDataKey, new base::BinaryValue()); BinaryValue 408 extensions/browser/api/socket/socket_api.cc base::BinaryValue* data = NULL; BinaryValue 468 extensions/browser/api/socket/socket_api.cc base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), BinaryValue 471 extensions/browser/api/socket/socket_api.cc result->Set(kDataKey, new base::BinaryValue()); BinaryValue 491 extensions/browser/api/socket/socket_api.cc base::BinaryValue* data = NULL; BinaryValue 97 ipc/ipc_message_utils.cc const base::BinaryValue* binary = BinaryValue 98 ipc/ipc_message_utils.cc static_cast<const base::BinaryValue*>(value); BinaryValue 213 ipc/ipc_message_utils.cc *value = base::BinaryValue::CreateWithCopiedBuffer(data, length); BinaryValue 65 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc const base::BinaryValue* binary = BinaryValue 66 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc static_cast<const base::BinaryValue*>(value); BinaryValue 119 ppapi/shared_impl/var_value_conversions.cc base::BinaryValue* binary_value = BinaryValue 120 ppapi/shared_impl/var_value_conversions.cc base::BinaryValue::CreateWithCopiedBuffer( BinaryValue 180 ppapi/shared_impl/var_value_conversions.cc const base::BinaryValue& binary_value = BinaryValue 181 ppapi/shared_impl/var_value_conversions.cc static_cast<const base::BinaryValue&>(value); BinaryValue 56 ppapi/shared_impl/var_value_conversions_unittest.cc const base::BinaryValue& binary_value = BinaryValue 57 ppapi/shared_impl/var_value_conversions_unittest.cc static_cast<const base::BinaryValue&>(value); BinaryValue 567 tools/ipc_fuzzer/mutate/generate.cc base::BinaryValue::CreateWithCopiedBuffer(tmp, bin_length)); BinaryValue 632 tools/ipc_fuzzer/mutate/generate.cc base::BinaryValue::CreateWithCopiedBuffer(tmp, bin_length)); BinaryValue 41 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); BinaryValue 54 tools/json_schema_compiler/test/error_generation_unittest.cc scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); BinaryValue 178 tools/json_schema_compiler/test/error_generation_unittest.cc "data", new base::BinaryValue()); BinaryValue 244 tools/json_schema_compiler/test/error_generation_unittest.cc "data", new base::BinaryValue());