Home
last modified time | relevance | path

Searched refs:this_ (Results 1 – 19 of 19) sorted by relevance

/CTR-SDK-4.2.5/sources/libraries/os/
Dos_BlockingQueue.cpp305 void nnosBlockingQueueInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size) in nnosBlockingQueueInitialize() argument
307 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueInitialize()
312 bool nnosBlockingQueueTryInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size) in nnosBlockingQueueTryInitialize() argument
314 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueTryInitialize()
320 void nnosBlockingQueueFinalize(nnosBlockingQueue* this_) in nnosBlockingQueueFinalize() argument
322 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueFinalize()
327 bool nnosBlockingQueueTryEnqueue(nnosBlockingQueue* this_, uptr data) in nnosBlockingQueueTryEnqueue() argument
329 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueTryEnqueue()
333 void nnosBlockingQueueEnqueue(nnosBlockingQueue* this_, uptr data) in nnosBlockingQueueEnqueue() argument
335 BlockingQueue* pBlockingQueue = reinterpret_cast<BlockingQueue*>(this_); in nnosBlockingQueueEnqueue()
[all …]
Dos_SharedMemory.cpp174 void nnosSharedMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool readOnly, bool o… in nnosSharedMemoryBlockAllocate() argument
176 new (this_) SharedMemoryBlock(size, readOnly, otherReadOnly, noMap); in nnosSharedMemoryBlockAllocate()
179 void nnosSharedMemoryBlockInitializeNoAllocate(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockInitializeNoAllocate() argument
181 new (this_) SharedMemoryBlock(); in nnosSharedMemoryBlockInitializeNoAllocate()
184 void nnosSharedMemoryBlockFree(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockFree() argument
186 SharedMemoryBlock* pSharedMemoryBlock = reinterpret_cast<SharedMemoryBlock*>(this_); in nnosSharedMemoryBlockFree()
190 uptr nnosSharedMemoryBlockGetAddress(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockGetAddress() argument
192 SharedMemoryBlock* pSharedMemoryBlock = reinterpret_cast<SharedMemoryBlock*>(this_); in nnosSharedMemoryBlockGetAddress()
196 size_t nnosSharedMemoryBlockGetSize(nnosSharedMemoryBlock* this_) in nnosSharedMemoryBlockGetSize() argument
198 SharedMemoryBlock* pSharedMemoryBlock = reinterpret_cast<SharedMemoryBlock*>(this_); in nnosSharedMemoryBlockGetSize()
[all …]
Dos_ThreadPool.cpp193 void ThreadPool::WaitThreadFunc(ThreadPool* this_) in WaitThreadFunc() argument
195 this_->WaitThreadFunc(); in WaitThreadFunc()
236 void ThreadPool::ExecuteThreadFunc(ThreadPool* this_) in ExecuteThreadFunc() argument
238 this_->ExecuteThreadFunc(); in ExecuteThreadFunc()
300 void SingleThreadPool::ExecuteThreadFunc(SingleThreadPool* this_) in ExecuteThreadFunc() argument
302 this_->ExecuteThreadFunc(); in ExecuteThreadFunc()
Dos_Alarm.cpp240 Alarm* this_ = new (p) Alarm; in nnosAlarmInitialize() local
241 this_->Initialize(); in nnosAlarmInitialize()
Dos_LightAlarm.cpp327 LightAlarm* this_ = new (p) LightAlarm; in nnosLightAlarmInitialize() local
328 this_->Initialize(); in nnosLightAlarmInitialize()
/CTR-SDK-4.2.5/include/nn/os/
Dos_LightEvent.h292 NN_EXTERN_C void nnosLightEventInitialize(nnosLightEvent* this_, bool isManualReset);
297 NN_EXTERN_C bool nnosLightEventIsSignaled(nnosLightEvent* this_);
302 NN_EXTERN_C bool nnosLightEventIsManualReset(nnosLightEvent* this_);
307 NN_EXTERN_C bool nnosLightEventTryWait(nnosLightEvent* this_);
312 NN_EXTERN_C void nnosLightEventWait(nnosLightEvent* this_);
317 NN_EXTERN_C void nnosLightEventSignal(nnosLightEvent* this_);
322 NN_EXTERN_C void nnosLightEventPulse(nnosLightEvent* this_);
327 NN_EXTERN_C void nnosLightEventClearSignal(nnosLightEvent* this_);
332 NN_EXTERN_C void nnosLightEventFinalize(nnosLightEvent* this_);
Dos_BlockingQueue.h524 NN_EXTERN_C void nnosBlockingQueueInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size);
529 NN_EXTERN_C bool nnosBlockingQueueTryInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t siz…
534 NN_EXTERN_C void nnosBlockingQueueFinalize(nnosBlockingQueue* this_);
539 NN_EXTERN_C bool nnosBlockingQueueTryEnqueue(nnosBlockingQueue* this_, uptr data);
544 NN_EXTERN_C void nnosBlockingQueueEnqueue(nnosBlockingQueue* this_, uptr data);
549 NN_EXTERN_C bool nnosBlockingQueueTryJam(nnosBlockingQueue* this_, uptr data);
554 NN_EXTERN_C void nnosBlockingQueueJam(nnosBlockingQueue* this_, uptr data);
559 NN_EXTERN_C bool nnosBlockingQueueTryDequeue(nnosBlockingQueue* this_, uptr* pOut);
564 NN_EXTERN_C uptr nnosBlockingQueueDequeue(nnosBlockingQueue* this_);
569 NN_EXTERN_C bool nnosBlockingQueueTryGetFront(nnosBlockingQueue* this_, uptr* pOut);
[all …]
Dos_SharedMemory.h74 NN_EXTERN_C void nnosSharedMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool read…
75 NN_EXTERN_C void nnosSharedMemoryBlockInitializeNoAllocate(nnosSharedMemoryBlock* this_);
76 NN_EXTERN_C void nnosSharedMemoryBlockFree(nnosSharedMemoryBlock* this_);
77 NN_EXTERN_C uptr nnosSharedMemoryBlockGetAddress(nnosSharedMemoryBlock* this_);
78 NN_EXTERN_C size_t nnosSharedMemoryBlockGetSize(nnosSharedMemoryBlock* this_);
79 NN_EXTERN_C bool nnosSharedMemoryBlockIsReadOnly(nnosSharedMemoryBlock* this_);
Dos_CriticalSection.h220 NN_EXTERN_C void nnosCriticalSectionInitialize(nnosCriticalSection* this_);
225 NN_EXTERN_C bool nnosCriticalSectionTryInitialize(nnosCriticalSection* this_);
230 NN_EXTERN_C void nnosCriticalSectionEnter(nnosCriticalSection* this_);
235 NN_EXTERN_C bool nnosCriticalSectionTryEnter(nnosCriticalSection* this_);
240 NN_EXTERN_C void nnosCriticalSectionLeave(nnosCriticalSection* this_);
245 NN_EXTERN_C void nnosCriticalSectionFinalize(nnosCriticalSection* this_);
Dos_Timer.h284 NN_EXTERN_C void nnosTimerInitialize(nnosTimer* this_, bool isManualReset);
289 NN_EXTERN_C bool nnosTimerTryInitialize(nnosTimer* this_, bool isManualReset);
294 NN_EXTERN_C void nnosTimerStartPeriodic(nnosTimer* this_, s64 first, s64 interval);
299 NN_EXTERN_C void nnosTimerStartOneShot(nnosTimer* this_, s64 time);
304 NN_EXTERN_C void nnosTimerWait(nnosTimer* this_);
309 NN_EXTERN_C void nnosTimerStop(nnosTimer* this_);
314 NN_EXTERN_C void nnosTimerClearSignal(nnosTimer* this_);
319 NN_EXTERN_C void nnosTimerFinalize(nnosTimer* this_);
324 NN_EXTERN_C void nnosTimerSignal(nnosTimer* this_);
Dos_Mutex.h268 NN_EXTERN_C void nnosMutexInitialize(nnosMutex* this_, bool initialLocked);
273 NN_EXTERN_C bool nnosMutexTryInitialize(nnosMutex* this_, bool initialLocked);
278 NN_EXTERN_C void nnosMutexLock(nnosMutex* this_);
283 NN_EXTERN_C bool nnosMutexTryLock(nnosMutex* this_, s64 timeout);
288 NN_EXTERN_C void nnosMutexUnlock(nnosMutex* this_);
293 NN_EXTERN_C void nnosMutexFinalize(nnosMutex* this_);
Dos_Event.h260 NN_EXTERN_C void nnosEventInitialize(nnosEvent* this_, bool manualReset);
265 NN_EXTERN_C bool nnosEventTryInitialize(nnosEvent* this_, bool manualReset);
270 NN_EXTERN_C void nnosEventSignal(nnosEvent* this_);
275 NN_EXTERN_C void nnosEventWaitSignal(nnosEvent* this_);
280 NN_EXTERN_C bool nnosEventTryWaitSignal(nnosEvent* this_, s64 nanoSecondsTimeout);
285 NN_EXTERN_C void nnosEventClearSignal(nnosEvent* this_);
290 NN_EXTERN_C void nnosEventFinalize(nnosEvent* this_);
Dos_Semaphore.h239 NN_EXTERN_C void nnosSemaphoreInitialize(nnosSemaphore* this_, s32 initialCount, s32 maxCount);
244 NN_EXTERN_C bool nnosSemaphoreTryInitialize(nnosSemaphore* this_, s32 initialCount, s32 maxCount);
249 NN_EXTERN_C s32 nnosSemaphoreRelease(nnosSemaphore* this_, s32 releaseCount);
254 NN_EXTERN_C void nnosSemaphoreAcquire(nnosSemaphore* this_);
259 NN_EXTERN_C bool nnosSemaphoreTryAcquire(nnosSemaphore* this_, s64 nanoSeconds);
264 NN_EXTERN_C void nnosSemaphoreFinalize(nnosSemaphore* this_);
Dos_LightSemaphore.h327 NN_EXTERN_C void nnosLightSemaphoreInitialize(nnosLightSemaphore* this_, s32 initialCount, s32 maxC…
344 NN_EXTERN_C s32 nnosLightSemaphoreRelease(nnosLightSemaphore* this_, s32 releaseCount);
349 NN_EXTERN_C void nnosLightSemaphoreAcquire(nnosLightSemaphore* this_);
354 NN_EXTERN_C bool nnosLightSemaphoreTryAcquire(nnosLightSemaphore* this_);
359 NN_EXTERN_C void nnosLightSemaphoreFinalize(nnosLightSemaphore* this_);
Dos_ThreadPool.h322 NN_EXTERN_C void nnosThreadPoolTaskInitialize(nnosThreadPoolTask* this_, void (*f)(uptr), uptr para…
328 NN_EXTERN_C void nnosThreadPoolTaskFinalize(nnosThreadPoolTask* this_);
344 NN_EXTERN_C void nnosThreadPoolWaitTaskInitialize(nnosThreadPoolWaitTask* this_, nnosWaitObject* wa…
349 NN_EXTERN_C void nnosThreadPoolWaitTaskFinalize(nnosThreadPoolWaitTask* this_);
365 NN_EXTERN_C void nnosThreadPoolInitialize(nnosThreadPool* this_, void* workBuffer, size_t numMaxWai…
367 NN_EXTERN_C void nnosThreadPoolInitializeWithStackMemoryBlock(nnosThreadPool* this_, void* workBuff…
373 NN_EXTERN_C void nnosThreadPoolFinalize(nnosThreadPool* this_);
378 NN_EXTERN_C void nnosThreadPoolAddWaitTask(nnosThreadPool* this_, nnosThreadPoolWaitTask* task);
383 NN_EXTERN_C void nnosThreadPoolAddTask(nnosThreadPool* this_, nnosThreadPoolTask* task);
Dos_Alarm.h293 NN_EXTERN_C void nnosAlarmInitialize(nnosAlarm* this_);
298 NN_EXTERN_C void nnosAlarmFinalize(nnosAlarm* this_);
303 NN_EXTERN_C void nnosAlarmSetOneShot(nnosAlarm* this_, s64 time, nnosAlarmHandler handler, void* pa…
308 NN_EXTERN_C void nnosAlarmSetPeriodic(nnosAlarm* this_, s64 initial, s64 interval, nnosAlarmHandler…
Dos_LightAlarm.h308 NN_EXTERN_C void nnosLightAlarmInitialize(nnosLightAlarm* this_);
313 NN_EXTERN_C void nnosLightAlarmFinalize(nnosLightAlarm* this_);
318 NN_EXTERN_C void nnosLightAlarmSetOneShot(nnosLightAlarm* this_, s64 time, nnosLightAlarmHandler ha…
323 NN_EXTERN_C void nnosLightAlarmSetPeriodic(nnosLightAlarm* this_, s64 initial, s64 interval, nnosLi…
Dos_Thread.h1154 NN_EXTERN_C void nnosThreadInitializeAndStart(nnosThread* this_, void (*f)(uptr), uptr param, uptr …
1159 NN_EXTERN_C bool nnosThreadTryInitializeAndStart(nnosThread* this_, void (*f)(uptr), uptr param, up…
1164 NN_EXTERN_C void nnosThreadFinalize(nnosThread* this_);
1169 NN_EXTERN_C void nnosThreadJoin(nnosThread* this_);
1189 NN_EXTERN_C s32 nnosThreadGetPriority(const nnosThread* this_);
1199 NN_EXTERN_C void nnosThreadChangePriority(nnosThread* this_, s32 priority);
1243 NN_EXTERN_C s32 nnosThreadGetIdealProcessor(const nnosThread* this_);
1280 NN_EXTERN_C bit32 nnosThreadGetId(nnosThread* this_);
1285 NN_EXTERN_C bool nnosThreadIsAlive(nnosThread* this_);
/CTR-SDK-4.2.5/include/nn/net/osl/
Dosl_EventFlag.h106 NN_EXTERN_C void nnnetOslEventFlagInitialize(nnnetOslEventFlag* this_);
107 NN_EXTERN_C bool nnnetOslEventFlagTryInitialize(nnnetOslEventFlag* this_);
108 NN_EXTERN_C void nnnetOslEventFlagSignal(nnnetOslEventFlag* this_, bit32 pattern);
109 NN_EXTERN_C bit32 nnnetOslEventFlagWaitSignal(nnnetOslEventFlag* this_, bit32 pattern, nnnetOslWait…
110 NN_EXTERN_C void nnnetOslEventFlagClearSignal(nnnetOslEventFlag* this_, bit32 pattern);
111 NN_EXTERN_C bit32 nnnetOslEventFlagWaitAndClear(nnnetOslEventFlag* this_, bit32 pattern, nnnetOslWa…
112 NN_EXTERN_C void nnnetOslEventFlagFinalize(nnnetOslEventFlag* this_);