Home
last modified time | relevance | path

Searched refs:m_buf (Results 1 – 25 of 30) sorted by relevance

12

/external/emma/core/java12/com/vladium/util/
DByteArrayOStream.java41 m_buf = new byte [initialCapacity]; in ByteArrayOStream()
46 return new ByteArrayIStream (m_buf, m_pos); in toByteIStream()
53 byte [] mbuf = m_buf; in write2()
65 m_buf = mbuf = newbuf; in write2()
77 byte [] mbuf = m_buf; in write3()
89 m_buf = mbuf = newbuf; in write3()
102 byte [] mbuf = m_buf; in write4()
114 m_buf = mbuf = newbuf; in write4()
127 out.write (m_buf, 0, m_pos); in writeTo()
199 return m_buf; in getByteArray()
[all …]
DByteArrayIStream.java39 m_buf = buf; in ByteArrayIStream()
50 return 0xFF & m_buf [m_pos ++]; in read()
67 final byte [] mbuf = m_buf; in read()
118 private final byte [] m_buf; field in ByteArrayIStream
/external/deqp/executor/
DxeContainerFormatParser.cpp44 , 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()
DxeXMLParser.cpp61 , 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 …]
DxeXMLParser.hpp96 …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()
/external/pdfium/third_party/agg23/
Dagg_rendering_buffer.h49 m_buf(0), in rendering_buffer()
58 m_buf(0), in rendering_buffer()
69 m_buf = buf; in attach()
77 int8u* row_ptr = m_buf; in attach()
79 row_ptr = m_buf - int(height - 1) * stride; in attach()
89 return m_buf; in buf()
93 return m_buf; in buf()
137 int8u* m_buf;
/external/rmi4utils/f54test/
Ddisplay.cpp37 m_buf = NULL; in AnsiConsole()
47 delete [] m_buf; in ~AnsiConsole()
58 if (m_buf != NULL) in GetWindowSize()
60 delete [] m_buf; in GetWindowSize()
62 m_buf = new char[m_numRows * m_numCols]; in GetWindowSize()
75 p = &(m_buf[m_numCols * m_curY + m_curX]); in Output()
114 p = &(m_buf[m_numCols * j]); in Reflesh()
Ddisplay.h52 char * m_buf; variable
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DAttributeSet.java70 if ((m_buf != null) && (m_buf.length () <= MAX_BUF_LENGTH)) in emit()
71 m_buf.setLength (0); in emit()
73 m_buf = new StringBuffer (); in emit()
75 Strings.HTMLEscape (value, m_buf); in emit()
76 out.write (m_buf.toString ()); in emit()
110 private StringBuffer m_buf; // reused by emit() field in AttributeSet.AttributeSetImpl
/external/deqp/execserver/
DxsPosixFileReader.cpp35 , 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()
DxsProtocol.cpp95 : 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 …]
DxsPosixTestProcess.cpp100 , 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()
DxsPosixFileReader.hpp45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); } in read()
51 ThreadedByteBuffer m_buf; member in xs::posix::FileReader
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_base.cpp60 m_buf.release(); in setSource()
69 m_buf = buf; in setSource()
107 m_buf = 0; in setDestination()
115 m_buf = &buf; in setDestination()
116 m_buf->clear(); in setDestination()
Dgrfmt_png.cpp131 const Mat& buf = decoder->m_buf; in readDataFromBuf()
137 memcpy( dst, decoder->m_buf.ptr() + decoder->m_buf_pos, size ); in readDataFromBuf()
162 if( !m_buf.empty() ) in readHeader()
171 if( !m_buf.empty() || m_f ) in readHeader()
330 CV_Assert( encoder && encoder->m_buf ); in writeDataToBuf()
331 size_t cursz = encoder->m_buf->size(); in writeDataToBuf()
332 encoder->m_buf->resize(cursz + size); in writeDataToBuf()
333 memcpy( &(*encoder->m_buf)[cursz], src, size ); in writeDataToBuf()
362 if( m_buf ) in write()
396 if( m_buf || f ) in write()
Dgrfmt_webp.cpp98 if (m_buf.empty()) in readHeader()
135 data = m_buf; in readHeader()
279 if(m_buf) in write()
281 m_buf->resize(size); in write()
282 memcpy(&(*m_buf)[0], out, size); in write()
Dbitstrm.cpp341 m_buf = 0; in WBaseStream()
376 if( m_buf ) in writeBlock()
378 size_t sz = m_buf->size(); in writeBlock()
379 m_buf->resize( sz + size ); in writeBlock()
380 memcpy( &(*m_buf)[sz], m_start, size ); in writeBlock()
411 m_buf = &buf; in open()
428 m_buf = 0; in close()
Dgrfmt_jpeg.cpp228 if( !m_buf.empty() ) in readHeader()
231 state->source.pub.next_input_byte = m_buf.ptr(); in readHeader()
232 state->source.pub.bytes_in_buffer = m_buf.cols*m_buf.rows*m_buf.elemSize(); in readHeader()
572 if( !m_buf ) in write()
581 dest.dst = m_buf; in write()
Dgrfmt_tiff.cpp702 if( m_buf ) in write()
704 if( !strm.open(*m_buf) ) in write()
727 if( m_buf ) in write()
728 m_buf->reserve( alignSize(stripCount*8 + fileStep*height + 256, 256) ); in write()
852 if( m_buf ) in write()
854 (*m_buf)[4] = (uchar)directoryOffset; in write()
855 (*m_buf)[5] = (uchar)(directoryOffset >> 8); in write()
856 (*m_buf)[6] = (uchar)(directoryOffset >> 16); in write()
857 (*m_buf)[7] = (uchar)(directoryOffset >> 24); in write()
Dgrfmt_base.hpp86 Mat m_buf; member in cv::BaseImageDecoder
112 std::vector<uchar>* m_buf; member in cv::BaseImageEncoder
Dgrfmt_bmp.cpp81 if( !m_buf.empty() ) in readHeader()
83 if( !m_strm.open( m_buf ) ) in readHeader()
509 if( m_buf ) in write()
511 if( !strm.open( *m_buf ) ) in write()
523 if( m_buf ) in write()
524 m_buf->reserve( alignSize(fileSize + 16, 256) ); in write()
Dgrfmt_pxm.cpp132 if( !m_buf.empty() ) in readHeader()
134 if( !m_strm.open(m_buf) ) in readHeader()
386 if( m_buf ) in write()
388 if( !strm.open(*m_buf) ) in write()
391 m_buf->reserve( alignSize(256 + (isBinary ? fileStep*height : in write()
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp255 glw::GLuint m_buf; member in deqp::gles31::Stress::__anonfae85eef0111::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()
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java1808 m_buf = buf; in clinitHeader()
1856 int length () { return m_buf.size (); } in length()
1864 m_buf.writeTo (ctx.m_out); in emit()
1873 private final ByteArrayOStream m_buf; field in InstrVisitor.clinitHeader
1886 m_buf = buf; in methodHeader()
1939 int length () { return m_buf.size (); } in length()
1947 m_buf.writeTo (ctx.m_out); in emit()
1956 private final ByteArrayOStream m_buf; field in InstrVisitor.methodHeader
1969 m_buf = buf; in BlockSegment()
1994 int length () { return m_buf.size (); } in length()
[all …]
/external/emma/core/java12/com/vladium/emma/rt/
DInstrClassLoader.java266 readFully (in, baos, buf.m_buf); in findClass()
322 m_buf = new byte [bufSize]; in PoolEntry()
334 final byte [] m_buf; field in InstrClassLoader.PoolEntry

12