/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/ |
D | Parameters.java | 46 public static Builder builder(int windowSize) { in builder() argument 47 return new Builder(windowSize); in builder() 54 private final int windowSize; field in Parameters.Builder 59 private Builder(int windowSize) { in Builder() argument 60 if (windowSize < 2 || !isPowerOfTwo(windowSize)) { in Builder() 63 this.windowSize = windowSize; in Builder() 65 maxBackReferenceLength = windowSize - 1; in Builder() 66 maxOffset = windowSize - 1; in Builder() 67 maxLiteralLength = windowSize; in Builder() 90 if (windowSize < this.minBackReferenceLength) { in withMinBackReferenceLength() [all …]
|
D | AbstractLZ77CompressorInputStream.java | 81 private final int windowSize; field in AbstractLZ77CompressorInputStream 134 …public AbstractLZ77CompressorInputStream(final InputStream is, int windowSize) throws IOException { in AbstractLZ77CompressorInputStream() argument 136 this.windowSize = windowSize; in AbstractLZ77CompressorInputStream() 137 buf = new byte[3 * windowSize]; in AbstractLZ77CompressorInputStream() 185 int len = Math.min(windowSize, data.length); in prefill() 256 if (readIndex > 2 * windowSize) { in readFromBuffer() 265 System.arraycopy(buf, windowSize, buf, 0, windowSize * 2); in slideBuffer() 266 writeIndex -= windowSize; in slideBuffer() 267 readIndex -= windowSize; in slideBuffer()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
D | DescriptiveStatistics.java | 74 protected int windowSize = INFINITE_WINDOW; field in DescriptiveStatistics 159 if (windowSize != INFINITE_WINDOW) { in addValue() 160 if (getN() == windowSize) { in addValue() 162 } else if (getN() < windowSize) { in addValue() 309 return windowSize; in getWindowSize() 321 public void setWindowSize(int windowSize) { in setWindowSize() argument 322 if (windowSize < 1) { in setWindowSize() 323 if (windowSize != INFINITE_WINDOW) { in setWindowSize() 325 LocalizedFormats.NOT_POSITIVE_WINDOW_SIZE, windowSize); in setWindowSize() 329 this.windowSize = windowSize; in setWindowSize() [all …]
|
D | SynchronizedDescriptiveStatistics.java | 129 public synchronized void setWindowSize(int windowSize) { in setWindowSize() argument 130 super.setWindowSize(windowSize); in setWindowSize()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/winrt/ |
D | CoreWindowNativeWindow.h | 42 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override; 78 ABI::Windows::Foundation::Size windowSize; in IFACEMETHOD() local 79 if (SUCCEEDED(sizeChangedEventArgs->get_Size(&windowSize))) in IFACEMETHOD() 81 Size windowSizeInPixels = {ConvertDipsToPixels(windowSize.Width), in IFACEMETHOD() 82 ConvertDipsToPixels(windowSize.Height)}; in IFACEMETHOD() 95 Size *windowSize);
|
D | SwapChainPanelNativeWindow.cpp | 326 HRESULT SwapChainPanelNativeWindow::scaleSwapChain(const Size &windowSize, const RECT &clientRect) in scaleSwapChain() argument 328 Size renderScale = {windowSize.Width / std::max(LONG(1), clientRect.right), in scaleSwapChain() 329 windowSize.Height / std::max(LONG(1), clientRect.bottom)}; in scaleSwapChain() 348 Size *windowSize) in GetSwapChainPanelSize() argument 355 [uiElement, windowSize] { return uiElement->get_RenderSize(windowSize); }, dispatcher); in GetSwapChainPanelSize()
|
D | CoreWindowNativeWindow.cpp | 193 inline HRESULT CoreWindowNativeWindow::scaleSwapChain(const Size &windowSize, in scaleSwapChain() argument 202 Size *windowSize) in GetCoreWindowSizeInPixels() argument 208 *windowSize = {ConvertDipsToPixels(bounds.Width), ConvertDipsToPixels(bounds.Height)}; in GetCoreWindowSizeInPixels()
|
D | SwapChainPanelNativeWindow.h | 34 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override; 94 Size *windowSize);
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
D | OutWindow.java | 15 public void Create(int windowSize) in Create() argument 17 if (_buffer == null || _windowSize != windowSize) in Create() 18 _buffer = new byte[windowSize]; in Create() 19 _windowSize = windowSize; in Create()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/ |
D | buffer_packing.cc | 180 SortedPackingStrategy(size_t windowSize, CompareT compare) in SortedPackingStrategy() argument 181 : windowSize(windowSize), compare(compare) {} in SortedPackingStrategy() 226 const size_t windowSize; member in mlir::__anon6cdfcd4b0111::SortedPackingStrategy 324 if (windowSize == 0) return maxUserangeId; in computeAllocationInfos() 336 if (allocationInfo.allocUserangeId > lastAllocUserangeId + windowSize) in computeAllocationInfos() 426 explicit BufferPackingPass(unsigned windowSize) { in BufferPackingPass() 427 this->window_size_ = windowSize; in BufferPackingPass() 477 unsigned windowSize) { in createBufferPackingPass() argument 478 return std::make_unique<BufferPackingPass>(windowSize); in createBufferPackingPass()
|
/external/lzma/CS/7zip/Compress/LZ/ |
D | LzOutWindow.cs | 15 public void Create(uint windowSize) in Create() argument 17 if (_windowSize != windowSize) in Create() 20 _buffer = new byte[windowSize]; in Create() 22 _windowSize = windowSize; in Create()
|
/external/armnn/samples/common/src/Audio/ |
D | AudioCapture.cpp | 70 size_t windowSize = this->m_window.GetWindowSize(); in Next() local 72 if(remainingData < windowSize) in Next() 74 std::vector<float> audioData(windowSize, 0.0f); in Next() 87 std::vector<float> audioData(windowData, windowData + windowSize); in Next()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz77support/ |
D | ParametersTest.java | 122 private static Parameters newParameters(int windowSize) { in newParameters() argument 123 return Parameters.builder(windowSize).build(); in newParameters() 126 …private static Parameters newParameters(int windowSize, int minBackReferenceLength, int maxBackRef… in newParameters() argument 128 return Parameters.builder(windowSize) in newParameters()
|
D | LZ77CompressorTest.java | 338 private static Parameters newParameters(int windowSize) { in newParameters() argument 339 return Parameters.builder(windowSize).build(); in newParameters() 342 …private static Parameters newParameters(int windowSize, int minBackReferenceLength, int maxBackRef… in newParameters() argument 344 return Parameters.builder(windowSize) in newParameters()
|
/external/swiftshader/tests/VulkanWrapper/ |
D | Window.cpp | 19 Window::Window(vk::Instance instance, vk::Extent2D windowSize) in Window() argument 43 Window::Window(vk::Instance instance, vk::Extent2D windowSize) in Window() argument 67 windowRect.right = (long)windowSize.width; in Window() 68 windowRect.bottom = (long)windowSize.height; in Window()
|
D | Window.hpp | 29 Window(vk::Instance instance, vk::Extent2D windowSize); 44 Window(vk::Instance instance, vk::Extent2D windowSize);
|
/external/zstd/tests/fuzz/ |
D | sequence_compression_api.c | 144 uint32_t windowSize = 1 << windowLog; in generateRandomSequences() local 156 offsetBound = bytesGenerated > windowSize ? windowSize : bytesGenerated + dictSize; in generateRandomSequences() 158 if (dictSize > 0 && bytesGenerated <= windowSize) { in generateRandomSequences() 163 size_t bytesToReachWindowSize = windowSize - bytesGenerated; in generateRandomSequences() 165 uint32_t newOffsetBound = offsetBound > windowSize ? windowSize : offsetBound; in generateRandomSequences()
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiMaintenance1Tests.cpp | 276 tcu::UVec2 windowSize; member 284 , windowSize (tcu::UVec2(kDefaultWindowWidth, kDefaultWindowHeight)) in TestNativeObjects() 288 windows.push_back(createWindow(*display, windowSize)); in TestNativeObjects() 807 …ck(getBasicSwapchainParameters(*surfaces[i], surfaceFormats[0], native.windowSize, testParams.mode… in presentFenceTest() 1547 tcu::UVec2 swapchainSize = native.windowSize; in scalingTest() 1613 tcu::UVec2 windowSize = native.windowSize; in scalingTest() local 1619 windowSize.x() /= 2; in scalingTest() 1620 windowSize.y() /= 2; in scalingTest() 1623 windowSize.x() *= 2; in scalingTest() 1624 windowSize.y() *= 2; in scalingTest() [all …]
|
/external/swiftshader/src/WSI/ |
D | Win32SurfaceKHR.cpp | 23 VkResult getWindowSize(HWND hwnd, VkExtent2D &windowSize) in getWindowSize() argument 28 windowSize = { 0, 0 }; in getWindowSize() 32 windowSize = { static_cast<uint32_t>(clientRect.right - clientRect.left), in getWindowSize()
|
/external/armnn/samples/common/include/Audio/ |
D | SlidingWindow.hpp | 28 size_t windowSize, size_t stride) in SlidingWindow() argument 32 m_size = windowSize; in SlidingWindow()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | AccelerometerFragment.java | 152 static List<Entry> smoothEntries(List<Entry> entries, int windowSize) { in smoothEntries() argument 154 for (int i = windowSize; i < entries.size() - windowSize; i++) { in smoothEntries() 157 for (int j = i - windowSize; j <= i + windowSize; j++) { in smoothEntries() 158 avg += entries.get(j).getY() / (2 * windowSize + 1); in smoothEntries()
|
/external/zstd/lib/decompress/ |
D | zstd_decompress.c | 477 U64 windowSize = 0; in ZSTD_getFrameHeader_advanced() local 487 windowSize = (1ULL << windowLog); in ZSTD_getFrameHeader_advanced() 488 windowSize += (windowSize >> 3) * (wlByte&7); in ZSTD_getFrameHeader_advanced() 510 if (singleSegment) windowSize = frameContentSize; in ZSTD_getFrameHeader_advanced() 514 zfhPtr->windowSize = windowSize; in ZSTD_getFrameHeader_advanced() 515 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameHeader_advanced() 1823 size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSi… in ZSTD_decodingBufferSize_min() argument 1825 size_t const blockSize = (size_t) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_decodingBufferSize_min() 1827 …unsigned long long const neededRBSize = windowSize + blockSize + ZSTD_BLOCKSIZE_MAX + (WILDCOPY_OV… in ZSTD_decodingBufferSize_min() 1835 size_t ZSTD_estimateDStreamSize(size_t windowSize) in ZSTD_estimateDStreamSize() argument [all …]
|
/external/zstd/tests/ |
D | decodecorpus.c | 192 unsigned windowSize; /* contentSize >= windowSize means single segment */ member 278 fh.windowSize = (1U << (exponent + 10)); in writeFrameHeader() 279 fh.windowSize += fh.windowSize / 8 * mantissa; in writeFrameHeader() 302 fh.windowSize = (U32) fh.contentSize; in writeFrameHeader() 355 DISPLAYLEVEL(3, " frame window size:\t%u\n", fh.windowSize); in writeFrameHeader() 689 MIN(frame->header.windowSize, in generateSequences() 692 …Dict && (RAND(seed) & 1) && i + 1 != numSequences && dataDecompressed < frame->header.windowSize) { in generateSequences() 697 if (offset > frame->header.windowSize) { in generateSequences() 705 { U32 const matchLenBound = MIN(frame->header.windowSize, lenPastStart); in generateSequences() 1097 size_t const maxBlockSize = MIN(g_maxBlockSize, frame->header.windowSize); in writeBlocks() [all …]
|
/external/openthread/src/cli/ |
D | cli_tcp.cpp | 88 uint32_t windowSize; in ProcessInit() local 90 SuccessOrExit(error = aArgs[0].ParseAsUint32(windowSize)); in ProcessInit() 93 receiveBufferSize = windowSize + ((windowSize + 7) >> 3); in ProcessInit()
|
/external/zstd/programs/ |
D | fileio.c | 1375 UTIL_HumanReadableSize_t windowSize; in FIO_compressZstdFrame() local 1381 windowSize = UTIL_makeHumanReadableSize(MAX(1ULL, MIN(1ULL << windowLog, pledgedSrcSize))); in FIO_compressZstdFrame() 1382 …, "Decompression will require %.*f%s of memory\n", windowSize.precision, windowSize.value, windowS… in FIO_compressZstdFrame() 2200 unsigned long long const windowSize = header.windowSize; in FIO_zstdErrorHelp() local 2201 … unsigned const windowLog = FIO_highbit64(windowSize) + ((windowSize & (windowSize - 1)) != 0); in FIO_zstdErrorHelp() 2204 srcFileName, windowSize, prefs->memLimit); in FIO_zstdErrorHelp() 2206 … unsigned const windowMB = (unsigned)((windowSize >> 20) + ((windowSize & ((1 MB) - 1)) != 0)); in FIO_zstdErrorHelp() 2207 assert(windowSize < (U64)(1ULL << 52)); /* ensure now overflow for windowMB */ in FIO_zstdErrorHelp() 2929 U64 windowSize; member 2989 info->windowSize = header.windowSize; in FIO_analyzeFrames() [all …]
|