Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 7 of 7) sorted by relevance

/CTR-SDK-4.2.5/include/nn/util/
Dutil_Bits.h80 BitsAllocatorBase(Bit32Allocator* bits, int size, int n) in BitsAllocatorBase() argument
86 bits[i].Initialize(size); in BitsAllocatorBase()
91 bits[i].Initialize(32); in BitsAllocatorBase()
98 int AllocateImpl(Bit32Allocator* bits, int n) in AllocateImpl() argument
102 int j = bits[i].Allocate(); in AllocateImpl()
111 void DeallocateImpl(Bit32Allocator* bits, int i) in DeallocateImpl() argument
113 bits[i / 32].Deallocate(i % 32); in DeallocateImpl()
/CTR-SDK-4.2.5/include/nn/font/detail/
Dfont_BinaryFileFormat.h152 /* ctor */ ResNum(const ResNum& other) : bits(other.bits) {}
153 /* ctor */ explicit ResNum(const T val ) : bits( Endian::BSwap( val ) ) {}
155 void operator = (const ResNum& other) { bits = other.bits; }
156 /* T */ operator T () const { return Endian::BSwap( bits ); }
157 void operator = (T val) { bits = Endian::BSwap( val ); }
159 T bits;
/CTR-SDK-4.2.5/sources/libraries/fnd/detail/
Dfnd_DetailHeapCommonImpl.h81 #define NNSi_FndGetBitValue(data, st, bits) \ argument
82 (((data) >>(st)) & ((1 <<(bits)) -1))
96 #define NNSi_FndSetBitValue(data, st, bits, val) \ argument
99 u32 maskBits = (u32)((1 <<(bits)) -1); \
/CTR-SDK-4.2.5/sources/libraries/cx/
Dcx_StreamingUncompression.cpp641 BitReader_Read( BitReader* context, u8 bits ) in BitReader_Read() argument
645 while ( context->stream_len < bits ) in BitReader_Read()
658 value = (s32)( (context->stream >> (context->stream_len - bits)) & ((1 << bits) - 1) ); in BitReader_Read()
659 context->stream_len -= bits; in BitReader_Read()
664 BitReader_ReadEx( BitReader* context, u8 bits ) in BitReader_ReadEx() argument
669 while ( context->stream_len < bits ) in BitReader_ReadEx()
687 value = (s64)( (value >> (context->stream_len - bits)) & ((1 << bits) - 1) ); in BitReader_ReadEx()
688 context->stream_len -= bits; in BitReader_ReadEx()
/CTR-SDK-4.2.5/include/
Dzlib.h715 int *bits));
729 int bits,
900 int bits,
/CTR-SDK-4.2.5/include/nn/font/
Dfont_ArchiveFontBase.h489 static bool GetBit(const u32* bits, u32 index) in GetBit() argument
493 return ((bits[wordIndex] << bitIndex) & (1u << 31)) != 0; in GetBit()
/CTR-SDK-4.2.5/tools/CommandLineTools/ctr_GxCommandAnalyzer/
Ddetail.csv43 …ffer format. When the depth buffer is 16 bits, units/65535 is the added value, when the depth buff…
848 …ed int8,"" and then the red, green, blue, and alpha components are set in bits [7:0], [15:8], [23:…
895 …eter converted according to ""conversion from float32 to signed fixed13 (8bits fraction),"" and th…
955 …ed int8,"" and then the red, green, blue, and alpha components are set in bits [7:0], [15:8], [23:…
991 …eter converted according to ""conversion from float32 to signed fixed13 (8bits fraction),"" and th…
1021 …ed int8,"" and then the red, green, blue, and alpha components are set in bits [7:0], [15:8], [23:…
1057 …eter converted according to ""conversion from float32 to signed fixed13 (8bits fraction),"" and th…
1144 Sets the lower 8 bits of the value converted from an uniform value to a 16-bit floating-point value…
1147 Sets a 16-bit fixed-point value, signed with 12 decimal bits, converted from the third element of t…
1150 …he second element of the uniform value converted to a 16-bit floating-point value in bits [31:16]."
[all …]