Home
last modified time | relevance | path

Searched refs:mappedBytes (Results 1 – 25 of 52) sorted by relevance

123

/dports/biology/mmseqs2/MMseqs2-13-45111/src/commons/
H A DMemoryMapped.cpp63 _mappedBytes(mappedBytes), in MemoryMapped()
71 open(filename, mappedBytes, hint); in MemoryMapped()
148 remap(0, mappedBytes); in open()
251 bool MemoryMapped::remap(uint64_t offset, size_t mappedBytes) in remap() argument
256 if (mappedBytes == WholeFile) in remap()
257 mappedBytes = _filesize; in remap()
273 if (offset + mappedBytes > _filesize) in remap()
274 mappedBytes = size_t(_filesize - offset); in remap()
281 _mappedBytes = mappedBytes; in remap()
299 _mappedView = ::mmap(NULL, mappedBytes, PROT_READ, MAP_SHARED, _file, offset); in remap()
[all …]
H A DMemoryMapped.h48 …MemoryMapped(const std::string& filename, size_t mappedBytes = WholeFile, CacheHint hint = Normal);
53 bool open(const std::string& filename, size_t mappedBytes = WholeFile, CacheHint hint = Normal);
74 bool remap(uint64_t offset, size_t mappedBytes);
/dports/converters/wkhtmltopdf/qt-5db36ec/src/multimedia/video/
H A Dqvideoframe.cpp62 , mappedBytes(0) in QVideoFramePrivate()
75 , mappedBytes(0) in QVideoFramePrivate()
92 int mappedBytes; member in QVideoFramePrivate
512 Q_ASSERT(d->mappedBytes == 0); in map()
514 d->data = d->buffer->map(mode, &d->mappedBytes, &d->bytesPerLine); in map()
534 d->mappedBytes = 0; in unmap()
592 int QVideoFrame::mappedBytes() const in mappedBytes() function in QVideoFrame
594 return d->mappedBytes; in mappedBytes()
/dports/multimedia/qt5-multimedia/kde-qtmultimedia-5.15.2p3/src/multimedia/video/
H A Dqvideoframe.cpp73 , mappedBytes(0) in QVideoFramePrivate()
88 , mappedBytes(0) in QVideoFramePrivate()
110 int mappedBytes; member in QVideoFramePrivate
606 Q_ASSERT(d->mappedBytes == 0); in map()
608 d->planeCount = d->buffer->mapPlanes(mode, &d->mappedBytes, d->bytesPerLine, d->data); in map()
655 const int uvStride = (d->mappedBytes - (yStride * height)) / uvHeight / 2; in map()
717 d->mappedBytes = 0; in unmap()
826 int QVideoFrame::mappedBytes() const in mappedBytes() function in QVideoFrame
828 return d->mappedBytes; in mappedBytes()
1133 result.loadFromData(frame.bits(), frame.mappedBytes(), "JPG"); in image()
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qvideoframe/
H A Dtst_qvideoframe.cpp559 QFETCH(int, mappedBytes); in map()
564 QVideoFrame frame(mappedBytes, size, bytesPerLine, pixelFormat); in map()
567 QCOMPARE(frame.mappedBytes(), 0); in map()
574 QCOMPARE(frame.mappedBytes(), mappedBytes); in map()
581 QCOMPARE(frame.mappedBytes(), 0); in map()
619 QCOMPARE(frame.mappedBytes(), 0); in mapImage()
626 QCOMPARE(frame.mappedBytes(), image.numBytes()); in mapImage()
633 QCOMPARE(frame.mappedBytes(), 0); in mapImage()
/dports/www/firefox-esr/firefox-91.8.0/dom/canvas/
H A DWebGL2ContextBuffers.cpp134 const auto mappedBytes = gl->fMapBufferRange( in GetBufferSubData() local
136 memcpy(dest.begin().get(), mappedBytes, dest.length()); in GetBufferSubData()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/canvas/
H A DWebGL2ContextBuffers.cpp134 const auto mappedBytes = gl->fMapBufferRange( in GetBufferSubData() local
136 memcpy(dest.begin().get(), mappedBytes, dest.length()); in GetBufferSubData()
/dports/www/firefox/firefox-99.0/dom/canvas/
H A DWebGL2ContextBuffers.cpp134 const auto mappedBytes = gl->fMapBufferRange( in GetBufferSubData() local
136 memcpy(dest.begin().get(), mappedBytes, dest.length()); in GetBufferSubData()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/canvas/
H A DWebGL2ContextBuffers.cpp134 const auto mappedBytes = gl->fMapBufferRange( in GetBufferSubData() local
136 memcpy(dest.begin().get(), mappedBytes, dest.length()); in GetBufferSubData()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/canvas/
H A DWebGL2ContextBuffers.cpp143 const auto mappedBytes = gl->fMapBufferRange(mapTarget, srcByteOffset, glByteLen, in GetBufferSubData() local
145 memcpy(bytes, mappedBytes, byteLen); in GetBufferSubData()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/canvas/
H A DWebGL2ContextBuffers.cpp151 const auto mappedBytes = gl->fMapBufferRange( in GetBufferSubData() local
153 memcpy(bytes, mappedBytes, byteLen); in GetBufferSubData()
/dports/net-im/kaidan/kaidan-0.8.0/src/
H A DQrCodeVideoFrame.cpp167 if (m_data.size() != frame.mappedBytes()) { in setData()
168 m_data.resize(frame.mappedBytes()); in setData()
170 memcpy(m_data.data(), frame.bits(), frame.mappedBytes()); in setData()
/dports/databases/py-qt5-sql/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/multimedia/py-qt5-multimediawidgets/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/multimedia/py-qt5-multimedia/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/www/py-qt5-webkitwidgets/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/www/py-qt5-websockets/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/www/py-qt5-webchannel/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/www/py-qt5-webkit/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/x11-toolkits/py-qt5-widgets/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/x11-toolkits/py-qt5-quickwidgets/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/x11-toolkits/py-qt5-quick3d/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/comms/py-qt5-sensors/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/comms/py-qt5-serialport/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;
/dports/net/py-qt5-network/PyQt5-5.15.4/sip/QtMultimedia/
H A Dqvideoframe.sip116 sipRes = sipConvertFromVoidPtrAndSize(mem, sipCpp->mappedBytes());
128 int mappedBytes() const;

123