Searched defs:ResourceBuffer (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/content/browser/loader/
H A Dresource_buffer.h17 // ResourceBuffer implements a simple "circular buffer" allocation strategy.
20 // You can think of the ResourceBuffer as a FIFO. The Allocate method reserves
25 // ResourceBuffer is reference-counted for the benefit of consumers, who need
26 // to ensure that ResourceBuffer stays alive while they are using its memory.
30 // // Writes data into the ResourceBuffer, and returns the location (byte
31 // // offset and count) of the bytes written into the ResourceBuffer's shared
33 // void WriteToBuffer(ResourceBuffer* buf, int* offset, int* count) {
53 // NOTE: As the above example illustrates, the ResourceBuffer keeps track of
55 // just helps the ResourceBuffer optimize storage and be more aggressive about
58 class CONTENT_EXPORT ResourceBuffer class in namespace:content
[all...]
H A Dresource_buffer.cc33 ResourceBuffer::ResourceBuffer() function in class:content::ResourceBuffer
41 ResourceBuffer::~ResourceBuffer() {
44 bool ResourceBuffer::Initialize(int buffer_size,
60 bool ResourceBuffer::IsInitialized() const {
64 bool ResourceBuffer::ShareToProcess(
77 bool ResourceBuffer::CanAllocate() const {
90 char* ResourceBuffer::Allocate(int* size) {
142 int ResourceBuffer
[all...]

Completed in 1961 milliseconds