/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
FixedBuffer.h | 22 m_buffer = NULL; 28 delete [] m_buffer; 34 return (void *)(m_buffer); 36 if (m_buffer != NULL) 37 delete[] m_buffer; 40 m_buffer = new unsigned char[m_bufferLen]; 41 if (m_buffer == NULL) 44 return m_buffer; 46 void *ptr() { return m_buffer; } 49 unsigned char *m_buffer; member in class:FixedBuffer [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
FixedBuffer.h | 22 m_buffer = NULL; 28 delete [] m_buffer; 34 return (void *)(m_buffer); 36 if (m_buffer != NULL) 37 delete[] m_buffer; 40 m_buffer = new unsigned char[m_bufferLen]; 41 if (m_buffer == NULL) 44 return m_buffer; 46 void *ptr() { return m_buffer; } 49 unsigned char *m_buffer; member in class:FixedBuffer [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayBufferView.cpp | 37 , m_buffer(buffer) 41 m_baseAddress = m_buffer ? (static_cast<char*>(m_buffer->data()) + m_byteOffset) : 0; 42 if (m_buffer) 43 m_buffer->addView(this); 48 if (m_buffer) 49 m_buffer->removeView(this); 54 m_buffer = 0;
|
ArrayBufferBuilder.cpp | 45 m_buffer = ArrayBuffer::create(defaultBufferCapacity, 1); 50 unsigned currentBufferSize = m_buffer->byteLength(); 71 memcpy(newBuffer->data(), m_buffer->data(), m_bytesUsed); 72 m_buffer = newBuffer; 80 unsigned currentBufferSize = m_buffer->byteLength(); 97 memcpy(static_cast<char*>(m_buffer->data()) + m_bytesUsed, data, bytesToSave); 105 // Fully used. Return m_buffer as-is. 106 if (m_buffer->byteLength() == m_bytesUsed) 107 return m_buffer; 109 return m_buffer->slice(0, m_bytesUsed) [all...] |
StreamBuffer.h | 62 if (!m_buffer.size() || m_buffer.last()->size() == BlockSize) 63 m_buffer.append(adoptPtr(new Block)); 64 size_t appendSize = std::min(BlockSize - m_buffer.last()->size(), size); 65 m_buffer.last()->append(data, appendSize); 79 ASSERT(m_buffer.size() > 0); 80 ASSERT(m_readOffset + size <= m_buffer.first()->size()); 83 if (m_readOffset >= m_buffer.first()->size()) { 85 m_buffer.removeFirst(); 95 ASSERT(m_buffer.size() > 0) 110 Deque<OwnPtr<Block> > m_buffer; member in class:WTF::StreamBuffer [all...] |
ArrayBufferBuilder.h | 55 m_buffer = ArrayBuffer::create(capacity, 1); 78 return m_buffer->byteLength(); 85 return m_buffer->data(); 96 // Expands the size of m_buffer to size + m_bytesUsed bytes. Returns true 103 RefPtr<ArrayBuffer> m_buffer; member in class:WTF::ArrayBufferBuilder
|
SHA1Test.cpp | 41 char m_buffer[41]; member in class:__anon10982::SHA1Test 52 char* buffer = &m_buffer[0]; 57 return &m_buffer[0];
|
Deque.h | 64 size_t size() const { return m_start <= m_end ? m_end - m_start : m_end + m_buffer.capacity() - m_start; } 76 T& first() { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; } 77 const T& first() const { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; } 108 Buffer m_buffer; member in class:WTF::Deque 211 : m_buffer(other.m_buffer.capacity()) 215 const T* otherBuffer = other.m_buffer.buffer(); 217 TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_end, m_buffer.buffer() + m_start); 219 TypeOperations::uninitializedCopy(otherBuffer, otherBuffer + m_end, m_buffer.buffer()); 220 TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_buffer.capacity(), m_buffer.buffer() + m_start) [all...] |
SHA1.cpp | 81 m_buffer[m_cursor++] = *input++; 109 m_buffer[m_cursor++] = 0x80; 113 m_buffer[m_cursor++] = 0x00; 118 m_buffer[i] = 0x00; 123 m_buffer[56 + (7 - i)] = bits & 0xFF; 136 w[t] = (m_buffer[t * 4] << 24) | (m_buffer[t * 4 + 1] << 16) | (m_buffer[t * 4 + 2] << 8) | m_buffer[t * 4 + 3]; 175 memset(m_buffer, 0, sizeof(m_buffer)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
BufferedLineReader.cpp | 44 if (!m_buffer.isEmpty()) { 55 while (!m_buffer.isEmpty()) { 56 UChar c = m_buffer.currentChar(); 57 m_buffer.advance(); 76 if (!m_buffer.isEmpty()) { 100 ASSERT(m_buffer.isEmpty());
|
BufferedLineReader.h | 56 m_buffer.append(SegmentedString(data)); 69 bool isAtEndOfStream() const { return m_endOfStream && m_buffer.isEmpty(); } 75 ASSERT(!m_buffer.isEmpty()); 76 if (m_buffer.currentChar() == c) 77 m_buffer.advance(); 80 SegmentedString m_buffer; member in class:WebCore::BufferedLineReader
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
OpenTypeSanitizer.h | 43 : m_buffer(buffer) 52 SharedBuffer* const m_buffer; member in class:WebCore::OpenTypeSanitizer
|
OpenTypeSanitizer.cpp | 43 if (!m_buffer) 48 if (m_buffer->size() > maxWebFontSize) 61 ots::ExpandingMemoryStream output(m_buffer->size(), maxWebFontSize); 62 if (!ots::Process(&output, reinterpret_cast<const uint8_t*>(m_buffer->data()), m_buffer->size()))
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
ReverbInputBuffer.cpp | 38 : m_buffer(length) 45 size_t bufferLength = m_buffer.size(); 51 memcpy(m_buffer.data() + m_writeIndex, sourceP, sizeof(float) * numberOfFrames); 62 size_t bufferLength = m_buffer.size(); 69 return m_buffer.data(); 72 float* sourceP = m_buffer.data(); 83 m_buffer.zero();
|
ReverbAccumulationBuffer.cpp | 42 : m_buffer(length) 50 size_t bufferLength = m_buffer.size(); 61 float* source = m_buffer.data(); 78 *readIndex = (*readIndex + numberOfFrames) % m_buffer.size(); 83 size_t bufferLength = m_buffer.size(); 94 float* destination = m_buffer.data(); 112 m_buffer.zero();
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringConcatenate.h | 51 : m_buffer(buffer) 61 *destination = m_buffer; 64 void writeTo(UChar* destination) { *destination = m_buffer; } 67 unsigned char m_buffer; member in class:WTF::StringTypeAdapter 74 : m_buffer(buffer) 84 *destination = m_buffer; 87 void writeTo(UChar* destination) { *destination = m_buffer; } 90 LChar m_buffer; member in class:WTF::StringTypeAdapter 97 : m_buffer(buffer) 103 bool is8Bit() { return m_buffer <= 0xff; 114 UChar m_buffer; member in class:WTF::StringTypeAdapter 145 const char* m_buffer; member in class:WTF::StringTypeAdapter 173 const LChar* m_buffer; member in class:WTF::StringTypeAdapter 207 const UChar* m_buffer; member in class:WTF::StringTypeAdapter 238 const char* m_buffer; member in class:WTF::StringTypeAdapter 266 const LChar* m_buffer; member in class:WTF::StringTypeAdapter 295 const Vector<char>& m_buffer; member in class:WTF::StringTypeAdapter 323 const Vector<LChar>& m_buffer; member in class:WTF::StringTypeAdapter 368 const String& m_buffer; member in class:WTF::StringTypeAdapter [all...] |
CString.cpp | 75 m_buffer = CStringBuffer::createUninitialized(length); 76 memcpy(m_buffer->mutableData(), str, length); 77 m_buffer->mutableData()[length] = '\0'; 83 if (!m_buffer) 85 return m_buffer->mutableData(); 91 result.m_buffer = CStringBuffer::createUninitialized(length); 92 char* bytes = result.m_buffer->mutableData(); 100 if (!m_buffer || m_buffer->hasOneRef()) 103 RefPtr<CStringBuffer> buffer = m_buffer.release() [all...] |
StringBuilder.cpp | 53 ASSERT(m_buffer && m_length <= m_buffer->length()); 54 if (m_length == m_buffer->length()) { 55 m_string = m_buffer.release(); 59 if (m_buffer->hasOneRef()) { 60 m_buffer->truncateAssumingIsolated(m_length); 61 m_string = m_buffer.release(); 65 m_string = m_buffer->substring(0, m_length); 71 ASSERT(m_buffer); 73 return m_buffer->substring(position, substringLength) [all...] |
CString.h | 64 CString(CStringBuffer* buffer) : m_buffer(buffer) { } 69 return m_buffer ? m_buffer->data() : 0; 74 return m_buffer ? m_buffer->length() : 0; 77 bool isNull() const { return !m_buffer; } 80 CStringBuffer* buffer() const { return m_buffer.get(); } 85 RefPtr<CStringBuffer> m_buffer; member in class:WTF::CString
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketDeflater.h | 62 const char* data() { return m_buffer.data(); } 63 size_t size() const { return m_buffer.size(); } 75 Vector<char> m_buffer; member in class:WebCore::WebSocketDeflater 89 const char* data() { return m_buffer.data(); } 90 size_t size() const { return m_buffer.size(); } 98 Vector<char> m_buffer; member in class:WebCore::WebSocketInflater
|
WebSocketDeflater.cpp | 92 size_t writePosition = m_buffer.size(); 93 m_buffer.grow(writePosition + maxLength); 94 setStreamParameter(m_stream.get(), data, length, m_buffer.data() + writePosition, maxLength); 98 m_buffer.shrink(writePosition + maxLength - m_stream->avail_out); 110 ASSERT(!m_buffer.size()); 111 m_buffer.append("\x02\x00", 2); 115 size_t writePosition = m_buffer.size(); 116 m_buffer.grow(writePosition + bufferIncrementUnit); 117 size_t availableCapacity = m_buffer.size() - writePosition; 118 setStreamParameter(m_stream.get(), 0, 0, m_buffer.data() + writePosition, availableCapacity) [all...] |
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
GLESpointer.cpp | 25 m_buffer(NULL), 48 return m_buffer ? static_cast<unsigned char*>(m_buffer->getData()) + m_buffOffset : NULL; 89 m_buffer = NULL; 100 m_buffer = buf; 108 m_buffer->getConversions(rl,rlOut);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
Pasteboard.h | 69 blink::WebClipboard::Buffer buffer() const { return m_buffer; } 74 blink::WebClipboard::Buffer m_buffer; member in class:WebCore::Pasteboard
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LineEnding.cpp | 50 : m_buffer(buffer) 58 m_buffer = CString::newUninitialized(size, ptr); 64 m_buffer = source; 67 const CString& buffer() const { return m_buffer; } 70 CString m_buffer; member in class:__anon10863::CStringBuffer 76 : m_buffer(buffer) 83 size_t oldSize = m_buffer.size(); 84 m_buffer.grow(oldSize + size); 85 return m_buffer.data() + oldSize; 90 m_buffer.append(source.data(), source.length()) 94 Vector<char>& m_buffer; member in class:__anon10863::VectorCharAppendBuffer [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
SharedBuffer.cpp | 154 , m_buffer(size) 201 buffer->m_buffer.swap(vector); 202 buffer->m_size = buffer->m_buffer.size(); 248 unsigned bufferSize = m_buffer.size(); 250 m_buffer.swap(result); 284 unsigned positionInSegment = offsetInSegment(m_size - m_buffer.size()); 289 if (m_buffer.isEmpty()) 290 m_buffer.reserveInitialCapacity(length); 291 m_buffer.append(data, length); 331 m_buffer.clear() [all...] |