Home
last modified time | relevance | path

Searched refs:numModes (Results 1 – 11 of 11) sorted by relevance

/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrSegmentAdvanced.java107 final int numModes = modeTypes.length; in computeCharacterModes() local
110 final int[] headCosts = new int[numModes]; in computeCharacterModes()
111 for (int i = 0; i < numModes; i++) in computeCharacterModes()
117 Mode[][] charModes = new Mode[codePoints.length][numModes]; in computeCharacterModes()
127 int[] curCosts = new int[numModes]; in computeCharacterModes()
147 for (int j = 0; j < numModes; j++) { // To mode in computeCharacterModes()
148 for (int k = 0; k < numModes; k++) { // From mode in computeCharacterModes()
162 for (int i = 0, minCost = 0; i < numModes; i++) { in computeCharacterModes()
172 for (int j = 0; j < numModes; j++) { in computeCharacterModes()
/third_party/flutter/skia/gm/
Ddrawatlascolor.cpp127 const int numModes = SK_ARRAY_COUNT(gModes); in onDraw() local
128 SkASSERT(numModes == kNumXferModes); in onDraw()
146 for (int i = 0; i < numModes; ++i) { in onDraw()
152 for (int i = 0; i < numModes; ++i) { in onDraw()
/third_party/skia/gm/
Ddrawatlascolor.cpp127 const int numModes = SK_ARRAY_COUNT(gModes); in onDraw() local
128 SkASSERT(numModes == kNumXferModes); in onDraw()
146 for (int i = 0; i < numModes; ++i) { in onDraw()
152 for (int i = 0; i < numModes; ++i) { in onDraw()
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtvideo.cpp219 UINT numModes; in WINRT_AddDisplaysForOutput() local
275 hr = dxgiOutput->GetDisplayModeList(DXGI_FORMAT_B8G8R8A8_UNORM, 0, &numModes, NULL); in WINRT_AddDisplaysForOutput()
284 dxgiModes = (DXGI_MODE_DESC *)SDL_calloc(numModes, sizeof(DXGI_MODE_DESC)); in WINRT_AddDisplaysForOutput()
290 hr = dxgiOutput->GetDisplayModeList(DXGI_FORMAT_B8G8R8A8_UNORM, 0, &numModes, dxgiModes); in WINRT_AddDisplaysForOutput()
296 for (UINT i = 0; i < numModes; ++i) { in WINRT_AddDisplaysForOutput()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeSpinBarrier.cpp228 const int numModes = DE_LENGTH_OF_ARRAY(s_allModes) - (m_busyOk ? 0 : 1); in getWaitMode() local
230 …d.choose<SpinBarrier::WaitMode>(DE_ARRAY_BEGIN(s_allModes), DE_ARRAY_BEGIN(s_allModes) + numModes); in getWaitMode()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp427 deUint32 numModes = 0; in getPhysicalDeviceSurfacePresentModes() local
429 VK_CHECK(vki.getPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, &numModes, DE_NULL)); in getPhysicalDeviceSurfacePresentModes()
431 if (numModes > 0) in getPhysicalDeviceSurfacePresentModes()
433 std::vector<VkPresentModeKHR> modes (numModes); in getPhysicalDeviceSurfacePresentModes()
435 …VK_CHECK(vki.getPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, &numModes, &modes[0]… in getPhysicalDeviceSurfacePresentModes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp841 deUint32 numModes = 0; in querySurfacePresentModesTest() local
843 …getPhysicalDeviceSurfacePresentModesKHR(physicalDevices[deviceNdx], *surface, &numModes, DE_NULL)); in querySurfacePresentModesTest()
845 vector<VkPresentModeKHR> modes (numModes + 1); in querySurfacePresentModesTest()
847 if (numModes > 0) in querySurfacePresentModesTest()
849 const deUint32 numModesOrig = numModes; in querySurfacePresentModesTest()
852 numModes++; in querySurfacePresentModesTest()
854 …tPhysicalDeviceSurfacePresentModesKHR(physicalDevices[deviceNdx], *surface, &numModes, &modes[0])); in querySurfacePresentModesTest()
856 if ((size_t)numModes != numModesOrig) in querySurfacePresentModesTest()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dwpa_hal.c1066 static struct hostapd_hw_modes *WifiWpaGetHwFeatureData(void *priv, uint16_t *numModes, uint16_t *f… in WifiWpaGetHwFeatureData() argument
1076 if ((priv == NULL) || (numModes == NULL) || (flags == NULL)) { in WifiWpaGetHwFeatureData()
1080 *numModes = DEFAULT_NUM_MODES; in WifiWpaGetHwFeatureData()
1087 *numModes = sizeof(modesData) / sizeof(WifiModes); in WifiWpaGetHwFeatureData()
1089 struct hostapd_hw_modes *modes = os_calloc(*numModes, sizeof(struct hostapd_hw_modes)); in WifiWpaGetHwFeatureData()
1094 for (loop = 0; loop < *numModes; ++loop) { in WifiWpaGetHwFeatureData()
1101 for (index = 0; index < *numModes; index++) { in WifiWpaGetHwFeatureData()
1111 WifiWpaHwFeatureDataFree(&modes, *numModes); in WifiWpaGetHwFeatureData()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dwpa_hal.c1069 static struct hostapd_hw_modes *WifiWpaGetHwFeatureData(void *priv, uint16_t *numModes, uint16_t *f… in WifiWpaGetHwFeatureData() argument
1079 if ((priv == NULL) || (numModes == NULL) || (flags == NULL)) { in WifiWpaGetHwFeatureData()
1083 *numModes = DEFAULT_NUM_MODES; in WifiWpaGetHwFeatureData()
1090 *numModes = sizeof(modesData) / sizeof(WifiModes); in WifiWpaGetHwFeatureData()
1092 struct hostapd_hw_modes *modes = os_calloc(*numModes, sizeof(struct hostapd_hw_modes)); in WifiWpaGetHwFeatureData()
1097 for (loop = 0; loop < *numModes; ++loop) { in WifiWpaGetHwFeatureData()
1104 for (index = 0; index < *numModes; index++) { in WifiWpaGetHwFeatureData()
1114 WifiWpaHwFeatureDataFree(&modes, *numModes); in WifiWpaGetHwFeatureData()
/third_party/openGLES/extensions/NV/
DNV_framebuffer_multisample_coverage.txt328 glGetIntegerv(GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV, &numModes);
331 GLint *modes = (GLint*)malloc(2*numModes*sizeof(GLint));
337 for (i = 0; i < numModes; i++) {
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_framebuffer_multisample_coverage.txt328 glGetIntegerv(GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV, &numModes);
331 GLint *modes = (GLint*)malloc(2*numModes*sizeof(GLint));
337 for (i = 0; i < numModes; i++) {