Home
last modified time | relevance | path

Searched refs:NN_EXTERN_C (Results 1 – 25 of 33) sorted by relevance

12

/CTR-SDK-4.2.5/include/nn/ac/CTR/
Dac_Api.h504 NN_EXTERN_C nnResult nnacInitialize(void);
509 NN_EXTERN_C nnResult nnacFinalize(void);
514 NN_EXTERN_C nnResult nnacCreateDefaultConfig( nnacConfig* config );
519 NN_EXTERN_C nnResult nnacDebugSetNetworkArea( nnacConfig* config, nnacNetworkArea networkArea );
524 NN_EXTERN_C nnResult nnacConnect( nnacConfig* config );
529 NN_EXTERN_C nnResult nnacConnectAsync( nnacConfig* config, nnosEvent* event );
534 NN_EXTERN_C nnResult nnacCancelConnectAsync(void);
539 NN_EXTERN_C nnResult nnacGetConnectResult(void);
544 NN_EXTERN_C nnResult nnacDebugSetNetworkSetting1( const u8 ssid[], u8 ssidLength, nnacSecurityMode …
549 NN_EXTERN_C nnResult nnacDebugFlushNetworkSetting(void);
[all …]
/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_StackMemoryBlock.h161 NN_EXTERN_C void nnosStackMemoryBlockInitialize(nnosStackMemoryBlock* p);
166 NN_EXTERN_C void nnosStackMemoryBlockAllocate(nnosStackMemoryBlock* p, size_t size);
171 NN_EXTERN_C void nnosStackMemoryBlockFree(nnosStackMemoryBlock* p);
176 NN_EXTERN_C uptr nnosStackMemoryBlockGetAddress(nnosStackMemoryBlock* p);
181 NN_EXTERN_C size_t nnosStackMemoryBlockGetSize(nnosStackMemoryBlock* p);
186 NN_EXTERN_C uptr nnosStackMemoryBlockGetStackBottom(nnosStackMemoryBlock* p);
Dos_MemoryBlock.h177 NN_EXTERN_C void nnosMemoryBlockAllocate(nnosMemoryBlock* p, size_t size);
182 NN_EXTERN_C void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly);
187 NN_EXTERN_C void nnosMemoryBlockFree(nnosMemoryBlock* p);
192 NN_EXTERN_C uptr nnosMemoryBlockGetAddress(nnosMemoryBlock* p);
197 NN_EXTERN_C size_t nnosMemoryBlockGetSize(nnosMemoryBlock* p);
202 NN_EXTERN_C bool nnosMemoryBlockIsReadOnly(nnosMemoryBlock* p);
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_StackMemory.h193 NN_EXTERN_C void nnosStackMemoryProtect(nnosStackMemory* p, void* pMem, size_t size);
198 NN_EXTERN_C void nnosStackMemoryUnprotect(nnosStackMemory* p);
203 NN_EXTERN_C uptr nnosStackMemoryGetAddress(nnosStackMemory* p);
208 NN_EXTERN_C size_t nnosStackMemoryGetSize(nnosStackMemory* p);
213 NN_EXTERN_C uptr nnosStackMemoryGetStackBottom(nnosStackMemory* p);
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_Tick.h308 NN_EXTERN_C inline s64 nnosTickConvertFromNanoSeconds(s64 ns) in nnosTickConvertFromNanoSeconds()
320 NN_EXTERN_C inline s64 nnosTickConvertFromMicroSeconds(s64 us) in nnosTickConvertFromMicroSeconds()
332 NN_EXTERN_C inline s64 nnosTickConvertFromMilliSeconds(s64 ms) in nnosTickConvertFromMilliSeconds()
344 NN_EXTERN_C inline s64 nnosTickConvertFromSeconds(s64 s) in nnosTickConvertFromSeconds()
356 NN_EXTERN_C inline s64 nnosTickConvertToNanoSeconds(s64 tick) in nnosTickConvertToNanoSeconds()
368 NN_EXTERN_C inline s64 nnosTickConvertToMicroSeconds(s64 tick) in nnosTickConvertToMicroSeconds()
380 NN_EXTERN_C inline s64 nnosTickConvertToMilliSeconds(s64 tick) in nnosTickConvertToMilliSeconds()
392 NN_EXTERN_C inline s64 nnosTickConvertToSeconds(s64 tick) in nnosTickConvertToSeconds()
400 NN_EXTERN_C s64 nnosTickGetSystemCurrent(void);
Dos_LightSemaphore.h327 NN_EXTERN_C void nnosLightSemaphoreInitialize(nnosLightSemaphore* this_, s32 initialCount, s32 maxC…
333 NN_EXTERN_C s32 nnosLightSemaphoreGetMax(nnosLightSemaphore* p);
339 NN_EXTERN_C s32 nnosLightSemaphoreGetCount(nnosLightSemaphore* p);
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_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_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);
388 NN_EXTERN_C size_t nnosThreadPoolGetWorkBufferSize(size_t numMaxWaitObjects, size_t numWorkerThread…
Dos_Alarm.h262 NN_EXTERN_C void nnosInitializeAlarmSystem(void);
293 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…
313 NN_EXTERN_C void nnosAlarmCancel(nnosAlarm* p);
318 NN_EXTERN_C bool nnosAlarmCanSet(const nnosAlarm* p);
Dos_LightAlarm.h276 NN_EXTERN_C void nnosInitializeLightAlarmSystem( uptr stackBottom, s32 priority );
308 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…
328 NN_EXTERN_C void nnosLightAlarmCancel(nnosLightAlarm* p);
333 NN_EXTERN_C bool nnosLightAlarmCanSet(
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_);
1174 NN_EXTERN_C void nnosThreadSleep(s64 nanoSeconds);
1179 NN_EXTERN_C void nnosThreadYield(void);
1184 NN_EXTERN_C bit32 nnosThreadGetCurrentId(void);
1189 NN_EXTERN_C s32 nnosThreadGetPriority(const nnosThread* this_);
1194 NN_EXTERN_C s32 nnosThreadGetCurrentPriority(void);
1199 NN_EXTERN_C void nnosThreadChangePriority(nnosThread* this_, s32 priority);
[all …]
/CTR-SDK-4.2.5/include/nn/net/osl/
Dosl_Mbuf.h85 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_getm (u32 name, nnnetOslMbuf *orig, s32 len, s32 how…
86 NN_EXTERN_C void nnnetOslMbuf_freem (nnnetOslMbuf* pMbuf_);
87 NN_EXTERN_C s32 nnnetOslMbuf_adj (nnnetOslMbuf* pMbuf_, s32 len);
88 NN_EXTERN_C s32 nnnetOslMbuf_append (nnnetOslMbuf* pMbuf_, s32 len, const u8 *cp);
89 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_prepend_a (nnnetOslMbuf* pMbuf_, s32 len, int how);
90 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_pullup (nnnetOslMbuf* pMbuf_, s32 len);
91 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_dup (nnnetOslMbuf* pMbuf_, int how);
92 NN_EXTERN_C s32 nnnetOslMbuf_copydata (const nnnetOslMbuf* pMbuf_, s32 offset, s32 le…
93 NN_EXTERN_C s32 nnnetOslMbuf_copyback (nnnetOslMbuf* pMbuf_, s32 offset, s32 len, con…
94 NN_EXTERN_C s32 nnnetOslMbuf_cat (nnnetOslMbuf* pMbuf_, nnnetOslMbuf *n);
[all …]
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_);
/CTR-SDK-4.2.5/include/nn/util/detail/
Dutil_CLibImpl.h32 #define NN_EXTERN_C extern "C" macro
42 #define NN_EXTERN_C extern macro
54 NN_EXTERN_C toC* name(fromC*); \
55 NN_EXTERN_C const toC* name##Const(const fromC*)
58NN_EXTERN_C toC* name(fromC* p) { return reinterpret_cast<toC*>(static_cast<toCpp*>(reinterpret_ca…
59NN_EXTERN_C const toC* name##Const(const fromC* p) { return reinterpret_cast<const toC*>(static_ca…
/CTR-SDK-4.2.5/include/nn/nstd/
Dnstd_Printf.h106 NN_EXTERN_C s32 nnnstdTVSNPrintf(char *dst, size_t len, const char *fmt, va_list vlist);
107 NN_EXTERN_C s32 nnnstdTSNPrintf(char *dst, size_t len, const char *fmt, ...);
108 NN_EXTERN_C s32 nnnstdTSPrintf(char *dst, const char *fmt, ...);
109 NN_EXTERN_C s32 nnnstdTVSNWPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, va_list vlist);
110 NN_EXTERN_C s32 nnnstdTSNWPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, ...);
111 NN_EXTERN_C s32 nnnstdTSWPrintf(wchar_t *dst, const wchar_t *fmt, ...);
/CTR-SDK-4.2.5/sources/libraries/os/
Dos_AddressSpaceManager.h137 NN_EXTERN_C void nnosAddressSpaceManagerInitialize(nnosAddressSpaceManager* p, uptr begin, size_t s…
142 NN_EXTERN_C uptr nnosAddressSpaceManagerAllocate(nnosAddressSpaceManager* p, nnosMemoryBlockBase* p…
147 NN_EXTERN_C void nnosAddressSpaceManagerFree(nnosAddressSpaceManager* p, nnosMemoryBlockBase* pBloc…
152 NN_EXTERN_C void nnosAddressSpaceManagerSwitch(nnosAddressSpaceManager* p, nnosMemoryBlockBase* pTo…
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Misccellaneous.h48 NN_EXTERN_C inline s64 nnmathMultiplyAndDivide(s64 x, s32 mul, s32 div) in nnmathMultiplyAndDivide()
79 NN_EXTERN_C inline u64 nnmathMakeRate(u32 mul, u32 div) in nnmathMakeRate()
83 NN_EXTERN_C inline u32 nnmathMakeRate32(u32 mul, u32 div) in nnmathMakeRate32()
88 NN_EXTERN_C inline u64 nnmathMultiplyRate(u64 x, u64 rate) in nnmathMultiplyRate()
101 NN_EXTERN_C inline u64 nnmathMultiplyRate32(u64 x, u32 rate) in nnmathMultiplyRate32()
/CTR-SDK-4.2.5/include/nn/http/
Dhttp_Common.h97 NN_EXTERN_C nnResult nnhttpInitialize(uptr bufferAddress = 0, size_t bufferSize = 0);
102 NN_EXTERN_C nnResult nnhttpFinalize(void);

12