/external/qemu/ |
cbuffer.c | 54 int wpos = cb->rpos + cb->count; local 59 if (wpos >= cb->size) 60 wpos -= cb->size; 62 if (wpos + avail > cb->size) 63 avail = cb->size - wpos; 65 *pbase = cb->buff + wpos; 89 int wpos = cb->rpos + cb->count; local 96 if (wpos >= cb->size) 97 wpos -= cb->size; 99 ASSERT( wpos >= 0 && wpos < cb->size, "wpos is out-of-bounds: %d (rpos=%d)", wpos, cb->rpos) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_shader_semantics.h | 44 int wpos; member in struct:r300_shader_semantics 56 info->wpos = ATTR_UNUSED;
|
r300_fs.c | 73 fs_inputs->wpos = i; 140 if (inputs->wpos != ATTR_UNUSED) { 141 allocate(mydata, inputs->wpos, reg++); 434 int wpos, face; local 440 wpos = shader->inputs.wpos; 501 * Transform the program to support WPOS. 504 * the only code that directly reads the WPOS input. 507 if (wpos != ATTR_UNUSED) { 509 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE) [all...] |
r300_vs.c | 101 /* WPOS is a straight copy of POSITION and it's always emitted. */ 102 vs_outputs->wpos = i; 168 /* WPOS. */ 169 c->code->outputs[outputs->wpos] = reg++; 254 /* Insert the WPOS output. */ 255 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
|
r300_state_derived.c | 124 /* WPOS. */ 125 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { 126 DBG(r300, DBG_SWTCL, "draw_emit_attrib: WPOS, index: %i\n", 127 vs_outputs->wpos); 129 vs_outputs->wpos); 533 /* Rasterize WPOS. */ 535 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { 536 /* Set up the WPOS coordinates in VAP. */ 547 DBG(r300, DBG_RS, "r300: Rasterized WPOS written to FS.\n"); 553 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_shader_semantics.h | 44 int wpos; member in struct:r300_shader_semantics 56 info->wpos = ATTR_UNUSED;
|
r300_fs.c | 73 fs_inputs->wpos = i; 140 if (inputs->wpos != ATTR_UNUSED) { 141 allocate(mydata, inputs->wpos, reg++); 434 int wpos, face; local 440 wpos = shader->inputs.wpos; 501 * Transform the program to support WPOS. 504 * the only code that directly reads the WPOS input. 507 if (wpos != ATTR_UNUSED) { 509 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE) [all...] |
r300_vs.c | 101 /* WPOS is a straight copy of POSITION and it's always emitted. */ 102 vs_outputs->wpos = i; 168 /* WPOS. */ 169 c->code->outputs[outputs->wpos] = reg++; 254 /* Insert the WPOS output. */ 255 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
|
/external/qemu/audio/ |
esdaudio.c | 86 int wpos; member in struct:__anon24801 336 int incr, to_grab, wpos; local 353 wpos = hw->wpos; 361 int chunk = audio_MIN (to_grab, hw->samples - wpos); 362 void *buf = advance (esd->pcm_buf, wpos); 383 wpos = (wpos + rsamples) % hw->samples; 387 hw->conv (hw->conv_buf + wpos, buf, nread >> hw->info.shift, 389 wpos = (wpos + chunk) % hw->samples [all...] |
wavaudio.c | 348 int wpos, live, decr, samples; local 372 wpos = hw->wpos; 374 int left_till_end_samples = hw->samples - wpos; 377 dst = hw->conv_buf + wpos; 378 src = advance (wav->pcm_buf, wpos << hw->info.shift); 383 wpos = (wpos + convert_samples) % hw->samples; 388 hw->wpos = wpos; [all...] |
paaudio.c | 59 int wpos; member in struct:__anon24808 195 int incr, to_grab, wpos; local 212 wpos = hw->wpos; 220 int chunk = audio_MIN (to_grab, hw->samples - wpos); 221 void *buf = advance (pa->pcm_buf, wpos); 229 hw->conv (hw->conv_buf + wpos, buf, chunk, &nominal_volume); 230 wpos = (wpos + chunk) % hw->samples; 238 pa->wpos = wpos [all...] |
dsoundaudio.c | 578 DWORD wpos, ppos, old_pos; local 593 ds->first_time ? &wpos : NULL 606 cur_blat = audio_ring_dist (wpos, ppos, bufsize); 608 old_pos = wpos; 615 old_pos = wpos; 799 hw->wpos = rpos >> hwshift; 808 len = audio_ring_dist (cpos, hw->wpos, hw->samples); 817 hw->wpos << hwshift, 834 hw->conv (hw->conv_buf + hw->wpos, p1, len1, &nominal_volume); 842 hw->wpos = (hw->wpos + decr) % hw->samples [all...] |
alsaaudio.c | 117 int wpos; member in struct:ALSAVoiceOut 787 int left_till_end_samples = hw->samples - alsa->wpos; 789 char *src = advance (alsa->pcm_buf, alsa->wpos << hw->info.shift); 838 alsa->wpos = (alsa->wpos + written) % hw->samples; 1059 { .add = hw->wpos, .len = 0 }, 1106 if (hw->wpos + decr > hw->samples) { 1107 bufs[0].len = (hw->samples - hw->wpos); 1108 bufs[1].len = (decr - (hw->samples - hw->wpos)); [all...] |
ossaudio.c | 49 int wpos; member in struct:OSSVoiceOut 395 int samples_till_end = hw->samples - oss->wpos; 398 void *pcm = advance (oss->pcm_buf, oss->wpos << hw->info.shift); 417 oss->wpos = (oss->wpos + samples_written) % hw->samples; 751 { .add = hw->wpos, .len = 0 }, 759 if (hw->wpos + dead > hw->samples) { 760 bufs[0].len = (hw->samples - hw->wpos) << hwshift; 761 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift; 805 hw->wpos = (hw->wpos + read_samples) % hw->samples [all...] |
coreaudio.c | 622 hw->wpos = core->pos; 643 int wpos, avail; local 671 wpos = core->pos; 672 dst = hw->conv_buf + wpos; 690 wpos = (wpos + frameCount) % hw->samples; 692 core->pos = wpos;
|
winaudio.c | 533 int hw_samples = audio_MIN(hw->samples - hw->wpos, live);
534 struct st_sample* dst = hw->conv_buf + hw->wpos;
543 D("%s: buffer:%d pos:%d size:%d wsamples:%d wbytes:%d live:%d wpos:%d hwsamples:%d\n",
545 hw->wpos, hw->samples);
549 hw->wpos += wav_samples;
550 if (hw->wpos >= hw->samples)
551 hw->wpos -= hw->samples;
|
fmodaudio.c | 473 len = audio_ring_dist (new_pos, hw->wpos, hw->samples); 480 hw->wpos, len, 491 hw->conv (hw->conv_buf + hw->wpos, p1, len1, &nominal_volume); 498 hw->wpos = (hw->wpos + decr) % hw->samples;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; local 174 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; 176 wpos[0] += 0.5F; 177 wpos[1] += 0.5F;
|
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; local 174 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; 176 wpos[0] += 0.5F; 177 wpos[1] += 0.5F;
|
/external/llvm/utils/TableGen/ |
CodeGenInstruction.cpp | 199 std::string::size_type wpos = CStr.find_first_of(" \t"); local 201 std::string Tok = CStr.substr(start, wpos - start); 203 std::string Name = CStr.substr(wpos+1); 204 wpos = Name.find_first_not_of(" \t"); 205 if (wpos == std::string::npos) 207 Name = Name.substr(wpos); 225 wpos = Name.find_first_of(" \t"); 226 if (wpos == std::string::npos) 228 std::string DestOpName = Name.substr(0, wpos); 232 wpos = Name.find_first_not_of(" \t") [all...] |
/external/qemu/hw/ |
goldfish_pipe.c | 644 int wpos = pipe->pos + pipe->count; local 648 if (wpos > pipe->size) { 649 wpos -= pipe->size; 650 memcpy(newbuff + pipe->size, newbuff, wpos); 668 int wpos = pipe->pos + pipe->count; local 669 if (wpos >= pipe->size) { 670 wpos -= pipe->size; 672 if (wpos + avail <= pipe->size) { 673 memcpy(pipe->buffer + wpos, buff->data, avail); 675 int avail2 = pipe->size - wpos; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_compiler.h | 108 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler.h | 108 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_fs.cpp | 601 fs_reg wpos = *reg; local 606 emit(BRW_OPCODE_MOV, wpos, this->pixel_x); 608 emit(BRW_OPCODE_ADD, wpos, this->pixel_x, fs_reg(0.5f)); 610 wpos.reg_offset++; 614 emit(BRW_OPCODE_MOV, wpos, this->pixel_y); 624 emit(BRW_OPCODE_ADD, wpos, pixel_y, fs_reg(offset)); 626 wpos.reg_offset++; 630 emit(BRW_OPCODE_MOV, wpos, 633 emit(FS_OPCODE_LINTERP, wpos, 638 wpos.reg_offset++ [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs.cpp | 601 fs_reg wpos = *reg; local 606 emit(BRW_OPCODE_MOV, wpos, this->pixel_x); 608 emit(BRW_OPCODE_ADD, wpos, this->pixel_x, fs_reg(0.5f)); 610 wpos.reg_offset++; 614 emit(BRW_OPCODE_MOV, wpos, this->pixel_y); 624 emit(BRW_OPCODE_ADD, wpos, pixel_y, fs_reg(offset)); 626 wpos.reg_offset++; 630 emit(BRW_OPCODE_MOV, wpos, 633 emit(FS_OPCODE_LINTERP, wpos, 638 wpos.reg_offset++ [all...] |