| /TwlSDK-5.1.0/build/libraries/fx/common/src/ |
| D | fx_vec.c | 39 void VEC_Add(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab) in VEC_Add() 63 void VEC_Subtract(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab) in VEC_Subtract() 87 void VEC_Fx16Add(const VecFx16 *a, const VecFx16 *b, VecFx16 *ab) in VEC_Fx16Add() 111 void VEC_Fx16Subtract(const VecFx16 *a, const VecFx16 *b, VecFx16 *ab) in VEC_Fx16Subtract() 134 fx32 VEC_DotProduct(const VecFx32 *a, const VecFx32 *b) in VEC_DotProduct() 153 fx32 VEC_Fx16DotProduct(const VecFx16 *a, const VecFx16 *b) in VEC_Fx16DotProduct() 177 void VEC_CrossProduct(const VecFx32 *a, const VecFx32 *b, VecFx32 *axb) in VEC_CrossProduct() 208 void VEC_Fx16CrossProduct(const VecFx16 *a, const VecFx16 *b, VecFx16 *axb) in VEC_Fx16CrossProduct()
|
| D | fx_atanidx.c | 214 fx32 a, b; in FX_Atan2Idx() local
|
| D | fx_atan.c | 219 fx32 a, b, c; in FX_Atan2() local
|
| /TwlSDK-5.1.0/build/demos/cp/ThreadSafeTest/src/ |
| D | main.c | 71 u32 b; in NitroMain() local 146 u32 a, b, c; in VBlankIntr() local 178 u32 b; in proc1() local 205 u32 a, b, c; in proc2() local
|
| /TwlSDK-5.1.0/build/demos/os/exceptionDisplay-2/src/ |
| D | main.c | 49 volatile int b = 6; in NitroMain() local 58 volatile b = 0; in NitroMain() local
|
| /TwlSDK-5.1.0/build/demos/fx/test/src/ |
| D | fx_append_vec.c | 173 static void VecSubVecD_(const VecD * a, const VecD * b, VecD * ab) in VecSubVecD_() 185 static void GetErrorVecD_(const VecD * a, const VecD * b, VecD * ab) in GetErrorVecD_() 199 static void CalcErrorBtweenVecFxAndVecD_(const VecFx32 *a, const VecD * b, VecD * vError) in CalcErrorBtweenVecFxAndVecD_() 247 static double FX_Mul_d_(const fx32 a, const fx32 b) in FX_Mul_d_() 253 static double VEC_DotProduct_d_(const VecFx32 *a, const VecFx32 *b) in VEC_DotProduct_d_() 268 static void VEC_CrossProduct_d_(const VecFx32 *a, const VecFx32 *b, VecD * axb) in VEC_CrossProduct_d_() 324 static double GetDotProductError_(const VecFx32 *a, const VecFx32 *b) in GetDotProductError_() 339 static double GetCrossProductError_(const VecFx32 *a, const VecFx32 *b) in GetCrossProductError_()
|
| /TwlSDK-5.1.0/include/nitro/math/ |
| D | math.h | 94 #define MATH_MIN(a,b) (((a) <= (b)) ? (a) : (b)) argument 107 SDK_INLINE int MATH_IMin(int a, int b) in MATH_IMin() 123 #define MATH_MAX(a,b) (((a) >= (b)) ? (a) : (b)) argument 135 SDK_INLINE int MATH_IMax(int a, int b) in MATH_IMax()
|
| /TwlSDK-5.1.0/include/nitro/gx/ |
| D | g3_util.h | 81 static inline void G3_Frustum(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, MtxFx44 *mtx) in G3_Frustum() 128 static inline void G3_Ortho(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, MtxFx44 *mtx) in G3_Ortho() 152 G3_FrustumW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in G3_FrustumW() 202 G3_OrthoW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in G3_OrthoW()
|
| /TwlSDK-5.1.0/build/demos/os/timer-1/src/ |
| D | data.c | 20 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot-PowerSave/src/ |
| D | data.c | 27 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/mb/fake_child/common/src/ |
| D | font.c | 27 #define RGB555(r,g,b) ( (b) << 10 | (g) <<5 | (r) ) argument
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot-Model/common/src/ |
| D | font.c | 23 #define RGB555(r,g,b) ( (b) << 10 | (g) <<5 | (r) ) argument
|
| /TwlSDK-5.1.0/build/demos/mi/dmaCallback-1/src/ |
| D | data.c | 20 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/os/tick-1/src/ |
| D | data.c | 20 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/os/mutex-2/src/ |
| D | data.c | 20 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/os/sleep-1/src/ |
| D | data.c | 20 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/wm/wmPadRead-child/src/ |
| D | data.c | 25 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/os/mutex-1/src/ |
| D | data.c | 20 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot/src/ |
| D | data.c | 23 #define RGB555(r,g,b) (b<<10|g<<5|r) argument
|
| /TwlSDK-5.1.0/build/demos/wvr/with_mb/common/src/ |
| D | font.c | 23 #define RGB555(r,g,b) ( (b) << 10 | (g) <<5 | (r) ) argument
|
| /TwlSDK-5.1.0/build/demos/mb/cloneboot/src/ |
| D | font.c | 23 #define RGB555(r,g,b) ( (b) << 10 | (g) <<5 | (r) ) argument
|
| /TwlSDK-5.1.0/build/demos/os/exceptionDisplay-1/src/ |
| D | main.c | 49 int b = 0; in NitroMain() local
|
| /TwlSDK-5.1.0/build/libraries/math/common/src/ |
| D | dgt_md5.c | 49 inline static u32 CalcRound1(u32 a, u32 b, u32 c, u32 d, u32 x, u32 s, u32 t) in CalcRound1() 54 inline static u32 CalcRound2(u32 a, u32 b, u32 c, u32 d, u32 x, u32 s, u32 t) in CalcRound2() 59 inline static u32 CalcRound3(u32 a, u32 b, u32 c, u32 d, u32 x, u32 s, u32 t) in CalcRound3() 64 inline static u32 CalcRound4(u32 a, u32 b, u32 c, u32 d, u32 x, u32 s, u32 t) in CalcRound4() 161 u32 a, b, c, d; in ProcessBlock() local
|
| /TwlSDK-5.1.0/build/demos/rtc/convert-1/src/ |
| D | main.c | 171 #define PrintResultEq( a, b, f ) \ argument 173 #define PrintResultStringEq( a, b, f ) \ argument
|
| /TwlSDK-5.1.0/build/demos/math/misc-1/src/ |
| D | main.c | 165 #define PrintResultEq( a, b, f ) \ argument 207 int b[] = { 0, 0, 1, 0, -1, 31, 32, -31, -32 }; in MathTest() local 243 double b[] = { 0, 0, 1, 0, -1, 1.0e-15, 1.0e15, 1.0e-16, 1.0e-15, -1.1e-15, -1.0e-15 }; in MathTest() local
|