Home
last modified time | relevance | path

Searched refs:s32 (Results 1 – 25 of 235) sorted by relevance

12345678910

/CTR-SDK-4.2.5/include/nn/socket/
Dsocket_IpcWrapper.h36 Result Socket( s32* rval, s32 af, s32 type, s32 protocol );
37 Result Listen( s32* rval, s32 s, s32 backlog );
38 Result Accept( s32* rval, s32 s, u8 sockAddr[], size_t salen );
39 Result Bind( s32* rval, s32 s, const u8 sockAddr[], size_t salen );
40 Result Connect( s32* rval, s32 s, const u8 sockAddr[], size_t salen );
41 Result RecvFrom( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen );
42 …Result RecvFromSmall( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen …
43 …Result SendTo( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_t sal…
44 …Result SendToSmall( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_…
45 …Result SendToSmallMulti( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], …
[all …]
Dsocket_User.h87 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 );
92 …nn::Result RecvFrom( s32* rval, s32 s, u8 buf[], s32 len, s32 flags, u8 sockFrom[], size_t salen );
93 …nn::Result RecvFromSmall( s32* rval, s32 s, u8 buf[], s32* len, s32 flags, u8 sockFrom[], size_t s…
94 …nn::Result SendTo( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], size_t…
95 …nn::Result SendToSmall( s32* rval, s32 s, const u8 buf[], s32 len, s32 flags, const u8 sockTo[], s…
96 nn::Result Close( s32* rval, s32 s );
[all …]
Dsocket_Const.h31 const s32 DNS_NAME_MAX = NN_SOCKET_DNS_NAME_MAX;
32 const s32 MAXDNAME = NN_SOCKET_MAXDNAME;
33 const s32 DNS_RESOLV_ADDRESS_MAX = NN_SOCKET_DNS_RESOLV_ADDRESS_MAX;
34 const s32 DNS_RESOLV_ALIASNAME_MAX = NN_SOCKET_DNS_RESOLV_ALIASNAME_MAX;
35 const s32 DNSSERVER_NUM_MAX = NN_SOCKET_DNSSERVER_NUM_MAX;
37 const s32 SOCKET_MAX_PER_PROCESS = 16;
38 const s32 INFTIM = -1;
42 const s32 SEND_TO_MULTI_ADDRESS_ARRAY_SIZE = 512;
43 …const s32 SEND_TO_MULTI_BUFFER_SIZE = COPY_OR_MAP_THRESHOLD - SEND_TO_MULTI_ADDRES…
/CTR-SDK-4.2.5/include/nn/fnd/
Dfnd_DateTime.h53 s32 year; //
94 … DateTime(s32 year, s32 month, s32 day, s32 hour=0, s32 minute=0, s32 second=0, s32 millisecond=0);
103 s32 GetYear() const;
112 s32 GetMonth() const;
121 s32 GetDay() const;
139 s32 GetHour() const;
148 s32 GetMinute() const;
157 s32 GetSecond() const;
166 s32 GetMilliSecond() const;
179 DateTime ReplaceYear(s32 year) const;
[all …]
/CTR-SDK-4.2.5/include/nn/net/compatible/nnet/
Dnnet_ring.h34 s32 len; /* Please see man pages for details */
42 s32 len; /* Please see man pages for details */
45 u8* NNET_RingIn ( u8* buf, s32 size, u8* head, s32 used, const u8* data, s32 len );
46 u8* NNET_RingInMbuf ( u8* buf, s32 size, u8* head, s32 used, NOSMessageBuf *mbuf, s32 len );
47 …NNET_RingInExMbuf( u8* buf, s32 size, u8* head, s32 used, s32 offset, NOSMessageBuf *mbuf, s32* pl…
48 u8* NNET_RingOut( u8* buf, s32 size, u8* head, s32 used, u8* data, s32 len );
49 int NNET_RingGet(u8* buf, s32 size, u8* head, s32 used, NNETVec* vec, s32 len);
50 int NNET_RingGetMbuf(u8* buf, s32 size, u8* head, s32 used, NOSMessageBuf *mbuf, s32 len);
51 u8* NNET_RingPut( u8* buf, s32 size, u8* head, s32 used, s32 len );
Dnnet.h34 #define NNET_ERROR_CODE(code) ((s32)(NNET_ERROR_BASE|(code)))
77s32 (* startup) (struct NNETInstance *ins, s32 timeout); /* Please see man pages for details */
78s32 (* cleanup) (struct NNETInstance *ins, s32 timeout); /* Please see man pages for details */
79s32 (* abort) (struct NNETInstance *ins); /* Please see man pages for details */
90 s32 mtu; /* Please see man pages for details */
102s32 (* eth_send) (NNETInstance *ins, u8 *dstMAC, NOSMessageBuf *mbuf); /* Please see man…
103s32 (* eth_receive) (NNETInstance *ins, u32 receive_id, NOSMessageBuf **mbuf); /* Please see man…
104s32 (* eth_setupper) (NNETInstance *ins, NNETInstance *upper_ins, u32 *receive_id, u16 list[]); /*…
105s32 (* eth_clearupper) (NNETInstance *ins, NNETInstance *upper_ins); /* Please see man…
107s32 (* eth_getmacaddr) (NNETInstance *ins, u8 *mac); /* Please see man…
[all …]
/CTR-SDK-4.2.5/sources/libraries/fnd/
Dfnd_DateTime.cpp24 static const s32 MILLISECONDS_DAY = 1000 * 60 * 60 * 24;
26 inline s32 Modulo32(s32 a, s32 b) in Modulo32()
31 inline s32 AlignedDays(s64 milliSeconds) in AlignedDays()
37 inline s32 MilliSecondsOnDay(s64 milliSeconds) in MilliSecondsOnDay()
49 s32 DateTime::IsLeapYear(s32 year) in IsLeapYear()
69 bool DateTime::IsValidDate(s32 year, s32 month, s32 day) in IsValidDate()
71 const s32 monthdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in IsValidDate()
85 s32 mdays; in IsValidDate()
98 …bool DateTime::IsValidParameters(s32 year, s32 month, s32 day, s32 hour, s32 minute, s32 second, s… in IsValidParameters()
124 s32 DateTime::DateToDays(s32 year, s32 month, s32 day) in DateToDays()
[all …]
/CTR-SDK-4.2.5/include/nn/os/
Dos_Semaphore.h72 Semaphore(s32 initialCount, s32 maxCount);
88 void Initialize(s32 initialCount, s32 maxCount);
98 nn::Result TryInitialize(s32 initialCount, s32 maxCount);
123 s32 Release(s32 releaseCount = 1);
153 static s32 GetCurrentCount();
160 static s32 GetMaxCount();
166 Result TryInitializeImpl(s32 initialCount, s32 maxCount);
170 inline Result Semaphore::TryInitializeImpl(s32 initialCount, s32 maxCount) in TryInitializeImpl()
178 inline void Semaphore::Initialize(s32 initialCount, s32 maxCount) in Initialize()
183 inline nn::Result Semaphore::TryInitialize(s32 initialCount, s32 maxCount) in TryInitialize()
[all …]
Dos_LightSemaphore.h56 static const s32 MAX_MAX_COUNT = 0x7fff;
61 bool operator()(s32& x) in operator()
76 s32 max;
77 s32 value;
78 s32 beforeUpdate;
80 bool operator()(s32& x) in operator()
103 fnd::InterlockedVariable<s32> m_NumWaiting;
134 LightSemaphore(s32 initialCount, s32 maxCount) { Initialize(initialCount, maxCount); } in LightSemaphore()
136 LightSemaphore(s32 initialCount) { Initialize(initialCount); } in LightSemaphore()
148 void Initialize(s32 initialCount, s32 maxCount) in Initialize()
[all …]
Dos_Thread.h79 s32 ConvertSvcToLibraryPriority(s32 svc);
80 s32 ConvertLibraryToSvcPriority(s32 lib);
87 const s32 LOWEST_THREAD_PRIORITY = NN_OS_LOWEST_THREAD_PRIORITY;
92 const s32 HIGHEST_THREAD_PRIORITY = NN_OS_HIGHEST_THREAD_PRIORITY;
97 const s32 DEFAULT_THREAD_PRIORITY = NN_OS_DEFAULT_THREAD_PRIORITY;
102 const s32 CORE_NO_ALL = NN_OS_CORE_NO_ALL;
107 const s32 CORE_NO_USE_PROCESS_VALUE = NN_OS_CORE_NO_USE_PROCESS_VALUE;
109 const s32 THREAD_PRIORITY_RANGE_SIZE = NN_OS_THREAD_PRIORITY_RANGE_SIZE;
204 …void Start(void (*f)(), Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo = CORE_NO…
227 …void Start(void (*f)(T), U param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo…
[all …]
Dos_ManagedThread.h67 static const s32 PRIORITY_DEFAULT = DEFAULT_THREAD_PRIORITY;
68 static const s32 CORE_NO_DEFAULT = CORE_NO_USE_PROCESS_VALUE;
152 … (void (*f)(T), U param , Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
170 … (void (*f)(T*), const T& param, Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
188 … (void (*f)(const T*), const T& param, Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
204 … (void (*f)(), Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
222 … (void (*f)(T), U param, Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
238 … (void (*f)(T*), const T& param, Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
254 … (void (*f)(const T*), const T& param, Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
268 … (void (*f)(), Stack& stack, s32 priority = PRIORITY_DEFAULT, s32 cor…
[all …]
Dos_Synchronization.h90 static void WaitAll(WaitObject* objs[], s32 numObjects);
102 static bool WaitAll(WaitObject* objs[], s32 numObjects, nn::fnd::TimeSpan timeout);
113 static s32 WaitAny(WaitObject* objs[], s32 numObjects);
125 static s32 WaitAny(WaitObject* objs[], s32 numObjects, nn::fnd::TimeSpan timeout);
136 …static nn::Result WaitMultiple(s32* pOut, WaitObject* objs[], s32 numObjects, bool waitAll, s64 na…
158 s32 dummy; in WaitOneImpl()
175 inline bool WaitObject::WaitAll(WaitObject* objs[], s32 numObjects, nn::fnd::TimeSpan timeout) in WaitAll()
177 s32 dummy; in WaitAll()
183 inline void WaitObject::WaitAll(WaitObject* objs[], s32 numObjects) in WaitAll()
185 s32 dummy; in WaitAll()
[all …]
/CTR-SDK-4.2.5/include/nn/net/compatible/nhttp/
Dnhttp.h37 #define NHTTP_ER_CODE(code) ((s32)(NHTTP_ER_BASE|(code)))
182 typedef s32 NHTTPConnectionHandle; /* Please see man pages for details */
187 typedef s32 (*NHTTPConnectionCallback)(NHTTPConnectionHandle handle, NHTTPConnectionEvent event, vo…
244 s32 NHTTP_Startup(const NHTTPConfig *config);
245 s32 NHTTP_Cleanup(void);
252 s32 NHTTP_ClearDnsCaches(void);
256 s32 NHTTP_DestroyConnection(NHTTPConnectionHandle handle);
257 s32 NHTTP_StartConnection(NHTTPConnectionHandle handle);
258 s32 NHTTP_StartConnectionAsync(NHTTPConnectionHandle handle);
259 s32 NHTTP_CancelConnection(NHTTPConnectionHandle handle);
[all …]
/CTR-SDK-4.2.5/include/nn/snd/CTR/MPCore/
Dsnd_FxReverb.h346 s32* m_EarlyReflection[4]; // For first reflection
347 s32* m_PreDelay[4]; // For pre-delay
348 s32* m_CombFilter[4][2]; // For comb filter (2-stage)
349 s32* m_AllPassFilter[4]; // For all-pass filter (1-stage)
350 s32 m_Lpf[4]; // For LPF
366 s32 m_EarlyLength;
367 s32 m_EarlyPos;
369 s32 m_PreDelayLength;
370 s32 m_PreDelayPos;
372 s32 m_CombFilterLength[2];
[all …]
Dsnd_Api.h37 static const s32 NN_SND_DSP_MAXIMUM_CYCLES = 622535;
79 s32 prio,
80 s32 coreNo = NN_OS_CORE_NO_USE_PROCESS_VALUE
86 nn::Result StartUserSoundThread(uptr stackBuffer, size_t stackSize, s32 prio);
98 s32 coreNo
206 s32 GetSampleLength( s32 size, SampleFormat format, s32 channelCount ) ;
360 void SetMaximumDspCycles( s32 cycles );
367 s32 GetMaximumDspCycles();
374 s32 GetDspCycles();
423 bool GetMixedBusData(s16* pData, s32 nSamplesPerFrame = NN_SND_SAMPLES_PER_FRAME);
[all …]
/CTR-SDK-4.2.5/include/nn/fnd/ARMv6/
Dfnd_Interlocked.h55 …me T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == sizeof(s32)>::type>
57 typedef s32 Type;
71 static s32 CompareAndSwap(s32* pTarget, s32 comp, s32 swap);
72 static s32 Swap(s32* pTarget, s32 value);
73 static s32 Increment(s32* pTarget);
74 static s32 Decrement(s32* pTarget);
75 static s32 Add(s32* pTarget, s32 value);
76 static s32 Substract(s32* pTarget, s32 value);
77 static s32 BitwiseOr(s32* pTarget, s32 value);
78 static s32 BitwiseAnd(s32* pTarget, s32 value);
[all …]
/CTR-SDK-4.2.5/include/nn/net/compatible/
Dpeth.h38 #define PETH_ERROR_CODE(code) ((s32)(PETH_ERROR_BASE|(code)))
55 #define PETH_MEM_NAME(name) ((s32)(PETH_MEM_BASE|(name)))
99 s32 upper_protocol_count;
103 s32 upper_ins_count;
105 s32 state;
133 extern s32 PETH_Init(const NNETAllocator *allocator);
134 extern s32 PETH_Finish(void);
135 extern s32 PETH_StartupIns(NNETInstance *ins, s32 timeout);
136 extern s32 PETH_CleanupIns(NNETInstance *ins, s32 timeout);
137 extern s32 PETH_AbortIns(NNETInstance *ins);
[all …]
Dhioeth.h40 #define HIOETH_ERROR_CODE(code) ((s32)(HIOETH_ERROR_BASE | (code)))
59 #define HIOETH_MEM_NAME(name) ((s32)(HIOETH_MEM_BASE | (name)))
101 s32 upper_ins_count;
103 s32 state;
104 s32 handleHostToTarget;
105 s32 handleTargetToHost;
139 extern s32 HIOETH_Init(const NNETAllocator* allocator);
140 extern s32 HIOETH_Finish(void);
141 extern s32 HIOETH_StartupIns(NNETInstance* ins, s32 timeout);
142 extern s32 HIOETH_CleanupIns(NNETInstance* ins, s32 timeout);
[all …]
/CTR-SDK-4.2.5/include/nn/gr/CTR/
Dgr_Scissor.h59 …Scissor( bool isEnable_, s32 x_, s32 y_, u32 width_, u32 height_, s32 bufferWidth_, s32 bufferHeig… in Scissor()
90 const s32 colorBufferWidth, in MakeDisableCommand()
91 const s32 colorBufferHeight ) in MakeDisableCommand()
93 s32 temp_width = colorBufferWidth - 1; in MakeDisableCommand()
94 s32 temp_height = colorBufferHeight - 1; in MakeDisableCommand()
114 void Set( s32 x_, s32 y_, u32 width_, u32 height_ ) in Set()
125 void SetBufferSize( s32 bufferWidth_, s32 bufferHeight_ ) in SetBufferSize()
140 s32 x;
145 s32 y;
160 s32 bufferWidth;
[all …]
/CTR-SDK-4.2.5/include/nn/hio/CTR/
Dhio_Api.h76 s32 GetVersion();
213 Result GetCurrentDirectory(s32* pLength, char* buf, s32 length);
231 Result GetCurrentDirectory(s32* pLength, wchar_t* buf, s32 length);
246 s32 GetCurrentDirectory(char* buf, s32 length);
262 s32 GetCurrentDirectory(wchar_t* buf, s32 length);
309 Result GetEnvironmentVariable(s32* pLength, char* buf, s32 length, const char* name);
326 s32 GetEnvironmentVariable(char* buf, size_t length, const char* name);
348 Result GetEnvironmentVariable(s32* pLength, wchar_t* buf, s32 length, const wchar_t* name);
367 s32 GetEnvironmentVariable(wchar_t* buf, s32 length, const wchar_t* name);
/CTR-SDK-4.2.5/include/nn/net/compatible/nssl/
Dnssl.h50 #define NSSL_ERROR_CODE(code) ((s32)(NSSL_ERROR_BASE|(code)))
139 typedef s32 NSSLId; /* Please see man pages for details */
140 typedef s32 NSSLCertId; /* Please see man pages for details */
141 typedef s32 NSSLCertStoreId; /* Please see man pages for details */
142 typedef s32 NSSLCRLId; /* Please see man pages for details */
143 typedef s32 NSSLCRLStoreId; /* Please see man pages for details */
164 s32 NSSL_Init ( const NSSLConfig* config );
165 s32 NSSL_Finish ( void );
167 s32 NSSL_DoHandshake ( NSSLId sslId );
168 s32 NSSL_DoHandshakeEx ( NSSLId sslId, char* serverCertData, size_t serverCertSize, u…
[all …]
/CTR-SDK-4.2.5/include/nn/gd/CTR/
Dgd_Memory.h166 s32 m_PosX;
173 s32 m_PosY;
180 s32 m_Width;
187 s32 m_Height;
195 Rect(s32 x, s32 y, s32 w, s32 h): m_PosX(x), m_PosY(y), m_Width(w), m_Height(h) {} in Rect()
241 …ClearTexture2DResource(const Texture2DResource* tex2DResource, s32 mipLevelIndexStart, s32 mipLeve…
285 …ClearTexture2DResource(const Texture2DResource* tex2DResource, s32 mipLevelIndexStart, s32 mipLeve…
383 …static nnResult CopyTextureSubResource(const Texture2DResource* source, s32 srcMipLevelIndex, cons…
384 const Texture2DResource* dest, s32 dstMipLevelIndex, s32 destPosX, s32 destPosY);
511 …DResourceBlockToLinear(const Texture2DResource* source, s32 srcMipLevelIndex, u32 srcOffsetY, s32
[all …]
/CTR-SDK-4.2.5/sources/libraries/fnd/ARMv6/
Dfnd_Interlocked.cpp28 asm s32 Interlocked::CompareAndSwap(s32* pTarget NN_IS_UNUSED_VAR, s32 comp NN_IS_UNUSED_VAR, s32 s… in CompareAndSwap()
53 asm s32 Interlocked::Swap(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in Swap()
68 asm s32 Interlocked::Increment(s32* pTarget NN_IS_UNUSED_VAR) in Increment()
84 asm s32 Interlocked::Decrement(s32* pTarget NN_IS_UNUSED_VAR) in Decrement()
100 asm s32 Interlocked::Add(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in Add()
116 asm s32 Interlocked::Substract(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in Substract()
132 asm s32 Interlocked::BitwiseOr(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in BitwiseOr()
148 asm s32 Interlocked::BitwiseAnd(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in BitwiseAnd()
164 asm s32 Interlocked::BitwiseXor(s32* pTarget NN_IS_UNUSED_VAR, s32 value NN_IS_UNUSED_VAR) in BitwiseXor()
180 asm s32 Interlocked::BitwiseNot(s32* pTarget NN_IS_UNUSED_VAR) in BitwiseNot()
/CTR-SDK-4.2.5/include/nn/cx/
Dcx_StreamingUncompression.h37 s32 destCount; //
38 s32 forceDestCount; //
51 s32 destCount; //
52 s32 forceDestCount; //
53 s32 length; //
69 s32 destCount; //
70 s32 forceDestCount; //
90 s32 destCount; //
91 s32 forceDestCount; //
95 s32 tableSize9; //
[all …]
/CTR-SDK-4.2.5/include/nn/nstd/
Dnstd_Printf.h34 s32 TVSNPrintf(char *dst, size_t len, const char *fmt, va_list vlist);
48 s32 TVSNPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, va_list vlist);
59 s32 TSNPrintf(char *dst, size_t len, const char *fmt, ...);
73 s32 TSNPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, ...);
83 s32 TSPrintf(char *dst, const char *fmt, ...);
96 s32 TSPrintf(wchar_t *dst, const wchar_t *fmt, ...);
106 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);
[all …]

12345678910