/external/chromium_org/chrome/browser/extensions/api/idltest/ |
idltest_api.cc | 9 using base::BinaryValue; 13 base::ListValue* CopyBinaryValueToIntegerList(const BinaryValue* input) { 25 BinaryValue* input = NULL; 32 BinaryValue* input = NULL; 40 BinaryValue* output = 41 BinaryValue::CreateWithCopiedBuffer(hello.c_str(), hello.size());
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
upload_data_presenter_unittest.cc | 51 scoped_ptr<base::BinaryValue> expected_a( 52 base::BinaryValue::CreateWithCopiedBuffer(block1, block1_size)); 57 scoped_ptr<base::BinaryValue> expected_c( 58 base::BinaryValue::CreateWithCopiedBuffer(block2, block2_size));
|
upload_data_presenter.cc | 16 using base::BinaryValue; 93 BinaryValue::CreateWithCopiedBuffer(bytes, size),
|
/external/chromium_org/content/renderer/ |
v8_value_converter_impl.h | 16 class BinaryValue; 53 v8::Handle<v8::Value> ToArrayBuffer(const base::BinaryValue* value) const; 65 base::BinaryValue* FromV8Buffer(v8::Handle<v8::Value> value) const;
|
v8_value_converter_impl.cc | 172 return ToArrayBuffer(static_cast<const base::BinaryValue*>(value)); 227 const base::BinaryValue* value) const { 297 base::BinaryValue* binary_value = FromV8Buffer(val); 354 base::BinaryValue* V8ValueConverterImpl::FromV8Buffer( 374 return base::BinaryValue::CreateWithCopiedBuffer(data, length);
|
/external/chromium/base/ |
values.h | 35 class BinaryValue; 75 static BinaryValue* CreateBinaryValue(char* buffer, size_t size); 172 class BASE_API BinaryValue: public Value { 174 virtual ~BinaryValue(); 179 static BinaryValue* Create(char* buffer, size_t size); 182 // factory method creates a new BinaryValue by copying the contents of the 185 static BinaryValue* CreateWithCopiedBuffer(const char* buffer, size_t size); 192 virtual BinaryValue* DeepCopy() const; 198 BinaryValue(char* buffer, size_t size); 203 DISALLOW_COPY_AND_ASSIGN(BinaryValue); [all...] |
values.cc | 98 BinaryValue* Value::CreateBinaryValue(char* buffer, size_t size) { 99 return BinaryValue::Create(buffer, size); 264 ///////////////////// BinaryValue //////////////////// 266 BinaryValue::~BinaryValue() { 273 BinaryValue* BinaryValue::Create(char* buffer, size_t size) { 277 return new BinaryValue(buffer, size); 281 BinaryValue* BinaryValue::CreateWithCopiedBuffer(const char* buffer [all...] |
values_unittest.cc | 94 TEST_F(ValuesTest, BinaryValue) { 96 // Passing a null buffer pointer doesn't yield a BinaryValue 97 scoped_ptr<BinaryValue> binary(BinaryValue::Create(buffer, 0)); 103 binary.reset(BinaryValue::Create(buffer, 0)); 111 binary.reset(BinaryValue::Create(buffer, 15)); 119 binary.reset(BinaryValue::CreateWithCopiedBuffer(stack_buffer, 42)); 340 BinaryValue* original_binary = Value::CreateBinaryValue(original_buffer, 42); 415 static_cast<BinaryValue*>(copy_binary)->GetBuffer()); 417 static_cast<BinaryValue*>(copy_binary)->GetSize()) [all...] |
/external/chromium_org/base/json/ |
json_writer_unittest.cc | 98 root = BinaryValue::CreateWithCopiedBuffer("asdf", 4); 106 binary_list.Append(BinaryValue::CreateWithCopiedBuffer("asdf", 4)); 115 binary_dict.Set("b", BinaryValue::CreateWithCopiedBuffer("asdf", 4));
|
/external/chromium_org/base/ |
values.h | 172 class BASE_EXPORT BinaryValue: public Value { 174 // Creates a BinaryValue with a null buffer and size of 0. 175 BinaryValue(); 177 // Creates a BinaryValue, taking ownership of the bytes pointed to by 179 BinaryValue(scoped_ptr<char[]> buffer, size_t size); 181 virtual ~BinaryValue(); 184 // factory method creates a new BinaryValue by copying the contents of the 186 static BinaryValue* CreateWithCopiedBuffer(const char* buffer, size_t size); 195 virtual BinaryValue* DeepCopy() const OVERRIDE; 202 DISALLOW_COPY_AND_ASSIGN(BinaryValue); [all...] |
values.cc | 304 ///////////////////// BinaryValue //////////////////// 306 BinaryValue::BinaryValue() 311 BinaryValue::BinaryValue(scoped_ptr<char[]> buffer, size_t size) 317 BinaryValue::~BinaryValue() { 321 BinaryValue* BinaryValue::CreateWithCopiedBuffer(const char* buffer, 326 return new BinaryValue(scoped_buffer_copy.Pass(), size) [all...] |
values_unittest.cc | 107 TEST(ValuesTest, BinaryValue) { 108 // Default constructor creates a BinaryValue with a null buffer and size 0. 109 scoped_ptr<BinaryValue> binary(new BinaryValue()); 116 binary.reset(new BinaryValue(scoped_ptr<char[]>(buffer), 15)); 124 binary.reset(BinaryValue::CreateWithCopiedBuffer(stack_buffer, 42)); 368 BinaryValue* original_binary = new BinaryValue(original_buffer.Pass(), 42); 447 static_cast<BinaryValue*>(copy_binary)->GetBuffer()); 449 static_cast<BinaryValue*>(copy_binary)->GetSize()) [all...] |
/external/chromium_org/tools/json_schema_compiler/test/ |
error_generation_unittest.cc | 41 scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); 54 scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); 174 "data", new base::BinaryValue());
|
/external/chromium_org/chrome/browser/extensions/api/cast_channel/ |
cast_message_util.cc | 36 base::BinaryValue* real_value; 47 real_value = static_cast<base::BinaryValue*>(message.data.get()); 77 value.reset(base::BinaryValue::CreateWithCopiedBuffer(
|
/external/chromium_org/ppapi/shared_impl/private/ |
ppb_x509_certificate_private_shared.cc | 65 const base::BinaryValue* binary = 66 static_cast<const base::BinaryValue*>(value);
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
pepper_socket_utils.cc | 115 base::BinaryValue::CreateWithCopiedBuffer(serial_number.data(), 124 base::BinaryValue::CreateWithCopiedBuffer(der.data(), der.length()));
|
/external/chromium/chrome/browser/extensions/ |
extension_browser_actions_api.cc | 48 BinaryValue* binary = NULL;
|
extension_page_actions_module.cc | 158 BinaryValue* binary;
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
wallpaper_api.cc | 23 using base::BinaryValue; 183 BinaryValue* result = BinaryValue::CreateWithCopiedBuffer(
|
wallpaper_private_api.cc | 38 using base::BinaryValue; 592 BinaryValue* result = BinaryValue::CreateWithCopiedBuffer( 718 BinaryValue* thumbnail = BinaryValue::CreateWithCopiedBuffer(data.c_str(),
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_api.cc | 451 SetResult(base::BinaryValue::CreateWithCopiedBuffer(buffer->StartOfBuffer(), 486 base::BinaryValue* tmp_data; 552 base::BinaryValue* tmp_data; 586 base::BinaryValue* hash = base::BinaryValue::CreateWithCopiedBuffer( 589 base::BinaryValue* randomizer = base::BinaryValue::CreateWithCopiedBuffer(
|
bluetooth_api.h | 208 const base::BinaryValue* data_to_write_; // memory is owned by args_
|
/external/chromium_org/ppapi/shared_impl/ |
var_value_conversions.cc | 126 base::BinaryValue* binary_value = 127 base::BinaryValue::CreateWithCopiedBuffer( 189 const base::BinaryValue& binary_value = 190 static_cast<const base::BinaryValue&>(value);
|
var_value_conversions_unittest.cc | 60 const base::BinaryValue& binary_value = 61 static_cast<const base::BinaryValue&>(value);
|
/external/chromium_org/chrome/browser/extensions/api/socket/ |
socket_api.cc | 402 base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), 405 result->Set(kDataKey, new base::BinaryValue()); 422 base::BinaryValue *data = NULL; 481 base::BinaryValue::CreateWithCopiedBuffer(io_buffer->data(), 484 result->Set(kDataKey, new base::BinaryValue()); 505 base::BinaryValue *data = NULL;
|