HomeSort by relevance Sort by last modified time
    Searched defs:buffer (Results 251 - 275 of 3561) sorted by null

<<11121314151617181920>>

  /external/chromium_org/base/
os_compat_android_unittest.cc 26 char* buffer = const_cast<char*>(sub_dir_string.c_str()); local
27 EXPECT_EQ(NULL, mkdtemp(buffer));
  /external/chromium_org/base/third_party/xdg_user_dirs/
xdg_user_dir_lookup.cc 53 char buffer[512]; local
90 while (fgets (buffer, sizeof (buffer), file))
93 len = strlen (buffer);
94 if (len > 0 && buffer[len-1] == '\n')
95 buffer[len-1] = 0;
97 p = buffer;
  /external/chromium_org/cc/scheduler/
texture_uploader_unittest.cc 216 uint8 buffer[256 * 256 * 4]; local
219 memset(buffer, 0, sizeof(buffer));
222 buffer[i * 4 * 256] = 0x1;
223 buffer[(i + 1) * 4 * 256 - 1] = 0x2;
225 UploadTexture(uploader.get(), GL_RGBA, gfx::Size(256, 256), buffer);
228 memset(buffer, 0, sizeof(buffer));
231 buffer[i * 4 * 41] = 0x1;
232 buffer[(i + 1) * 4 * 41 - 1] = 0x2
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/print_preview/
sticky_settings.cc 56 std::string buffer; local
57 if (value->GetString(printing::kSettingAppState, &buffer))
58 printer_app_state_.reset(new std::string(buffer));
  /external/chromium_org/chrome/common/
chrome_content_client_unittest.cc 19 std::string buffer = content_client.GetUserAgent(); local
21 base::SplitStringUsingSubstr(buffer, "Mozilla/5.0 (", &pieces);
23 buffer = pieces[1];
26 base::SplitStringUsingSubstr(buffer, ") AppleWebKit/", &pieces);
28 buffer = pieces[1];
31 base::SplitStringUsingSubstr(buffer, " (KHTML, like Gecko) ", &pieces);
33 buffer = pieces[1];
36 base::SplitStringUsingSubstr(buffer, " Safari/", &pieces);
  /external/chromium_org/chrome/common/importer/
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"\\" + 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/chrome_frame/
urlmon_upload_data_stream_unittest.cc 25 char buffer[500]; local
26 memset(buffer, 0, 500);
28 hr = upload_istream->Read(buffer, 500, &bytes_read);
32 EXPECT_TRUE(strcmp(buffer, random_string) == 0);
115 char buffer[500]; local
116 memset(buffer, 0, 500);
118 hr = upload_istream->Read(buffer, 500, &bytes_read);
122 EXPECT_EQ(0, strcmp(buffer, random_string));
150 char buffer[500]; local
151 memset(buffer, 0, 500)
    [all...]
  /external/chromium_org/cloud_print/common/win/
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 string16(buffer, buffer + count);
41 LPWSTR buffer = NULL; local
44 0, hr, 0, reinterpret_cast<LPWSTR>(&buffer), 0, NULL);
45 string16 result(buffer);
46 ::LocalFree(buffer);
  /external/chromium_org/content/browser/loader/
stream_resource_handler.cc 84 // Release the ownership of the buffer, and store a reference
86 net::IOBuffer* buffer = NULL; local
87 read_buffer_.swap(&buffer);
88 stream_->AddData(buffer, bytes_read);
  /external/chromium_org/content/browser/renderer_host/media/
audio_input_sync_writer.cc 36 media::AudioInputBuffer* buffer = local
38 buffer->params.volume = volume;
39 buffer->params.size = size;
40 memcpy(buffer->audio, data, size);
  /external/chromium_org/content/browser/
tcmalloc_internals_request_job.cc 92 char buffer[1024 * 32]; local
93 base::allocator::GetStats(buffer, sizeof(buffer));
95 AboutTcmallocOutputs::GetInstance()->SetOutput(browser, buffer);
  /external/chromium_org/content/renderer/media/
