Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 60) sorted by relevance

123

/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/texConvert/
DTexConvert.cpp147 for (s32 count = 0; count < argc; count++) in PrintCommandLine() local
149 printf("%s ", argv[count]); in PrintCommandLine()
353 s32 count = 0; in InitializeConfig() local
386 for (count = 0; count < argc; count++) in InitializeConfig()
388 if (!strcmp(argv[count], "-tileMode")) in InitializeConfig()
390 if ((count + 1) < argc) in InitializeConfig()
392 strcpy_s(pConfig->tileMode, argv[count + 1]); in InitializeConfig()
393 count++; in InitializeConfig()
396 else if (!strcmp(argv[count], "-gpu")) in InitializeConfig()
398 if ((count + 1) < argc) in InitializeConfig()
[all …]
/CafeSDK-2.12.13-1/system/src/lib/demo/
DdemoGfxShader.c82 if(pShader->samplersVS.count > GX2_MAX_SAMPLERS ) in DEMOGfxGetVertexShaderSamplerLocation()
84 …OSReport("Warning : The sampler count (%d) in VS is over %d\n", pShader->samplersVS.count, GX2_MAX… in DEMOGfxGetVertexShaderSamplerLocation()
89 pShader->samplersVS.location[pShader->samplersVS.count] = in DEMOGfxGetVertexShaderSamplerLocation()
91 ASSERT(DEMOGfxCheckShaderLocation(pShader->samplersVS.location[pShader->samplersVS.count])); in DEMOGfxGetVertexShaderSamplerLocation()
94 pShader->samplersVS.count++; in DEMOGfxGetVertexShaderSamplerLocation()
105 if(pShader->samplersPS.count > GX2_MAX_SAMPLERS ) in DEMOGfxGetPixelShaderSamplerLocation()
107 …OSReport("Warning : The sampler count (%d) in PS is over %d\n", pShader->samplersPS.count, GX2_MAX… in DEMOGfxGetPixelShaderSamplerLocation()
112 pShader->samplersPS.location[pShader->samplersPS.count] = in DEMOGfxGetPixelShaderSamplerLocation()
114 ASSERT(DEMOGfxCheckShaderLocation(pShader->samplersPS.location[pShader->samplersPS.count])); in DEMOGfxGetPixelShaderSamplerLocation()
117 pShader->samplersPS.count++; in DEMOGfxGetPixelShaderSamplerLocation()
[all …]
Ddemowin.cpp56 : Window(manager, name, CVec2(0, 0), CVec2(1.4, 0.1 + start.count * 0.1)) in ComboCustom()
58 ASSERT(start.count == names.count && names.count == option.count); in ComboCustom()
60 int count = start.count; in ComboCustom() local
64 counts.resize(count); in ComboCustom()
67 counts[i] = option.args[i].count; in ComboCustom()
71 optionArray.resize(count); in ComboCustom()
76 Init(count, &counts[0], start.args, names.args, &optionArray[0]); in ComboCustom()
80 : Window(manager, name, CVec2(0, 0), CVec2(1.4, 0.1 + start.count * 0.1)) in ComboCustom()
82 ASSERT(start.count == names.count && names.count == option.count); in ComboCustom()
84 int count = start.count; in ComboCustom() local
[all …]
DdemoTest.c29 u32 count; member
119 DEMOTestData.count = 0; in DEMOTestInit()
226 if (DEMOTestData.count+1 == DEMOTestData.pm4CaptureSelect) in DEMOTestCheck()
252 if (DEMOTestData.count > 0) { in DEMOTestCheck()
254 if (DEMOTestData.count == DEMOTestData.pm4CaptureSelect+DEMOTestData.pm4CaptureNumFrames-1) in DEMOTestCheck()
257 …sprintf(str, "DEMO: end PM4 capture at frame %d to file \"%s\"", DEMOTestData.count, DEMOTestData.… in DEMOTestCheck()
264 if (DEMOTestData.count == DEMOTestData.testSelect) { in DEMOTestCheck()
268 if (DEMOTestData.count == DEMOTestData.captureSelect) { in DEMOTestCheck()
272 if (DEMOTestData.count == DEMOTestData.stopSelect) { in DEMOTestCheck()
275 if (DEMOTestData.count == DEMOTestData.dumpSelect) { in DEMOTestCheck()
[all …]
/CafeSDK-2.12.13-1/system/src/lib/libsys/
Dppc_manprf.h75 #define TIMER_INIT(count) __MTSPR(22/*DEC*/, count); \ argument
99 #define TIMER_INIT(count) __MTSPR(0x3db/*PIT*/, count); \ argument
115 #define TIMER_INIT(count) \ argument
119 __MTSPR(22/*DEC*/, count)
125 #define TIMER_INIT(count) \ argument
130 __MTSPR(22/*DEC*/, count)
138 #define TIMER_INIT(count) __MTSPR(22/*DEC*/, count) argument
Dind_trnc.c146 int count = 0; in truncate() local
177 while (length > 0 && (count = read(inf, buf, LBUFSIZ)) > 0) { in truncate()
178 if (count > length) in truncate()
179 count = length; in truncate()
180 if (count > write(of, buf, count)) { in truncate()
181 count = -1; in truncate()
184 length -= count; in truncate()
189 if (length == 0 && count >= 0) { in truncate()
218 while ((count = read(inf, buf, LBUFSIZ)) > 0) in truncate()
219 if (count > write(of, buf, count)) { in truncate()
[all …]
Dind_lockcpp.c38 int count; member
55 rm->count++; in __ghsLockCpp()
59 rm->count = 1; in __ghsLockCpp()
66 if(--(rm->count)==0) { in __ghsUnlockCpp()
82 int count; member
96 rm->count++; in __ghsLockCpp()
100 rm->count = 1; in __ghsLockCpp()
108 if(--(rm->count)==0) { in __ghsUnlockCpp()
124 int count; /* how many times has the same process entered */ member
139 ++lock_r[i].count; in ose_lock_acquire()
[all …]
Dindsecinfo.h51 int count=0;
52 for (p = &__secinfo; p != NULL; p=p->next,count++) {
70 printf("%i sections in this module\n",count);
Dcoldfire_manprf.h258 void TIMER_INIT(unsigned int count) in TIMER_INIT() argument
275 timer->pmr = count; in TIMER_INIT()
311 void TIMER_INIT(unsigned int count) in TIMER_INIT() argument
328 timer->pmr = count; in TIMER_INIT()
364 void TIMER_INIT(unsigned int count) in TIMER_INIT() argument
375 timer->trr = count; in TIMER_INIT()
/CafeSDK-2.12.13-1/system/src/lib/demo/demowin/
Ddemowin_scroll_bar.cpp31 if (this->count <= this->max) in Update()
34 float sizeY = this->count - this->max; in Update()
51 if (*this->pPos >= this->count - this->max) in Update()
54 *this->pPos = this->count - this->max; in Update()
90 *pPos = count - max; in Draw()
95 if (*pPos >= count - max) in Draw()
98 *pPos = count - max; in Draw()
105 if (count > max) in Draw()
107 float sizeY = count - max; in Draw()
111 subHeight = height * (1.0 - (float)sizeY / count); in Draw()
Ddemowin_combo_box.cpp29 ASSERT(item.count > 0 && "Combo boxes cannot be empty!"); in Add()
50 int visibleCount = this->count - this->bar.pos; in CursorOver()
88 this->bar.count = this->count; in Update()
94 int visibleCount = this->count - this->bar.pos; in Update()
98 if (this->count > COMBOBOX_COUNT) in Update()
150 if (this->bar.pos > this->count - COMBOBOX_COUNT) in Update()
264 int count = COMBOBOX_COUNT; in Draw() local
265 if (count > this->count) in Draw()
266 count = this->count; in Draw()
270 if (this->count > COMBOBOX_COUNT) in Draw()
[all …]
Ddemowin_double_combo_box.cpp21 ASSERT(item.count > 0 && "Double combo boxes cannot be empty!"); in Add()
42 int visibleCount = this->count - this->bar1.pos; in CursorOver()
123 int count = this->data[this->pos1]->GetCount(); in Update() local
135 this->bar2.count = count; in Update()
141 int visibleCount = count - this->bar2.pos; in Update()
145 if (count > COMBOBOX_COUNT) in Update()
178 if (this->bar2.pos > count - COMBOBOX_COUNT) in Update()
241 this->bar1.count = this->count; in Update()
247 int visibleCount = this->count - this->bar1.pos; in Update()
251 if (this->count > COMBOBOX_COUNT) in Update()
[all …]
Ddemowin_helpers.cpp92 int count = vsprintf(dest, src, args); in sprintf_s() local
97 return count; in sprintf_s()
105 int count = vsprintf(dest, src, list); in vsprintf_s() local
109 return count; in vsprintf_s()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/gshCompile/
DgshCompile.cpp658 s32 count = 0; in Initialize() local
679 for (count = 1; count < argc; count++) in Initialize()
681 if (!strcmp(argv[count], "-gpu")) in Initialize()
683 if ((count + 1) < argc) in Initialize()
685 switch(atoi(argv[count + 1])) in Initialize()
698 count++; in Initialize()
702 printf("Missing parameter argument %s <arg>\n", argv[count]); in Initialize()
707 else if (!strcmp(argv[count], "-v")) in Initialize()
709 if ((count + 1) < argc) in Initialize()
711 if (!AppendShaderSource(argv[count + 1], &pConfig->vs_source)) in Initialize()
[all …]
/CafeSDK-2.12.13-1/system/include/cafe/gx2/
Dgx2Draw.h297 void GX2API GX2DrawIndexedEx(GX2PrimitiveType mode, u32 count,
321 void GX2API GX2DrawIndexedEx2(GX2PrimitiveType mode, u32 count,
339 u32 count, in GX2DrawAdaptive() argument
348 GX2DrawIndexedEx(mode, count, GX2_INDEX_FORMAT_U32_LE, pTessFactors, baseVertex, 1); in GX2DrawAdaptive()
363 GX2_INLINE void GX2DrawIndexed(GX2PrimitiveType mode, u32 count, in GX2DrawIndexed() argument
366 GX2DrawIndexedEx(mode, count, indexFormat, indices, 0, 1); in GX2DrawIndexed()
388 void GX2API GX2DrawIndexedImmediateEx(GX2PrimitiveType mode, u32 count,
405 GX2_INLINE void GX2DrawIndexedImmediate(GX2PrimitiveType mode, u32 count, in GX2DrawIndexedImmediate() argument
409 GX2DrawIndexedImmediateEx(mode, count, indexFormat, indices, 0, 1); in GX2DrawIndexedImmediate()
431 void GX2API GX2DrawEx(GX2PrimitiveType mode, u32 count, u32 firstVertex,
[all …]
/CafeSDK-2.12.13-1/system/include/cafe/demo/demowin/
Ddemowin_scroll_bar.h19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
25 …: MenuItem(copy), pos(copy.pos), subHeight(copy.subHeight), count(copy.count), max(copy.max), pPos… in ScrollBar()
41 float count; member
Ddemowin_assets.h141 count = 0; in AutoList()
167 count = _count; in AutoList()
168 data.resize(count); in AutoList()
174 for (int i = 0; i < count; ++i) in AutoList()
182 count = _count; in Init()
184 data.resize(count); in Init()
190 for (int i = 0; i < count; ++i) in Init()
200 count = list.count;
213 int count; member
271 : name(_name), count(0) {} in SubDoubleComboBasic()
[all …]
Ddemowin_helpers.h68 int count = vsprintf(dest, src, args); in sprintf_s() local
73 return count; in sprintf_s()
82 int count = vsprintf(dest, src, list); in vsprintf_s() local
86 return count; in vsprintf_s()
/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_scroll_bar.h19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
25 …: MenuItem(copy), pos(copy.pos), subHeight(copy.subHeight), count(copy.count), max(copy.max), pPos… in ScrollBar()
41 float count; member
Ddemowin_assets.h141 count = 0; in AutoList()
167 count = _count; in AutoList()
168 data.resize(count); in AutoList()
174 for (int i = 0; i < count; ++i) in AutoList()
182 count = _count; in Init()
184 data.resize(count); in Init()
190 for (int i = 0; i < count; ++i) in Init()
200 count = list.count;
213 int count; member
271 : name(_name), count(0) {} in SubDoubleComboBasic()
[all …]
Ddemowin_helpers.h68 int count = vsprintf(dest, src, args); in sprintf_s() local
73 return count; in sprintf_s()
82 int count = vsprintf(dest, src, list); in vsprintf_s() local
86 return count; in vsprintf_s()
/CafeSDK-2.12.13-1/system/include/cafe/os/
DOSSemaphore.h43 s32 count; member
47 void OSInitSemaphore ( OSSemaphore* sem, s32 count );
48 void OSInitSemaphoreEx ( OSSemaphore* sem, s32 count, char * name );
/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/
DdemoGfxShader.h28 u32 count; member
42 u32 count; member
56 u32 count; member
69 u32 count; member
/CafeSDK-2.12.13-1/system/include/cafe/demo/
DdemoGfxShader.h28 u32 count; member
42 u32 count; member
56 u32 count; member
69 u32 count; member
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/gfd/
DgfdFileTexture.cpp230 u32 count = 0; in GFDWriteFileTexture() local
267 for (count = 0; count < numTexture; count++) in GFDWriteFileTexture()
269 if(NULL != &pTexture[count]) in GFDWriteFileTexture()
272 if(!GFDWriteFileTextureBlock(fpout, swapMode, alignMode, &pTexture[count])) in GFDWriteFileTexture()
274 printf("Error: Can't write texture block %d.\n", count); in GFDWriteFileTexture()
296 u32 count = 0; in GFDAppendWriteFileTexture() local
334 for (count = 0; count < numTexture; count++) in GFDAppendWriteFileTexture()
336 if(NULL != &pTexture[count]) in GFDAppendWriteFileTexture()
339 if(!GFDWriteFileTextureBlock(fpout, swapMode, alignMode, &pTexture[count])) in GFDAppendWriteFileTexture()
341 printf("Error: Can't write texture block %d.\n", count); in GFDAppendWriteFileTexture()

123