| /NW4C-1.2.23/include/nw/ut/ |
| D | ut_Flag.h | 47 CheckFlag(const TFlags& flags, const TMask& mask) in CheckFlag() argument 50 return (flags & static_cast<TFlags>(mask)) == static_cast<TFlags>(mask); in CheckFlag() 61 CheckFlagOr(const TFlags& flags, const TMask& mask) in CheckFlagOr() argument 64 return (flags & static_cast<TFlags>(mask)) != 0; in CheckFlagOr() 104 GetFlagValue(const TFlags& flags, int shift, const TMask& mask) in GetFlagValue() argument 106 return static_cast<TResult>((flags & static_cast<TFlags>(mask)) >> shift); in GetFlagValue() 121 SetFlagValue(const TFlags& flags, int shift, const TMask& mask, const TValue& value) in SetFlagValue() argument 123 return (flags & ~(static_cast<TFlags>(mask))) | ((value << shift) & static_cast<TFlags>(mask)); in SetFlagValue()
|
| D | ut_Inlines.h | 700 const OutputT mask = static_cast<OutputT>( ( 1UL << len ) - 1 ); variable 701 return static_cast<OutputT>( (bits >> pos) & mask ); 891 u32 mask = (0x1U << width) - 1; in WriteBits() local 893 return (bits & ~(mask << shift)) | ((u32(value) & mask) << shift); in WriteBits() 904 const T mask = T(1 << pos); in TestBit() local 906 return 0 != (bits & mask); in TestBit() 919 const u32 mask = ~(0xFFFFFFFFU << len); in GetBits() local 921 return T((bits >> pos) & mask); in GetBits()
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_StreamBufferPool.cpp | 62 u8 mask = ( 1 << 0 ); in Alloc() local 63 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc() 65 if ( ( byte & mask ) == 0 ) in Alloc() 67 m_AllocFlags[ byteIndex ] |= mask; in Alloc() 88 const int mask = ( 1 << bitIndex ); in Free() local 89 NW_ASSERT( ( m_AllocFlags[ byteIndex ] & mask ) != 0 ); in Free() 90 m_AllocFlags[ byteIndex ] &= ~mask; in Free()
|
| /NW4C-1.2.23/sources/libraries/demo/ |
| D | demo_PadButton.cpp | 47 u32 mask = 1; in Update() local 48 for ( int i = 0; i < BUTTON_COUNT_MAX; ++i, mask <<= 1 ) in Update() 50 if ( m_ButtonPress & mask ) in Update() 57 m_ButtonRepeat |= mask; in Update() 62 m_ButtonRepeatFast |= mask; in Update()
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_ShaderBinaryInfo.h | 382 u32 mask = exeInfo->inputMask; in GetInputRegisterNum() local 387 if (mask & (1 << i)) in GetInputRegisterNum() 407 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum() local 412 if (mask & (1 << i)) in GetOutputRegisterNum() 432 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum() local 437 if (mask & (1 << i)) in GetOutputRegisterNum() 444 if (pMask) { *pMask = u32(mask); } in GetOutputRegisterNum() 470 u32 mask = exeInfo->outputMask; in GetShaderOutputRegisterNum() local 475 if (mask & (1 << i)) in GetShaderOutputRegisterNum() 482 if (pMask) { *pMask = u32(mask); } in GetShaderOutputRegisterNum() [all …]
|
| D | gfx_CommandUtil.h | 150 u32 mask = 0; in GetByteEnableMask() local 152 mask |= (be & 0x1) ? 0x000000FF : 0; in GetByteEnableMask() 153 mask |= (be & 0x2) ? 0x0000FF00 : 0; in GetByteEnableMask() 154 mask |= (be & 0x4) ? 0x00FF0000 : 0; in GetByteEnableMask() 155 mask |= (be & 0x8) ? 0xFF000000 : 0; in GetByteEnableMask() 156 return mask; in GetByteEnableMask() 205 GetCmdValue(u32 value, u32 mask, s32 shift) in GetCmdValue() argument 207 return (value >> shift) & mask; in GetCmdValue() 212 SetCmdValue(u32* addr, TValue value, u32 mask, s32 shift) in SetCmdValue() argument 214 u32 result = *addr & ~(mask << shift); in SetCmdValue() [all …]
|
| D | gfx_GraphicsDevice.h | 202 static NW_INLINE void SetStencilMask(u8 mask); 1029 GraphicsDevice::SetStencilMask(u8 mask) in SetStencilMask() argument 1031 s_IsFrameBufferUpdated = s_IsFrameBufferUpdated || (s_StencilMask != mask); in SetStencilMask() 1032 s_StencilMask = mask; in SetStencilMask()
|
| D | gfx_FrameBuffer.h | 207 …void ClearBuffer( u32 mask, const ut::FloatColor& clearColor, f32 clearDepth, u8 clearStencil = 0 …
|
| D | gfx_RenderContext.h | 259 void ClearBuffer(GLbitfield mask, const nw::ut::FloatColor& color, f32 depth);
|
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_ParticleRandom.cpp | 38 LDR r3, mask in NextFloatSignedOne() 54 mask DCD 0x00007fff in NextFloatSignedOne()
|
| D | gfx_FrameBuffer.cpp | 247 u32 mask, in ClearBuffer() argument 264 if ( mask & CLEAR_MASK_COLOR ) in ClearBuffer() 311 if (mask & CLEAR_MASK_DEPTH) in ClearBuffer()
|
| D | gfx_RenderContext.cpp | 274 GLbitfield mask, in ClearBuffer() argument 289 glClear(mask); in ClearBuffer() 294 fbo.ClearBuffer( mask, color, depth, 0 ); in ClearBuffer()
|
| /NW4C-1.2.23/include/nw/font/ |
| D | font_TextWriterBase.h | 624 u32 mask, in IsDrawFlagSet() argument 628 return (m_DrawFlag & mask) == flag; in IsDrawFlagSet()
|
| /NW4C-1.2.23/include/nw/lyt/ |
| D | lyt_Types.h | 71 const T mask = T(~(1 << pos)); in SetBit() local 73 bits &= mask; in SetBit() 88 const T mask = T(~(1 << pos)); in SetBit() local 90 *pBits &= mask; in SetBit() 110 const T mask = T(~(MaxValue << pos)); in SetBits() local 112 bits &= mask; in SetBits() 132 const T mask = T(~(MaxValue << pos)); in SetBits() local 134 *pBits &= mask; in SetBits()
|
| /NW4C-1.2.23/sources/libraries/font/ |
| D | font_RectDrawer.cpp | 261 u16 mask; member 1260 useOutRegTypes[outmapInfos[j].type] = static_cast<u8>(outmapInfos[j].mask); in InitializeCMD() 1264 if (0 != (outmapInfos[j].mask & (1 << i))) in InitializeCMD()
|
| /NW4C-1.2.23/tools/DccPlugin/Maya/scripts/ |
| D | NW4C_ExpDialog.mel | 1362 string $dirMask = "*.c3es"; // fileDialog can use mask
|