/dports/devel/py-pysdl2/PySDL2-0.9.9/sdl2/ |
H A D | sdlmixer.py | 89 _bind = dll.bind_function variable 118 Mix_Init = _bind("Mix_Init", [c_int], c_int) 119 Mix_Quit = _bind("Mix_Quit") 221 Mix_Pause = _bind("Mix_Pause", [c_int]) 222 Mix_Resume = _bind("Mix_Resume", [c_int]) 223 Mix_Paused = _bind("Mix_Paused", [c_int], c_int) 224 Mix_PauseMusic = _bind("Mix_PauseMusic") 225 Mix_ResumeMusic = _bind("Mix_ResumeMusic") 226 Mix_RewindMusic = _bind("Mix_RewindMusic") 229 Mix_Playing = _bind("Mix_Playing", [c_int], c_int) [all …]
|
H A D | video.py | 3 from .dll import _bind 341 SDL_GetVideoDriver = _bind("SDL_GetVideoDriver", [c_int], c_char_p) 342 SDL_VideoInit = _bind("SDL_VideoInit", [c_char_p], c_int) 343 SDL_VideoQuit = _bind("SDL_VideoQuit") 377 SDL_ShowWindow = _bind("SDL_ShowWindow", [POINTER(SDL_Window)]) 378 SDL_HideWindow = _bind("SDL_HideWindow", [POINTER(SDL_Window)]) 379 SDL_RaiseWindow = _bind("SDL_RaiseWindow", [POINTER(SDL_Window)]) 401 SDL_EnableScreenSaver = _bind("SDL_EnableScreenSaver") 402 SDL_DisableScreenSaver = _bind("SDL_DisableScreenSaver") 416 SDL_GL_UnloadLibrary = _bind("SDL_GL_UnloadLibrary") [all …]
|
H A D | render.py | 3 from .dll import _bind 114 SDL_GetNumRenderDrivers = _bind("SDL_GetNumRenderDrivers", None, c_int) 119 SDL_GetRenderer = _bind("SDL_GetRenderer", [POINTER(SDL_Window)], POINTER(SDL_Renderer)) 136 SDL_UnlockTexture = _bind("SDL_UnlockTexture", [POINTER(SDL_Texture)]) 146 SDL_RenderIsClipEnabled = _bind("SDL_RenderIsClipEnabled", [POINTER(SDL_Renderer)], SDL_bool) 155 SDL_RenderClear = _bind("SDL_RenderClear", [POINTER(SDL_Renderer)], c_int) 177 SDL_RenderPresent = _bind("SDL_RenderPresent", [POINTER(SDL_Renderer)]) 178 SDL_DestroyTexture = _bind("SDL_DestroyTexture", [POINTER(SDL_Texture)]) 179 SDL_DestroyRenderer = _bind("SDL_DestroyRenderer", [POINTER(SDL_Renderer)]) 180 SDL_RenderFlush = _bind("SDL_RenderFlush", [POINTER(SDL_Renderer)], c_int, added='2.0.10') [all …]
|
H A D | joystick.py | 3 from .dll import _bind 103 SDL_NumJoysticks = _bind("SDL_NumJoysticks", None, c_int) 104 SDL_JoystickNameForIndex = _bind("SDL_JoystickNameForIndex", [c_int], c_char_p) 105 SDL_JoystickOpen = _bind("SDL_JoystickOpen", [c_int], POINTER(SDL_Joystick)) 106 SDL_JoystickName = _bind("SDL_JoystickName", [POINTER(SDL_Joystick)], c_char_p) 112 SDL_JoystickNumAxes = _bind("SDL_JoystickNumAxes", [POINTER(SDL_Joystick)], c_int) 116 SDL_JoystickUpdate = _bind("SDL_JoystickUpdate") 117 SDL_JoystickEventState = _bind("SDL_JoystickEventState", [c_int], c_int) 122 SDL_JoystickClose = _bind("SDL_JoystickClose", [POINTER(SDL_Joystick)]) 143 SDL_LockJoysticks = _bind("SDL_LockJoysticks", None, None, added='2.0.7') [all …]
|
H A D | sdlimage.py | 52 _bind = dll.bind_function variable 75 IMG_Init = _bind("IMG_Init", [c_int], c_int) 76 IMG_Quit = _bind("IMG_Quit") 84 IMG_isICO = _bind("IMG_isICO", [POINTER(SDL_RWops)], c_int) 85 IMG_isCUR = _bind("IMG_isCUR", [POINTER(SDL_RWops)], c_int) 86 IMG_isBMP = _bind("IMG_isBMP", [POINTER(SDL_RWops)], c_int) 87 IMG_isGIF = _bind("IMG_isGIF", [POINTER(SDL_RWops)], c_int) 88 IMG_isJPG = _bind("IMG_isJPG", [POINTER(SDL_RWops)], c_int) 89 IMG_isLBM = _bind("IMG_isLBM", [POINTER(SDL_RWops)], c_int) 90 IMG_isPCX = _bind("IMG_isPCX", [POINTER(SDL_RWops)], c_int) [all …]
|
H A D | gamecontroller.py | 4 from .dll import _bind 122 SDL_GameControllerAddMapping = _bind("SDL_GameControllerAddMapping", [c_char_p], c_int) 123 SDL_GameControllerMapping = _bind("SDL_GameControllerMapping", [POINTER(SDL_GameController)], c_cha… 124 SDL_IsGameController = _bind("SDL_IsGameController", [c_int], SDL_bool) 125 SDL_GameControllerNameForIndex = _bind("SDL_GameControllerNameForIndex", [c_int], c_char_p) 127 SDL_GameControllerOpen = _bind("SDL_GameControllerOpen", [c_int], POINTER(SDL_GameController)) 128 SDL_GameControllerName = _bind("SDL_GameControllerName", [POINTER(SDL_GameController)], c_char_p) 132 SDL_GameControllerEventState = _bind("SDL_GameControllerEventState", [c_int], c_int) 133 SDL_GameControllerUpdate = _bind("SDL_GameControllerUpdate") 198 SDL_GameControllerClose = _bind("SDL_GameControllerClose", [POINTER(SDL_GameController)]) [all …]
|
H A D | sdlttf.py | 66 _bind = dll.bind_function variable 90 TTF_ByteSwappedUNICODE = _bind("TTF_ByteSwappedUNICODE", [c_int]) 96 TTF_Init = _bind("TTF_Init", None, c_int) 107 TTF_GetFontStyle = _bind("TTF_GetFontStyle", [POINTER(TTF_Font)], c_int) 119 TTF_FontHeight = _bind("TTF_FontHeight", [POINTER(TTF_Font)], c_int) 120 TTF_FontAscent = _bind("TTF_FontAscent", [POINTER(TTF_Font)], c_int) 121 TTF_FontDescent = _bind("TTF_FontDescent", [POINTER(TTF_Font)], c_int) 125 TTF_FontFaces = _bind("TTF_FontFaces", [POINTER(TTF_Font)], c_long) 152 TTF_CloseFont = _bind("TTF_CloseFont", [POINTER(TTF_Font)]) 153 TTF_Quit = _bind("TTF_Quit") [all …]
|
H A D | sdlgfx.py | 63 _bind = dll.bind_function variable 79 SDL_initFramerate = _bind("SDL_initFramerate", [POINTER(FPSManager)]) 80 SDL_setFramerate = _bind("SDL_setFramerate", [POINTER(FPSManager), Uint32], c_int) 81 SDL_getFramerate = _bind("SDL_getFramerate", [POINTER(FPSManager)], c_int) 82 SDL_getFramecount = _bind("SDL_getFramecount", [POINTER(FPSManager)], Uint32) 83 SDL_framerateDelay = _bind("SDL_framerateDelay", [POINTER(FPSManager)], Uint32) 89 pixelColor = _bind("pixelColor", [POINTER(SDL_Renderer), Sint16, Sint16, Uint32], c_int) 91 hlineColor = _bind("hlineColor", [POINTER(SDL_Renderer), Sint16, Sint16, Sint16, Uint32], c_int) 93 vlineColor = _bind("vlineColor", [POINTER(SDL_Renderer), Sint16, Sint16, Sint16, Uint32], c_int) 142 gfxPrimitivesSetFont = _bind("gfxPrimitivesSetFont", [c_void_p, Uint32, Uint32]) [all …]
|
H A D | cpuinfo.py | 2 from .dll import _bind 22 SDL_HasRDTSC = _bind("SDL_HasRDTSC", None, SDL_bool) 24 SDL_HasMMX = _bind("SDL_HasMMX", None, SDL_bool) 25 SDL_Has3DNow = _bind("SDL_Has3DNow", None, SDL_bool) 26 SDL_HasSSE = _bind("SDL_HasSSE", None, SDL_bool) 27 SDL_HasSSE2 = _bind("SDL_HasSSE2", None, SDL_bool) 28 SDL_HasSSE3 = _bind("SDL_HasSSE3", None, SDL_bool) 29 SDL_HasSSE41 = _bind("SDL_HasSSE41", None, SDL_bool) 30 SDL_HasSSE42 = _bind("SDL_HasSSE42", None, SDL_bool) 32 SDL_HasAVX = _bind("SDL_HasAVX", None, SDL_bool) [all …]
|
H A D | surface.py | 2 from .dll import _bind 81 SDL_FreeSurface = _bind("SDL_FreeSurface", [POINTER(SDL_Surface)]) 83 SDL_LockSurface = _bind("SDL_LockSurface", [POINTER(SDL_Surface)], c_int) 84 SDL_UnlockSurface = _bind("SDL_UnlockSurface", [POINTER(SDL_Surface)]) 87 SDL_LoadBMP_RW = _bind("SDL_LoadBMP_RW", [POINTER(SDL_RWops), c_int], POINTER(SDL_Surface)) 92 SDL_SetSurfaceRLE = _bind("SDL_SetSurfaceRLE", [POINTER(SDL_Surface), c_int], c_int) 94 SDL_HasColorKey = _bind("SDL_HasColorKey", [POINTER(SDL_Surface)], SDL_bool, added='2.0.9') 95 SDL_SetColorKey = _bind("SDL_SetColorKey", [POINTER(SDL_Surface), c_int, Uint32], c_int) 96 SDL_GetColorKey = _bind("SDL_GetColorKey", [POINTER(SDL_Surface), POINTER(Uint32)], c_int) 99 SDL_SetSurfaceAlphaMod = _bind("SDL_SetSurfaceAlphaMod", [POINTER(SDL_Surface), Uint8], c_int) [all …]
|
H A D | haptic.py | 3 from .dll import _bind 173 SDL_NumHaptics = _bind("SDL_NumHaptics", None, c_int) 174 SDL_HapticName = _bind("SDL_HapticName", [c_int], c_char_p) 175 SDL_HapticOpen = _bind("SDL_HapticOpen", [c_int], POINTER(SDL_Haptic)) 176 SDL_HapticOpened = _bind("SDL_HapticOpened", [c_int], c_int) 177 SDL_HapticIndex = _bind("SDL_HapticIndex", [POINTER(SDL_Haptic)], c_int) 178 SDL_MouseIsHaptic = _bind("SDL_MouseIsHaptic", None, c_int) 182 SDL_HapticClose = _bind("SDL_HapticClose", [POINTER(SDL_Haptic)]) 185 SDL_HapticQuery = _bind("SDL_HapticQuery", [POINTER(SDL_Haptic)], c_uint) 186 SDL_HapticNumAxes = _bind("SDL_HapticNumAxes", [POINTER(SDL_Haptic)], c_int) [all …]
|
H A D | audio.py | 3 from .dll import _bind 171 SDL_GetNumAudioDrivers = _bind("SDL_GetNumAudioDrivers", None, c_int) 172 SDL_GetAudioDriver = _bind("SDL_GetAudioDriver", [c_int], c_char_p) 173 SDL_AudioInit = _bind("SDL_AudioInit", [c_char_p], c_int) 174 SDL_AudioQuit = _bind("SDL_AudioQuit") 186 SDL_GetAudioStatus = _bind("SDL_GetAudioStatus", None, SDL_AudioStatus) 188 SDL_PauseAudio = _bind("SDL_PauseAudio", [c_int]) 192 SDL_FreeWAV = _bind("SDL_FreeWAV", [POINTER(Uint8)]) 198 SDL_LockAudio = _bind("SDL_LockAudio") 200 SDL_UnlockAudio = _bind("SDL_UnlockAudio") [all …]
|
H A D | keyboard.py | 2 from .dll import _bind 31 SDL_GetKeyboardFocus = _bind("SDL_GetKeyboardFocus", None, POINTER(SDL_Window)) 33 SDL_GetModState = _bind("SDL_GetModState", None, SDL_Keymod) 34 SDL_SetModState = _bind("SDL_SetModState", [SDL_Keymod]) 37 SDL_GetScancodeName = _bind("SDL_GetScancodeName", [SDL_Scancode], c_char_p) 39 SDL_GetKeyName = _bind("SDL_GetKeyName", [SDL_Keycode], c_char_p) 40 SDL_GetKeyFromName = _bind("SDL_GetKeyFromName", [c_char_p], SDL_Keycode) 41 SDL_StartTextInput = _bind("SDL_StartTextInput") 42 SDL_IsTextInputActive = _bind("SDL_IsTextInputActive", None, SDL_bool) 43 SDL_StopTextInput = _bind("SDL_StopTextInput") [all …]
|
H A D | sensor.py | 2 from .dll import _bind 42 SDL_LockSensors = _bind("SDL_LockSensors", None, None, added='2.0.14') 43 SDL_UnlockSensors = _bind("SDL_UnlockSensors", None, None, added='2.0.14') 44 SDL_NumSensors = _bind("SDL_NumSensors", None, c_int, added='2.0.9') 45 SDL_SensorGetDeviceName = _bind("SDL_SensorGetDeviceName", [c_int], c_char_p, added='2.0.9') 46 SDL_SensorGetDeviceType = _bind("SDL_SensorGetDeviceType", [c_int], SDL_SensorType, added='2.0.9') 49 SDL_SensorOpen = _bind("SDL_SensorOpen", [c_int], POINTER(SDL_Sensor), added='2.0.9') 51 SDL_SensorGetName = _bind("SDL_SensorGetName", [POINTER(SDL_Sensor)], c_char_p, added='2.0.9') 52 SDL_SensorGetType = _bind("SDL_SensorGetType", [POINTER(SDL_Sensor)], SDL_SensorType, added='2.0.9') 56 SDL_SensorClose = _bind("SDL_SensorClose", [POINTER(SDL_Sensor)], None, added='2.0.9') [all …]
|
H A D | mouse.py | 2 from .dll import _bind 60 SDL_GetMouseFocus = _bind("SDL_GetMouseFocus", None, POINTER(SDL_Window)) 64 SDL_SetRelativeMouseMode = _bind("SDL_SetRelativeMouseMode", [SDL_bool], c_int) 65 SDL_GetRelativeMouseMode = _bind("SDL_GetRelativeMouseMode", None, SDL_bool) 69 SDL_SetCursor = _bind("SDL_SetCursor", [POINTER(SDL_Cursor)]) 70 SDL_GetCursor = _bind("SDL_GetCursor", None, POINTER(SDL_Cursor)) 71 SDL_GetDefaultCursor = _bind("SDL_GetDefaultCursor", None, POINTER(SDL_Cursor)) 72 SDL_FreeCursor = _bind("SDL_FreeCursor", [POINTER(SDL_Cursor)]) 73 SDL_ShowCursor = _bind("SDL_ShowCursor", [c_int], c_int) 74 SDL_WarpMouseGlobal = _bind("SDL_WarpMouseGlobal", [c_int, c_int], c_int) [all …]
|
H A D | log.py | 2 from .dll import _bind 77 SDL_LogSetAllPriority = _bind("SDL_LogSetAllPriority", [SDL_LogPriority]) 78 SDL_LogSetPriority = _bind("SDL_LogSetPriority", [c_int, SDL_LogPriority]) 80 SDL_LogResetPriorities = _bind("SDL_LogResetPriorities") 81 SDL_Log = _bind("SDL_Log", [c_char_p]) 82 SDL_LogVerbose = _bind("SDL_LogVerbose", [c_int, c_char_p]) 83 SDL_LogDebug = _bind("SDL_LogDebug", [c_int, c_char_p]) 84 SDL_LogInfo = _bind("SDL_LogInfo", [c_int, c_char_p]) 85 SDL_LogWarn = _bind("SDL_LogWarn", [c_int, c_char_p]) 86 SDL_LogError = _bind("SDL_LogError", [c_int, c_char_p]) [all …]
|
H A D | rwops.py | 5 from .dll import _bind, version 62 SDL_AllocRW = _bind("SDL_AllocRW", None, POINTER(SDL_RWops)) 63 SDL_FreeRW = _bind("SDL_FreeRW", [POINTER(SDL_RWops)]) 87 SDL_RWsize = _bind("SDL_RWsize", [POINTER(SDL_RWops)], Sint64) 89 SDL_RWtell = _bind("SDL_RWtell", [POINTER(SDL_RWops)], Sint64) 102 SDL_ReadU8 = _bind("SDL_ReadU8", [POINTER(SDL_RWops)], Uint8) 103 SDL_ReadLE16 = _bind("SDL_ReadLE16", [POINTER(SDL_RWops)], Uint16) 104 SDL_ReadBE16 = _bind("SDL_ReadBE16", [POINTER(SDL_RWops)], Uint16) 105 SDL_ReadLE32 = _bind("SDL_ReadLE32", [POINTER(SDL_RWops)], Uint32) 106 SDL_ReadBE32 = _bind("SDL_ReadBE32", [POINTER(SDL_RWops)], Uint32) [all …]
|
H A D | stdinc.py | 1 from .dll import _bind 37 SDL_malloc = _bind("SDL_malloc", [c_size_t], c_void_p) 38 SDL_calloc = _bind("SDL_calloc", [c_size_t, c_size_t], c_void_p) 39 SDL_realloc = _bind("SDL_realloc", [c_void_p, c_size_t], c_void_p) 40 SDL_free = _bind("SDL_free", [c_void_p], None) 41 SDL_getenv = _bind("SDL_getenv", [c_char_p], c_char_p) 42 SDL_setenv = _bind("SDL_setenv", [c_char_p, c_char_p, c_int], c_int) 46 SDL_memset = _bind("SDL_memset", [c_void_p, c_int, c_size_t], c_void_p) 47 SDL_memcpy = _bind("SDL_memcpy", [c_void_p, c_void_p, c_size_t], c_void_p)
|
/dports/audio/py-al/PyAL-0.1.0/openal/ |
H A D | al.py | 49 _bind = dll.bind_function 149 _bind = dll.bind_function 151 alEnable = _bind("alEnable", [ALenum]) 152 alDisable = _bind("alDisable", [ALenum]) 161 alGetFloat = _bind("alGetFloat", [ALenum], ALfloat) 163 alGetError = _bind("alGetError", None, ALenum) 166 alGetProcAddress = _bind("alGetProcAddress", 209 alSourcePlay = _bind("alSourcePlay", [ALuint]) 210 alSourceStop = _bind("alSourceStop", [ALuint]) 211 alSourceRewind = _bind("alSourceRewind", [ALuint]) [all …]
|
H A D | alc.py | 26 _bind = dll.bind_function variable 90 alcMakeContextCurrent = _bind("alcMakeContextCurrent", 95 alcGetCurrentContext = _bind("alcGetCurrentContext", None, 97 alcGetContextsDevice = _bind("alcGetContextsDevice", 100 alcOpenDevice = _bind("alcOpenDevice", [ctypes.POINTER(ALCchar)], 102 alcCloseDevice = _bind("alcCloseDevice", [ctypes.POINTER(ALCdevice)], 105 alcIsExtensionPresent = _bind("alcIsExtensionPresent", 115 alcGetIntegerv = _bind("alcGetIntegerv", [ctypes.POINTER(ALCdevice), 118 alcCaptureOpenDevice = _bind("alcCaptureOpenDevice", 121 alcCaptureCloseDevice = _bind("alcCaptureCloseDevice", [all …]
|
H A D | efx.py | 667 _bind = dll.bind_function variable 671 alIsEffect = _bind("alIsEffect", [ALuint], ALboolean) 672 alEffecti = _bind("alEffecti", [ALuint, ALenum, ALint]) 674 alEffectf = _bind("alEffectf", [ALuint, ALenum, ALfloat]) 682 alIsFilter = _bind("alIsFilter", [ALuint], ALboolean) 683 alFilteri = _bind("alFilteri", [ALuint, ALenum, ALint]) 685 alFilterf = _bind("alFilterf", [ALuint, ALenum, ALfloat]) 691 alGenAuxiliaryEffectSlots = _bind("alGenAuxiliaryEffectSlots", 697 alAuxiliaryEffectSlotiv = _bind("alAuxiliaryEffectSlotiv", 699 alAuxiliaryEffectSlotf = _bind("alAuxiliaryEffectSlotf", [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pyjson5/src/json5/ |
H A D | parser.py | 66 def _bind(self, rule, var): member in Parser 269 self._seq([lambda: self._bind(self._object_, 'v'), 275 self._seq([lambda: self._bind(self._array_, 'v'), 281 self._seq([lambda: self._bind(self._string_, 'v'), 468 lambda: self._bind(self._hex_, 'h2'), 475 lambda: self._bind(self._hex_, 'b'), 476 lambda: self._bind(self._hex_, 'c'), 477 lambda: self._bind(self._hex_, 'd'), 763 lambda: self._bind(self._exp_, 'e'), 777 lambda: self._bind(self._exp_, 'e'), [all …]
|
/dports/devel/py-json5/json5-0.9.6/json5/ |
H A D | parser.py | 66 def _bind(self, rule, var): member in Parser 269 self._seq([lambda: self._bind(self._object_, 'v'), 275 self._seq([lambda: self._bind(self._array_, 'v'), 281 self._seq([lambda: self._bind(self._string_, 'v'), 468 lambda: self._bind(self._hex_, 'h2'), 475 lambda: self._bind(self._hex_, 'b'), 476 lambda: self._bind(self._hex_, 'c'), 477 lambda: self._bind(self._hex_, 'd'), 763 lambda: self._bind(self._exp_, 'e'), 777 lambda: self._bind(self._exp_, 'e'), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pyjson5/src/json5/ |
H A D | parser.py | 66 def _bind(self, rule, var): member in Parser 268 self._seq([lambda: self._bind(self._object_, 'v'), 274 self._seq([lambda: self._bind(self._array_, 'v'), 280 self._seq([lambda: self._bind(self._string_, 'v'), 440 lambda: self._bind(self._hex_, 'h2'), 447 lambda: self._bind(self._hex_, 'b'), 448 lambda: self._bind(self._hex_, 'c'), 449 lambda: self._bind(self._hex_, 'd'), 751 lambda: self._bind(self._exp_, 'e'), 765 lambda: self._bind(self._exp_, 'e'), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/devtools-frontend/src/third_party/pyjson5/src/json5/ |
H A D | parser.py | 66 def _bind(self, rule, var): member in Parser 268 self._seq([lambda: self._bind(self._object_, 'v'), 274 self._seq([lambda: self._bind(self._array_, 'v'), 280 self._seq([lambda: self._bind(self._string_, 'v'), 440 lambda: self._bind(self._hex_, 'h2'), 447 lambda: self._bind(self._hex_, 'b'), 448 lambda: self._bind(self._hex_, 'c'), 449 lambda: self._bind(self._hex_, 'd'), 751 lambda: self._bind(self._exp_, 'e'), 765 lambda: self._bind(self._exp_, 'e'), [all …]
|