Home
last modified time | relevance | path

Searched refs:bit32 (Results 1 – 25 of 125) sorted by relevance

12345

/CTR-SDK-4.2.5/include/nn/gr/CTR/
Dgr_Shader.h111 bit32* MakeFullCommand( bit32* command ) const;
125bit32* MakeShaderCommand( bit32* command, const bool isMakePrepareCommand = true ) const;
134 static bit32* MakeDisableCommand( bit32* command );
145 bit32* MakeVtxBoolMapCommand( bit32* command ) const in MakeVtxBoolMapCommand()
159 bit32* MakeGeoBoolMapCommand( bit32* command ) const in MakeGeoBoolMapCommand()
174 bit32* MakePrepareCommand( bit32* command ) const;
184 bit32* MakeVtxProgramCommand( bit32* command ) const;
195 bit32* MakeGeoProgramCommand( bit32* command ) const;
205 bit32* MakeVtxSwizzleCommand( bit32* command ) const in MakeVtxSwizzleCommand()
220 bit32* MakeGeoSwizzleCommand( bit32* command ) const in MakeGeoSwizzleCommand()
[all …]
Dgr_ShaderLite.h53 …const void* shader_binary, const s32 vtx_shader_index, const s32 geo_shader_index, bit32* buffer );
112 bit32* MakeFullCommand( bit32* command ) const;
126bit32* MakeShaderCommand( bit32* command, const bool isMakePrepareCommand = true ) const;
135 static bit32* MakeDisableCommand( bit32* command );
146 bit32* MakeVtxBoolMapCommand( bit32* command ) const in MakeVtxBoolMapCommand()
160 bit32* MakeGeoBoolMapCommand( bit32* command ) const in MakeGeoBoolMapCommand()
175 bit32* MakePrepareCommand( bit32* command ) const;
185 bit32* MakeVtxProgramCommand( bit32* command ) const;
196 bit32* MakeGeoProgramCommand( bit32* command ) const;
206 bit32* MakeVtxSwizzleCommand( bit32* command ) const in MakeVtxSwizzleCommand()
[all …]
Dgr_RenderState.h101 bit32* MakeCommand( bit32* command, bool isUpdateFBAccess = true ) const;
112 … static bit32* MakeDisableCommand( bit32* command, bool isClearFrameBufferCache = true );
224 bit32* MakeCommand( bit32* command, bool isUpdateFBAccess = true ) const;
234 … static bit32* MakeDisableCommand( bit32* command, bool isClearFrameBufferCache = true );
280 bit32* MakeCommand( bit32* command, bool isUpdateFBAccess = true ) const;
310 bit32* MakeCommand( bit32* command,
322 bit32* MakeTextureCommand( bit32* command,
332 bit32* MakeAttenuationCommand( bit32* command ) const;
419 bit32 ref;
431 bit32 mask;
[all …]
Dgr_FragmentLight.h162 bit32 posXY;
168 bit32 posZ;
181 bit32 distAttnBias;
187 bit32 distAttnScale;
193 bit32 spotDirectionXY;
199 bit32 spotDirectionZ;
294 bit32* MakeAllCommand( bit32* command ) const;
303 bit32* MakeCommand( bit32* command ) const;
311 bit32* MakeColorCommand( bit32* command ) const;
319 bit32* MakeGeometryCommand( bit32* command ) const;
[all …]
Dgr_BindSymbol.h146 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX34& mtx34 ) const in MakeUniformCommand()
159 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX44& mtx44 ) const in MakeUniformCommand()
172 bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4& vec4 ) const in MakeUniformCommand()
187bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4 vec4[], const int num ) const in MakeUniformCommand()
214 bit32* MakeUniformCommand( bit32* command, u8 x, u8 y, u8 z ) const in MakeUniformCommand()
257 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX34& mtx34 ) const in MakeUniformCommand()
270 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX44& mtx44 ) const in MakeUniformCommand()
283 bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4& vec4 ) const in MakeUniformCommand()
297bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4 vec4[], const int num ) const in MakeUniformCommand()
312 bit32* MakeUniformCommand( bit32* command, u8 x, u8 y, u8 z ) const in MakeUniformCommand()
Dgr_Texture.h245 bit32* MakeCommand( bit32* command, bool is_update_texture_func = true ) const;
281 bit32* MakeCommand( bit32* command, bool is_update_texture_func = true ) const;
324 bit32* MakeCommand( bit32* command, bool is_update_texture_func = true ) const;
368 bit32* MakeCommand( bit32* command, bool is_update_texture_func = true ) const;
420 bit32* MakeCommand( bit32* command, bool isAddDummyCommand = true ) const;
430 bit32* MakeFuncCommand( bit32* command, bool isAddDummyCommand = true ) const;
440 static bit32* MakeDisableCommand( bit32* command, bool isAddDummyCommand = true );
450 static bit32* MakeDummyCommand_( bit32* command );
Dgr_Utility.h46 CommandBufferJumpHelper(bit32* address);
69 inline bit32* GetStartPtr() { return m_StartPtr; } in GetStartPtr()
76 inline bit32* GetCurrentPtr() { return m_CurrentPtr; } in GetCurrentPtr()
83 void Put(bit32* address) { in Put()
96 m_CurrentPtr = reinterpret_cast<bit32*>(address); in Put()
105 void CopyFrom(const bit32* begin, const bit32* end) in CopyFrom()
115 void CopyFrom(const bit32* begin, int count) in CopyFrom()
117 nstd::MemCpy(m_CurrentPtr, begin, count * sizeof(bit32)); in CopyFrom()
134 void FinalizeJump(bit32* endAddress);
138 bit32* m_CurrentPtr;
[all …]
Dgr_FrameBuffer.h110 bit32* MakeRenderBlockModeCommand( bit32* command ) const;
120 bit32* MakeCommand( bit32* command, bool isAddRenderBlockMode = false ) const;
183 bit32* MakeCommand( bit32* command ) const;
229 static bit32* MakeClearCacheCommand( bit32* command );
243bit32* MakeCommand( bit32* command, const u32 bufferBit, bool isClearCache = true ) const;
Dgr_Fog.h86 bit32* MakeAllCommand( bit32* command ) const in MakeAllCommand()
107 static bit32* MakeDisableCommand( bit32* command ) in MakeDisableCommand()
123 bit32* MakeConfigCommand( bit32* command ) const in MakeConfigCommand()
143 bit32* MakeTableCommand( bit32* command ) const in MakeTableCommand()
Dgr_Vertex.h162 bit32* MakeEnableAttrCommand( bit32* command ) const in MakeEnableAttrCommand()
170 std::memcpy( command, m_CmdCacheVertex, m_CmdCacheVertexNum * sizeof( bit32 ) ); in MakeEnableAttrCommand()
182 bit32* MakeDrawCommand( bit32* command, const IndexStream& index_stream ) const;
191 bit32* MakeDisableAttrCommand( bit32* command ) const in MakeDisableAttrCommand()
241 static bit32* MakeDisableCommand( bit32* command ) in MakeDisableCommand()
250 const int size = ( 2 + 3 * VERTEX_ATTRIBUTE_MAX ) * sizeof( bit32 ); in MakeDisableCommand()
253 command += size / sizeof( bit32 ); in MakeDisableCommand()
431 void DisableAttr_( const bit32 bind_reg );
440 bit32* MakeEnableAttrCommand_( bit32* command ) const;
444 mutable bit32 m_CmdCacheVertex[ VERTEX_ENABLE_COMMAND_MAX ];
Dgr_LookUpTable.h87 bit32* MakeCommand( bit32* command, const PicaDataFragLightSampler type ) const in MakeCommand()
106 bit32* MakeSpotTableCommand( bit32* command, u8 light_id ) const in MakeSpotTableCommand()
119 bit32* MakeDistAttnTableCommand( bit32* command, u8 light_id ) const in MakeDistAttnTableCommand()
130 bit32 m_TableCommand[ LOOKUP_TABLE_CMD_NUM ];
/CTR-SDK-4.2.5/include/nn/net/osl/
Dosl_EventFlag.h41 static const bit32 INITIAL_ALLOCATE = 0x3;
43 static const bit32 VALID_MASK = (1 << MAX_FLAG_BITS) - 1;
59 void Signal(bit32 pattern);
60 bit32 Wait(bit32 pattern, WaitMode mode, nn::fnd::TimeSpan timeout);
61 bit32 Wait(bit32 pattern, WaitMode mode);
63 bit32 WaitAndClear(bit32 pattern, WaitMode mode, bit32 clear, nn::fnd::TimeSpan timeout);
64 bit32 WaitAndClear(bit32 pattern, WaitMode mode, bit32 clear);
66 void ClearSignal(bit32 pattern);
69 Result AllocateEvents(bit32 bitmap);
70 void FreeEvents(bit32 bitmap);
[all …]
/CTR-SDK-4.2.5/sources/libraries/math/
Dmath_TinyMt.cpp26 inline bit32 MixMsb2(bit32 v) in MixMsb2()
31 inline bit32 MixMsb5(bit32 v) in MixMsb5()
49 void TinyMt::Initialize(bit32 seed) in Initialize()
59 const bit32 v = MixMsb2(m_State[(i - 1) % PARAMETER_N]); in Initialize()
67 void TinyMt::Initialize(const bit32* pSeed, int numSeed) in Initialize()
82 const bit32 seed = (i < numSeed) ? pSeed[i]: 0; in Initialize()
113 const bit32 a = (m_State[0] & BIT31_MASK) ^ m_State[1] ^ m_State[2]; in GenerateRandomU32()
114 const bit32 b = m_State[3]; in GenerateRandomU32()
115 const bit32 c = a ^ (a << 1); in GenerateRandomU32()
116 const bit32 d = b ^ (b >> 1) ^ c; in GenerateRandomU32()
[all …]
Dmath_MersenneTwister.cpp27 inline bit32 MixMsb2(bit32 v) in MixMsb2()
32 bit32 GenerateInitialValue(const bit32* pState, int index, bit32 d) in GenerateInitialValue()
34 const bit32 s0 = pState[index + 0]; in GenerateInitialValue()
35 const bit32 s1 = pState[index + 1]; in GenerateInitialValue()
37 const bit32 a = MixMsb2(s0); in GenerateInitialValue()
38 const bit32 b = s1 ^ (a * d); in GenerateInitialValue()
57 void MersenneTwister::Initialize(bit32 seed) in Initialize()
63 const bit32 v = MixMsb2(m_State[i - 1]); in Initialize()
70 void MersenneTwister::Initialize(const bit32* pSeed, int num) in Initialize()
82 const bit32 v = GenerateInitialValue(m_State, stateIndex, 0x0019660d); in Initialize()
[all …]
/CTR-SDK-4.2.5/include/nn/hid/CTR/
Dhid_DeviceStatus.h33 const bit32 BUTTON_A = 0x00000001;
35 const bit32 BUTTON_B = 0x00000002;
36 const bit32 PSEUDO_BUTTON_SELECT = 0x00000004;
43 const bit32 BUTTON_SELECT_FOR_DEBUGGING = 0x00000004;
45 const bit32 BUTTON_START = 0x00000008;
47 const bit32 BUTTON_RIGHT = 0x00000010;
49 const bit32 BUTTON_LEFT = 0x00000020;
51 const bit32 BUTTON_UP = 0x00000040;
53 const bit32 BUTTON_DOWN = 0x00000080;
55 const bit32 BUTTON_R = 0x00000100;
[all …]
/CTR-SDK-4.2.5/include/nn/os/
Dos_ContinuationIterator.h34 bit32 regs[10];
37 static void SwitchImpl(bit32 r0, Registers* to);
38 static bit32 SwitchImpl(bit32 r0, Registers* from, Registers* to);
39 static bit32 SwitchImpl(bit32 r0, bit32 r1, Registers* from, Registers* to);
40 static bit32 CallOnOtherStackImpl(bit32 arg0, void* f, Registers* regs, uptr sp);
45 void Switch(bit32 r0 = 0) { SwitchImpl(r0, &this->m_Registers); }
46bit32 SwitchFrom(bit32 r0, Context& currentContext) { return SwitchImpl(r0, &currentContext.m_Regi… in SwitchFrom()
47bit32 SwitchFrom(bit32 r0, bit32 r1, Context& currentContext) { return SwitchImpl(r0, r1, &current… in SwitchFrom()
49 …static bit32 CallOnOtherStack(nn::os::Context& context, uptr sp, void* f) { return CallOnOtherStac… in CallOnOtherStack()
50 …static bit32 CallOnOtherStack(nn::os::Context& context, uptr sp, void* f, bit32 arg0) { return Cal… in CallOnOtherStack()
[all …]
Dos_SvcTypes.autogen.h42 bit32 permission;
48 bit32 flags;
53 bit32 cpuRegisters[13];
54 bit32 sp;
55 bit32 lr;
56 bit32 pc;
57 bit32 cpsr;
58 bit32 fpuRegisters[32];
59 bit32 fpscr;
60 bit32 fpexc;
Dos_TransferMemoryBlock.h40 bit32 myPermission = os::MEMORY_PERMISSION_NONE,
41 bit32 otherPermission = os::MEMORY_PERMISSION_READ_WRITE );
46 bit32 myPermission = os::MEMORY_PERMISSION_NONE,
47 bit32 otherPermission = os::MEMORY_PERMISSION_READ_WRITE );
58 bit32 otherPermission,
59 bit32 myPermission );
63 bit32 otherPermission,
64 bit32 myPermission );
/CTR-SDK-4.2.5/include/nn/math/
Dmath_MersenneTwister.h62 static const bit32 PARAMETER_A = 0x9908b0df;
63 static const bit32 PARAMETER_B = 0x9d2c5680;
64 static const bit32 PARAMETER_C = 0xefc60000;
66 static const bit32 MIX_MASK = (~0u << PARAMETER_R);
82 bit32 state[PARAMETER_N];
87 bit32 m_State[PARAMETER_N];
110 void Initialize(bit32 seed);
120 void Initialize(const bit32* pSeed, int numSeed);
242 static inline bit32 MixBits(bit32 u, bit32 l);
243 static inline bit32 GenerateXkn(bit32 xkm, bit32 xk, bit32 xk1);
Dmath_TinyMt.h54 static const bit32 PARAMETER_MAT1 = 0x8f7011ee;
55 static const bit32 PARAMETER_MAT2 = 0xfc78ff1f;
56 static const bit32 PARAMETER_TMAT = 0x3793fdff;
61 static const bit32 BIT31_MASK = ~0u >> 1;
72 bit32 state[PARAMETER_N];
76 bit32 m_State[PARAMETER_N];
99 void Initialize(bit32 seed);
109 void Initialize(const bit32* pSeed, int numSeed);
232 static void GenerateInitialValuePlus(bit32* p, int d, bit32 k);
233 static void GenerateInitialValueXor(bit32* p, int d);
/CTR-SDK-4.2.5/sources/libraries/gr/CTR/
Dgr_RenderState.cpp25 bit32* RenderState::Culling::MakeCommand( bit32* command, bool isUpdateFBAccess ) const in MakeCommand()
27 bit32 culling = 0; in MakeCommand()
51bit32* RenderState::Culling::MakeDisableCommand( bit32* command, bool isClearFrameBufferCache ) in MakeDisableCommand()
67 bit32* RenderState::Blend::MakeCommand( bit32* command, bool isUpdateFBAccess ) const in MakeCommand()
97bit32* RenderState::Blend::MakeDisableCommand( bit32* command, bool isClearFrameBufferCache ) in MakeDisableCommand()
117 bit32* RenderState::LogicOp::MakeCommand( bit32* command, bool isUpdateFBAccess ) const in MakeCommand()
139 bit32* RenderState::ShadowMap::MakeCommand( bit32* command, in MakeCommand()
160bit32* RenderState::ShadowMap::MakeTextureCommand( bit32* command, bool isAddDummyCommand ) const in MakeTextureCommand()
194 bit32* RenderState::ShadowMap::MakeAttenuationCommand( bit32* command ) const in MakeAttenuationCommand()
206bit32* RenderState::AlphaTest::MakeCommand( bit32* command, bool isUpdateFBAccess ) const in MakeCommand()
[all …]
Dgr_FragmentLight.cpp25 bit32* FragmentLight::Source::MakeAllCommand( bit32* command ) const in MakeAllCommand()
27 bit32 reg = PICA_REG_FRAG_LIGHT_START + id * PICA_FRAG_LIGHT_STRIDE; in MakeAllCommand()
50 bit32* FragmentLight::Source::MakeCommand( bit32* command ) const in MakeCommand()
57 bit32* FragmentLight::Source::MakeColorCommand( bit32* command ) const in MakeColorCommand()
59 bit32 reg = PICA_REG_FRAG_LIGHT_START + id * PICA_FRAG_LIGHT_STRIDE; in MakeColorCommand()
75 bit32* FragmentLight::Source::MakeGeometryCommand( bit32* command ) const in MakeGeometryCommand()
77 bit32 reg = PICA_REG_FRAG_LIGHT_START + id * PICA_FRAG_LIGHT_STRIDE + 0x4; in MakeGeometryCommand()
131 bit32* FragmentLight::MakeLutConfigCommand( bit32* command ) const in MakeLutConfigCommand()
171bit32* FragmentLight::MakeLightEnvCommand( bit32* command, bool isAddDummyCommand ) const in MakeLightEnvCommand()
173 bit32 regLightEnable = 0xff00ffff; in MakeLightEnvCommand()
[all …]
/CTR-SDK-4.2.5/sources/libraries/os/
Dos_ContinuationIterator.cpp24 m_Registers.regs[9] = reinterpret_cast<bit32>(pc); in Initialize()
27 asm bit32 Context::SwitchImpl(bit32 /* r0 */, Registers* /* from */, Registers* /* to */) in SwitchImpl() argument
35 asm bit32 Context::SwitchImpl(bit32 /* r0 */, bit32 /* r1 */, Registers* /* from */, Registers* /* … in SwitchImpl() argument
43 asm void Context::SwitchImpl(bit32 /* r0 */, Registers* /* to */) in SwitchImpl() argument
50 asm bit32 Context::CallOnOtherStackImpl(bit32 /* r0: arg0 */, void* /* r1: f */, Registers* /* r2: … in CallOnOtherStackImpl() argument
64 bit32 sp = reinterpret_cast<uptr>(stackBottom); in Initialize()
115 if (m_IteratorContext->SwitchFrom(reinterpret_cast<bit32>(this), *m_MainContext)) in MoveNext()
/CTR-SDK-4.2.5/include/nn/ndm/CTR/
Dndm_Types.h59 const bit32 MASK_BACKGROUOND_DAEMONS = DM_CEC | DM_BOSS | DM_NIM;
60 const bit32 MASK_ALL_DAEMONS = DM_CEC | DM_BOSS | DM_NIM | DM_FRIENDS;
61 const bit32 MASK_DEFAULT_ENABLED_DAEMONS = DM_CEC | DM_FRIENDS;
67 const bit32 CONTROL_MASK_DEFAULT = MASK_BACKGROUOND_DAEMONS;
68 const bit32 CONTROL_MASK_ALL = MASK_ALL_DAEMONS;
69 const bit32 ENABLED_MASK_DEFAULT = MASK_DEFAULT_ENABLED_DAEMONS;
/CTR-SDK-4.2.5/sources/libraries/fnd/
Dfnd_HeapBase.cpp119 void HeapBase::FillMemory32(uptr begin, uptr end, bit32 v) in FillMemory32()
122 NN_TASSERT_(begin % sizeof(bit32) == 0); in FillMemory32()
123 NN_TASSERT_(end % sizeof(bit32) == 0); in FillMemory32()
124 bit32*& p = reinterpret_cast<bit32*&>(begin); in FillMemory32()
125 bit32*& q = reinterpret_cast<bit32*&>(end); in FillMemory32()
136 uptr rbegin = RoundUp(begin, sizeof(bit32)); in FillMemory()
137 uptr rend = RoundDown(end, sizeof(bit32)); in FillMemory()
144 bit32 vv = v | (v << 8); in FillMemory()
145 bit32 vvvv = vv | (vv << 16); in FillMemory()

12345