rtc_video_decoder_bridge_tv.cc 85 // buffer so that we can queue the buffer asynchronously.
86 scoped_refptr<media::DecoderBuffer> buffer = local
89 buffer->set_timestamp(base::TimeDelta::FromMilliseconds(
93 factory_->QueueBuffer(buffer, new_size);
  /external/chromium_org/content/renderer/pepper/
pepper_video_capture_host.h 49 scoped_refptr<media::VideoCapture::VideoFrameBuffer> buffer) OVERRIDE;
61 uint32_t buffer);
86 scoped_refptr<PPB_Buffer_Impl> buffer; member in struct:content::PepperVideoCaptureHost::BufferInfo
  /external/chromium_org/gpu/command_buffer/client/
buffer_tracker.cc 24 BufferTracker::Buffer* BufferTracker::CreateBuffer(
34 Buffer* buffer = new Buffer(id, size, shm_id, shm_offset, address); local
36 buffers_.insert(std::make_pair(id, buffer));
38 return buffer;
41 BufferTracker::Buffer* BufferTracker::GetBuffer(GLuint client_id) {
49 Buffer* buffer = it->second; local
51 if (buffer->address_
    [all...]
gpu_memory_buffer_tracker.cc 30 scoped_ptr<gfx::GpuMemoryBuffer> buffer = local
33 if (buffer.get() == NULL)
37 buffers_.insert(std::make_pair(image_id, buffer.release()));
51 gfx::GpuMemoryBuffer* buffer = buffer_it->second; local
53 delete buffer;
  /external/chromium_org/gpu/command_buffer/service/
transfer_buffer_manager.cc 46 DVLOG(0) << "Cannot register transfer buffer with non-positive ID.";
52 DVLOG(0) << "Buffer ID already in use.";
73 Buffer buffer; local
74 buffer.ptr = duped_shared_memory->memory();
75 buffer.size = size;
76 buffer.shared_memory = duped_shared_memory.release();
82 registered_buffers_[id] = buffer;
90 DVLOG(0) << "Transfer buffer ID was not registered.";
103 Buffer TransferBufferManager::GetTransferBuffer(int32 id)
    [all...]
  /external/chromium_org/media/base/
audio_buffer_queue_unittest.cc 35 AudioBufferQueue buffer; local
36 EXPECT_EQ(0, buffer.frames());
37 buffer.Append(MakeInterleavedAudioBuffer<uint8>(
39 EXPECT_EQ(frames, buffer.frames());
40 buffer.Clear();
41 EXPECT_EQ(0, buffer.frames());
42 buffer.Append(MakeInterleavedAudioBuffer<uint8>(
44 EXPECT_EQ(frames, buffer.frames());
51 AudioBufferQueue buffer; local
54 buffer.Append(MakeInterleavedAudioBuffer<uint8>
75 AudioBufferQueue buffer; local
121 AudioBufferQueue buffer; local
143 AudioBufferQueue buffer; local
182 AudioBufferQueue buffer; local
204 AudioBufferQueue buffer; local
226 AudioBufferQueue buffer; local
254 AudioBufferQueue buffer; local
277 AudioBufferQueue buffer; local
301 AudioBufferQueue buffer; local
330 AudioBufferQueue buffer; local
378 AudioBufferQueue buffer; local
429 AudioBufferQueue buffer; local
    [all...]
audio_buffer_unittest.cc 31 scoped_refptr<AudioBuffer> buffer = MakeInterleavedAudioBuffer<uint8>( local
33 EXPECT_EQ(frames, buffer->frame_count());
34 EXPECT_EQ(buffer->timestamp(), start_time);
35 EXPECT_EQ(buffer->duration().InSeconds(), frames);
36 EXPECT_FALSE(buffer->end_of_stream());
40 scoped_refptr<AudioBuffer> buffer = AudioBuffer::CreateEOSBuffer(); local
41 EXPECT_TRUE(buffer->end_of_stream());
52 scoped_refptr<AudioBuffer> buffer = AudioBuffer::CopyFrom( local
54 EXPECT_EQ(16, buffer->frame_count()); // 2 channels of 8-bit data
56 buffer = AudioBuffer::CopyFrom
66 scoped_refptr<AudioBuffer> buffer = MakeInterleavedAudioBuffer<uint8>( local
86 scoped_refptr<AudioBuffer> buffer = MakeInterleavedAudioBuffer<int16>( local
111 scoped_refptr<AudioBuffer> buffer = MakeInterleavedAudioBuffer<int32>( local
134 scoped_refptr<AudioBuffer> buffer = MakeInterleavedAudioBuffer<float>( local
156 scoped_refptr<AudioBuffer> buffer = MakePlanarAudioBuffer<int16>( local
189 scoped_refptr<AudioBuffer> buffer = local
222 scoped_refptr<AudioBuffer> buffer = AudioBuffer::CreateEmptyBuffer( local
243 scoped_refptr<AudioBuffer> buffer = local
    [all...]
decoder_buffer_queue.cc 19 void DecoderBufferQueue::Push(const scoped_refptr<DecoderBuffer>& buffer) {
20 CHECK(!buffer->end_of_stream());
22 queue_.push_back(buffer);
26 if (buffer->timestamp() == kNoTimestamp()) {
27 DVLOG(1) << "Buffer has no timestamp";
32 earliest_valid_timestamp_ = buffer->timestamp();
35 if (buffer->timestamp() < earliest_valid_timestamp_) {
38 << buffer->timestamp().InMicroseconds()
44 earliest_valid_timestamp_ = buffer->timestamp();
45 in_order_queue_.push_back(buffer);
49 scoped_refptr<DecoderBuffer> buffer = queue_.front(); local
    [all...]
  /external/chromium_org/media/filters/
blocking_url_protocol_unittest.cc 51 uint8 buffer[32]; local
52 EXPECT_EQ(32, url_protocol_.Read(32, buffer));
57 EXPECT_EQ(32, url_protocol_.Read(32, buffer));
65 EXPECT_EQ(32, url_protocol_.Read(32, buffer));
69 EXPECT_EQ(16, url_protocol_.Read(32, buffer));
73 EXPECT_EQ(0, url_protocol_.Read(32, buffer));
81 uint8 buffer[32]; local
83 EXPECT_EQ(AVERROR(EIO), url_protocol_.Read(32, buffer));
  /external/chromium_org/media/video/capture/win/
sink_input_pin_win.cc 135 uint8* buffer = NULL; local
136 if (FAILED(sample->GetPointer(&buffer)))
139 observer_->FrameReceived(buffer, length);
  /external/chromium_org/net/disk_cache/
mapped_file.h 33 void* buffer() const { function in class:disk_cache::MappedFile
51 void* buffer_; // Address of the memory mapped buffer.
54 void* snapshot_; // Copy of the buffer taken when it was last flushed.
  /external/chromium_org/net/spdy/
spdy_read_queue.cc 28 void SpdyReadQueue::Enqueue(scoped_ptr<SpdyBuffer> buffer) {
29 DCHECK_GT(buffer->GetRemainingSize(), 0u);
30 total_size_ += buffer->GetRemainingSize();
31 queue_.push_back(buffer.release());
38 SpdyBuffer* buffer = queue_.front(); local
40 std::min(len - bytes_copied, buffer->GetRemainingSize());
41 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy);
43 if (bytes_to_copy == buffer->GetRemainingSize()) {
47 buffer->Consume(bytes_to_copy);
  /external/chromium_org/net/tools/flip_server/
ring_buffer.h 14 // The ring buffer is a circular buffer, that is, reads or writes may wrap
19 // What is the penalty for using this over a normal, linear buffer?
23 // In the proxy, this class is used as a fixed size buffer between
31 // Resize the buffer to the size specified here. If the buffer_size passed
32 // in here is smaller than the amount of data in the buffer, then the oldest
34 // This means: If the buffer size is increasing, all data that was resident
35 // in the buffer prior to this call will be resident after this call.
52 // Stores a pointer into the ring buffer in *ptr, and stores the number of
57 // Stores a pointer into the ring buffer in *ptr, and stores the number o
94 const char* buffer() const { return buffer_.get(); } function in class:net::RingBuffer
    [all...]
  /external/chromium_org/ppapi/cpp/
file_io.cc 92 char* buffer,
97 offset, buffer, bytes_to_read, cc.pp_completion_callback());
100 offset, buffer, bytes_to_read, cc.pp_completion_callback());
123 // read to a temporary buffer first and copy later to make sure the array
124 // buffer has correct size.
133 const char* buffer,
138 pp_resource(), offset, buffer, bytes_to_write,
142 pp_resource(), offset, buffer, bytes_to_write,
183 // Copy to the destination buffer owned by the callback.
184 char* buffer = static_cast<char*>(data->output.GetDataBuffer local
    [all...]

Completed in 1355 milliseconds

<<11121314151617181920>>