Lines Matching refs:BinaryValue
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());
451 static_cast<BinaryValue*>(copy_binary)->GetBuffer(),
575 BinaryValue* original_binary = new BinaryValue(original_buffer.Pass(), 42);