Home
last modified time | relevance | path

Searched refs:wpos (Results 1 – 21 of 21) sorted by relevance

/external/libmicrohttpd/src/microhttpd/
Dinternal.c135 char *wpos = val; in MHD_http_unescape() local
148 *wpos = '\0'; in MHD_http_unescape()
149 return wpos - val; in MHD_http_unescape()
157 *wpos = (char)((unsigned char) num); in MHD_http_unescape()
158 wpos++; in MHD_http_unescape()
164 *wpos = *rpos; in MHD_http_unescape()
165 wpos++; in MHD_http_unescape()
169 *wpos = '\0'; /* add 0-terminator */ in MHD_http_unescape()
170 return wpos - val; /* = strlen(val) */ in MHD_http_unescape()
/external/mesa3d/src/compiler/nir/
Dnir_lower_wpos_center.c48 nir_ssa_def *wpos = &intr->dest.ssa; in add_half_to_fragcoord() local
54 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); in add_half_to_fragcoord()
56 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, nir_src_for_ssa(wpos), in add_half_to_fragcoord()
57 wpos->parent_instr); in add_half_to_fragcoord()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp200 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local
202 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
204 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
205 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
206 if (wpos == std::string::npos) in ParseConstraint()
208 Name = Name.substr(wpos); in ParseConstraint()
226 wpos = Name.find_first_of(" \t"); in ParseConstraint()
227 if (wpos == std::string::npos) in ParseConstraint()
229 std::string DestOpName = Name.substr(0, wpos); in ParseConstraint()
233 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
[all …]
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp206 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local
208 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
210 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
211 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
212 if (wpos == std::string::npos) in ParseConstraint()
214 Name = Name.substr(wpos); in ParseConstraint()
232 wpos = Name.find_first_of(" \t"); in ParseConstraint()
233 if (wpos == std::string::npos) in ParseConstraint()
235 std::string DestOpName = Name.substr(0, wpos); in ParseConstraint()
239 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col]; in init_machine() local
168 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; in init_machine()
170 wpos[0] += 0.5F; in init_machine()
171 wpos[1] += 0.5F; in init_machine()
Ds_span.c625 GLfloat (*wpos)[4] = span->array->attribs[VARYING_SLOT_POS]; in interpolate_wpos() local
632 wpos[i][0] = (GLfloat) span->array->x[i]; in interpolate_wpos()
633 wpos[i][1] = (GLfloat) span->array->y[i]; in interpolate_wpos()
638 wpos[i][0] = (GLfloat) span->x + i; in interpolate_wpos()
639 wpos[i][1] = (GLfloat) span->y; in interpolate_wpos()
646 wpos[i][2] = (GLfloat) span->array->z[i] * zScale; in interpolate_wpos()
647 wpos[i][3] = w; in interpolate_wpos()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_fs.c73 fs_inputs->wpos = i; in r300_shader_read_fs_inputs()
140 if (inputs->wpos != ATTR_UNUSED) { in allocate_hardware_inputs()
141 allocate(mydata, inputs->wpos, reg++); in allocate_hardware_inputs()
421 int wpos, face; in r300_translate_fragment_shader() local
427 wpos = shader->inputs.wpos; in r300_translate_fragment_shader()
490 if (wpos != ATTR_UNUSED) { in r300_translate_fragment_shader()
492 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE); in r300_translate_fragment_shader()
Dr300_shader_semantics.h44 int wpos; member
58 info->wpos = ATTR_UNUSED; in r300_shader_semantics_reset()
Dr300_vs.c103 vs_outputs->wpos = i; in r300_shader_read_vs_outputs()
170 c->code->outputs[outputs->wpos] = reg++; in set_vertex_inputs_outputs()
256 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos); in r300_translate_vertex_shader()
Dr300_state_derived.c118 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { in r300_draw_emit_all_attribs()
120 vs_outputs->wpos); in r300_draw_emit_all_attribs()
121 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->wpos); in r300_draw_emit_all_attribs()
440 (fs_inputs->wpos != ATTR_UNUSED) > 8) { in r300_update_rs_block()
580 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { in r300_update_rs_block()
598 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) { in r300_update_rs_block()
Dr300_vs_draw.c375 vs->outputs.wpos = vs->outputs.generic[transform.last_generic + 1]; in r300_draw_init_vertex_shader()
Dr300_state.c1735 r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED) { in r300_set_viewport_states()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.h107 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
Dradeon_compiler.c237 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, in rc_transform_fragment_wpos() argument
246 c->Program.InputsRead &= ~(1 << wpos); in rc_transform_fragment_wpos()
307 inst->U.I.SrcReg[i].Index == wpos) { in rc_transform_fragment_wpos()
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c611 struct ureg_src *wpos = in emit_wpos_adjustment() local
615 struct ureg_src wpos_input = *wpos; in emit_wpos_adjustment()
666 *wpos = ureg_src(wpos_temp); in emit_wpos_adjustment()
Dst_glsl_to_tgsi.cpp5743 struct ureg_src *wpos = in emit_wpos_adjustment() local
5747 struct ureg_src wpos_input = *wpos; in emit_wpos_adjustment()
5798 *wpos = ureg_src(wpos_temp); in emit_wpos_adjustment()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval) in updateHashChain() argument
1417 hash->val[wpos] = hashval; in updateHashChain()
1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain()
1419 hash->head[hashval] = wpos; in updateHashChain()
1459 size_t wpos = pos & (windowsize - 1); /*position for in 'circular' hash buffers*/ in encodeLZ77() local
1463 updateHashChain(hash, wpos, hashval); in encodeLZ77()
1469 hash->zeros[wpos] = numzeros; in encodeLZ77()
1489 if(prevpos < wpos && hashpos > prevpos && hashpos <= wpos) break; in encodeLZ77()
1490 if(prevpos > wpos && (hashpos <= wpos || hashpos > prevpos)) break; in encodeLZ77()
1493 current_offset = hashpos <= wpos ? wpos - hashpos : wpos - hashpos + windowsize; in encodeLZ77()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs.cpp991 fs_visitor::emit_fragcoord_interpolation(fs_reg wpos) in emit_fragcoord_interpolation() argument
996 bld.MOV(wpos, this->pixel_x); in emit_fragcoord_interpolation()
997 wpos = offset(wpos, bld, 1); in emit_fragcoord_interpolation()
1000 bld.MOV(wpos, this->pixel_y); in emit_fragcoord_interpolation()
1001 wpos = offset(wpos, bld, 1); in emit_fragcoord_interpolation()
1005 bld.MOV(wpos, fs_reg(brw_vec8_grf(payload.source_depth_reg, 0))); in emit_fragcoord_interpolation()
1007 bld.emit(FS_OPCODE_LINTERP, wpos, in emit_fragcoord_interpolation()
1011 wpos = offset(wpos, bld, 1); in emit_fragcoord_interpolation()
1014 bld.MOV(wpos, this->wpos_w); in emit_fragcoord_interpolation()
Dbrw_fs.h172 void emit_fragcoord_interpolation(fs_reg wpos);
/external/wpa_supplicant_8/src/common/
Dwpa_common.c1993 char buf[255], *wpos = buf; in fils_domain_name_hash() local
2001 *wpos++ = tolower(*pos); in fils_domain_name_hash()
2003 *wpos++ = *pos; in fils_domain_name_hash()
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_shader.c1084 struct ureg_dst wpos = tx_scratch(tx); in tx_src_param() local
1085 ureg_ADD(ureg, wpos, tx->regs.vPos, in tx_src_param()
1087 src = ureg_src(wpos); in tx_src_param()