/dports/devel/capnproto080/capnproto-0.8.0/c++/src/capnp/ |
H A D | serialize-async.c++ | 89 kj::ArrayPtr<word> scratchSpace) { in readWithFds() argument 92 .then([this,&inputStream,KJ_CPCAP(scratchSpace)] in readWithFds() 103 return readAfterFirstWord(inputStream, scratchSpace) in readWithFds() 124 return readSegments(inputStream, scratchSpace); in readAfterFirstWord() 127 return readSegments(inputStream, scratchSpace); in readAfterFirstWord() 150 if (scratchSpace.size() < totalWords) { in readSegments() 154 scratchSpace = ownedSpace; in readSegments() 159 segmentStarts[0] = scratchSpace.begin(); in readSegments() 165 segmentStarts[i] = scratchSpace.begin() + offset; in readSegments() 179 auto promise = reader->read(input, scratchSpace); in readMessage() [all …]
|
H A D | serialize.c++ | 165 kj::InputStream& inputStream, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in InputStreamMessageReader() argument 204 if (scratchSpace.size() < totalWords) { in InputStreamMessageReader() 208 scratchSpace = ownedSpace; in InputStreamMessageReader() 211 segment0 = scratchSpace.slice(0, segment0Size); in InputStreamMessageReader() 219 moreSegments[i] = scratchSpace.slice(offset, offset + segmentSize); in InputStreamMessageReader() 225 inputStream.read(scratchSpace.begin(), totalWords * sizeof(word)); in InputStreamMessageReader() 227 readPos = scratchSpace.asBytes().begin(); in InputStreamMessageReader() 265 ReaderOptions options, kj::ArrayPtr<word> scratchSpace) { in readMessageCopy() argument 266 InputStreamMessageReader message(input, options, scratchSpace); in readMessageCopy() 309 ReaderOptions options, kj::ArrayPtr<word> scratchSpace) { in readMessageCopyFromFd() argument [all …]
|
H A D | serialize.h | 131 kj::ArrayPtr<word> scratchSpace = nullptr); 153 kj::ArrayPtr<word> scratchSpace = nullptr); 176 kj::ArrayPtr<word> scratchSpace = nullptr) 177 : FdInputStream(fd), InputStreamMessageReader(*this, options, scratchSpace) {} in FdInputStream() 181 kj::ArrayPtr<word> scratchSpace = nullptr) 182 : FdInputStream(kj::mv(fd)), InputStreamMessageReader(*this, options, scratchSpace) {} in FdInputStream() 190 kj::ArrayPtr<word> scratchSpace = nullptr);
|
H A D | serialize-async.h | 33 kj::ArrayPtr<word> scratchSpace = nullptr); 42 kj::ArrayPtr<word> scratchSpace = nullptr); 62 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr); 68 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr);
|
H A D | serialize-packed.h | 68 kj::ArrayPtr<word> scratchSpace = nullptr); 77 kj::ArrayPtr<word> scratchSpace = nullptr); 83 kj::ArrayPtr<word> scratchSpace = nullptr);
|
H A D | serialize-packed.c++ | 436 kj::BufferedInputStream& inputStream, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in PackedMessageReader() argument 438 InputStreamMessageReader(static_cast<PackedInputStream&>(*this), options, scratchSpace) {} in PackedMessageReader() 443 int fd, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in PackedFdMessageReader() argument 447 options, scratchSpace) {} in PackedFdMessageReader() 450 kj::AutoCloseFd fd, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in PackedFdMessageReader() argument 454 options, scratchSpace) {} in PackedFdMessageReader()
|
/dports/devel/capnproto/capnproto-0.9.0/c++/src/capnp/ |
H A D | serialize-async.c++ | 100 kj::ArrayPtr<word> scratchSpace) { in readWithFds() argument 138 return readSegments(inputStream, scratchSpace); in readAfterFirstWord() 161 if (scratchSpace.size() < totalWords) { in readSegments() 165 scratchSpace = ownedSpace; in readSegments() 170 segmentStarts[0] = scratchSpace.begin(); in readSegments() 190 auto promise = reader->read(input, scratchSpace); in readMessage() 202 auto promise = reader->read(input, scratchSpace); in tryReadMessage() 383 kj::ArrayPtr<word> scratchSpace) { in tryReadMessage() argument 442 kj::ArrayPtr<word> scratchSpace) { in tryReadMessage() argument 468 kj::ArrayPtr<word> scratchSpace) { in readMessage() argument [all …]
|
H A D | serialize.c++ | 165 kj::InputStream& inputStream, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in InputStreamMessageReader() argument 204 if (scratchSpace.size() < totalWords) { in InputStreamMessageReader() 208 scratchSpace = ownedSpace; in InputStreamMessageReader() 211 segment0 = scratchSpace.slice(0, segment0Size); in InputStreamMessageReader() 219 moreSegments[i] = scratchSpace.slice(offset, offset + segmentSize); in InputStreamMessageReader() 225 inputStream.read(scratchSpace.begin(), totalWords * sizeof(word)); in InputStreamMessageReader() 227 readPos = scratchSpace.asBytes().begin(); in InputStreamMessageReader() 265 ReaderOptions options, kj::ArrayPtr<word> scratchSpace) { in readMessageCopy() argument 266 InputStreamMessageReader message(input, options, scratchSpace); in readMessageCopy() 309 ReaderOptions options, kj::ArrayPtr<word> scratchSpace) { in readMessageCopyFromFd() argument [all …]
|
H A D | serialize.h | 131 kj::ArrayPtr<word> scratchSpace = nullptr); 153 kj::ArrayPtr<word> scratchSpace = nullptr); 176 kj::ArrayPtr<word> scratchSpace = nullptr) 177 : FdInputStream(fd), InputStreamMessageReader(*this, options, scratchSpace) {} in FdInputStream() 181 kj::ArrayPtr<word> scratchSpace = nullptr) 182 : FdInputStream(kj::mv(fd)), InputStreamMessageReader(*this, options, scratchSpace) {} in FdInputStream() 190 kj::ArrayPtr<word> scratchSpace = nullptr);
|
H A D | serialize-async.h | 42 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr) = 0; 50 kj::ArrayPtr<word> scratchSpace = nullptr); 55 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr); 58 kj::ArrayPtr<word> scratchSpace = nullptr); 109 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr) override; 130 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr) override; 153 kj::ArrayPtr<word> scratchSpace = nullptr); 157 kj::ArrayPtr<word> scratchSpace = nullptr); 174 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr); 178 ReaderOptions options = ReaderOptions(), kj::ArrayPtr<word> scratchSpace = nullptr);
|
H A D | serialize-packed.h | 68 kj::ArrayPtr<word> scratchSpace = nullptr); 77 kj::ArrayPtr<word> scratchSpace = nullptr); 83 kj::ArrayPtr<word> scratchSpace = nullptr);
|
H A D | serialize-packed.c++ | 436 kj::BufferedInputStream& inputStream, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in PackedMessageReader() argument 438 InputStreamMessageReader(static_cast<PackedInputStream&>(*this), options, scratchSpace) {} in PackedMessageReader() 443 int fd, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in PackedFdMessageReader() argument 447 options, scratchSpace) {} in PackedFdMessageReader() 450 kj::AutoCloseFd fd, ReaderOptions options, kj::ArrayPtr<word> scratchSpace) in PackedFdMessageReader() argument 454 options, scratchSpace) {} in PackedFdMessageReader()
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_core/text/ |
H A D | juce_TextDiff.cpp | 115 auto scratchSpace = sizeof (int) * (2 + 2 * (size_t) lenB); in findLongestCommonSubstring() local 117 if (scratchSpace < 4096) in findLongestCommonSubstring() 119 auto* scratch = (int*) alloca (scratchSpace); in findLongestCommonSubstring() 120 … return findLongestCommonSubstring (a, lenA, indexInA, b, lenB, indexInB, scratchSpace, scratch); in findLongestCommonSubstring() 123 HeapBlock<int> scratch (scratchSpace); in findLongestCommonSubstring() 124 … return findLongestCommonSubstring (a, lenA, indexInA, b, lenB, indexInB, scratchSpace, scratch); in findLongestCommonSubstring() 129 const size_t scratchSpace, int* const lines) noexcept in findLongestCommonSubstring() 131 zeromem (lines, scratchSpace); in findLongestCommonSubstring()
|
/dports/audio/carla/Carla-2.4.1/source/modules/juce_core/text/ |
H A D | juce_TextDiff.cpp | 115 auto scratchSpace = sizeof (int) * (2 + 2 * (size_t) lenB); in findLongestCommonSubstring() local 117 if (scratchSpace < 4096) in findLongestCommonSubstring() 119 auto* scratch = (int*) alloca (scratchSpace); in findLongestCommonSubstring() 120 … return findLongestCommonSubstring (a, lenA, indexInA, b, lenB, indexInB, scratchSpace, scratch); in findLongestCommonSubstring() 123 HeapBlock<int> scratch (scratchSpace); in findLongestCommonSubstring() 124 … return findLongestCommonSubstring (a, lenA, indexInA, b, lenB, indexInB, scratchSpace, scratch); in findLongestCommonSubstring() 129 const size_t scratchSpace, int* const lines) noexcept in findLongestCommonSubstring() 131 zeromem (lines, scratchSpace); in findLongestCommonSubstring()
|
/dports/audio/libopenshot-audio/libopenshot-audio-0.2.2/JuceLibraryCode/modules/juce_core/text/ |
H A D | juce_TextDiff.cpp | 115 auto scratchSpace = sizeof (int) * (2 + 2 * (size_t) lenB); in findLongestCommonSubstring() local 117 if (scratchSpace < 4096) in findLongestCommonSubstring() 119 auto* scratch = (int*) alloca (scratchSpace); in findLongestCommonSubstring() 120 … return findLongestCommonSubstring (a, lenA, indexInA, b, lenB, indexInB, scratchSpace, scratch); in findLongestCommonSubstring() 123 HeapBlock<int> scratch (scratchSpace); in findLongestCommonSubstring() 124 … return findLongestCommonSubstring (a, lenA, indexInA, b, lenB, indexInB, scratchSpace, scratch); in findLongestCommonSubstring() 129 const size_t scratchSpace, int* const lines) noexcept in findLongestCommonSubstring() 131 zeromem (lines, scratchSpace); in findLongestCommonSubstring()
|
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/extractor/ |
H A D | DefaultExtractorInput.java | 35 private final byte[] scratchSpace; field in DefaultExtractorInput 54 scratchSpace = new byte[SCRATCH_SPACE_SIZE]; in DefaultExtractorInput() 91 readFromDataSource(scratchSpace, 0, Math.min(length, scratchSpace.length), 0, true); in skip() 102 int minLength = Math.min(length, bytesSkipped + scratchSpace.length); in skipFully() 104 readFromDataSource(scratchSpace, -bytesSkipped, minLength, bytesSkipped, allowEndOfInput); in skipFully()
|
/dports/www/firefox/firefox-99.0/mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/extractor/ |
H A D | DefaultExtractorInput.java | 35 private final byte[] scratchSpace; field in DefaultExtractorInput 54 scratchSpace = new byte[SCRATCH_SPACE_SIZE]; in DefaultExtractorInput() 91 readFromDataSource(scratchSpace, 0, Math.min(length, scratchSpace.length), 0, true); in skip() 102 int minLength = Math.min(length, bytesSkipped + scratchSpace.length); in skipFully() 104 readFromDataSource(scratchSpace, -bytesSkipped, minLength, bytesSkipped, allowEndOfInput); in skipFully()
|
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/extractor/ |
H A D | DefaultExtractorInput.java | 35 private final byte[] scratchSpace; field in DefaultExtractorInput 54 scratchSpace = new byte[SCRATCH_SPACE_SIZE]; in DefaultExtractorInput() 91 readFromDataSource(scratchSpace, 0, Math.min(length, scratchSpace.length), 0, true); in skip() 102 int minLength = Math.min(length, bytesSkipped + scratchSpace.length); in skipFully() 104 readFromDataSource(scratchSpace, -bytesSkipped, minLength, bytesSkipped, allowEndOfInput); in skipFully()
|
/dports/devel/gammaray/GammaRay-2.11.3/common/ |
H A D | message.cpp | 94 scratchSpace.reserve(32); in MessageBuffer() 108 scratchSpace.resize(0); in resetStatus() 113 QByteArray scratchSpace; member in MessageBuffer 195 auto& uncompressedData = msg.m_buffer->scratchSpace; in readMessage() 243 auto& compressedData = m_buffer->scratchSpace; in write()
|
/dports/devel/capnproto080/capnproto-0.8.0/c++/src/benchmark/ |
H A D | capnproto-common.h | 70 kj::ArrayPtr<word> scratchSpace = nullptr) 89 kj::ArrayPtr<word> scratchSpace = nullptr) 91 PackedMessageReader(*this, options, scratchSpace) {} in ArrayInputStream() 116 kj::ArrayPtr<word> scratchSpace = nullptr) 118 SnappyPackedMessageReader(static_cast<ArrayInputStream&>(*this), options, scratchSpace, in ArrayInputStream() 176 word scratchSpace[6 * SCRATCH_SIZE]; variable 185 words = scratchSpace + scratchCounter++ * SCRATCH_SIZE; in ScratchSpace()
|
/dports/devel/capnproto/capnproto-0.9.0/c++/src/benchmark/ |
H A D | capnproto-common.h | 70 kj::ArrayPtr<word> scratchSpace = nullptr) 89 kj::ArrayPtr<word> scratchSpace = nullptr) 91 PackedMessageReader(*this, options, scratchSpace) {} in ArrayInputStream() 116 kj::ArrayPtr<word> scratchSpace = nullptr) 118 SnappyPackedMessageReader(static_cast<ArrayInputStream&>(*this), options, scratchSpace, in ArrayInputStream() 176 word scratchSpace[6 * SCRATCH_SIZE]; variable 185 words = scratchSpace + scratchCounter++ * SCRATCH_SIZE; in ScratchSpace()
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/geckoview/src/thirdparty/java/com/google/android/exoplayer2/source/hls/ |
H A D | HlsChunkSource.java | 93 private byte[] scratchSpace; field in HlsChunkSource 306 scratchSpace = encryptionKeyChunk.getDataHolder(); in onChunkLoadCompleted() 348 trackSelectionReason, trackSelectionData, scratchSpace, iv); in newEncryptionKeyChunk() 433 int trackSelectionReason, Object trackSelectionData, byte[] scratchSpace, String iv) { in EncryptionKeyChunk() argument 435 trackSelectionData, scratchSpace); in EncryptionKeyChunk()
|
/dports/lang/spidermonkey78/firefox-78.9.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/source/hls/ |
H A D | HlsChunkSource.java | 93 private byte[] scratchSpace; field in HlsChunkSource 306 scratchSpace = encryptionKeyChunk.getDataHolder(); in onChunkLoadCompleted() 348 trackSelectionReason, trackSelectionData, scratchSpace, iv); in newEncryptionKeyChunk() 433 int trackSelectionReason, Object trackSelectionData, byte[] scratchSpace, String iv) { in EncryptionKeyChunk() argument 435 trackSelectionData, scratchSpace); in EncryptionKeyChunk()
|
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/source/hls/ |
H A D | HlsChunkSource.java | 99 private byte[] scratchSpace; field in HlsChunkSource 144 scratchSpace = Util.EMPTY_BYTE_ARRAY; in HlsChunkSource() 367 scratchSpace = encryptionKeyChunk.getDataHolder(); in onChunkLoadCompleted() 530 scratchSpace); in maybeCreateEncryptionChunkFor() 605 byte[] scratchSpace) { in EncryptionKeyChunk() argument 607 trackSelectionData, scratchSpace); in EncryptionKeyChunk()
|
/dports/www/firefox/firefox-99.0/mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/source/hls/ |
H A D | HlsChunkSource.java | 99 private byte[] scratchSpace; field in HlsChunkSource 144 scratchSpace = Util.EMPTY_BYTE_ARRAY; in HlsChunkSource() 367 scratchSpace = encryptionKeyChunk.getDataHolder(); in onChunkLoadCompleted() 530 scratchSpace); in maybeCreateEncryptionChunkFor() 605 byte[] scratchSpace) { in EncryptionKeyChunk() argument 607 trackSelectionData, scratchSpace); in EncryptionKeyChunk()
|