/external/chromium_org/chrome/common/importer/ |
H A D | firefox_importer_utils_win.cc | 51 wchar_t buffer[MAX_PATH]; local 52 DWORD buffer_length = sizeof(buffer); 55 LONG result = reg_key.ReadValue(kCurrentVersion, buffer, 60 registry_path += L"\\" + base::string16(buffer) + L"\\Main"; 61 buffer_length = sizeof(buffer); 64 result = reg_key_directory.ReadValue(L"Install Directory", buffer, 67 return (result != ERROR_SUCCESS) ? base::FilePath() : base::FilePath(buffer);
|
/external/chromium_org/chromecast/media/cma/base/ |
H A D | decoder_buffer_adapter.cc | 13 const scoped_refptr< ::media::DecoderBuffer>& buffer) 14 : buffer_(buffer) { 12 DecoderBufferAdapter( const scoped_refptr< ::media::DecoderBuffer>& buffer) argument
|
/external/chromium_org/chromecast/media/cma/ipc_streamer/ |
H A D | coded_frame_provider_host.cc | 77 scoped_refptr<DecoderBufferBase> buffer = local 80 buffer, audio_config_, video_config_);
|
/external/chromium_org/cloud_print/common/win/ |
H A D | cloud_print_utils.cc | 31 LPCWSTR buffer = NULL; local 34 int count = ::LoadString(module, id, reinterpret_cast<LPWSTR>(&buffer), 0); 35 if (!buffer) 37 return base::string16(buffer, buffer + count); 41 LPWSTR buffer = NULL; local 44 0, hr, 0, reinterpret_cast<LPWSTR>(&buffer), 0, NULL); 45 base::string16 result(buffer); 46 ::LocalFree(buffer);
|
/external/chromium_org/components/pairing/ |
H A D | message_buffer.cc | 22 void MessageBuffer::ReadBytes(char* buffer, int size) { argument 32 memcpy(&buffer[offset], &io_buffer->data()[buffer_offset_], copy_size);
|
/external/chromium_org/content/browser/device_sensors/ |
H A D | data_fetcher_shared_memory_default.cc | 12 static bool SetMotionBuffer(content::DeviceMotionHardwareBuffer* buffer, argument 14 if (!buffer) 16 buffer->seqlock.WriteBegin(); 17 buffer->data.allAvailableSensorsAreActive = enabled; 18 buffer->seqlock.WriteEnd(); 23 content::DeviceOrientationHardwareBuffer* buffer, bool enabled) { 24 if (!buffer) 26 buffer->seqlock.WriteBegin(); 27 buffer->data.allAvailableSensorsAreActive = enabled; 28 buffer 22 SetOrientationBuffer( content::DeviceOrientationHardwareBuffer* buffer, bool enabled) argument 32 SetLightBuffer(content::DeviceLightHardwareBuffer* buffer, double lux) argument 53 Start(ConsumerType consumer_type, void* buffer) argument [all...] |
/external/chromium_org/content/child/webcrypto/nss/ |
H A D | aes_cbc_nss.cc | 28 std::vector<uint8_t>* buffer) { 72 // TODO(eroman): Refine the output buffer size. It can be computed exactly for 74 buffer->resize(output_max_len.ValueOrDie()); 76 unsigned char* buffer_data = vector_as_array(buffer); 82 buffer->size(), 97 buffer->resize(final_output_chunk_len + output_len); 108 std::vector<uint8_t>* buffer) const OVERRIDE { 109 return AesCbcEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer); 115 std::vector<uint8_t>* buffer) const OVERRIDE { 116 return AesCbcEncryptDecrypt(DECRYPT, algorithm, key, data, buffer); 24 AesCbcEncryptDecrypt(EncryptOrDecrypt mode, const blink::WebCryptoAlgorithm& algorithm, const blink::WebCryptoKey& key, const CryptoData& data, std::vector<uint8_t>* buffer) argument [all...] |
H A D | util_nss.cc | 27 // Creates a SECItem for the data in |buffer|. This does NOT make a copy, so 28 // |buffer| should outlive the SECItem. 29 SECItem MakeSECItemForBuffer(const CryptoData& buffer) { argument 33 const_cast<unsigned char*>(buffer.bytes()), buffer.byte_length()};
|
/external/chromium_org/content/child/webcrypto/openssl/ |
H A D | aes_gcm_openssl.cc | 41 std::vector<uint8_t>* buffer) { 58 buffer); 68 std::vector<uint8_t>* buffer) const OVERRIDE { 69 return AesGcmEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer); 75 std::vector<uint8_t>* buffer) const OVERRIDE { 76 return AesGcmEncryptDecrypt(DECRYPT, algorithm, key, data, buffer); 37 AesGcmEncryptDecrypt(EncryptOrDecrypt mode, const blink::WebCryptoAlgorithm& algorithm, const blink::WebCryptoKey& key, const CryptoData& data, std::vector<uint8_t>* buffer) argument
|
H A D | aes_kw_openssl.cc | 40 std::vector<uint8_t>* buffer) { 61 buffer); 74 std::vector<uint8_t>* buffer) const OVERRIDE { 75 return AesKwEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer); 81 std::vector<uint8_t>* buffer) const OVERRIDE { 82 return AesKwEncryptDecrypt(DECRYPT, algorithm, key, data, buffer); 36 AesKwEncryptDecrypt(EncryptOrDecrypt mode, const blink::WebCryptoAlgorithm& algorithm, const blink::WebCryptoKey& key, const CryptoData& data, std::vector<uint8_t>* buffer) argument
|
/external/chromium_org/extensions/renderer/api/serial/ |
H A D | data_receiver_unittest.cc | 52 void ReadyToSend(scoped_ptr<device::WritableBuffer> buffer) { argument 71 DCHECK(buffer->GetSize() >= static_cast<uint32_t>(data.size())); 72 memcpy(buffer->GetData(), data.c_str(), data.size()); 74 buffer->DoneWithError(data.size(), error); 76 buffer->Done(data.size());
|
/external/chromium_org/gin/ |
H A D | isolate_holder.cc | 27 bool GenerateEntropy(unsigned char* buffer, size_t amount) { argument 28 base::RandBytes(buffer, amount);
|
/external/chromium_org/gpu/command_buffer/common/ |
H A D | command_buffer_shared_test.cc | 41 void WriteToState(int32 *buffer, argument 49 // Ensure that the producer doesn't update the buffer until after the 51 EXPECT_EQ(buffer[i], 0); 58 scoped_ptr<int32[]> buffer; local 59 buffer.reset(new int32[kSize]); 62 memset(buffer.get(), 0, kSize * sizeof(int32)); 66 FROM_HERE, base::Bind(&WriteToState, buffer.get(), 79 buffer[state.get_offset - 1] = 1;
|
/external/chromium_org/media/audio/ |
H A D | audio_power_monitor.cc | 33 void AudioPowerMonitor::Scan(const AudioBus& buffer, int num_frames) { argument 34 DCHECK_LE(num_frames, buffer.frames()); 35 const int num_channels = buffer.channels(); 41 // each channel in |buffer|. 45 average_power_, buffer.channel(i), num_frames, sample_weight_); 46 // If data in audio buffer is garbage, ignore its effect on the result.
|
/external/chromium_org/media/base/ |
H A D | bit_reader_unittest.cc | 22 uint8 buffer[] = {0x55, 0x99, 0x55, 0x99, 0x55, 0x99, 0x55, 0x99}; local 23 BitReader reader1(buffer, 6); // Initialize with 6 bytes only 37 BitReader reader2(buffer, 8); 46 uint8 buffer[] = {0x12}; local 47 BitReader reader1(buffer, sizeof(buffer)); 57 uint8 buffer[] = { 0x0a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; local 58 BitReader reader1(buffer, sizeof(buffer)); 75 uint8 buffer[25 local 123 uint8 buffer[] = { 0x0a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; local [all...] |
H A D | data_buffer.cc | 18 DataBuffer::DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size) argument 19 : data_(buffer.Pass()),
|
H A D | decoder_buffer_queue.cc | 21 void DecoderBufferQueue::Push(const scoped_refptr<DecoderBuffer>& buffer) { argument 22 CHECK(!buffer->end_of_stream()); 24 queue_.push_back(buffer); 28 data_size_ += base::checked_cast<size_t, int>(buffer->data_size()); 32 if (buffer->timestamp() == kNoTimestamp()) { 38 earliest_valid_timestamp_ = buffer->timestamp(); 41 if (buffer->timestamp() < earliest_valid_timestamp_) { 44 << buffer->timestamp().InMicroseconds() 50 earliest_valid_timestamp_ = buffer->timestamp(); 51 in_order_queue_.push_back(buffer); 55 scoped_refptr<DecoderBuffer> buffer = queue_.front(); local [all...] |
/external/chromium_org/media/filters/ |
H A D | blocking_url_protocol_unittest.cc | 48 uint8 buffer[32]; local 49 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 54 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 62 EXPECT_EQ(32, url_protocol_.Read(32, buffer)); 66 EXPECT_EQ(16, url_protocol_.Read(32, buffer)); 70 EXPECT_EQ(0, url_protocol_.Read(32, buffer)); 78 uint8 buffer[32]; local 80 EXPECT_EQ(AVERROR(EIO), url_protocol_.Read(32, buffer));
|
/external/chromium_org/media/formats/mpeg/ |
H A D | mpeg1_audio_stream_parser_unittest.cc | 64 scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile("sfx.mp3"); local 65 const uint8_t* buffer_ptr = buffer->data();
|
/external/chromium_org/media/mojo/services/ |
H A D | mojo_demuxer_stream_impl.cc | 34 const scoped_refptr<media::DecoderBuffer>& buffer) { 45 mojo::MediaDecoderBuffer::From(buffer)); 31 OnBufferReady( const BufferReadyCB& callback, media::DemuxerStream::Status status, const scoped_refptr<media::DecoderBuffer>& buffer) argument
|
/external/chromium_org/mojo/public/c/system/tests/ |
H A D | core_unittest_pure_c.c | 47 char buffer[200] = {0}; local 79 num_bytes = (uint32_t)sizeof(buffer); 82 buffer, 88 EXPECT_EQ(0, memcmp(buffer, kHello, sizeof(kHello)));
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
H A D | message_builder.h | 23 Buffer* buffer() { return &buf_; } function in class:mojo::internal::MessageBuilder 25 // Call Finish when done making allocations in |buffer()|. Upon return, 26 // |message| will contain the message data, and |buffer()| will no longer be
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
H A D | Message.java | 37 * @param buffer The buffer containing the bytes to send. This must be a direct buffer. 40 public Message(ByteBuffer buffer, List<? extends Handle> handles) { argument 41 assert buffer.isDirect(); 42 mBuffer = buffer;
|
/external/chromium_org/net/base/ |
H A D | test_data_stream.cc | 13 // Fill |buffer| with |length| bytes of data from the stream. 14 void TestDataStream::GetBytes(char* buffer, int length) { argument 18 memcpy(buffer, buffer_ptr_, bytes_to_copy); 19 buffer += bytes_to_copy; 25 bool TestDataStream::VerifyBytes(const char *buffer, int length) { argument 29 if (memcmp(buffer, buffer_ptr_, bytes_to_compare)) 33 buffer += bytes_to_compare; 45 // index and fill the buffer. 58 // Consume data from the spill buffer.
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | mapped_file.h | 33 void* buffer() const { function in class:disk_cache::MappedFile 60 void* buffer_; // Address of the memory mapped buffer. 63 void* snapshot_; // Copy of the buffer taken when it was last flushed.
|