/external/testng/src/main/java/org/testng/reporters/ |
D | XMLStringBuffer.java | 24 private IBuffer m_buffer; field in XMLStringBuffer 65 m_buffer = buffer; in init() 79 if (m_buffer.toString().length() != 0) { in setXmlDetails() 80 throw new IllegalStateException("Buffer should be empty: '" + m_buffer.toString() + "'"); in setXmlDetails() 82 m_buffer.append("<?xml version=\"" + v + "\" encoding=\"" + enc + "\"?>").append(EOL); in setXmlDetails() 91 m_buffer.append("<!DOCTYPE " + docType + ">" + EOL); in setDocType() 103 XMLUtils.xmlOpen(m_buffer, m_currentIndent, tagName + schema, attributes); in push() 182 XMLUtils.xmlClose(m_buffer, m_currentIndent, t.tagName, in pop() 204 XMLUtils.xmlRequired(m_buffer, m_currentIndent, tagName, value, attributes); in addRequired() 219 XMLUtils.xmlOptional(m_buffer, m_currentIndent, tagName, value, attributes); in addOptional() [all …]
|
/external/deqp/execserver/ |
D | xsExecutionServer.cpp | 43 if (m_buffer.size() < MESSAGE_HEADER_SIZE) in isComplete() 46 return m_buffer.size() == getMessageSize(); in isComplete() 51 return m_buffer.size() > MESSAGE_HEADER_SIZE ? &m_buffer[MESSAGE_HEADER_SIZE] : DE_NULL; in getMessageData() 57 return m_buffer.size() - MESSAGE_HEADER_SIZE; in getMessageDataSize() 63 if (m_buffer.size() < MESSAGE_HEADER_SIZE) in read() 65 while (m_buffer.size() < MESSAGE_HEADER_SIZE && in read() 67 m_buffer.push_back(src.popBack()); in read() 69 DE_ASSERT(m_buffer.size() <= MESSAGE_HEADER_SIZE); in read() 71 if (m_buffer.size() == MESSAGE_HEADER_SIZE) in read() 74 Message::parseHeader(&m_buffer[0], (int)m_buffer.size(), m_messageType, m_messageSize); in read() [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | AmbiVector.h | 31 : m_buffer(0), m_zero(0), m_size(0), m_allocatedSize(0), m_allocatedElements(0), m_mode(-1) in AmbiVector() 52 ~AmbiVector() { delete[] m_buffer; } in ~AmbiVector() 69 delete[] m_buffer; in reallocate() 74 m_buffer = new Scalar[allocSize]; in reallocate() 79 m_buffer = new Scalar[size]; in reallocate() 93 memcpy(newBuffer, m_buffer, copyElements * sizeof(ListEl)); in reallocateSparse() 94 delete[] m_buffer; in reallocateSparse() 95 m_buffer = newBuffer; in reallocateSparse() 108 Scalar* m_buffer; variable 171 m_buffer[i] = Scalar(0); in setZero() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deRingBuffer.hpp | 63 T* m_buffer; member in de::RingBuffer 77 m_buffer = new T[m_size]; in RingBuffer() 83 delete[] m_buffer; in ~RingBuffer() 104 buf[ndx] = m_buffer[(m_back + ndx) % m_size]; in resize() 111 DE_SWAP(T*, buf, m_buffer); in resize() 125 m_buffer[m_front] = elem; in pushFront() 135 m_buffer[(m_front + i) % m_size] = elemBuf[i]; in pushFront() 147 return m_buffer[ndx]; in popBack() 154 return m_buffer[(m_back + offset) % m_size]; in peekBack() 162 elemBuf[i] = m_buffer[(m_back + i) % m_size]; in peekBack()
|
D | deBlockBuffer.cpp | 63 : m_buffer (buffer) in Consumer() 78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]); in run() 91 m_buffer.write(numRead-ndx-1, &tmpBuf[ndx+1]); in run() 92 m_buffer.flush(); in run() 117 MessageBuffer& m_buffer; member in de::BlockBufferBasicTest::Consumer 126 : m_buffer (buffer) in Producer() 147 m_buffer.write(writeSize, &tmpBuf[0]); in run() 149 m_buffer.flush(); in run() 154 MessageBuffer& m_buffer; member in de::BlockBufferBasicTest::Producer 232 : m_buffer (buffer) in Producer() [all …]
|
D | deThreadSafeRingBuffer.cpp | 60 : m_buffer (buffer) in Consumer() 70 Message msg = m_buffer.popBack(); in run() 91 ThreadSafeRingBuffer<Message>& m_buffer; member in de::__anondb4898ff0111::Consumer 100 : m_buffer (buffer) in Producer() 112 m_buffer.pushFront(Message(m_threadId, (deUint16)ndx)); in run() 116 ThreadSafeRingBuffer<Message>& m_buffer; member in de::__anondb4898ff0111::Producer
|
D | deThreadSafeRingBuffer.hpp | 54 T* m_buffer; member in de::ThreadSafeRingBuffer 75 m_buffer = new T[m_size]; in ThreadSafeRingBuffer() 81 m_buffer[m_front] = elem; in pushFrontInternal() 90 return m_buffer[ndx]; in popBackInternal()
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
D | TestLogParser.java | 40 private byte[] m_buffer; field in TestLogParser 49 m_buffer = null; in TestLogParser() 62 m_buffer = new byte[4*1024*1024]; in init() 80 m_buffer = null; in deinit() 98 final int numRead = m_log.read(m_buffer, 0, Math.min(numAvailable, m_buffer.length)); in parse() 105 nativeParse(m_nativePointer, m_instrumentation, m_buffer, numRead); in parse()
|
/external/opencv/cv/src/ |
D | _cvlist.h | 73 void* m_buffer; member 135 *(void**)l->m_buffer = cvAlloc(l->m_buf_size*sizeof(element_type) + sizeof(void*));\ 136 l->m_buffer = *(void**)l->m_buffer;\ 137 *(void**)l->m_buffer = NULL;\ 138 element = (element_type*)((char*)l->m_buffer + sizeof(void*));\ 142 element = (element_type*)((char*)l->m_buffer + sizeof(void*)) + l->m_size - 1;\ 164 pl->m_buffer = pl->m_first_buffer;\ 165 *(void**)pl->m_buffer = NULL;\
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiComputeInstanceResultBuffer.hpp | 52 inline vk::VkBuffer getBuffer(void) const { return *m_buffer; } in getBuffer() 68 const vk::Unique<vk::VkBuffer> m_buffer; member in vkt::api::ComputeInstanceResultBuffer
|
D | vktApiComputeInstanceResultBuffer.cpp | 40 m_buffer(createResultBuffer(m_vki, m_device, allocator, &m_bufferMem)), in ComputeInstanceResultBuffer() 41 m_bufferBarrier(createResultBufferBarrier(*m_buffer)) in ComputeInstanceResultBuffer()
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 525 deUint32 m_buffer; member in deqp::gles31::Stress::__anon8349ba230111::BindVertexBufferCase 533 , m_buffer (0) in BindVertexBufferCase() 548 gl.genBuffers(1, &m_buffer); in init() 549 gl.bindBuffer(GL_ARRAY_BUFFER, m_buffer); in init() 563 if (m_buffer) in deinit() 565 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffer); in deinit() 566 m_buffer = 0; in deinit() 593 gl.glBindVertexBuffer(0, m_buffer, m_offset, int(sizeof(tcu::Vec4))); in iterate()
|
/external/deqp/executor/ |
D | xeTcpIpLink.cpp | 181 , m_buffer (SEND_BUFFER_BLOCK_SIZE, SEND_BUFFER_NUM_BLOCKS) in TcpIpSendThread() 195 m_buffer.clear(); in start() 207 while (!m_buffer.isCanceled()) in run() 216 m_buffer.read(1, &buf[0]); in run() 217 numToSend = 1 + m_buffer.tryRead(DE_LENGTH_OF_ARRAY(buf)-1, &buf[1]); in run() 255 m_buffer.cancel(); in stop()
|
D | xeTcpIpLink.hpp | 83 de::BlockBuffer<deUint8>& getBuffer (void) { return m_buffer; } in getBuffer() 89 de::BlockBuffer<deUint8> m_buffer; member in xe::TcpIpSendThread
|
/external/deqp/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 1091 glw::GLuint m_buffer; member in deqp::gles31::Functional::__anonc0575ae50111::MixedApiCase 1098 , m_buffer (0) in MixedApiCase() 1115 if (m_buffer) in deinit() 1117 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffer); in deinit() 1118 m_buffer = DE_NULL; in deinit() 1154 …gl.glBindVertexBuffer(positionLoc, m_buffer, 0, (glw::GLsizei)(2 * sizeof(tcu::Vec… in renderTo() 1155 …gl.glBindVertexBuffer(colorLoc, m_buffer, sizeof(tcu::Vec4), (glw::GLsizei)(2 * sizeof(tcu::Vec… in renderTo() 1165 gl.glBindBuffer(GL_ARRAY_BUFFER, m_buffer); in renderTo() 1171 …gl.glBindVertexBuffer(positionLoc, m_buffer, 0, (glw::GLsizei)(2 * sizeof(tcu::Vec… in renderTo() 1172 …gl.glBindVertexBuffer(colorLoc, m_buffer, sizeof(tcu::Vec4), (glw::GLsizei)(2 * sizeof(tcu::Vec… in renderTo() [all …]
|
D | es31fMultisampleShaderRenderCase.cpp | 73 , m_buffer (0) in MultisampleRenderCase() 143 gl.genBuffers(1, &m_buffer); in init() 305 if (m_buffer) in deinit() 307 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffer); in deinit() 308 m_buffer = 0; in deinit() 488 gl.bindBuffer(GL_ARRAY_BUFFER, m_buffer); in drawOneIteration() 778 gl.bindBuffer(GL_ARRAY_BUFFER, m_buffer); in setupRenderData()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.cpp | 41 m_buffer = createBuffer(vk, device, &bufferCreateInfo); in Buffer() 42 …m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequir… in Buffer() 43 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
|
D | vktComputeTestsUtil.hpp | 48 const vk::VkBuffer& get (void) const { return *m_buffer; } in get() 54 vk::Move<vk::VkBuffer> m_buffer; member in vkt::compute::Buffer
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageQualifiersTests.cpp | 337 de::MovePtr<Buffer> m_buffer; member in vkt::image::__anonde164b510111::MemoryQualifierInstanceBase 401 const Allocation& allocation = m_buffer->getAllocation(); in iterate() 524 …m_buffer = de::MovePtr<Buffer>(new Buffer(deviceInterface, device, allocator, bufferCreateInfo, Me… in prepareResources() 589 …Buffer(cmdBuffer, m_image->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_buffer->get(), 1u, ©… in commandsAfterCompute() 594 m_buffer->get(), in commandsAfterCompute() 635 …m_buffer = de::MovePtr<Buffer>(new Buffer(deviceInterface, device, allocator, bufferCreateInfo, Me… in prepareResources() 637 …m_bufferView = makeBufferView(deviceInterface, device, m_buffer->get(), mapTextureFormat(m_format)… in prepareResources() 673 m_buffer->get(), in commandsAfterCompute()
|
D | vktImageTestsUtil.hpp | 68 const vk::VkBuffer& get (void) const { return *m_buffer; } in get() 74 vk::Move<vk::VkBuffer> m_buffer; member in vkt::image::Buffer
|
D | vktImageTestsUtil.cpp | 42 m_buffer = createBuffer(vk, device, &bufferCreateInfo); in Buffer() 43 …m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequir… in Buffer() 44 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
|
/external/deqp/modules/gles3/stress/ |
D | es3sDrawTests.cpp | 84 deUint32 m_buffer; member in deqp::gles3::Stress::__anon0c4fdb020111::DrawInvalidRangeCase 97 , m_buffer (0) in DrawInvalidRangeCase() 117 gl.genBuffers(1, &m_buffer); in init() 118 gl.bindBuffer(GL_ARRAY_BUFFER, m_buffer); in init() 137 if (m_buffer) in deinit() 139 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffer); in deinit() 140 m_buffer = 0; in deinit() 198 gl.glBindBuffer(GL_ARRAY_BUFFER, m_buffer); in iterate()
|
/external/deqp/modules/egl/ |
D | teglGLES2SharingTests.cpp | 301 std::vector<GLubyte> m_buffer; member in deqp::egl::GLES2BufferSharingTest 319 m_buffer.reserve(size); in createResource() 322 m_buffer.push_back((GLubyte)m_random.getInt(0, 255)); in createResource() 326 …GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (GLsizei)(m_buffer.size() * sizeof(GLubyte)), &(m_buffe… in createResource() 333 m_buffer.clear(); in destroyResource() 365 DE_ASSERT(m_buffer.size() % 4 == 0); in renderResource() 367 for (int i = 0; i < (int)m_buffer.size() / 4; i++) in renderResource() 432 for (int i = 0; i < (int)m_buffer.size() / 4; i++) in renderResource() 453 deUint8 a = m_buffer[i*4 + (tri ? 1 : 3)]; in renderResource() 454 deUint8 b = m_buffer[i*4 + (tri ? 2 : 0)]; in renderResource() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferWriteTests.cpp | 393 , m_buffer (0) in RandomBufferWriteCase() 409 m_buffer = genBuffer(); in init() 418 deleteBuffer(m_buffer); in deinit() 475 glBindBuffer(target, m_buffer); in iterate() 521 if (!m_verifier->verify(m_buffer, m_refBuffer.getPtr(), range->x(), range->y(), targetHint)) in iterate() 541 deUint32 m_buffer; member in deqp::gles3::Functional::RandomBufferWriteCase
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferWriteTests.cpp | 393 , m_buffer (0) in RandomBufferWriteCase() 409 m_buffer = genBuffer(); in init() 418 deleteBuffer(m_buffer); in deinit() 463 glBindBuffer(target, m_buffer); in iterate() 508 if (!m_verifier->verify(m_buffer, m_refBuffer.getPtr(), range->x(), range->y())) in iterate() 528 deUint32 m_buffer; member in deqp::gles2::Functional::RandomBufferWriteCase
|