/third_party/vk-gl-cts/executor/ |
D | xeContainerFormatParser.cpp | 44 , m_buf (CONTAINERFORMATPARSER_INITIAL_BUFFER_SIZE) in ContainerFormatParser() 57 m_buf.clear(); in clear() 68 if (m_buf.getNumFree() < (int)numBytes) in feed() 69 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+(int)numBytes)); in feed() 72 m_buf.pushFront(bytes, (int)numBytes); in feed() 114 dst[ndx] = m_buf.peekBack(offset+ndx); in getData() 119 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar() 121 if (offset < m_buf.getNumElements()) in getChar() 122 return m_buf.peekBack(offset); in getChar() 131 m_buf.popBack(m_elementLen); in advance()
|
D | xeContainerFormatParser.hpp | 111 de::RingBuffer<deUint8> m_buf; member in xe::ContainerFormatParser
|
/third_party/vk-gl-cts/execserver/ |
D | xsPosixFileReader.cpp | 35 , m_buf (blockSize, numBlocks) in FileReader() 71 while (!m_buf.isCanceled()) in run() 80 m_buf.write((int)numRead, &tmpBuf[0]); in run() 81 m_buf.flush(); in run() 105 m_buf.cancel(); in stop() 115 m_buf.clear(); in stop()
|
D | xsProtocol.cpp | 95 : m_buf(buf) in MessageWriter() 111 DE_ASSERT(m_buf.size() >= MESSAGE_HEADER_SIZE); in finalize() 114 int size = hostToNetwork((int)m_buf.size()); in finalize() 115 deMemcpy(&m_buf[0], &size, sizeof(int)); in finalize() 122 size_t curPos = m_buf.size(); in put() 123 m_buf.resize(curPos + sizeof(T)); in put() 124 deMemcpy(&m_buf[curPos], &netValue, sizeof(T)); in put() 128 std::vector<deUint8>& m_buf; member in xs::MessageWriter 134 int curPos = (int)m_buf.size(); in put() 137 m_buf.resize(curPos + strLen+1); in put() [all …]
|
D | xsPosixTestProcess.cpp | 100 , m_buf (dst) in PipeReader() 126 while (!m_buf->isCanceled()) in run() 135 m_buf->write((int)numRead, &tmpBuf[0]); in run() 136 m_buf->flush(); in run() 161 DE_ASSERT(m_buf->isCanceled()); in stop()
|
D | xsPosixFileReader.hpp | 45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); } in read() 51 ThreadedByteBuffer m_buf; member in xs::posix::FileReader
|
D | xsPosixTestProcess.hpp | 70 ThreadedByteBuffer* m_buf; member in xs::posix::PipeReader
|
/third_party/vk-gl-cts/framework/xexml/ |
D | xeXMLParser.cpp | 61 , m_buf (TOKENIZER_INITIAL_BUFFER_SIZE) in Tokenizer() 74 m_buf.clear(); in clear() 85 if (m_buf.getNumFree() < numBytes) in feed() 87 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+numBytes)); in feed() 91 m_buf.pushFront(bytes, numBytes); in feed() 100 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar() 102 if (offset < m_buf.getNumElements()) in getChar() 103 return m_buf.peekBack(offset); in getChar() 124 m_buf.popBack(m_curTokenLen); in advance() 178 m_buf.popBack(); in advance() [all …]
|
D | xeXMLParser.hpp | 96 …urToken != TOKEN_INCOMPLETE && m_curToken != TOKEN_END_OF_STRING); return m_buf.peekBack(offset); } in getTokenByte() 133 de::RingBuffer<deUint8> m_buf; member in xe::xml::Tokenizer 208 dst[ndx] = m_buf.peekBack(ndx); in getTokenStr() 219 dst[oldLen+ndx] = m_buf.peekBack(ndx); in appendTokenStr()
|
/third_party/ltp/libs/libltpipc/ |
D | libipc.c | 99 void init_buf(MSGBUF * m_buf, int type, int size) in init_buf() argument 106 m_buf->mtext[i] = ascii_a + (i % 26); in init_buf() 110 m_buf->mtext[i] = '\0'; in init_buf() 114 m_buf->mtype = 1; in init_buf() 116 m_buf->mtype = type; in init_buf()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 255 glw::GLuint m_buf; member in deqp::gles31::Stress::__anon264712230111::SingleBindingCase 261 , m_buf (0) in SingleBindingCase() 303 if (m_buf) in deinit() 305 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buf); in deinit() 306 m_buf = 0; in deinit() 332 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo() 349 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo() 471 gl.genBuffers(1, &m_buf); in createBuffers() 472 gl.bindBuffer(GL_ARRAY_BUFFER, m_buf); in createBuffers()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_debug.cpp | 84 m_buf(), in SfnLog() 85 m_output(&m_buf) in SfnLog()
|
D | sfn_debug.h | 112 stderr_streambuf m_buf; variable
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 261 glw::GLuint m_buf; member in deqp::gles31::Functional::__anond240b2e50111::SingleBindingCase 267 , m_buf (0) in SingleBindingCase() 309 if (m_buf) in deinit() 311 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buf); in deinit() 312 m_buf = 0; in deinit() 338 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo() 355 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo() 477 gl.genBuffers(1, &m_buf); in createBuffers() 478 gl.bindBuffer(GL_ARRAY_BUFFER, m_buf); in createBuffers()
|
/third_party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 10364 IOBuffer m_buf; variable 43957 : m_buf(wuffs_base__empty_io_buffer()), m_max_incl(max_incl) {} in DynIOBuffer() 43960 if (m_buf.data.ptr) { in ~DynIOBuffer() 43961 free(m_buf.data.ptr); in ~DynIOBuffer() 43967 if (m_buf.data.ptr) { in drop() 43968 free(m_buf.data.ptr); in drop() 43970 m_buf = wuffs_base__empty_io_buffer(); in drop() 43980 } else if (n > m_buf.data.len) { in grow() 43981 uint8_t* ptr = static_cast<uint8_t*>(realloc(m_buf.data.ptr, n)); in grow() 43985 m_buf.data.ptr = ptr; in grow() [all …]
|