Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 127) sorted by relevance

123456

/TwlSDK-5.1.0/build/libraries/std/common/src/
Dstd_stdlib.c32 int STD_ConvertAsciiToInt( const char* s ) in STD_ConvertAsciiToInt() argument
38 while( *s == ' ' ) in STD_ConvertAsciiToInt()
40 s ++; in STD_ConvertAsciiToInt()
44 if ( *s == '-' ) in STD_ConvertAsciiToInt()
47 s ++; in STD_ConvertAsciiToInt()
49 else if ( *s == '+' ) in STD_ConvertAsciiToInt()
51 s ++; in STD_ConvertAsciiToInt()
55 while( '0' <= *s && *s <= '9' ) in STD_ConvertAsciiToInt()
57 val = (val * 10) + (*s - '0'); in STD_ConvertAsciiToInt()
63 s++; in STD_ConvertAsciiToInt()
[all …]
Dstd_sprintf.c55 static void string_put_string(dst_string * p, const char *s, int n) in string_put_string() argument
63 p->cur[i] = s[i]; in string_put_string()
164 const char *s = fmt; in STD_TVSNPrintf() local
169 while (*s) in STD_TVSNPrintf()
171 if ((unsigned int)(((unsigned char)*s ^ 0x20) - 0xA1) < 0x3C) in STD_TVSNPrintf()
174 string_put_char(&str, *s++); in STD_TVSNPrintf()
175 if (*s) in STD_TVSNPrintf()
176 string_put_char(&str, *s++); in STD_TVSNPrintf()
178 else if (*s != '%') in STD_TVSNPrintf()
181 string_put_char(&str, *s++); in STD_TVSNPrintf()
[all …]
/TwlSDK-5.1.0/build/tools/bin2obj/
Dsection.c20 static u32 section_add_string(Section * s, const char *string);
99 Section *s = &obj->data[n].section; in read_datasec() local
112 s->size = st.st_size; in read_datasec()
114 if (NULL == (s->ptr = malloc(s->size))) in read_datasec()
121 if (s->size != fread(s->ptr, sizeof(u8), s->size, fp)) in read_datasec()
124 free(s->ptr); in read_datasec()
173 ELF32_SectionHeader *s; in add_section() local
177 s = &obj->section[n]; in add_section()
181 s->sh_name = add_section_name(obj, name); in add_section()
182 s->sh_type = type; in add_section()
[all …]
Dobject.c31 ELF32_SectionHeader *s; in object_init() local
63 s = &obj->section[obj->symbol_index]; in object_init()
64 s->sh_link = obj->symbol_name_index; // symbol name table link in object_init()
65 s->sh_info = -1; // Initialization of symbol's last index value in object_init()
66 s->sh_entsize = sizeof(ELF32_Symbol); // symbol entry size in object_init()
129 ELF32_SectionHeader *s; in map_section() local
142 s = &obj->section[i]; in map_section()
143 s->sh_offset = roundup(offset, s->sh_addralign); in map_section()
144 offset = s->sh_offset + s->sh_size; in map_section()
/TwlSDK-5.1.0/build/libraries/fx/common/src/
Dfx.c74 fx16 s; in FX_Init() local
81 s = (fx16)((ss + 0x80000LL) >> 20); in FX_Init()
83 FX_SinCosTable_[i * 2] = s; // sin: 0 to pi/2 in FX_Init()
85 FX_SinCosTable_[SDK_FX_INIT_2PI - i * 2] = (fx16)-s; // sin: 0 to -pi/2 in FX_Init()
86 FX_SinCosTable_[SDK_FX_INIT_PI - i * 2] = s; // sin: pi/2 to pi in FX_Init()
87 FX_SinCosTable_[SDK_FX_INIT_PI + i * 2] = (fx16)-s; // sin: -pi/2 to -pi in FX_Init()
104 fx16 s; in FX_Init() local
108 s = (fx16)FX_F32_TO_FX32(sinf(rad)); in FX_Init()
109 FX_SinCosTable_[i * 2] = s; // sin: 0 to pi/2 in FX_Init()
111 FX_SinCosTable_[SDK_FX_INIT_2PI - i * 2] = (fx16)-s; // sin: 0 to -pi/2 in FX_Init()
[all …]
/TwlSDK-5.1.0/build/demos/wbt/wbt-1/src/
Dtext.c33 static void link_line_buf(LINE_BUF * m, LINE_BUF * s) in link_line_buf() argument
37 s->next = m->next; in link_line_buf()
38 (s->next)->prev = s; in link_line_buf()
41 s->next = NULL; in link_line_buf()
43 m->next = s; in link_line_buf()
44 s->prev = m; in link_line_buf()
47 static void unlink_line_buf(LINE_BUF * s) in unlink_line_buf() argument
49 if ((s->prev != NULL) && (s->next != NULL)) in unlink_line_buf()
51 (s->prev)->next = s->next; in unlink_line_buf()
52 (s->next)->prev = s->prev; in unlink_line_buf()
[all …]
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_BmpBg_MainRam/pictures/
Dpicture_256_192_b.ppm5s��s��s��s��q��p��p��p��p��p��p��p��p��q��q��q��q��p��p��p��p��p��p��p��p��p��p��p��p��p��r��r��r�…
6s�2u�4x�5y�6z�0v�,v�5��<��9��6��;��<��:��6��/|�+v�2{�7~�7~�2y�1x�3{�.y�2|�2y�3y�3}�3~�5}�8�4��3��…
76  / 7s;>KD
82 …`��lǿpȿpǿr��mžgýd��c��g¼k¹h��i��j��i��k��g��d��e��gûjƽkǽjƾhĿiĿh��hÿmƾmĽj»p��s��i��e��h��i��g��d��e…
87 …��r��o��i��l��k��i¼e��e��h��h��h��j��j��h��i��g��e��e��iºh»h��lƾm��k��l��n��s��r��l¼l¼o��k��j��k¼h…
92 …��c��c��`��b��a��a��c��a��]��\��]��a��b��`��a��d��f��k¼r��lƽkŽnǿlƾkþl��q��s��s��nüh��f��e��e��g��k…
101 9"VK'Z="P30bO;s\1j`O��T��L��P��Q��M��U��T��W��S��U��R��Q��S��L��J��M��S��U��W��P��W��[��_��^��Z��_…
105 …��b��e��d��a��b��a��^��]��`��a��_��c��g��f��f��e��b��`��b��d��h��lülûjļhût��s��p��o��jýg��g��j��j�…
109 4 2 �#P%F5PB�� @ 7s;:nE# �������& 2�$
110 …ùhûd��c��f��i��gžeúf��a��_��c��jƽlȿiĺh´i÷kŸmǻp��p��m��l��k��o¼qĿpþqŽqżpļnûoùsźpŹjµi¶nżj¹h��mżmønøp…
Dpicture_256_192_a.ppm5s�������������������������������������������������������������������������������������������������…
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Transparent/src/
Dmain.c105 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
110 G3_RotX(s, c); in TwlMain()
111 G3_RotY(s, c); in TwlMain()
112 G3_RotZ(s, c); in TwlMain()
157 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
162 G3_RotX(s, c); in TwlMain()
163 G3_RotY(s, c); in TwlMain()
164 G3_RotZ(s, c); in TwlMain()
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_printf.c640 word.s = p->buffer[out].s; in OS_PrintServer()
708 p->buffer[in].s = word.s = (u16)((*(u16 *)(str - 1)) & 0xff00); in OS_FPutStringPrnSrv()
717 p->buffer[in].s = word.s = *(u16 *)str; in OS_FPutStringPrnSrv()
766 static void string_put_string(dst_string * p, const char *s, int n) in string_put_string() argument
774 p->cur[i] = s[i]; in string_put_string()
910 const char *s = fmt; in OS_VSNPrintfEx() local
915 while (*s) in OS_VSNPrintfEx()
917 if ((unsigned int)(((unsigned char)*s ^ 0x20) - 0xA1) < 0x3C) in OS_VSNPrintfEx()
920 string_put_char(&str, *s++); in OS_VSNPrintfEx()
921 if (*s) in OS_VSNPrintfEx()
[all …]
/TwlSDK-5.1.0/build/demos/gx/UnitTours/PosVecTest/src/
Dmain.c259 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
268 G3_RotX(s, c); in TwlMain()
269 G3_RotY(s, c); in TwlMain()
270 G3_RotZ(s, c); in TwlMain()
299 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
308 G3_RotX(s, c); in TwlMain()
309 G3_RotY(s, c); in TwlMain()
310 G3_RotZ(s, c); in TwlMain()
352 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
357 G3_RotX(s, c); in TwlMain()
[all …]
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Color/src/
Dmain.c91 fx16 s = FX_SinIdx(Rotate); in drawLeftCube() local
94 G3_RotX(s, c); in drawLeftCube()
95 G3_RotY(s, c); in drawLeftCube()
96 G3_RotZ(s, c); in drawLeftCube()
157 fx16 s = FX_SinIdx(Rotate); in drawRightCube() local
160 G3_RotX(s, c); in drawRightCube()
161 G3_RotY(s, c); in drawRightCube()
162 G3_RotZ(s, c); in drawRightCube()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_BoxTest/src/
Dmain.c151 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
156 G3_RotY(s, c); in TwlMain()
158 G3_RotX(s, c); in TwlMain()
159 G3_RotY(s, c); in TwlMain()
160 G3_RotZ(s, c); in TwlMain()
291 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
295 G3_RotY(s, c); in TwlMain()
297 G3_RotX(s, c); in TwlMain()
298 G3_RotY(s, c); in TwlMain()
299 G3_RotZ(s, c); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Env_Mapping/src/
Dmain.c167 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
170 G3_RotZ(s, c); in TwlMain()
171 G3_RotY(s, c); in TwlMain()
172 G3_RotX(s, c); in TwlMain()
179 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
196 G3_RotZ(s, c); in TwlMain()
197 G3_RotY(s, c); in TwlMain()
198 G3_RotX(s, c); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Split/src/
Dmain.c91 fx16 s = FX_SinIdx(Rotate); in drawLeftCube() local
94 G3_RotX(s, c); in drawLeftCube()
95 G3_RotY(s, c); in drawLeftCube()
96 G3_RotZ(s, c); in drawLeftCube()
157 fx16 s = FX_SinIdx(Rotate); in drawRightCube() local
160 G3_RotX(s, c); in drawRightCube()
161 G3_RotY(s, c); in drawRightCube()
162 G3_RotZ(s, c); in drawRightCube()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Vertex_Source/src/
Dmain.c229 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
233 G3_RotZ(s, c); in TwlMain()
234 G3_RotY(s, c); in TwlMain()
235 G3_RotX(s, c); in TwlMain()
240 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
257 G3_RotZ(s, c); in TwlMain()
258 G3_RotY(s, c); in TwlMain()
259 G3_RotX(s, c); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Shadow_Pol/src/
Dmain.c157 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
160 G3_RotY(s, c); in TwlMain()
162 G3_RotX(s, c); in TwlMain()
163 G3_RotY(s, c); in TwlMain()
164 G3_RotZ(s, c); in TwlMain()
202 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
205 G3_RotY(s, c); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Toon/src/
Dmain.c152 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
156 G3_RotZ(s, c); in TwlMain()
157 G3_RotY(s, c); in TwlMain()
158 G3_RotX(s, c); in TwlMain()
239 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
243 G3_RotZ(s, c); in TwlMain()
244 G3_RotY(s, c); in TwlMain()
245 G3_RotX(s, c); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_High_Light/src/
Dmain.c150 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
154 G3_RotZ(s, c); in TwlMain()
155 G3_RotY(s, c); in TwlMain()
156 G3_RotX(s, c); in TwlMain()
234 fx16 s = FX_SinIdx(Rotate); in TwlMain() local
238 G3_RotZ(s, c); in TwlMain()
239 G3_RotY(s, c); in TwlMain()
240 G3_RotX(s, c); in TwlMain()
/TwlSDK-5.1.0/build/tools/mic2wav/
Dmain.cpp81 void InputLine(const char *s);
90 void LogToWav::InputLine(const char *s) in InputLine() argument
92 switch(*s++) { in InputLine()
96 if(!strncmp(s, "bits=", 5)) { in InputLine()
98 wBitsPerSample = (WORD)atoi(s + 5); in InputLine()
100 else if(!strncmp(s, "rate=", 5)) { in InputLine()
102 nSamplesPerSec = (WORD)atoi(s + 5); in InputLine()
104 else if(!strncmp(s, "end", 3)) in InputLine()
117 char c = (char)toupper(*s++); in InputLine()
/TwlSDK-5.1.0/include/twl/hw/ARM9/
Dioreg_G2.h631 #define REG_G2_BG2PA_FIELD( s, integer_dx, decimal_dx ) \ argument
633 ((u32)(s) << REG_G2_BG2PA_S_SHIFT) | \
654 #define REG_G2_BG2PB_FIELD( s, integer_dmx, decimal_dmx ) \ argument
656 ((u32)(s) << REG_G2_BG2PB_S_SHIFT) | \
677 #define REG_G2_BG2PC_FIELD( s, integer_dy, decimal_dy ) \ argument
679 ((u32)(s) << REG_G2_BG2PC_S_SHIFT) | \
700 #define REG_G2_BG2PD_FIELD( s, integer_dmy, decimal_dmy ) \ argument
702 ((u32)(s) << REG_G2_BG2PD_S_SHIFT) | \
723 #define REG_G2_BG2X_FIELD( s, integer_sx, decimal_sx ) \ argument
725 ((u32)(s) << REG_G2_BG2X_S_SHIFT) | \
[all …]
Dioreg_G2S.h631 #define REG_G2S_DB_BG2PA_FIELD( s, integer_dx, decimal_dx ) \ argument
633 ((u32)(s) << REG_G2S_DB_BG2PA_S_SHIFT) | \
654 #define REG_G2S_DB_BG2PB_FIELD( s, integer_dmx, decimal_dmx ) \ argument
656 ((u32)(s) << REG_G2S_DB_BG2PB_S_SHIFT) | \
677 #define REG_G2S_DB_BG2PC_FIELD( s, integer_dy, decimal_dy ) \ argument
679 ((u32)(s) << REG_G2S_DB_BG2PC_S_SHIFT) | \
700 #define REG_G2S_DB_BG2PD_FIELD( s, integer_dmy, decimal_dmy ) \ argument
702 ((u32)(s) << REG_G2S_DB_BG2PD_S_SHIFT) | \
723 #define REG_G2S_DB_BG2X_FIELD( s, integer_sx, decimal_sx ) \ argument
725 ((u32)(s) << REG_G2S_DB_BG2X_S_SHIFT) | \
[all …]
/TwlSDK-5.1.0/include/nitro/hw/ARM9/
Dioreg_G2S.h631 #define REG_G2S_DB_BG2PA_FIELD( s, integer_dx, decimal_dx ) \ argument
633 ((u32)(s) << REG_G2S_DB_BG2PA_S_SHIFT) | \
654 #define REG_G2S_DB_BG2PB_FIELD( s, integer_dmx, decimal_dmx ) \ argument
656 ((u32)(s) << REG_G2S_DB_BG2PB_S_SHIFT) | \
677 #define REG_G2S_DB_BG2PC_FIELD( s, integer_dy, decimal_dy ) \ argument
679 ((u32)(s) << REG_G2S_DB_BG2PC_S_SHIFT) | \
700 #define REG_G2S_DB_BG2PD_FIELD( s, integer_dmy, decimal_dmy ) \ argument
702 ((u32)(s) << REG_G2S_DB_BG2PD_S_SHIFT) | \
723 #define REG_G2S_DB_BG2X_FIELD( s, integer_sx, decimal_sx ) \ argument
725 ((u32)(s) << REG_G2S_DB_BG2X_S_SHIFT) | \
[all …]
Dioreg_G2.h631 #define REG_G2_BG2PA_FIELD( s, integer_dx, decimal_dx ) \ argument
633 ((u32)(s) << REG_G2_BG2PA_S_SHIFT) | \
654 #define REG_G2_BG2PB_FIELD( s, integer_dmx, decimal_dmx ) \ argument
656 ((u32)(s) << REG_G2_BG2PB_S_SHIFT) | \
677 #define REG_G2_BG2PC_FIELD( s, integer_dy, decimal_dy ) \ argument
679 ((u32)(s) << REG_G2_BG2PC_S_SHIFT) | \
700 #define REG_G2_BG2PD_FIELD( s, integer_dmy, decimal_dmy ) \ argument
702 ((u32)(s) << REG_G2_BG2PD_S_SHIFT) | \
723 #define REG_G2_BG2X_FIELD( s, integer_sx, decimal_sx ) \ argument
725 ((u32)(s) << REG_G2_BG2X_S_SHIFT) | \
[all …]
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Light/src/
Dmain.c123 fx16 s = FX_SinIdx(Rotate); in drawLeftCube() local
128 G3_RotX(s, c); in drawLeftCube()
129 G3_RotY(s, c); in drawLeftCube()
130 G3_RotZ(s, c); in drawLeftCube()
170 fx16 s = FX_SinIdx(Rotate); in drawRightCube() local
175 G3_RotX(s, c); in drawRightCube()
176 G3_RotY(s, c); in drawRightCube()
177 G3_RotZ(s, c); in drawRightCube()

123456