OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_bytesUsed
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/
ArrayBufferBuilder.cpp
42
:
m_bytesUsed
(0)
54
if (sizeToIncrease > std::numeric_limits<unsigned>::max() -
m_bytesUsed
)
57
unsigned newBufferSize =
m_bytesUsed
+ sizeToIncrease;
71
memcpy(newBuffer->data(), m_buffer->data(),
m_bytesUsed
);
82
ASSERT(
m_bytesUsed
<= currentBufferSize);
84
unsigned remainingBufferSpace = currentBufferSize -
m_bytesUsed
;
97
memcpy(static_cast<char*>(m_buffer->data()) +
m_bytesUsed
, data, bytesToSave);
98
m_bytesUsed
+= bytesToSave;
106
if (m_buffer->byteLength() ==
m_bytesUsed
)
109
return m_buffer->slice(0,
m_bytesUsed
);
[
all
...]
ArrayBufferBuilder.h
52
:
m_bytesUsed
(0)
72
return
m_bytesUsed
;
96
// Expands the size of m_buffer to size +
m_bytesUsed
bytes. Returns true
98
// [0,
m_bytesUsed
) range.
101
unsigned
m_bytesUsed
;
Completed in 164 milliseconds