Searched refs:initial_value (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/SDL2/src/thread/windows/ |
A D | SDL_syssem.c | 40 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument 49 sem->id = CreateSemaphoreEx(NULL, initial_value, 32 * 1024, NULL, 0, SEMAPHORE_ALL_ACCESS); in SDL_CreateSemaphore() 51 sem->id = CreateSemaphore(NULL, initial_value, 32 * 1024, NULL); in SDL_CreateSemaphore() 53 sem->count = initial_value; in SDL_CreateSemaphore()
|
/AliOS-Things-master/components/SDL2/src/thread/generic/ |
A D | SDL_syssem.c | 33 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument 85 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument 94 sem->count = initial_value; in SDL_CreateSemaphore()
|
/AliOS-Things-master/components/SDL2/src/thread/psp/ |
A D | SDL_syssem.c | 42 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument 49 sem->semid = sceKernelCreateSema("SDL sema", 0, initial_value, 255, NULL); in SDL_CreateSemaphore()
|
/AliOS-Things-master/components/SDL2/src/thread/pthread/ |
A D | SDL_syssem.c | 46 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument 50 if (sem_init(&sem->sem, 0, initial_value) < 0) { in SDL_CreateSemaphore()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_mutex.h | 112 extern DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value);
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_sysjoystick.h | 34 Sint16 initial_value; /* Initial axis state */ member
|
A D | SDL_joystick.c | 690 *state = joystick->axes[axis].initial_value; in SDL_JoystickGetAxisInitialState() 1175 …(!info->has_second_value && (info->initial_value <= -32767 || info->initial_value == 32767) && SDL… in SDL_PrivateJoystickAxis() 1176 info->initial_value = value; in SDL_PrivateJoystickAxis() 1193 SDL_PrivateJoystickAxis(joystick, axis, info->initial_value); in SDL_PrivateJoystickAxis()
|
Completed in 11 milliseconds