Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 25 of 243) sorted by relevance

12345678910

/CTR-SDK-4.2.5/include/nn/socket/
Dsocket_Stat.autogen.h33 u32 inUcastPkts; //
34 u32 inNUcastPkts; //
35 u32 inDiscards; //
36 u32 inErrors; //
37 u32 inUnknownProtos; //
38 u32 outUcastPkts; //
40 u32 outNUcastPkts; //
41 u32 outDiscards; //
42 u32 outErrors; //
43 u32 outCollisions; //
[all …]
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Misccellaneous.h26 template <u32 MUL, u32 DIV>
32 template <u32 MUL, u32 DIV>
35 static const u32 VALUE = static_cast<u32>( (static_cast<u64>(MUL) << 32) / DIV );
54 const u32 r_lo = (u32)(rate >> 0); in nnmathMultiplyAndDivide()
56 const u32 x_lo = (u32)(x >> 0); 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()
85 return (u32)( ((u64)(mul) << 32) / div ); in nnmathMakeRate32()
90 const u32 r_hi = (u32)(rate >> 32); in nnmathMultiplyRate()
91 const u32 r_lo = (u32)(rate >> 0); in nnmathMultiplyRate()
[all …]
Dmath_Arithmetic.h47 inline u32
50 return *reinterpret_cast<u32*>(&x); in F32AsU32()
63 U32AsF32(u32 x) in U32AsF32()
95 u32 u = (F32AsU32(f) & 0x807FFFFF) | 0x3F800000; in FGetMantPart()
495 u32 CntBit1(u32 x);
496 u32 CntBit1(const u32* first, const u32* last);
497 u32 DistBit(const u32* first1, const u32* last1, const u32* first2);
498 u32 RevBit(u32 x);
499 int IExp(int x, u32 n);
500 u32 ILog10(u32 x);
[all …]
/CTR-SDK-4.2.5/include/nn/cec/CTR/
Dcec_MessageBoxInfoReader.h109 u32 m_currentCecTitleId;
152 u32 GetBoxSizeMax(CecBoxType boxType);
159 u32 GetBoxSize(CecBoxType boxType);
166 u32 GetMessNumMax(CecBoxType boxType);
173 u32 GetMessNum(CecBoxType boxType);
175 u32 GetGroupNumMax(CecBoxType boxType);
178 CecMessageHeader* GetCecMessageHeader(CecBoxType boxType, u32 messIndex);
191 u32 GetMessageMessSize(CecBoxType boxType, u32 messIndex);
199 u32 GetMessageBodySize(CecBoxType boxType, u32 messIndex);
207 u32 GetMessageGroupId(CecBoxType boxType, u32 messIndex);
[all …]
Dcec_MessageBox.h98 static const u32 CEC_BOX_VERSION = 0x00000001;
103 u32 CecBoxVersion;
104 u32 DirNum;
114 u32 cecTitleId; // Title specific ID
115u32 privateId; // Specific ID assigned by application. It is the key for access.
120 u32 MessageBoxInfoSize; // MessageBoxInfo size (bytes)
156 u32 boxInfoSize; // BoxInfo size
157 u32 boxSizeMax; // MessageBox size (bytes) maximum value
158 u32 boxSize; // MessageBox size (used volume) (bytes)
159 u32 messNumMax; // Maximum number of messages that can be stored in the box
[all …]
Dcec_CecAPI.h46 Result Open(u32 cecTitleId, u32 dataType, u32 option, size_t* filesize);
48 …Result ReadMessage(u32 cecTitleId, u8 in_or_out_box, const u8 pMessId[], size_t messIdLen, size_t*…
49 …Result ReadMessageWithHmac(u32 cecTitleId, u8 in_or_out_box, const u8 pMessId[], size_t messIdLen,…
51 …Result WriteMessage(u32 cecTitleId, u8 in_or_out_box, u8 pMessId[], size_t messIdLen, const u8 pWr…
52 …Result WriteMessageWithHmac(u32 cecTitleId, u8 in_or_out_box, u8 pMessId[], size_t messIdLen, cons…
53 …Result Delete(u32 cecTitleId, u32 dataType, u8 in_or_out_box, const u8 pMessId[], size_t messIdLen…
55 nn::Result SetData(u32 cecTitleId, const u8 pData[], size_t len, u32 option);
56 …nn::Result ReadData(u8 pReadBuf[], size_t len, u32 option , const u8 optionData[], size_t optionDa…
58 Result Start(u32 option);
59 Result Stop(u32 option);
[all …]
Dcec_Cec.h73 static nn::Result Open( u32 cecTitleId, u32 dataType, u32 option, size_t* filesize );
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_…
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 );
82 …static nn::Result ReadData( u8 pReadBuf[], size_t len, u32 option, const u8 optionData[], size_t o…
83 static nn::Result Start( u32 option );
84 static nn::Result Stop( u32 option );
[all …]
Dcec_CecSys.h75 static nn::Result Open( u32 cecTitleId, u32 dataType, u32 option, size_t* filesize );
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_…
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 );
84 …static nn::Result ReadData( u8 pReadBuf[], size_t len, u32 option, const u8 optionData[], size_t o…
85 static nn::Result Start( u32 option );
86 static nn::Result Stop( u32 option );
[all …]
/CTR-SDK-4.2.5/include/nn/font/CTR/
Dfont_RectDrawer.h76 static u32 GetVertexBufferCommandBufferSize(
78 u32 size);
90 static u32 GetVertexBufferSize();
99 static u32 GetCommandBufferSize(
101 u32 size);
138 u32 size);
156 u32 size);
176 virtual void DrawBegin(u32 flag = 0);
186 virtual void DrawEnd(u32 flag = 0);
230 static u32 SetUniformCommand( in SetUniformCommand()
[all …]
/CTR-SDK-4.2.5/sources/libraries/cx/
Dcx_SecureUncompression.cpp45 s32 SecureUncompressAny( const void* srcp, u32 srcSize, void* destp ) in SecureUncompressAny()
94 s32 SecureUncompressRL( const void *srcp, u32 srcSize, void *destp ) in SecureUncompressRL()
102 u32 destCount = internal::Read32Le(pSrc) >> 8; in SecureUncompressRL()
135 u32 length = flags & 0x7f; in SecureUncompressRL()
221 s32 SecureUncompressLZ( const void *srcp, u32 srcSize, void *destp ) in SecureUncompressLZ()
229 u32 destCount = internal::Read32Le(pSrc) >> 8; in SecureUncompressLZ()
263 u32 i; in SecureUncompressLZ()
264 u32 flags = *pSrc++; in SecureUncompressLZ()
283 u32 length = (*pSrc >> 4); in SecureUncompressLZ()
370 const u32 FLAGS_ARRAY_NUM = 512 / 8; /* 64 Bytes */ in VerifyHuffmanTable()
[all …]
Dcx_Uncompression.cpp32 u32 GetUncompressedSize(const void* pData) in GetUncompressedSize()
38 u32 size = internal::Read32Le(p) >> 8; in GetUncompressedSize()
119 u32 destCount = internal::Read32Le(pSrc) >> 8; in UncompressRL()
131 u32 length = flags & 0x7fU; in UncompressRL()
201 u32 destCount = internal::Read32Le(pSrc) >> 8; in UncompressLZ()
214 u32 flags = *pSrc++; in UncompressLZ()
224 u32 length = (*pSrc >> 4); in UncompressLZ()
322 NN_CX_CHECK_ALIGN(srcp, sizeof(u32)); in UncompressHuffman()
323 NN_CX_CHECK_ALIGN(destp, sizeof(u32)); in UncompressHuffman()
326 const u32 *pSrc = static_cast<const u32*>(srcp); in UncompressHuffman()
[all …]
/CTR-SDK-4.2.5/include/nn/font/
Dfont_ArchiveFontBase.h51 u32 GetRemain() const;
57 void Advance(u32 dx);
66 u32 size);
75 u32 size);
86 u32 size);
94 u32 ManagedCopy(ConstructContext* pContext);
110 const void* Get(u32 size);
119 u32 streamSize);
130 u32 size);
136 u32 GetOffset() const;
[all …]
/CTR-SDK-4.2.5/include/nn/boss/
Dboss_Types.h46 u32 targetDuration; //
47 u32 execInterval; //
48 u32 execCount; //
60 u32 param1; //
61 u32 param2; //
85 u32 execSerialId; //
86 u32 offset; //
101 u32 rootCA[MAX_ROOT_CA]; //
102 u32 clientCert[MAX_CLIENT_CERT];//
103 u32 rootCANum; //
[all …]
Dboss_Const.h35 static const u32 MAX_FILEPATH_LENGTH = 256; //
36 static const u32 MAX_URL_LENGTH = 512; //
37 static const u32 MAX_HTTP_HEADER_LABEL = 32; //
38 static const u32 MAX_HTTP_HEADER_VALUE = 256; //
39 static const u32 MAX_HTTP_HEADER = 3; //
40 static const u32 MAX_HTTP_QUERY_NAME = 15; //
41 static const u32 MAX_HTTP_QUERY_VALUE = 16; //
42 static const u32 MAX_HTTP_QUERY = 3; //
43 static const u32 MAX_ROOT_CA = 3; //
44 static const u32 MAX_CLIENT_CERT = 1; //
[all …]
/CTR-SDK-4.2.5/include/nn/dsp/CTR/Common/
Ddsp_Types.h42 typedef u32 DSPWord32; // This type expresses a size in the DSP (2 bytes, 1 word)
43 typedef u32 DSPByte32; // This type expresses a single-byte unit in the DSP (1 byte, 1 word)
44 typedef u32 DSPAddrInARM; // This type has converted DSP addresses into bytes
47 #define NN_DSP_ADDR_TO_ARM(address) (u32)((address) << 1)
48 #define NN_DSP_ADDR_TO_DSP(address) (u16)((u32)(address) >> 1)
51 #define NN_DSP_WORD_TO_ARM32(word) (u32)((word) << 1)
52 #define NN_DSP_WORD_TO_DSP32(word) (u32)((word) >> 1)
53 #define NN_DSP_32BIT_TO_ARM(value) (u32)(((u32)(value) >> 16) | ((u32)(value) << 16))
54 #define NN_DSP_32BIT_TO_DSP(value) (u32)(((u32)(value) >> 16) | ((u32)(value) << 16))
/CTR-SDK-4.2.5/include/nn/gr/CTR/
Dgr_ProcedureTexture.h34 static const u32 PROCTEX_LOOKUP_TABLE_ELEMENT_NUM = 128; //
35 static const u32 PROCTEX_COLOR_LOOKUP_TABLE_ELEMENT_NUM = 256; //
175 const u32 lookUpTableIndex = 0,
187 const u32 lookUpTableIndex = 0 );
197 const u32 lookUpTableIndex = 0,
209 const u32 lookUpTableIndex = 0 );
219 const u32 lookUpTableIndex = 0,
231 const u32 lookUpTableIndex = 0 );
240 const u32 lookUpTableIndex = 0 );
252 const u32 lookUpTableIndex = 0,
[all …]
/CTR-SDK-4.2.5/include/nn/util/
Dutil_Float24.h45 static u32 Float32ToBits32(f32 value) in Float32ToBits32()
47 return *reinterpret_cast<u32*>(&value); in Float32ToBits32()
57 static f32 Bits32ToFloat32(u32 value) in Bits32ToFloat32()
85 /* implicit */ Float24( u32 bits24 ) in Float24()
98 u32 GetFloat24Value() const { return Float32ToBits24( m_Float32 ); } in GetFloat24Value()
101 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; }
125 static f32 Bits24ToFloat32(u32 bits24) in Bits24ToFloat32()
127 u32 sign = bits24 & SIGN24; in Bits24ToFloat32()
129 u32 fraction = bits24 & FRACTION_MASK24; in Bits24ToFloat32()
131 u32 bits32 = 0; in Bits24ToFloat32()
[all …]
Dutil_Crc.h241 void InitializeContext(u32 context = CRC32_STANDARD_INIT);
250 u32 GetHash();
263 static u32 Calculate(const void* input, size_t length, u32 context = CRC32_STANDARD_INIT);
267 …static const u32 CRC32_STANDARD_POLY = 0xedb88320; // Items that execute bit inversion also inver…
270 static const u32 CRC32_STANDARD_INIT = 0xffffffff;
273 typedef u32 Context;
278 u32 table[CRC_TABLE_SIZE];
290 void InitializeTable(u32 poly);
308 void InitializeContext(u32 context = CRC32_POSIX_INIT);
317 u32 GetHash();
[all …]
/CTR-SDK-4.2.5/include/nn/net/compatible/nhttp/
Dnhttp.h178 typedef void *(*NHTTPAlloc) (u32 name, u32 size, u32 align); /* Please see man pages for details */
179 typedef void (*NHTTPFree) (u32 name, void *ptr); /* Please see man pages for details */
200 u32 threadPrio; /* Please see man pages for details */
201 u32 threadNum; /* Please see man pages for details */
202 u32 queueDepth; /* Please see man pages for details */
203 u32 singleHostMax; /* Please see man pages for details */
213 u32 size; /* Please see man pages for details */
214 u32 offset; /* Please see man pages for details */
223 u32 size; /* Please see man pages for details */
224 u32 offset; /* Please see man pages for details */
[all …]
/CTR-SDK-4.2.5/include/nn/cfg/CTR/
Dcfg_UserInfo.h74 const u32 CFG_SIMPLE_ADDRESS_ID_COUNTRY_MASK = 0xffU << CFG_SIMPLE_ADDRESS_ID_COUNTRY_SH…
78 const u32 CFG_SIMPLE_ADDRESS_ID_REGION_MASK = 0xffU << CFG_SIMPLE_ADDRESS_ID_REGION_SHI…
82 const u32 CFG_SIMPLE_ADDRESS_ID_RESERVED_MASK = 0x0000ffff;
87 const u32 CFG_SIMPLE_ADDRESS_ID_NOT_DEFINED = 0xffffffff;
91 const u32 CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED = 0x00U << CFG_SIMPLE_ADDRESS_ID_COUNTRY_SH…
95 const u32 CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED2 = 0xffU << CFG_SIMPLE_ADDRESS_ID_COUNTRY_SHI…
99 const u32 CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED = 0x00U << CFG_SIMPLE_ADDRESS_ID_REGION_SHIF…
103 const u32 CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED2 = 0xffU << CFG_SIMPLE_ADDRESS_ID_REGION_SHIF…
117 const u32 CFG_SIMPLE_ADDRESS_WORKMEMORY_SIZE = 256 * 1024;
130 u32 id; //
[all …]
/CTR-SDK-4.2.5/include/nn/snd/CTR/Common/
Dsnd_Bcwav.h43 u32 offset;
48 u32 size;
54 u32 count;
61 u32 signature; // Always 'CWAV'
64 u32 version;
65 u32 fileSize;
85 u32 kind; // 'INFO' or 'DATA'
86 u32 size;
97 u32 sampleRate; //
98 u32 loopStartFrame; //
[all …]
/CTR-SDK-4.2.5/sources/libraries/gr/CTR/
Dgr_ProcedureTexture.cpp26 const u32 lookUpTableIndex, in SetNoiseLookUpTable()
37 const u32 lookUpTableIndex ) in SetNoiseLookUpTable()
44 const u32 lookUpTableIndex, in SetRgbMapLookUpTable()
55 const u32 lookUpTableIndex ) in SetRgbMapLookUpTable()
62 const u32 lookUpTableIndex, in SetAlphaMapLookUpTable()
73 const u32 lookUpTableIndex ) in SetAlphaMapLookUpTable()
80 const u32 lookUpTableIndex ) in SetRedLookUpTable()
87 … const u32 lookUpTableIndex, const u32 diffLookUpTableIndex ) in SetRedLookUpTable()
94 const u32 lookUpTableIndex ) in SetGreenLookUpTable()
101 … const u32 lookUpTableIndex, const u32 diffLookUpTableIndex ) in SetGreenLookUpTable()
[all …]
/CTR-SDK-4.2.5/sources/libraries/fnd/detail/
Dfnd_DetailHeap.h86 u32 userParam);
120 u32 size,
170 u32 size,
186 inline void* AllocFromCurrentHeap(u32 size, int alignment = NN_OS_HEAP_DEFAULT_ALIGNMENT)
226 u32 ResizeForMBlockHeap(
229 u32 size);
238 u32 GetTotalFreeSizeForHeap(
252 u32 GetAllocatableSizeForHeap(
326 u32 userParam);
335 u32 GetSizeForMBlockHeap(
[all …]
Dfnd_DetailHeapCommonImpl.h31 typedef u32 NNSiUIntPtr; // unsigned integer type mutually convertible with void* pointer
99 u32 maskBits = (u32)((1 <<(bits)) -1); \
100 u32 newVal = (val) & maskBits; /* mask for safety */ \
121 inline u32
128 AddU32ToPtr(void* ptr, u32 val) in AddU32ToPtr()
134 AddU32ToCPtr(const void* ptr, u32 val) in AddU32ToCPtr()
140 SubU32ToPtr(void* ptr, u32 val) in SubU32ToPtr()
146 SubU32ToCPtr(const void* ptr, u32 val) in SubU32ToCPtr()
183 inline void MI_CpuFill32(void* dest, u32 data, u32 size) in MI_CpuFill32()
185 u32* pDest = reinterpret_cast<u32*>(dest); in MI_CpuFill32()
[all …]
/CTR-SDK-4.2.5/include/nn/gd/CTR/
Dgd_System.h295 static void ForceDirty(u32 flag);
310 static void SetDefault(u32 flag);
329 static void FlushDirtyModule(u32 flag);
342 static void Draw(u32 vertexCount, u32 startVertexLocation);
355 static void DrawIndexed(u32 indexCount, u32 startIndexLocation);
392 …static void DrawImmediate(u32 vertexCount, u32 startVertexLocation, void** vertexBuffers, u32* off…
447 …d(u32 indexCount, u32 startIndexLocation, void** vertexBuffers, u32* offsets, void* indexBuffer, n…
548 …static nnResult StartRecordingPackets(u32* forceDirtyModuleFlag, RecordingPacketUsage usage = RECO…
583 static nnResult GetCommandBufferOffset(u32* offset);
623 … static nnResult GetCommandBufferBaseAddress(RecordedPacketId* packetId, u32** commandBufferAddr);
[all …]

12345678910