Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 30) sorted by relevance

12

/CTR-SDK-0.14.4/include/nn/math/
Dmath_Utility.h54 inline S Max(T a, U b, R c) in Max() argument
56 return (a >= b) ? ((a >= c) ? a: c) : ((b >= c) ? b: c); in Max()
60 inline T Max(T a, T b, T c) in Max() argument
62 return (a >= b) ? ((a >= c) ? a: c) : ((b >= c) ? b: c); in Max()
66 inline S Min(T a, U b, R c) in Min() argument
68 return (a <= b) ? ((a <= c) ? a: c) : ((b <= c) ? b: c); in Min()
72 inline T Min(T a, T b, T c) in Min() argument
74 return (a <= b) ? ((a <= c) ? a: c) : ((b <= c) ? b: c); in Min()
Dmath_Equation.h25 int SolveEquation2(f32* root, f32 a, f32 b, f32 c);
26 int SolveEquation3(f32* root, f32 a, f32 b, f32 c, f32 d);
27 int SolveEquation4(f32* root, f32 a, f32 b, f32 c, f32 d, f32 e);
Dmath_Triangular.h135 inline void SinCosRad(f32* s, f32* c, f32 rad) { SinCosFIdx(s, c, NN_MATH_RAD_TO_FIDX(rad)); } in SinCosRad() argument
176 inline void SinCosDeg(f32* s, f32* c, f32 deg) { SinCosFIdx(s, c, NN_MATH_DEG_TO_FIDX(deg)); } in SinCosDeg() argument
217 void SinCosIdx(f32* s, f32* c, u16 idx);
/CTR-SDK-0.14.4/sources/libraries/math/
Dmath_Triangular.cpp593 f32 c; in Atan2FIdx() local
610 c = 0.f; in Atan2FIdx()
618 c = 64.f; in Atan2FIdx()
629 c = 0.f; in Atan2FIdx()
637 c = - 64.f; in Atan2FIdx()
651 c = 128.f; in Atan2FIdx()
659 c = 64.f; in Atan2FIdx()
670 c = - 128.f; in Atan2FIdx()
678 c = - 64.f; in Atan2FIdx()
685 c - AtanFIdx_(b/a): in Atan2FIdx()
[all …]
Dmath_Equation.cpp72 SolveEquation2(f32* root, /*f32 a==1,*/ f32 b, f32 c) in SolveEquation2() argument
76 if( c < -EPS ) // c < 0 in SolveEquation2()
78 f32 r_c = FSqrt(-c); in SolveEquation2()
83 else if( c <= EPS ) // c == 0 in SolveEquation2()
96 f32 B = c / spow<2>(A); in SolveEquation2()
134 SolveEquation3(/*f32* root, f32 a==1,*/ f32 b, f32 c, f32 d) in SolveEquation3() argument
136 f32 q = (spow<2>(b) - 3 * c) / 9; in SolveEquation3()
137 f32 r = (2 * spow<3>(b) - 9 * b * c + 27 * d) / 54; in SolveEquation3()
186 SolveEquation2(f32* root, f32 a, f32 b, f32 c) in SolveEquation2() argument
207 f32 B = c / (a * A * A); in SolveEquation2()
[all …]
Dmath_Arithmetic.cpp722 int n, c; in CntLz_() local
725 c = 16; in CntLz_()
727 y = x >> c; in CntLz_()
730 n -= c; x = y; in CntLz_()
732 c >>= 1; in CntLz_()
733 } while(c != 0); in CntLz_()
/CTR-SDK-0.14.4/sources/libraries/tpl/CTR/
Dtpl_crc32.cpp125 int c = (n + m) / 2; in search_crc32_index() local
126 unsigned int k = *(const unsigned int *)(base + (width * c)); in search_crc32_index()
132 while(0 < c) in search_crc32_index()
134 unsigned int kk = *(const unsigned int *)(base + (width * (c - 1))); in search_crc32_index()
136 c--; in search_crc32_index()
138 return c; in search_crc32_index()
146 n = c + 1; in search_crc32_index()
151 m = c - 1; in search_crc32_index()
/CTR-SDK-0.14.4/include/nn/font/
Dfont_PairFont.h74 CharCode c ); // 新しい代替文字
81 CharCode c // 幅を求める文字
85 CharCode c // 幅を求める文字
90 CharCode c // グリフ情報を取得する文字
93 CharCode c // グリフ情報の有無を取得する文字
Dfont_ResFontBase.h77 virtual bool SetAlternateChar(CharCode c);
84 virtual int GetCharWidth(CharCode c) const;
87 GetCharWidths(CharCode c) const;
91 CharCode c
94 virtual bool HasGlyph(CharCode c) const;
189 GlyphIndex GetGlyphIndex(CharCode c) const;
199 GlyphIndex FindGlyphIndex(CharCode c) const;
212 CharCode c
Dfont_Font.h262 virtual bool SetAlternateChar(CharCode c) = 0;
276 virtual int GetCharWidth(CharCode c) const = 0;
285 GetCharWidths(CharCode c) const = 0;
294 CharCode c
304 CharCode c
Dfont_PackedFont.h202 bool PreloadSheet(CharCode c);
212 bool LockSheet(CharCode c);
222 CharCode c,
243 CharCode c
408 int GetSheetIndex(CharCode c) const;
Dfont_ArchiveFont.h134 CharCode c
/CTR-SDK-0.14.4/include/nn/hw/ARM/
Dreg_access.h39 #define HW_INST_MRC(a,b,c,d,e,v) __asm { mrc a,b,v,c,d,e } argument
41 #define HW_INST_MCR(a,b,c,d,e,v) __asm { mcr a,b,v,c,d,e } argument
64 #define HW_GET_CP15_C0(c,o,v) HW_INST_MRC(p15,0,c0,c,o,v) // Opcode_1 is fixed argument
73 #define HW_GET_CP15_C6(c,o,v) HW_INST_MRC(p15,0,c6,c,o,v) // Opcode_1 is fixed
76 #define HW_GET_CP15_C7(c,o,v) HW_INST_MRC(p15,0,c7,c,o,v) // Opcode_1 is fixed argument
77 #define HW_GET_CP15_C8(c,o,v) HW_INST_MRC(p15,0,c8,c,o,v) // Opcode_1 is fixed argument
85 #define HW_GET_CP15_C10(c,o,v) HW_INST_MRC(p15,0,c10,c,o,v) // Opcode_1 is fixed argument
87 #define HW_GET_CP15_C15(o1,c,o2,v) HW_INST_MRC(p15,o1,c15,c,o2,v) // not fixed all argument
89 #define HW_GET_CP15_C15_0(c,o,v) HW_INST_MRC(p15,0,c15,c,o,v) argument
90 #define HW_GET_CP15_C15_1(c,o,v) HW_INST_MRC(p15,1,c15,c,o,v) argument
[all …]
/CTR-SDK-0.14.4/include/nn/os/
Dos_LightEvent.h157 const s32 c = *m_Counter; in IsManualReset() local
158 return (c == SIGNALED_MANUAL) || (c == NOT_SIGNALED_MANUAL); in IsManualReset()
/CTR-SDK-0.14.4/sources/libraries/gr/CTR/
Dgr_Shader.cpp426 bit32 c = 0; in MakeOutAttrCommand_() local
434 … case 0 : value = 0x00 + c++; if (c == 2) clock |= 1 << 0; break; // position in MakeOutAttrCommand_()
435 … case 1 : value = 0x04 + c++; clock |= 1 << 24; break; // quaternion in MakeOutAttrCommand_()
436 … case 2 : value = 0x08 + c++; clock |= 1 << 1; break; // color in MakeOutAttrCommand_()
437 … case 3 : if (c < 2) value = 0x0c + c++; useTex = 1; clock |= 1 << 8; break; // texcoord0 in MakeOutAttrCommand_()
439 … case 5 : if (c < 2) value = 0x0e + c++; useTex = 1; clock |= 1 << 9; break; // texcoord1 in MakeOutAttrCommand_()
440 … case 6 : if (c < 2) value = 0x16 + c++; useTex = 1; clock |= 1 << 10; break; // texcoord2 in MakeOutAttrCommand_()
441 … case 8 : if (c < 3) value = 0x12 + c++; clock |= 1 << 24; break; // view in MakeOutAttrCommand_()
472 u32 c = 0; in MakeOutAttrCommand_() local
480 case 0 : value = 0x00 + c++; break; // position in MakeOutAttrCommand_()
[all …]
/CTR-SDK-0.14.4/sources/libraries/fnd/detail/
Dfnd_DetailHeapCommon.h45 #define NNSI_CREATE_HEAP_SIGNATURE(a,b,c,d) ( ((a & 0xFF) << 24) | ((b & 0xFF) << 16) | ((c & 0xFF… argument
/CTR-SDK-0.14.4/include/nn/font/detail/
Dfont_BinaryFileFormat.h23 #define NN_FONT_MAKE_SIGWORD(a, b, c, d) \ argument
26 | (static_cast<u8>(c) << 16) | (static_cast<u8>(d) << 24) \
30 #define NN_FONT_MAKE_SIGWORD(a, b, c, d) \ argument
33 | (static_cast<u8>(c) << 8) | (static_cast<u8>(d) << 0) \
/CTR-SDK-0.14.4/include/nn/net/compatible/nlib/
Dnlib_md5_horizon.h38 unsigned long a, b, c, d; member
/CTR-SDK-0.14.4/sources/libraries/rdt/CTR/
Drdt_ResendQueue.cpp227 Segment c; // データは30バイトとする in Test() local
228 c.SetData(data+100+50, 30); in Test()
229 c.SetSeqNumber(SEQ + 100 + 50); in Test()
243 CU_ASSERT(r.Push(c)); in Test()
/CTR-SDK-0.14.4/include/nn/font/CTR/
Dfont_RectDrawerCommand.h115 #define NN_FONT_CMD_SCISSOR_VAL( s, c ) \ argument
116 static_cast<u16>( (s) >= (c) ? (c) - 1: ((s) < 0 ? 0: (s)) )
/CTR-SDK-0.14.4/include/nn/util/
Dutil_TypeTraits.h166 char c;
215 char c[Size];
/CTR-SDK-0.14.4/include/nn/fslow/
Dfslow_IArchive.h157 Char c[MaxLength + 1]; member
178 m_Data.c[i] = s[i]; in ArchiveName()
221 operator const Char*() const { return m_Data.c; }
223 bool IsValid() const { return m_Data.c[0] != 0; } in IsValid()
/CTR-SDK-0.14.4/include/nn/
DResult.h102 #define NN_RESULT_H_MAKE_MASK_HELPER(c) \ argument
103 static const bit32 MASK_ ## c = NN_RESULT_H_MAKE_MASK(SIZE_ ## c, SHIFTS_ ## c)
112 #define NN_RESULT_H_MAKE_MAX_HELPER(c) \ argument
113 static const s32 MAX_ ## c = NN_RESULT_H_MAKE_MAX(SIZE_ ## c)
/CTR-SDK-0.14.4/documents/api/css/
Dpage.css239 border-right : solid 1px #00c;
240 border-bottom : solid 1px #00c;
271 border-right : solid 1px #00c;
272 border-bottom : solid 1px #00c;
Dmanpage.css237 border-right : solid 1px #00c;
238 border-bottom : solid 1px #00c;
269 border-right : solid 1px #00c;
270 border-bottom : solid 1px #00c;

12