Home
last modified time | relevance | path

Searched refs:m_buffer (Results 1 – 25 of 84) sorted by relevance

1234

/external/testng/src/main/java/org/testng/reporters/
DXMLStringBuffer.java24 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/
DxsExecutionServer.cpp43 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/
DAmbiVector.h31 : 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()
73 delete[] m_buffer; in reallocate()
78 m_buffer = new Scalar[allocSize]; in reallocate()
83 m_buffer = new Scalar[size]; in reallocate()
97 memcpy(newBuffer, m_buffer, copyElements * sizeof(ListEl)); in reallocateSparse()
98 delete[] m_buffer; in reallocateSparse()
99 m_buffer = newBuffer; in reallocateSparse()
112 Scalar* m_buffer; variable
175 m_buffer[i] = Scalar(0); in setZero()
[all …]
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.cpp63 : 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 …]
DdeRingBuffer.hpp63 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()
DdeThreadSafeRingBuffer.cpp60 : m_buffer (buffer) in Consumer()
70 Message msg = m_buffer.popBack(); in run()
91 ThreadSafeRingBuffer<Message>& m_buffer; member in de::__anoncb5a33280111::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::__anoncb5a33280111::Producer
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DTestLogParser.java40 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/v8/src/inspector/
Dstring-16.cc477 m_buffer.insert(m_buffer.end(), s.characters16(), in append()
481 void String16Builder::append(UChar c) { m_buffer.push_back(c); } in append()
485 m_buffer.push_back(u); in append()
489 m_buffer.insert(m_buffer.end(), characters, characters + length); in append()
493 m_buffer.insert(m_buffer.end(), characters, characters + length); in append()
501 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendNumber()
513 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendNumber()
522 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendUnsignedAsHex()
530 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendUnsignedAsHex()
534 return String16(m_buffer.data(), m_buffer.size()); in toString()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorEvalTo.h77 : m_xpr(expr), m_buffer(buffer) {}
83 EIGEN_DEVICE_FUNC PointerType buffer() const { return m_buffer; }
87 PointerType m_buffer;
113 m_buffer(op.buffer()), m_op(op), m_expression(op.expression())
130 return m_impl.evalSubExprsIfNeeded(m_buffer);
134 m_buffer[i] = m_impl.coeff(i);
137 …internal::pstoret<CoeffReturnType, PacketReturnType, Aligned>(m_buffer + i, m_impl.template packet…
146 return m_buffer[index];
152 return internal::ploadt<PacketReturnType, LoadMode>(m_buffer + index);
162 EIGEN_DEVICE_FUNC DevicePointer data() const { return m_buffer; }
[all …]
DTensorForcedEval.h111 : m_impl(op.expression(), device), m_op(op.expression()), m_device(device), m_buffer(NULL)
118 m_buffer = (CoeffReturnType*)m_device.allocate(numValues * sizeof(CoeffReturnType));
122 new(m_buffer+i) CoeffReturnType();
126 EvalTo evalToTmp(m_buffer, m_op);
132 m_device.deallocate(m_buffer);
133 m_buffer = NULL;
138 return m_buffer[index];
144 return internal::ploadt<PacketReturnType, LoadMode>(m_buffer + index);
151 EIGEN_DEVICE_FUNC typename MakePointer<Scalar>::Type data() const { return m_buffer; }
161 typename MakePointer<CoeffReturnType>::Type m_buffer;
/external/deqp/external/vulkancts/framework/vulkan/
DvkBufferWithMemory.hpp45 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in BufferWithMemory()
46 …, m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequi… in BufferWithMemory()
48 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in BufferWithMemory()
51 const vk::VkBuffer& get (void) const { return *m_buffer; } in get()
56 const vk::Unique<vk::VkBuffer> m_buffer; member in vk::BufferWithMemory
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp1173 GLuint m_buffer; in Write() local
1174 glGenBuffers(1, &m_buffer); in Write()
1175 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Write()
1195 glDeleteBuffers(1, &m_buffer); in Write()
1203 glDeleteBuffers(1, &m_buffer); in Write()
1299 GLuint m_buffer; in WriteCS() local
1300 glGenBuffers(1, &m_buffer); in WriteCS()
1301 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in WriteCS()
1321 glDeleteBuffers(1, &m_buffer); in WriteCS()
1329 glDeleteBuffers(1, &m_buffer); in WriteCS()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp489 GLuint m_buffer; member in gl4cts::es31compatibility::__anon8e100b6e0111::BasicBasicVS
495 m_buffer = 0; in Setup()
516 glGenBuffers(1, &m_buffer); in Run()
517 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
526 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_buffer); in Run()
540 glDeleteBuffers(1, &m_buffer); in Cleanup()
549 GLuint m_buffer; member in gl4cts::es31compatibility::__anon8e100b6e0111::BasicBasicCS
554 m_buffer = 0; in Setup()
567 glGenBuffers(1, &m_buffer); in Run()
568 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
[all …]
Dgl4cShaderStorageBufferObjectTests.cpp628 GLuint m_buffer; member in gl4cts::__anonb27e50980111::BasicBasic
635 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, index, m_buffer); in RunIteration()
645 m_buffer = 0; in Setup()
668 glGenBuffers(1, &m_buffer); in Run()
669 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
690 glDeleteBuffers(1, &m_buffer); in Cleanup()
699 GLuint m_buffer; member in gl4cts::__anonb27e50980111::BasicBasicCS
704 m_buffer = 0; in Setup()
717 glGenBuffers(1, &m_buffer); in Run()
718 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderImageLoadStoreTests.cpp1139 GLuint m_buffer; in Write() local
1140 glGenBuffers(1, &m_buffer); in Write()
1141 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Write()
1161 glDeleteBuffers(1, &m_buffer); in Write()
1169 glDeleteBuffers(1, &m_buffer); in Write()
1265 GLuint m_buffer; in WriteCS() local
1266 glGenBuffers(1, &m_buffer); in WriteCS()
1267 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in WriteCS()
1287 glDeleteBuffers(1, &m_buffer); in WriteCS()
1295 glDeleteBuffers(1, &m_buffer); in WriteCS()
[all …]
Des31cShaderStorageBufferObjectTests.cpp486 GLuint m_buffer; member in glcts::__anon5b1925490111::BasicBasicVS
492 m_buffer = 0; in Setup()
512 glGenBuffers(1, &m_buffer); in Run()
513 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
522 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_buffer); in Run()
536 glDeleteBuffers(1, &m_buffer); in Cleanup()
545 GLuint m_buffer; member in glcts::__anon5b1925490111::BasicBasicCS
550 m_buffer = 0; in Setup()
563 glGenBuffers(1, &m_buffer); in Run()
564 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
[all …]
/external/catch2/include/internal/
Dcatch_output_redirect.cpp66 if (tmpnam_s(m_buffer)) { in TempFile()
69 if (fopen_s(&m_file, m_buffer, "w")) { in TempFile()
74 … CATCH_RUNTIME_ERROR("Coul dnot open the temp file: '" << m_buffer << "' because: " << buffer); in TempFile()
93 std::remove(m_buffer); in ~TempFile()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.hpp47 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer()
48 …, m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequi… in Buffer()
50 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
55 : m_buffer (buffer) in Buffer()
60 const vk::VkBuffer& get (void) const { return *m_buffer; } in get()
65 const vk::Unique<vk::VkBuffer> m_buffer; member in vkt::synchronization::Buffer
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp525 deUint32 m_buffer; member in deqp::gles31::Stress::__anon1779d26c0111::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/
DxeTcpIpLink.cpp181 , 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()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.hpp62 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer()
63 …, m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequi… in Buffer()
65 …VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset… in Buffer()
68 const vk::VkBuffer& get (void) const { return *m_buffer; } in get()
73 const vk::Unique<vk::VkBuffer> m_buffer; member in vkt::geometry::Buffer
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiComputeInstanceResultBuffer.hpp55 inline vk::VkBuffer getBuffer(void) const { return *m_buffer; } in getBuffer()
72 const vk::Unique<vk::VkBuffer> m_buffer; member in vkt::api::ComputeInstanceResultBuffer
DvktApiComputeInstanceResultBuffer.cpp41 m_buffer(createResultBuffer(m_vki, m_device, allocator, &m_bufferMem, initValue)), in ComputeInstanceResultBuffer()
42 m_bufferBarrier(createResultBufferBarrier(*m_buffer)) in ComputeInstanceResultBuffer()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp41 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()
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp1091 glw::GLuint m_buffer; member in deqp::gles31::Functional::__anona3fc6fae0111::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 …]

1234