Home
last modified time | relevance | path

Searched refs:nn (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/CTR-SDK-4.2.5/include/nn/svc/
Dsvc_Stub.h35 namespace nn {
38 nn::Result ControlMemory ( uptr* pOut, uptr addr, uptr addr2, s…
39 nn::Result QueryMemory ( nn::os::MemoryInfo* pBlockInfo, nn::…
41 nn::Result GetProcessAffinityMask ( bit8 pAffinityMask[], nn::Handle pro…
42 nn::Result SetProcessAffinityMask ( nn::Handle process, const bit8 pAffi…
43 nn::Result GetProcessIdealProcessor ( s32* pOut, nn::Handle process );
44 nn::Result SetProcessIdealProcessor ( nn::Handle process, s32 processorNum…
45 nn::Result CreateThread ( nn::Handle* pOut, nn::os::ThreadFunc…
48 nn::Result GetThreadPriority ( s32* pOut, nn::Handle thread );
49 nn::Result SetThreadPriority ( nn::Handle thread, s32 prio );
[all …]
/CTR-SDK-4.2.5/sources/libraries/os/
Dos_PrintResultImpl.cpp26 const char* GetResultDescriptionStringImpl(nn::Result result) \
38 namespace nn { namespace os { namespace detail { namespace
43 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_MEMORY) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
44 … CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_SHARED_MEMORY) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
45 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_THREAD) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
46 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_MUTEX) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
47 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_SEMAPHORE) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
48 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_EVENT) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
49 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_TIMER) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
50 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_PORT) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL()
[all …]
/CTR-SDK-4.2.5/include/nn/camera/CTR/
Dcamera_Camera.h31 namespace nn {
114 static nn::Result StartCapture( nn::camera::CTR::Port port );
115 static nn::Result StopCapture( nn::camera::CTR::Port port );
116 static nn::Result IsBusy( bool* pState, nn::camera::CTR::Port port );
117 static nn::Result ClearBuffer( nn::camera::CTR::Port port );
118 static nn::Result GetVsyncInterruptEvent( nn::Handle* pHandle, nn::camera::CTR::Port port );
119 … static nn::Result GetBufferErrorInterruptEvent( nn::Handle* pHandle, nn::camera::CTR::Port port );
120 …static nn::Result SetReceiving( nn::Handle* pHandle, nn::Handle dstProcess, u32 pDst, nn::camera::…
121 static nn::Result IsFinishedReceiving( bool* pState, nn::camera::CTR::Port port );
122 …static nn::Result SetTransferLines( nn::camera::CTR::Port port, s16 lines, s16 width, s16 height );
[all …]
Dcamera_Api.h30 namespace nn {
36 nn::Result InitializeBase(Handle* pSession, const char* name, bool isCheck = false);
43 void GetVsyncInterruptEvent( nn::os::Event* pEvent, Port port );
44 void GetBufferErrorInterruptEvent( nn::os::Event* pEvent, Port port );
45 …void SetReceiving( nn::os::Event* pEvent, u32 pDst, Port port, size_t imageSize, s16 transferUnit …
58 nn::Result Activate( CameraSelect select );
59 nn::Result SwitchContext( CameraSelect select, Context next );
60 nn::Result SetExposure( CameraSelect select, s8 exposure );
61 nn::Result SetWhiteBalance( CameraSelect select, WhiteBalance wb );
62 nn::Result SetSharpness( CameraSelect select, s8 sharpness );
[all …]
/CTR-SDK-4.2.5/include/nn/gd/CTR/
Dgd_Result.h29 namespace nn {
197 NN_DEFINE_RESULT_CONST(ResultSuccess, nn::Result::LEVEL_SUCCESS, nn::Result::SUMMARY_SUCCESS, nn::R…
210 NN_DEFINE_RESULT_CONST(ResultOutOfMemory, nn::Result::LEVEL_PERMANENT, nn::Result::SUMMARY_OUT_OF_R…
223 …DEFINE_RESULT_CONST(ResultOutOfMemoryExt, nn::Result::LEVEL_PERMANENT, nn::Result::SUMMARY_OUT_OF_…
236 …DEFINE_RESULT_CONST(ResultInvalidParameter, nn::Result::LEVEL_USAGE, nn::Result::SUMMARY_INVALID_A…
249 NN_DEFINE_RESULT_CONST(ResultNullParameter, nn::Result::LEVEL_USAGE, nn::Result::SUMMARY_INVALID_AR…
262 …INE_RESULT_CONST(ResultOutOfRangeParameter, nn::Result::LEVEL_USAGE, nn::Result::SUMMARY_INVALID_A…
275 …INE_RESULT_CONST(ResultInvalidMemoryRegion, nn::Result::LEVEL_USAGE, nn::Result::SUMMARY_INVALID_A…
288 …INE_RESULT_CONST(ResultInvalidFunctionCall, nn::Result::LEVEL_USAGE, nn::Result::SUMMARY_INVALID_A…
301 …_DEFINE_RESULT_CONST(ResultAlreadyReleased, nn::Result::LEVEL_USAGE, nn::Result::SUMMARY_INVALID_A…
[all …]
/CTR-SDK-4.2.5/include/nn/y2r/CTR/
Dy2r_Y2r.h31 namespace nn {
97 static nn::Result SetInputFormat( nn::y2r::CTR::InputFormat format );
98 static nn::Result GetInputFormat( nn::y2r::CTR::InputFormat* pFormat );
99 static nn::Result SetOutputFormat( nn::y2r::CTR::OutputFormat format );
100 static nn::Result GetOutputFormat( nn::y2r::CTR::OutputFormat* pFormat );
101 static nn::Result SetRotation( nn::y2r::CTR::Rotation rotation );
102 static nn::Result GetRotation( nn::y2r::CTR::Rotation* pRotation );
103 static nn::Result SetBlockAlignment( nn::y2r::CTR::BlockAlignment align );
104 static nn::Result GetBlockAlignment( nn::y2r::CTR::BlockAlignment* pAlign );
105 static nn::Result SetSpacialDithering( bool enable );
[all …]
/CTR-SDK-4.2.5/include/nn/cec/CTR/
Dcec_Control.h21 namespace nn {
36 nn::fnd::DateTimeParameters recvDate; //
111 static nn::Result Initialize();
112 static nn::Result Initialize(nn::fnd::IAllocator& cecAllocFunc);
113 static nn::Result Initialize(uptr bufferAddress, size_t bufferSize);
114 static nn::Result InitializeWithoutNdm();
121 static nn::Result Finalize();
131 static nn::Result ReadyDaemon();
150 static nn::Result StartScanning(bool reset = false);
161 static nn::Result Suspend();
[all …]
Dcec_Message.h23 namespace nn {
115 nn::Result NewMessage(
158 nn::Result NewMessage(
178 nn::Result SetCecTitleId(TitleId cecTitleId);
203 nn::Result SetGroupID(u32 groupId);
221 nn::Result SetSessionID(u32 sessionId);
242 nn::Result SetMessSize(u32 messSize);
277 nn::Result SetHeaderSize(u32 headerSize);
294 nn::Result SetBodySize(u32 bodySize);
312 nn::Result SetMessageId(const MessageId& messageId);
[all …]
Dcec_CecSys.h30 namespace nn {
75 static nn::Result Open( u32 cecTitleId, u32 dataType, u32 option, size_t* filesize );
76 static nn::Result Read( size_t* pReadLen, u8 pReadBuf[], size_t len );
77 …static nn::Result ReadMessage( u32 cecTitleId, u8 in_or_out_box, const u8 pMessId[], size_t messId…
78 …static nn::Result ReadMessageWithHmac( u32 cecTitleId, u8 in_or_out_box, const u8 pMessId[], size_…
79 static nn::Result Write( const u8 pWriteBuf[], size_t len );
80 …static nn::Result WriteMessage( u32 cecTitleId, u8 in_or_out_box, u8 pMessId[], size_t messIdLen, …
81 …static nn::Result WriteMessageWithHmac( u32 cecTitleId, u8 in_or_out_box, u8 pMessId[], size_t mes…
82 …static nn::Result Delete( u32 cecTitleId, u32 dataType, u8 in_or_out_box, const u8 pMessId[], size…
83 static nn::Result SetData( u32 cecTitleId, const u8 pData[], size_t len, u32 option );
[all …]
Dcec_Cec.h30 namespace nn {
73 static nn::Result Open( u32 cecTitleId, u32 dataType, u32 option, size_t* filesize );
74 static nn::Result Read( size_t* pReadLen, u8 pReadBuf[], size_t len );
75 …static nn::Result ReadMessage( u32 cecTitleId, u8 in_or_out_box, const u8 pMessId[], size_t messId…
76 …static nn::Result ReadMessageWithHmac( u32 cecTitleId, u8 in_or_out_box, const u8 pMessId[], size_…
77 static nn::Result Write( const u8 pWriteBuf[], size_t len );
78 …static nn::Result WriteMessage( u32 cecTitleId, u8 in_or_out_box, u8 pMessId[], size_t messIdLen, …
79 …static nn::Result WriteMessageWithHmac( u32 cecTitleId, u8 in_or_out_box, u8 pMessId[], size_t mes…
80 …static nn::Result Delete( u32 cecTitleId, u32 dataType, u8 in_or_out_box, const u8 pMessId[], size…
81 static nn::Result SetData( u32 cecTitleId, const u8 pData[], size_t len, u32 option );
[all …]
/CTR-SDK-4.2.5/include/nn/applet/CTR/
Dapplet_Parameters.h22 namespace nn{
236 typedef nn::applet::CTR::DisplayBufferMode AppletDisplayBufferMode;
238 typedef nn::applet::CTR::HomeButtonState AppletHomeButtonState;
240 typedef nn::applet::CTR::SleepNotificationState AppletSleepNotificationState;
242 typedef nn::applet::CTR::ShutdownState AppletShutdownState;
244 typedef nn::applet::CTR::PowerButtonState AppletPowerButtonState;
246 typedef nn::applet::CTR::OrderToCloseState AppletOrderToCloseState;
248 typedef nn::applet::CTR::WakeupState AppletWakeupState;
250 typedef nn::applet::CTR::QueryReply AppletQueryReply;
252 typedef nn::applet::CTR::AppJumpType AppletAppJumpType;
[all …]
/CTR-SDK-4.2.5/sources/libraries/dbg/
Ddbg_PrintResult.cpp25 const char* GetResultDescriptionStringImpl(nn::Result result) \
37 namespace nn { namespace libname { namespace detail { \
38 NN_WEAK_SYMBOL const char* GetResultDescriptionStringImpl(nn::Result) { return 0; } \
124 namespace nn { namespace dbg { namespace detail { namespace
129 … CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(GetDescription, ::nn::Result, DESCRIPTION_SUCCESS)
130 …CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(GetDescription, ::nn::Result, DESCRIPTION_INVALID_SELECTIO…
131 … CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(GetDescription, ::nn::Result, DESCRIPTION_TOO_LARGE)
132 … CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(GetDescription, ::nn::Result, DESCRIPTION_NOT_AUTHORIZED)
133 … CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(GetDescription, ::nn::Result, DESCRIPTION_ALREADY_DONE)
134 … CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(GetDescription, ::nn::Result, DESCRIPTION_INVALID_SIZE)
[all …]
/CTR-SDK-4.2.5/include/nn/dsp/CTR/MPCore/
Ddsp_Api.h24 namespace nn {
30 nn::Result InitializeBase(Handle* pSession, const char* name);
31 nn::Result FinalizeBase (Handle* pSession);
39 inline nn::Result InitializeIpc(Handle* pSession) { return detail::InitializeBase(pSession, PORT… in InitializeIpc()
40 inline nn::Result FinalizeIpc (Handle* pSession) { return detail::FinalizeBase (pSession); } in FinalizeIpc()
52 nn::Result Initialize( void );
70 nn::Result LoadComponent( const u8 pComponent[], size_t size, bit16 maskPram = 0xff, bit16 maskD…
71 nn::Result LoadComponentCore( const u8 pComponent[], size_t size, bit16 maskPram = 0xff, bit16 m…
80 nn::Result LoadDefaultComponent( void );
87 nn::Result UnloadComponent( void );
[all …]
/CTR-SDK-4.2.5/include/nn/boss/
Dboss_Lib.h39 namespace nn {
50 nn::Result Initialize(void);
59 nn::Result Finalize(void);
82 nn::Result RegisterPrivateRootCa(const u8* pCertData, size_t certDataSize);
107 nn::Result RegisterPrivateClientCert(const u8* pCertData, size_t certDataSize
160 nn::Result RegisterTask(Task* pTask, TaskPolicy* pPolicy , TaskAction* pAction
199nn::Result RegisterTask(Task* pTask, TaskPolicy* pPolicy, TaskAction* pAction, const char* pFilePa…
246 nn::Result RegisterImmediateTask(Task* pTask, TaskAction* pAction
283 nn::Result RegisterImmediateTask(Task* pTask, TaskAction* pAction, const char* pFilePath
315 nn::Result UnregisterTask(Task* pTask, u8 taskStep=DEFAULT_STEP_ID);
[all …]
Dboss_TaskAction.h27 namespace nn {
57 nn::Result SetPrivateRootCa(void);
73 nn::Result SetRootCa(u32 inCaCertId);
82 nn::Result ClearRootCaSetting( void );
93 nn::Result SetPrivateClientCert(void);
109 nn::Result SetClientCert(u32 inClientCertId);
120 nn::Result SetApInfo(ApInfoType info);
138 nn::Result SetCfgInfo(CfgInfoType info);
152 nn::Result AddHeaderField(const char* pLabel, const char* pValue);
163 nn::Result SetLastModifiedTime(const char* pLastModifiedTime);
[all …]
Dboss_Task.h33 namespace nn {
61 nn::Result Initialize(const char* pTaskId);
76 inline nn::Result UpdateInterval(u32 interval){return UpdateIntervalWithSec(interval*60*60);} in UpdateInterval()
89 nn::Result UpdateIntervalWithSec(u32 intervalSec);
102 nn::Result UpdateCount(u32 count);
186 nn::Result Start(void);
205 nn::Result StartImmediate(void);
250 nn::Result StartBgImmediate(void);
266 nn::Result Cancel(void);
283 nn::Result WaitFinish(const nn::fnd::TimeSpan& timeout);
[all …]
Dboss_NsaList.h25 namespace nn {
126nn::Result Download(const char* bossCode, const char* taskId, const SearchAttributes* attributes =…
137 nn::Result Cancel(void);
215 nn::Result GetDigest(u8* pDigestBuf, size_t digestBufSize);
227 nn::Result RegisterWaitEvent(nn::os::Event* pEvent);
228 nn::Result UnregisterWaitEvent(nn::os::Event* pEvent);
229 nn::Result WaitFinishWaitEvent(void);
230 nn::Result WaitFinishWaitEvent(const nn::fnd::TimeSpan& timeout);
231 nn::Result WaitFinish(void);
232 nn::Result WaitFinish(const nn::fnd::TimeSpan& timeout);
[all …]
/CTR-SDK-4.2.5/include/nn/ulcd/CTR/
Dulcd_StereoCamera.h29 namespace nn {
53 StereoCamera(const nn::WithInitialize&);
84 void SetBaseFrustum(const nn::math::Matrix44 *proj);
109 void SetBaseCamera(const nn::math::Matrix34 *view);
122 void SetBaseCamera(const nn::math::Vector3 *position, const nn::math::Vector3 *rightDir,
123 const nn::math::Vector3 *upDir, const nn::math::Vector3 *targetDir);
147 void CalculateMatrices(nn::math::Matrix44* projL, nn::math::Matrix34* viewL,
148 nn::math::Matrix44* projR, nn::math::Matrix34* viewR,
150 … const nn::math::PivotDirection pivot = nn::math::PIVOT_UPSIDE_TO_TOP);
165 void CalculateMatricesReal(nn::math::Matrix44* projL, nn::math::Matrix34* viewL,
[all …]
/CTR-SDK-4.2.5/include/nn/uds/CTR/
Duds_Api.h28 namespace nn {
59 nn::Result Initialize( nn::os::Event* pStatusUpdateEvent, void* receiveBuffer, const size_t bufferS…
84 nn::Result Initialize( nn::os::Event* pStatusUpdateEvent, void* receiveBuffer, const size_t bufferS…
147 nn::Result CreateNetwork(
186 nn::Result CreateNetwork(
219 nn::Result CreateNetwork(
261 nn::Result CreateNetwork(
291 nn::Result Scan( void* pBuffer, size_t bufferSize, u8 subId, bit32 localId );
317 nn::Result Scan( void* pBuffer, size_t bufferSize, u8 subId, bit32 localId, u8 channel, u16 scanTim…
344 nn::Result ConnectNetwork(
[all …]
/CTR-SDK-4.2.5/include/nn/dlp/CTR/
Ddlp_FakeClient.h23 namespace nn {
70 …static nn::Result Initialize(u8 scanNum, nn::Handle eventHandle, void* pBuffer, const size_t buffe…
80 static nn::Result Finalize();
96 static nn::Result GetEventDesc(EventDesc* pEventDesc);
115 static nn::Result StartScan(u32 uniqueId, u8 childIndex, const u8* pMac = NULL);
127 static nn::Result StopScan();
146 static nn::Result GetServerInfo(ServerInfo* pServerInfo, const u8* pMac);
163 …static nn::Result GetTitleInfo(TitleInfo* pTitleInfo, const u8* pMac, u32 uniqueId, u8 childIndex);
183 static nn::Result GetTitleInfo(TitleInfo* pTitleInfo, bool isReset = false);
197 static nn::Result DeleteScanInfo(const u8* pMac);
[all …]
Ddlp_Server.h23 namespace nn {
95 static nn::Result Initialize(
97 nn::Handle eventHandle,
112 static nn::Result Finalize();
124 static nn::Result GetState(ServerState* pState);
141 static nn::Result GetEventDesc(EventDesc* pEventDesc);
157 static nn::Result OpenSessions(bool isManualAccept = false, u8 channel = 0);
175 static nn::Result AcceptClient(u16 nodeId);
191 static nn::Result DisconnectClient(u16 nodeId);
209 static nn::Result StartDistribute();
[all …]
/CTR-SDK-4.2.5/include/nn/dbg/CTR/
Ddbg_DirectPrint.h30 namespace nn { namespace dbg { namespace CTR {
83 void ChangeDisplaybuffer( void* dispbuf, GLenum format, const nn::math::VEC2& size );
145 … void Printf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* format, ... );
156 void Printf( const nn::math::VEC2& pos, const char* format, ... );
169 …void VPrintf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* format, va_li…
180 void VPrintf( const nn::math::VEC2& pos, const char* format, va_list v );
194 void PutString( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* str );
204 void PutString( const nn::math::VEC2& pos, const char* str );
213 void PutChar( const nn::math::VEC2& pos, bool fillBg, char c );
223 void PutChar( const nn::math::VEC2& pos, char c );
[all …]
/CTR-SDK-4.2.5/sources/libraries/init/
Dinit_Default.cpp24 class ExitHandler : public nn::srv::NotificationHandler
31 nn::svc::ExitProcess(); in HandleNotification()
46 const size_t assingment = nn::os::GetAppMemorySize(); in nninitStartUpDefault()
47 const size_t currentUsing = nn::os::GetUsingMemorySize(); in nninitStartUpDefault()
53 nn::os::SetupHeapForMemoryBlock(heapSize); in nninitStartUpDefault()
54 NN_UTIL_PANIC_IF_FAILED( nn::os::SetDeviceMemorySize( DEVICE_MEMORY_SIZE ) ); in nninitStartUpDefault()
56 nn::init::InitializeAllocator( 8 * 1024 * 1024 ); in nninitStartUpDefault()
60 nn::os::ManagedThread::InitializeEnvironment(); in nninitStartUpDefault()
61 nn::dbg::SetDefaultExceptionHandler(); in nninitStartUpDefault()
62 nn::dbg::SetDefaultBreakHandler(); in nninitStartUpDefault()
[all …]
/CTR-SDK-4.2.5/sources/libraries/test/
Dtest_Api.cpp19 namespace nn{ namespace test{ namespace
22 void PrintResult(nn::Result result) in PrintResult()
24nn::dbg::detail::TPrintf(" Level: %s (%d)\n", nn::dbg::detail::GetLevelString(result), … in PrintResult()
25nn::dbg::detail::TPrintf(" Summary: %s (%d)\n", nn::dbg::detail::GetSummaryString(result), … in PrintResult()
26nn::dbg::detail::TPrintf(" Module: %s (%d)\n", nn::dbg::detail::GetModuleString(result), … in PrintResult()
27nn::dbg::detail::TPrintf(" Description: %s (%d)\n", nn::dbg::detail::GetDescriptionString(result)… in PrintResult()
30 void PrintResult(nn::Result result)
32 nn::dbg::detail::TPrintf("Result:%08X\n", result.GetPrintableBits());
/CTR-SDK-4.2.5/include/nn/socket/
Dsocket_User.h31 namespace nn {
86 nn::Result AttachProcess( nn::Handle hSharedMemory, size_t size );
87 nn::Result Socket( s32* rval, s32 af, s32 type, s32 protocol );
88 nn::Result Listen( s32* rval, s32 s, s32 backlog );
89 nn::Result Accept( s32* rval, s32 s, u8 sockAddr[], size_t salen );
90 nn::Result Bind( s32* rval, s32 s, const u8 sockAddr[], size_t salen );
91 nn::Result Connect( s32* rval, s32 s, const u8 sockAddr[], size_t salen );
92nn::Result RecvFrom( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen );
93nn::Result RecvFromSmall( s32* rval, s32 s, u8 buf[], s32* len, s32 flags, u8 sockFrom[], size_t s…
94nn::Result SendTo( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_t…
[all …]

12345678910>>...28