/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::__anond9a46c220111::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/boost/boost/interprocess/detail/ |
D | win32_api.hpp | 1155 , m_buf(new char [m_size]) in nt_query_mem_deleter() 1160 delete[]m_buf; in ~nt_query_mem_deleter() 1166 char *buf = m_buf; in realloc_mem() 1167 m_buf = new char[num_bytes]; in realloc_mem() 1173 { return static_cast<ntquery_mem_t *>(static_cast<void*>(m_buf)); } in query_mem() 1185 char *m_buf; member in boost::interprocess::winapi::nt_query_mem_deleter 1192 : m_buf(::malloc(size)) in c_heap_deleter() 1197 if(m_buf) ::free(m_buf); in ~c_heap_deleter() 1202 void *oldBuf = m_buf; in realloc_mem() 1203 m_buf = ::realloc(m_buf, num_bytes); in realloc_mem() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 261 glw::GLuint m_buf; member in deqp::gles31::Functional::__anon48a8f4640111::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()
|