Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 38) sorted by relevance

12

/CafeSDK-2.12.13-1/system/src/lib/demo/demowin/
Ddemowin_slider_bar_float.cpp34 bar->pos += pow(10, -bar->decimals); in Increment()
36 if (bar->pos > bar->max) in Increment()
37 bar->pos = bar->max; in Increment()
39 (*bar->target) = bar->pos; in Increment()
48 bar->pos -= pow(10, -bar->decimals); in Decrement()
50 if (bar->pos < bar->min) in Decrement()
51 bar->pos = bar->min; in Decrement()
53 (*bar->target) = bar->pos; in Decrement()
64 float diff = this->pos - *this->target; in Update()
66 this->pos = *this->target; in Update()
[all …]
Ddemowin_slider_bar.cpp34 bar->pos ++; in Increment()
35 bar->pos = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Increment()
37 if (bar->pos > bar->max) in Increment()
38 bar->pos = bar->max; in Increment()
40 (*bar->target) = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Increment()
49 bar->pos --; in Decrement()
50 bar->pos = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Decrement()
52 if (bar->pos < bar->min) in Decrement()
53 bar->pos = bar->min; in Decrement()
55 (*bar->target) = (int)(bar->pos + 10000000 + 0.5) - 10000000; in Decrement()
[all …]
Ddemowin_double_combo_box.cpp42 int visibleCount = this->count - this->bar1.pos; in CursorOver()
60 visibleCount = this->data[this->pos1]->GetCount() - this->bar2.pos; in CursorOver()
84 TabSubIndex() = this->pos1 - this->bar1.pos; in Update()
98 TabSubIndex() = this->pos1 - this->bar1.pos; in Update()
126 int pos = this->pos1; in Update() local
128 pos = this->over1; in Update()
130 int position = this->bar1.pos + 0.5; in Update()
134 this->bar2.y = this->y - (5.5 + pos - position) * this->height; in Update()
141 int visibleCount = count - this->bar2.pos; in Update()
176 this->bar2.pos ++; in Update()
[all …]
Ddemowin_combo_box.cpp50 int visibleCount = this->count - this->bar.pos; in CursorOver()
94 int visibleCount = this->count - this->bar.pos; in Update()
148 this->bar.pos ++; in Update()
150 if (this->bar.pos > this->count - COMBOBOX_COUNT) in Update()
151 this->bar.pos --; in Update()
162 this->bar.pos --; in Update()
164 if (this->bar.pos < 0) in Update()
165 this->bar.pos ++; in Update()
185 this->over = this->bar.pos + 0.5 + choice; in Update()
189 this->pos = this->bar.pos + 0.5 + choice; in Update()
[all …]
Ddemowin_tab_window.cpp95 scrollBar->pos = 0; in PreUpdate()
102 this->offY = scrollBar->pos; in PreUpdate()
Ddemowin_tabbing.cpp62 tabIndex->window->GetMaster()->scrollBar->pos = tabIndex->window->GetOffY(); in UpdateTabbing()
74 tabIndex->window->GetMaster()->scrollBar->pos = tabIndex->window->GetOffY(); in UpdateTabbing()
/CafeSDK-2.12.13-1/system/src/lib/szfile/
D7zBuf2.c11 p->pos = 0; in DynBuf_Construct()
16 p->pos = 0; in DynBuf_SeekToBeg()
21 if (size > p->size - p->pos) in DynBuf_Write()
23 size_t newSize = p->pos + size; in DynBuf_Write()
30 memcpy(data, p->data, p->pos); in DynBuf_Write()
34 memcpy(p->data + p->pos, buf, size); in DynBuf_Write()
35 p->pos += size; in DynBuf_Write()
44 p->pos = 0; in DynBuf_Free()
D7zStream.c73 size_t size2 = p->size - p->pos; in LookToRead_Look_Lookahead()
76 p->pos = 0; in LookToRead_Look_Lookahead()
83 *buf = p->buf + p->pos; in LookToRead_Look_Lookahead()
91 size_t size2 = p->size - p->pos; in LookToRead_Look_Exact()
94 p->pos = 0; in LookToRead_Look_Exact()
102 *buf = p->buf + p->pos; in LookToRead_Look_Exact()
109 p->pos += offset; in LookToRead_Skip()
116 size_t rem = p->size - p->pos; in LookToRead_Read()
121 memcpy(buf, p->buf + p->pos, rem); in LookToRead_Read()
122 p->pos += rem; in LookToRead_Read()
[all …]
D7zFile.c167 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin) in File_Seek() argument
173 value.LowPart = (DWORD)*pos; in File_Seek()
174 value.HighPart = (LONG)((UInt64)*pos >> 16 >> 16); /* for case when UInt64 is 32-bit only */ in File_Seek()
189 *pos = ((Int64)value.HighPart << 32) | value.LowPart; in File_Seek()
203 res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
204 *pos = ftell(p->file); in File_Seek()
227 long pos = ftell(p->file); in File_GetLength()
230 fseek(p->file, pos, SEEK_SET); in File_GetLength()
259 static SRes FileInStream_Seek(void *pp, Int64 *pos, ESzSeek origin) in FileInStream_Seek() argument
262 return File_Seek(&p->file, pos, origin); in FileInStream_Seek()
D7zTypes.h166 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);
180 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);
196 size_t pos; member
D7zBuf.h27 size_t pos; member
D7zFile.h49 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin);
/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()
25 …em(copy), pos(copy.pos), subHeight(copy.subHeight), count(copy.count), max(copy.max), pPos(copy.pP… in ScrollBar()
33 float pos; member
Ddemowin_slider_bar.h20 {pos = *target;} in MenuItem()
31 float pos; member
Ddemowin_slider_bar_float.h20 {pos = *target;} in MenuItem()
31 float pos; member
Ddemowin_combo_box.h25 …: MenuItem(window, position, size), data(_data), count(_count), over(-1), pos(0), target(_target),… in MenuItem()
38 int pos; member
/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()
25 …em(copy), pos(copy.pos), subHeight(copy.subHeight), count(copy.count), max(copy.max), pPos(copy.pP… in ScrollBar()
33 float pos; member
Ddemowin_slider_bar.h20 {pos = *target;} in MenuItem()
31 float pos; member
Ddemowin_slider_bar_float.h20 {pos = *target;} in MenuItem()
31 float pos; member
Ddemowin_combo_box.h25 …: MenuItem(window, position, size), data(_data), count(_count), over(-1), pos(0), target(_target),… in MenuItem()
38 int pos; member
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/MultiThreadConvert/
Dtest.fx3 float4 pos : POSITION;
9 float4 pos : SV_POSITION;
19 output.pos = mul(input.pos, worldViewProj);
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/CustomConverterApp/
Dtest.fx3 float4 pos : POSITION;
9 float4 pos : SV_POSITION;
19 output.pos = mul(input.pos, worldViewProj);
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/deferredTestDX9/
DdeferredTest.fx140 float3 pos = tex2D(s_position, input.vTex0).xyz;
148 float3 lightDir = normalize(u_lightPosition - pos);
152 float strength = u_lightColor.a * 255.0 / distance(pos, u_lightPosition);
157 float3 toViewer = normalize(pos - u_cameraPosition);
DdeferredTest.cpp54 float pos[4]; member
70 float pos[3]; member
114 ((char*)&copyTo[i].pos[j])[0] = temp[3]; in LoadModel()
115 ((char*)&copyTo[i].pos[j])[1] = temp[2]; in LoadModel()
116 ((char*)&copyTo[i].pos[j])[2] = temp[1]; in LoadModel()
117 ((char*)&copyTo[i].pos[j])[3] = temp[0]; in LoadModel()
/CafeSDK-2.12.13-1/system/include/
DLzmaTypes.h166 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);
180 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);
196 size_t pos; member

12