Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 114) sorted by relevance

12345

/TwlSDK-5.1.0/build/tools/makelcf.TWL/
Dcontainer.c74 tOverlay *t = Alloc(sizeof(tOverlay)); in NewOverlay() local
77 list->tail->next = t; in NewOverlay()
79 list->head = t; in NewOverlay()
80 list->tail = t; in NewOverlay()
82 return t; in NewOverlay()
87 tOverlay *t = list->head; in GetOverlay() local
89 while (t) in GetOverlay()
91 if (isSame(t->name, overlayName)) in GetOverlay()
93 return t; in GetOverlay()
95 t = t->next; in GetOverlay()
[all …]
Ddefval.c106 tValdef *t; in AddDefVal() local
123 t = Alloc(sizeof(tValdef)); in AddDefVal()
124 t->name = strncpy(Alloc(lastword + 1), opt, lastword); in AddDefVal()
125 t->name[lastword] = '\0'; in AddDefVal()
132 t->value = strdup(opt + i); in AddDefVal()
133 lastword = strlen(t->value) - 1; in AddDefVal()
136 if ('\r' != t->value[lastword] && '\n' != t->value[lastword]) in AddDefVal()
140 t->value[lastword] = '\0'; in AddDefVal()
144 t->next = valdef_top; in AddDefVal()
145 valdef_top = t; in AddDefVal()
[all …]
/TwlSDK-5.1.0/build/tools/makelcf/
Dcontainer.c132 tOverlay *t = Alloc(sizeof(tOverlay)); in NewOverlay() local
135 list->tail->next = t; in NewOverlay()
137 list->head = t; in NewOverlay()
138 list->tail = t; in NewOverlay()
140 return t; in NewOverlay()
145 tOverlay *t = list->head; in GetOverlay() local
147 while (t) in GetOverlay()
149 if (isSame(t->name, overlayName)) in GetOverlay()
151 return t; in GetOverlay()
153 t = t->next; in GetOverlay()
[all …]
Ddefval.c143 tValdef *t; in AddDefVal() local
160 t = Alloc(sizeof(tValdef)); in AddDefVal()
161 t->name = strncpy(Alloc(lastword + 1), opt, lastword); in AddDefVal()
162 t->name[lastword] = '\0'; in AddDefVal()
169 t->value = strdup(opt + i); in AddDefVal()
170 lastword = strlen(t->value) - 1; in AddDefVal()
173 if ('\r' != t->value[lastword] && '\n' != t->value[lastword]) in AddDefVal()
177 t->value[lastword] = '\0'; in AddDefVal()
181 t->next = valdef_top; in AddDefVal()
182 valdef_top = t; in AddDefVal()
[all …]
/TwlSDK-5.1.0/build/tools/bin2obj/
Dcookargs.c26 void cook_args(Bin2ObjArgs * t, int argc, char *argv[]) in cook_args() argument
44 memset(t, 0, sizeof(Bin2ObjArgs)); in cook_args()
45 UnpackFileName(argv[0], NULL, &t->app_name, NULL); in cook_args()
46 t->align = DEFAULT_ALIGN; in cook_args()
47 t->writable = DEFALUT_WRITABLE; in cook_args()
48 t->symbol_begin = StrDup(DEFAULT_SYMBOL_BEGIN); in cook_args()
49 t->symbol_end = StrDup(DEFAULT_SYMBOL_END); in cook_args()
50 t->section_rodata = StrDup(DEFAULT_SECTION_RODATA); in cook_args()
51 t->section_rwdata = StrDup(DEFAULT_SECTION_RWDATA); in cook_args()
53 t->machine = 0; in cook_args()
[all …]
Dbin2obj.c45 BOOL bin2obj(const Bin2ObjArgs * t) in bin2obj() argument
52 object_init(&object, t->machine, t->endian); in bin2obj()
55 t->section_rodata, t->section_rwdata, in bin2obj()
56 t->symbol_begin, t->symbol_end, t->binary_filename, t->writable, t->align)) in bin2obj()
66 if (!output_object(&object, t->object_filename)) in bin2obj()
/TwlSDK-5.1.0/build/libraries/math/common/src/
Ddgt_sha1.c101 #define w_alias(t) w[(t) & 15] in MATHi_SHA1ProcessBlock() argument
102 #define w_update(t) \ in MATHi_SHA1ProcessBlock() argument
103 if (t >= 16) \ in MATHi_SHA1ProcessBlock()
105 w_alias(t) = NETRotateLeft32(1, \ in MATHi_SHA1ProcessBlock()
106 w_alias(t - 16 + 0) ^ \ in MATHi_SHA1ProcessBlock()
107 w_alias(t - 16 + 2) ^ \ in MATHi_SHA1ProcessBlock()
108 w_alias(t - 16 + 8) ^ \ in MATHi_SHA1ProcessBlock()
109 w_alias(t - 16 + 13)); \ in MATHi_SHA1ProcessBlock()
114 #define w_alias(t) w[t] in MATHi_SHA1ProcessBlock() argument
115 #define w_update(t) (void)0 in MATHi_SHA1ProcessBlock() argument
[all …]
Dcrc.c38 u8 *t = table->table; in MATHi_CRC8InitTable() local
54 t[i] = (u8)r; in MATHi_CRC8InitTable()
74 u8 *t = table->table; in MATHi_CRC8InitTableRev() local
90 t[i] = (u8)r; in MATHi_CRC8InitTableRev()
112 const u8 *t = table->table; in MATHi_CRC8Update() local
118 r = t[(r ^ *data) & 0xff]; in MATHi_CRC8Update()
142 u16 *t = table->table; in MATHi_CRC16InitTable() local
158 t[i] = (u16)r; in MATHi_CRC16InitTable()
178 u16 *t = table->table; in MATHi_CRC16InitTableRev() local
194 t[i] = (u16)r; in MATHi_CRC16InitTableRev()
[all …]
Dfft.c66 #define SWAP_FX32(a, b) {fx32 t; t = (a); (a) = (b); (b) = t;}
108 u32 t; in MATHi_FFT() local
130 t = dt; in MATHi_FFT()
138 wr = sinTable[t + nq]; // cos(-x) == cos(x) == sin(x+(pi/2)) in MATHi_FFT()
139 wi = -sinTable[t]; in MATHi_FFT()
144 t += dt; in MATHi_FFT()
163 fx32 t = FX_Mul(wr, xr + xi); in MATHi_FFT() local
164 yr = t - FX_Mul(w1, xi); in MATHi_FFT()
165 yi = t - FX_Mul(w2, xr); in MATHi_FFT()
178 t += dt; in MATHi_FFT()
[all …]
/TwlSDK-5.1.0/build/demos/prc/patterns/data/
Dpatterns.txt6 "0" 1 0 64 | (32,1) (43,8) (50,27) (42,62) (26,61) (14,39) (12,19) (28,3) | # '0' �t����
7 "0" 1 0 64 | (31,4) (17,22) (19,50) (32,59) (45,50) (44,11) (32,2) | (48,0) (15,62) | # '0' �ΐ��t��
9 "1" 1 0 64 | (22,10) (36,0) (40,63) | # '1' ����t��
21 "7" 1 0 64 | (14,1) (49,1) (24,62) | (25,28) (39,37) | # '7' �ΐ��t��
24 "8" 1 0 64 | (24,27) (16,12) (20,1) (35,4) (39,17) (20,37) (23,62) (46,52) (31,30) | # '8' �t����
58 "n" 2 0 64 | (0,18) (3,3) (19,7) (17,59) (29,13) (44,10) (50,53) (63,58) | # 'n' ����t��
59 …) (10,9) (1,30) (5,45) (25,63) (51,56) (61,36) (47,9) (29,0) (19,9) (26,22) (59,17) | # 'o' ����t��
69 "t" 2 0 64 | (11,20) (49,13) | (35,0) (27,45) (32,59) (42,63) (48,56) | # 't'
70 "t" 2 0 64 | (32,0) (23,56) (34,63) (51,49) | (12,23) (47,21) | # 't' �M���Ⴂ
71 "t" 2 0 64 | (11,62) (33,21) (36,0) (29,50) (35,62) (55,53) | (6,23) (52,22) | # 't' �M�L��
[all …]
/TwlSDK-5.1.0/build/libraries/fx/common/src/
Dfx_vec.c242 fx64 t; in VEC_Mag() local
248 t = (fx64)pSrc->x * pSrc->x; in VEC_Mag()
249 t += (fx64)pSrc->y * pSrc->y; in VEC_Mag()
250 t += (fx64)pSrc->z * pSrc->z; in VEC_Mag()
252 t <<= 2; // for better precision in VEC_Mag()
254 CP_SetSqrt64((u64)t); in VEC_Mag()
271 fx64 t; in VEC_Fx16Mag() local
277 t = pSrc->x * pSrc->x; in VEC_Fx16Mag()
278 t += pSrc->y * pSrc->y; in VEC_Fx16Mag()
279 t += pSrc->z * pSrc->z; in VEC_Fx16Mag()
[all …]
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_thread.c217 OSThread *t = queue->head; in OSi_RemoveLinkFromQueue() local
219 if (t) in OSi_RemoveLinkFromQueue()
221 OSThread *next = t->link.next; in OSi_RemoveLinkFromQueue()
232 t->queue = NULL; in OSi_RemoveLinkFromQueue()
236 return t; in OSi_RemoveLinkFromQueue()
250 OSThread *t = queue->head; in OSi_RemoveSpecifiedLinkFromQueue() local
254 while (t) in OSi_RemoveSpecifiedLinkFromQueue()
256 next = t->link.next; in OSi_RemoveSpecifiedLinkFromQueue()
258 if (t == thread) in OSi_RemoveSpecifiedLinkFromQueue()
260 prev = t->link.prev; in OSi_RemoveSpecifiedLinkFromQueue()
[all …]
/TwlSDK-5.1.0/build/tools/defval/
Dget_defval.c30 tDefineValue *t; in get_dvalue_listptr() local
32 for (t = gDefineValueTop; t; t = t->next) in get_dvalue_listptr()
34 if (!strcmp(t->name, name)) in get_dvalue_listptr()
36 return t; in get_dvalue_listptr()
56 tDefineValue *t = get_dvalue_listptr(name); in get_dvalue() local
58 return t ? t->value : getenv(name); in get_dvalue()
Dset_defval.c44 tDefineValue *t; in add_dvalue() local
63 if (NULL != (t = get_dvalue_listptr(name))) in add_dvalue()
65 if (t->value) in add_dvalue()
66 free(t->value); in add_dvalue()
67 t->value = StrDup(value); in add_dvalue()
72 t = Calloc(sizeof(tDefineValue)); in add_dvalue()
73 t->name = StrDup(name); in add_dvalue()
74 t->value = StrDup(value); in add_dvalue()
75 t->next = gDefineValueTop; in add_dvalue()
76 gDefineValueTop = t; in add_dvalue()
/TwlSDK-5.1.0/build/libraries/math/common/src/asm/
Dsha1.s54 ; r9 : t
73 ; r9 : t
78 ; r1, r8 : w[t], context->block[t] �̃A�h���X
84 ; t���Z�b�g
87 ; w[t] = NETConvert32HToBE(((u32*)context->block)[t]);
88 ; w[t+1] = NETConvert32HToBE(((u32*)context->block)[t+1]);
89 ; w[t+2] = NETConvert32HToBE(((u32*)context->block)[t+2]);
90 ; w[t+3] = NETConvert32HToBE(((u32*)context->block)[t+3]);
112 ; for (t = 0; t < 16; t+=4)
120 ; r9 : t
[all …]
/TwlSDK-5.1.0/build/demos/card/card-mrom/src/
Dmain.c46 OSTick t; in NitroMain() local
52 t = OS_GetTick(); in NitroMain()
54 t = OS_GetTick() - t; in NitroMain()
57 1.0 * BUFFER_SIZE / OS_TicksToMicroSeconds(t)); in NitroMain()
/TwlSDK-5.1.0/include/twl/specfiles/
DARM7-TS.lcf.template81 <STATIC.OBJECT=.text:t>
84 <STATIC.LIBRARY=.text:t>
87 <STATIC.OBJECT=.rodata:t>
90 <STATIC.LIBRARY=.rodata:t>
93 <STATIC.OBJECT=.init:t>
96 <STATIC.LIBRARY=.init:t>
102 <STATIC.OBJECT=.ctor:t>
105 <STATIC.LIBRARY=.ctor:t>
108 <STATIC.OBJECT=.sinit:t>
111 <STATIC.LIBRARY=.sinit:t>
[all …]
DARM9-TS-cloneboot-C.lcf.template123 <STATIC.OBJECT=.text:t>
126 <STATIC.LIBRARY=.text:t>
136 <STATIC.OBJECT=.rodata:t>
139 <STATIC.LIBRARY=.rodata:t>
142 <STATIC.OBJECT=.init:t>
145 <STATIC.LIBRARY=.init:t>
151 <STATIC.OBJECT=.ctor:t>
154 <STATIC.LIBRARY=.ctor:t>
157 <STATIC.OBJECT=.sinit:t>
160 <STATIC.LIBRARY=.sinit:t>
[all …]
DARM9-TS.lcf.template107 <STATIC.OBJECT=.text:t>
110 <STATIC.LIBRARY=.text:t>
120 <STATIC.OBJECT=.rodata:t>
123 <STATIC.LIBRARY=.rodata:t>
126 <STATIC.OBJECT=.init:t>
129 <STATIC.LIBRARY=.init:t>
135 <STATIC.OBJECT=.ctor:t>
138 <STATIC.LIBRARY=.ctor:t>
141 <STATIC.OBJECT=.sinit:t>
144 <STATIC.LIBRARY=.sinit:t>
[all …]
/TwlSDK-5.1.0/include/nitro/specfiles/2.x/
DARM9-TS-C.lcf.template116 <STATIC.OBJECT=.text:t>
119 <STATIC.LIBRARY=.text:t>
129 <STATIC.OBJECT=.init:t>
132 <STATIC.LIBRARY=.init:t>
136 <STATIC.OBJECT=.rodata:t>
139 <STATIC.LIBRARY=.rodata:t>
146 <STATIC.OBJECT=.ctor:t>
149 <STATIC.LIBRARY=.ctor:t>
152 <STATIC.OBJECT=.sinit:t>
155 <STATIC.LIBRARY=.sinit:t>
[all …]
DARM9-TS-cloneboot-C.lcf.template138 <STATIC.OBJECT=.text:t>
141 <STATIC.LIBRARY=.text:t>
151 <STATIC.OBJECT=.init:t>
154 <STATIC.LIBRARY=.init:t>
158 <STATIC.OBJECT=.rodata:t>
161 <STATIC.LIBRARY=.rodata:t>
168 <STATIC.OBJECT=.ctor:t>
171 <STATIC.LIBRARY=.ctor:t>
174 <STATIC.OBJECT=.sinit:t>
177 <STATIC.LIBRARY=.sinit:t>
[all …]
DARM9-TS.lcf.template171 <STATIC.OBJECT=.text:t>
174 <STATIC.LIBRARY=.text:t>
184 <STATIC.OBJECT=.init:t>
187 <STATIC.LIBRARY=.init:t>
191 <STATIC.OBJECT=.rodata:t>
194 <STATIC.LIBRARY=.rodata:t>
201 <STATIC.OBJECT=.ctor:t>
204 <STATIC.LIBRARY=.ctor:t>
207 <STATIC.OBJECT=.sinit:t>
210 <STATIC.LIBRARY=.sinit:t>
[all …]
DARM9-TEG-C.lcf.template99 <STATIC.OBJECT=.text:t>
102 <STATIC.LIBRARY=.text:t>
112 <STATIC.OBJECT=.init:t>
115 <STATIC.LIBRARY=.init:t>
119 <STATIC.OBJECT=.rodata:t>
122 <STATIC.LIBRARY=.rodata:t>
129 <STATIC.OBJECT=.ctor:t>
132 <STATIC.LIBRARY=.ctor:t>
148 <STATIC.OBJECT=.sdata:t>
151 <STATIC.LIBRARY=.sdata:t>
[all …]
/TwlSDK-5.1.0/build/tools/ppmconv/
Dppmconv8.c169 static void ColorTableInit(ColorTable * t) in ColorTableInit() argument
174 t->color[i] = 0x0000; in ColorTableInit()
176 t->num_colors = 0; in ColorTableInit()
190 static int ColorTableAppend(ColorTable * t, u16 color) in ColorTableAppend() argument
194 for (i = 0; i < t->num_colors; i++) in ColorTableAppend()
196 if (t->color[i] == color) in ColorTableAppend()
207 t->color[i] = color; in ColorTableAppend()
208 t->num_colors++; in ColorTableAppend()
222 static u16 ColorTableGetColor(ColorTable * t, int index) in ColorTableGetColor() argument
224 return index < t->num_colors ? t->color[index] : 0x0000; in ColorTableGetColor()
/TwlSDK-5.1.0/build/demos/ctrdg/backup-1/src/
Ddraw.c69 return (x >= p->clip.o.x) && (x < p->clip.t.x); in IsBoundX()
73 return (y >= p->clip.o.y) && (y < p->clip.t.y); in IsBoundY()
79 if (p->pos.x >= pc->clip.t.x) in NormalizeRegion()
87 else if (p->wid.x > pc->clip.t.x - p->pos.x) in NormalizeRegion()
88 p->wid.x = pc->clip.t.x - p->pos.x; in NormalizeRegion()
90 if (p->pos.y >= pc->clip.t.y) in NormalizeRegion()
98 else if (p->wid.y > pc->clip.t.y - p->pos.y) in NormalizeRegion()
99 p->wid.y = pc->clip.t.y - p->pos.y; in NormalizeRegion()
150 p->clip.t.x = GX_LCD_SIZE_X; in InitDraw()
151 p->clip.t.y = GX_LCD_SIZE_Y; in InitDraw()
[all …]

12345