/third_party/glfw/src/ |
H A D | init.c | 208 path = _glfw_calloc(strlen(line) + 1, 1); in _glfwParseUriList() 234 char* result = _glfw_calloc(length + 1, 1); in _glfw_strdup() 249 void* _glfw_calloc(size_t count, size_t size) in _glfw_calloc() function 293 return _glfw_calloc(1, size); in _glfw_realloc() 363 error = _glfw_calloc(1, sizeof(_GLFWerror)); in _glfwInputError()
|
H A D | monitor.c | 173 _GLFWmonitor* monitor = _glfw_calloc(1, sizeof(_GLFWmonitor)); in _glfwAllocMonitor() 202 ramp->red = _glfw_calloc(size, sizeof(unsigned short)); in _glfwAllocGammaArrays() 203 ramp->green = _glfw_calloc(size, sizeof(unsigned short)); in _glfwAllocGammaArrays() 204 ramp->blue = _glfw_calloc(size, sizeof(unsigned short)); in _glfwAllocGammaArrays() 487 values = _glfw_calloc(original->size, sizeof(unsigned short)); in glfwSetGamma()
|
H A D | input.c | 492 _glfw.mappings = _glfw_calloc(count, sizeof(_GLFWmapping)); in _glfwInitGamepadMappings() 523 js->axes = _glfw_calloc(axisCount, sizeof(float)); in _glfwAllocJoystick() 524 js->buttons = _glfw_calloc(buttonCount + (size_t) hatCount * 4, 1); in _glfwAllocJoystick() 525 js->hats = _glfw_calloc(hatCount, 1); in _glfwAllocJoystick() 861 cursor = _glfw_calloc(1, sizeof(_GLFWcursor)); in glfwCreateCursor() 895 cursor = _glfw_calloc(1, sizeof(_GLFWcursor)); in glfwCreateStandardCursor()
|
H A D | x11_monitor.c | 120 disconnected = _glfw_calloc(_glfw.monitorCount, sizeof(_GLFWmonitor*)); in _glfwPollMonitorsX11() 456 result = _glfw_calloc(oi->nmode, sizeof(GLFWvidmode)); in _glfwGetVideoModesX11() 488 result = _glfw_calloc(1, sizeof(GLFWvidmode)); in _glfwGetVideoModesX11()
|
H A D | null_monitor.c | 106 GLFWvidmode* mode = _glfw_calloc(1, sizeof(GLFWvidmode)); in _glfwGetVideoModesNull()
|
H A D | win32_monitor.c | 148 disconnected = _glfw_calloc(_glfw.monitorCount, sizeof(_GLFWmonitor*)); in _glfwPollMonitorsWin32() 466 result = _glfw_calloc(1, sizeof(GLFWvidmode)); in _glfwGetVideoModesWin32()
|
H A D | vulkan.c | 115 ep = _glfw_calloc(count, sizeof(VkExtensionProperties)); in _glfwInitVulkan()
|
H A D | osmesa_context.c | 49 window->context.osmesa.buffer = _glfw_calloc(4, (size_t) width * height); in makeContextCurrentOSMesa()
|
H A D | win32_init.c | 452 target = _glfw_calloc(count, sizeof(WCHAR)); in _glfwCreateWideStringFromUTF8Win32() 480 target = _glfw_calloc(size, 1); in _glfwCreateUTF8FromWideStringWin32()
|
H A D | win32_joystick.c | 202 ridl = _glfw_calloc(count, sizeof(RAWINPUTDEVICELIST)); in supportsXInput() 419 data.objects = _glfw_calloc(dc.dwAxes + (size_t) dc.dwButtons + dc.dwPOVs, in deviceCallback()
|
H A D | egl_context.c | 126 nativeConfigs = _glfw_calloc(nativeCount, sizeof(EGLConfig)); in chooseEGLConfig() 129 usableConfigs = _glfw_calloc(nativeCount, sizeof(_GLFWfbconfig)); in chooseEGLConfig()
|
H A D | win32_window.c | 916 _glfw.win32.rawInput = _glfw_calloc(size, 1); in windowProc() 1243 char** paths = _glfw_calloc(count, sizeof(char*)); in windowProc() 1252 WCHAR* buffer = _glfw_calloc((size_t) length + 1, sizeof(WCHAR)); in windowProc() 1328 unsigned char* cursorPixels = _glfw_calloc(cursorWidth * cursorHeight, 4); in createNativeWindow() 2496 *attribs = _glfw_calloc(3, sizeof(EGLint)); in _glfwGetEGLPlatformWin32()
|
H A D | x11_window.c | 446 char* target = _glfw_calloc(size, 1); in convertLatin1toUTF8() 1281 chars = _glfw_calloc(count + 1, 1); in processEvent() 2114 unsigned long* icon = _glfw_calloc(longCount, sizeof(unsigned long)); in _glfwSetWindowIconX11() 3107 *attribs = _glfw_calloc(5, sizeof(EGLint)); in _glfwGetEGLPlatformX11()
|
H A D | wgl_context.c | 137 usableConfigs = _glfw_calloc(nativeCount, sizeof(_GLFWfbconfig)); in choosePixelFormatWGL()
|
H A D | glx_context.c | 76 usableConfigs = _glfw_calloc(nativeCount, sizeof(_GLFWfbconfig)); in chooseGLXFBConfig()
|
H A D | internal.h | 1019 void* _glfw_calloc(size_t count, size_t size);
|
H A D | window.c | 217 window = _glfw_calloc(1, sizeof(_GLFWwindow)); in glfwCreateWindow()
|
H A D | wl_window.c | 121 name = _glfw_calloc(strlen(path) + sizeof(template), 1); in createAnonymousFile()
|