OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResourceBuffer
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/content/browser/loader/
resource_buffer.h
17
//
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
[
all
...]
resource_buffer.cc
33
ResourceBuffer
::
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
::GetLastAllocationOffset() const
[
all
...]
resource_buffer_unittest.cc
11
scoped_refptr<
ResourceBuffer
> buf = new
ResourceBuffer
();
48
scoped_refptr<
ResourceBuffer
> buf = new
ResourceBuffer
();
64
scoped_refptr<
ResourceBuffer
> buf = new
ResourceBuffer
();
85
scoped_refptr<
ResourceBuffer
> buf = new
ResourceBuffer
();
119
scoped_refptr<
ResourceBuffer
> buf = new
ResourceBuffer
();
[
all
...]
async_resource_handler.h
20
class
ResourceBuffer
;
77
scoped_refptr<
ResourceBuffer
> buffer_;
async_resource_handler.cc
70
DependentIOBuffer(
ResourceBuffer
* backing, char* memory)
76
scoped_refptr<
ResourceBuffer
> backing_;
373
buffer_ = new
ResourceBuffer
();
Completed in 32 milliseconds