Home
last modified time | relevance | path

Searched refs:windowSize (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
DFontDataTests.java162 for (int windowSize = 1; windowSize < length; windowSize += increments) { in slicingWriteTest()
164 writeFontDataWithSlidingWindow(rfd.slice(trim, length), slice, windowSize); in slicingWriteTest() local
192 for (int windowSize = 1; windowSize <= length; windowSize += increments) { in readComparison()
193 b1 = readFontDataWithSlidingWindow(rfd1, windowSize); in readComparison()
194 b2 = readFontDataWithSlidingWindow(rfd2, windowSize); in readComparison()
213 private static byte[] readFontDataWithSlidingWindow(ReadableFontData rfd, int windowSize) { in readFontDataWithSlidingWindow() argument
218 windowSize = Math.min(windowSize, b.length - index); in readFontDataWithSlidingWindow()
219 int bytesRead = rfd.readBytes(index, b, index, windowSize); in readFontDataWithSlidingWindow()
247 ReadableFontData rfd, WritableFontData wfd, int windowSize) { in writeFontDataWithSlidingWindow() argument
252 windowSize = Math.min(windowSize, b.length - index); in writeFontDataWithSlidingWindow()
[all …]
DByteArrayTests.java93 for (int windowSize = 1; windowSize < ba1.length(); windowSize += increments) { in readComparison()
94 b1 = readByteArrayWithSlidingWindow(ba1, windowSize); in readComparison()
95 b2 = readByteArrayWithSlidingWindow(ba2, windowSize); in readComparison()
115 ByteArray<? extends ByteArray<?>> ba, int windowSize) { in readByteArrayWithSlidingWindow() argument
120 windowSize = Math.min(windowSize, b.length - index); in readByteArrayWithSlidingWindow()
121 int bytesRead = ba.get(index, b, index, windowSize); in readByteArrayWithSlidingWindow()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
DFontDataTests.java162 for (int windowSize = 1; windowSize < length; windowSize += increments) { in slicingWriteTest()
164 writeFontDataWithSlidingWindow(rfd.slice(trim, length), slice, windowSize); in slicingWriteTest() local
192 for (int windowSize = 1; windowSize <= length; windowSize += increments) { in readComparison()
193 b1 = readFontDataWithSlidingWindow(rfd1, windowSize); in readComparison()
194 b2 = readFontDataWithSlidingWindow(rfd2, windowSize); in readComparison()
213 private static byte[] readFontDataWithSlidingWindow(ReadableFontData rfd, int windowSize) { in readFontDataWithSlidingWindow() argument
218 windowSize = Math.min(windowSize, b.length - index); in readFontDataWithSlidingWindow()
219 int bytesRead = rfd.readBytes(index, b, index, windowSize); in readFontDataWithSlidingWindow()
247 ReadableFontData rfd, WritableFontData wfd, int windowSize) { in writeFontDataWithSlidingWindow() argument
252 windowSize = Math.min(windowSize, b.length - index); in writeFontDataWithSlidingWindow()
[all …]
DByteArrayTests.java93 for (int windowSize = 1; windowSize < ba1.length(); windowSize += increments) { in readComparison()
94 b1 = readByteArrayWithSlidingWindow(ba1, windowSize); in readComparison()
95 b2 = readByteArrayWithSlidingWindow(ba2, windowSize); in readComparison()
115 ByteArray<? extends ByteArray<?>> ba, int windowSize) { in readByteArrayWithSlidingWindow() argument
120 windowSize = Math.min(windowSize, b.length - index); in readByteArrayWithSlidingWindow()
121 int bytesRead = ba.get(index, b, index, windowSize); in readByteArrayWithSlidingWindow()
/third_party/node/test/parallel/
Dtest-http2-client-setLocalWindowSize.js75 const windowSize = 2 ** 20; constant
77 client.setLocalWindowSize(windowSize);
79 assert.strictEqual(client.state.effectiveLocalWindowSize, windowSize);
80 assert.strictEqual(client.state.localWindowSize, windowSize);
103 const windowSize = 20; constant
105 client.setLocalWindowSize(windowSize);
107 assert.strictEqual(client.state.effectiveLocalWindowSize, windowSize);
Dtest-http2-server-setLocalWindowSize.js16 const windowSize = 2 ** 20; constant
18 session.setLocalWindowSize(windowSize);
20 assert.strictEqual(session.state.effectiveLocalWindowSize, windowSize);
21 assert.strictEqual(session.state.localWindowSize, windowSize);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow.h42 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);
DSwapChainPanelNativeWindow.cpp326 HRESULT SwapChainPanelNativeWindow::scaleSwapChain(const Size &windowSize, const RECT &clientRect) in scaleSwapChain() argument
328 Size renderScale = {windowSize.Width / (float)clientRect.right, in scaleSwapChain()
329 windowSize.Height / (float)clientRect.bottom}; in scaleSwapChain()
348 Size *windowSize) in GetSwapChainPanelSize() argument
355 [uiElement, windowSize] { return uiElement->get_RenderSize(windowSize); }, dispatcher); in GetSwapChainPanelSize()
DCoreWindowNativeWindow.cpp193 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()
DSwapChainPanelNativeWindow.h34 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override;
94 Size *windowSize);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow.h42 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);
DSwapChainPanelNativeWindow.cpp326 HRESULT SwapChainPanelNativeWindow::scaleSwapChain(const Size &windowSize, const RECT &clientRect) in scaleSwapChain() argument
328 Size renderScale = {windowSize.Width / (float)clientRect.right, in scaleSwapChain()
329 windowSize.Height / (float)clientRect.bottom}; in scaleSwapChain()
348 Size *windowSize) in GetSwapChainPanelSize() argument
355 [uiElement, windowSize] { return uiElement->get_RenderSize(windowSize); }, dispatcher); in GetSwapChainPanelSize()
DCoreWindowNativeWindow.cpp193 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()
DSwapChainPanelNativeWindow.h34 HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) override;
94 Size *windowSize);
DInspectableNativeWindow.h105 virtual HRESULT scaleSwapChain(const Size &windowSize, const RECT &clientRect) = 0;
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DWindow.cpp19 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()
DWindow.hpp29 Window(vk::Instance instance, vk::Extent2D windowSize);
44 Window(vk::Instance instance, vk::Extent2D windowSize);
DDrawTester.cpp66 window.reset(new Window(instance, windowSize)); in initialize()
377 renderPassBeginInfo.renderArea.extent = windowSize; in createCommandBuffers()
383 …k::Viewport viewport(0.0f, 0.0f, static_cast<float>(windowSize.width), static_cast<float>(windowSi… in createCommandBuffers()
386 vk::Rect2D scissor(vk::Offset2D(0, 0), windowSize); in createCommandBuffers()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DWin32SurfaceKHR.cpp23 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiFullScreenExclusiveTests.cpp246 tcu::UVec2 windowSize; member
253 , windowSize (getFullScreenSize(wsiType, *display.get(), tcu::UVec2(256U, 256U))) in NativeObjectsFS()
254 , window (createWindow(*display, windowSize)) in NativeObjectsFS()
420 …Type, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.windowSize, 2); in fullScreenExclusiveTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiFullScreenExclusiveTests.cpp246 tcu::UVec2 windowSize; member
253 , windowSize (getFullScreenSize(wsiType, *display.get(), tcu::UVec2(256U, 256U))) in NativeObjectsFS()
254 , window (createWindow(*display, windowSize)) in NativeObjectsFS()
420 …Type, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.windowSize, 2); in fullScreenExclusiveTest()
/third_party/skia/src/core/
DSkBlurMask.cpp515 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
517 windowSize |= 1; in BlurGroundTruth()
519 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
521 int halfWindow = windowSize >> 1; in BlurGroundTruth()
/third_party/flutter/skia/src/core/
DSkBlurMask.cpp520 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
522 windowSize |= 1; in BlurGroundTruth()
524 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
526 int halfWindow = windowSize >> 1; in BlurGroundTruth()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dimage_resolution_test.dart122 const double windowSize = 500.0; // 500 logical pixels
127 size: const Size(windowSize, windowSize),
/third_party/skia/third_party/externals/brotli/go/cbrotli/
Dcbrotli_test.go95 windowSize := int(math.Pow(2, lgWin))
96 input := make([]byte, 8*windowSize)

12