Home
last modified time | relevance | path

Searched refs:initial_value (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/thread/windows/
A DSDL_syssem.c40 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 DSDL_syssem.c33 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 DSDL_syssem.c42 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 DSDL_syssem.c46 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 DSDL_mutex.h112 extern DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value);
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_sysjoystick.h34 Sint16 initial_value; /* Initial axis state */ member
A DSDL_joystick.c690 *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