| /xsrc/external/mit/MesaLib/dist/src/util/ |
| strtod.c | 34 static locale_t loc; variable 44 loc = newlocale(LC_CTYPE_MASK, "C", NULL); 52 freelocale(loc); 64 return strtod_l(s, end, loc); 79 return strtof_l(s, end, loc);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| strtod.c | 34 static locale_t loc; variable 44 loc = newlocale(LC_CTYPE_MASK, "C", NULL); 52 freelocale(loc); 64 return strtod_l(s, end, loc); 79 return strtof_l(s, end, loc);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| panvk_varyings.h | 68 gl_varying_slot loc[VARYING_SLOT_MAX]; member in struct:panvk_varyings_info::__anon2865 81 panvk_varying_buf_id(bool fs, gl_varying_slot loc) 83 switch (loc) { 96 panvk_varying_is_builtin(gl_shader_stage stage, gl_varying_slot loc) 100 switch (loc) { 126 gl_varying_slot loc) 128 switch (loc) { 134 return util_format_get_blocksize(varyings->varying[loc].format);
|
| /xsrc/external/mit/makedepend/dist/ |
| pr.c | 75 const char *loc; local 78 loc = strchr(input, ':'); 79 if (loc == NULL) { 84 while (loc != NULL && bufsize > loc - tmp + 2) { 85 memcpy(output, tmp, loc - tmp); 86 output += loc - tmp; 87 bufsize -= loc - tmp + 2; 88 tmp = loc + 1; 93 loc = strchr(tmp, ':') [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| ast_to_hir.cpp | 232 YYLTYPE loc; local 233 memset(&loc, 0, sizeof(loc)); 234 _mesa_glsl_error(&loc, state, "Read from write-only variable `%s'", 349 struct _mesa_glsl_parse_state *state, YYLTYPE *loc) 361 _mesa_glsl_error(loc, state, 373 _mesa_glsl_error(loc, state, 391 _mesa_glsl_error(loc, state, 434 _mesa_glsl_error(loc, state, 472 _mesa_glsl_error(loc, state 1222 YYLTYPE loc = expr->get_location(); local 1409 YYLTYPE loc; local 1873 YYLTYPE loc = this->subexpressions[1]->get_location(); local 2324 YYLTYPE loc = array_size->get_location(); local 2450 YYLTYPE loc = this->get_location(); local 4934 YYLTYPE loc = this->get_location(); local 5822 YYLTYPE loc = this->get_location(); local 5861 YYLTYPE loc = this->get_location(); local 6008 YYLTYPE loc = void_param->get_location(); local 6038 YYLTYPE loc = this->get_location(); local 6062 YYLTYPE loc = this->get_location(); local 6083 YYLTYPE loc = this->get_location(); local 6095 YYLTYPE loc = this->get_location(); local 6105 YYLTYPE loc = this->get_location(); local 6116 YYLTYPE loc = this->get_location(); local 6129 YYLTYPE loc = this->get_location(); local 6145 YYLTYPE loc = this->get_location(); local 6153 YYLTYPE loc = this->get_location(); local 6163 YYLTYPE loc = this->get_location(); local 6180 YYLTYPE loc = this->get_location(); local 6202 YYLTYPE loc = this->get_location(); local 6229 YYLTYPE loc = this->get_location(); local 6236 YYLTYPE loc = this->get_location(); local 6243 YYLTYPE loc = this->get_location(); local 6251 YYLTYPE loc = this->get_location(); local 6268 YYLTYPE loc = this->get_location(); local 6277 YYLTYPE loc = this->get_location(); local 6283 YYLTYPE loc = this->get_location(); local 6411 YYLTYPE loc = this->get_location(); local 6429 YYLTYPE loc = this->get_location(); local 6470 YYLTYPE loc = this->get_location(); local 6492 YYLTYPE loc = this->get_location(); local 6512 YYLTYPE loc = this->get_location(); local 6529 YYLTYPE loc = this->get_location(); local 6541 YYLTYPE loc = this->get_location(); local 6547 YYLTYPE loc = this->get_location(); local 6615 YYLTYPE loc = this->get_location(); local 6645 YYLTYPE loc = this->condition->get_location(); local 6730 YYLTYPE loc = this->test_expression->get_location(); local 6983 YYLTYPE loc = this->test_value->get_location(); local 7000 YYLTYPE loc = this->test_value->get_location(); local 7041 YYLTYPE loc = this->test_value->get_location(); local 7082 YYLTYPE loc = this->get_location(); local 7113 YYLTYPE loc = condition->get_location(); local 7392 YYLTYPE loc = decl_list->get_location(); local 7584 YYLTYPE loc = decl->get_location(); local 7834 YYLTYPE loc = this->get_location(); local 7950 YYLTYPE loc = this->get_location(); local 8317 YYLTYPE loc = this->get_location(); local 8665 YYLTYPE loc = this->get_location(); local 8722 YYLTYPE loc = this->get_location(); local 8777 YYLTYPE loc = this->get_location(); local 8893 YYLTYPE loc; local 8976 YYLTYPE loc; local [all...] |
| hir_field_selection.cpp | 46 YYLTYPE loc = expr->get_location(); local 54 _mesa_glsl_error(& loc, state, "cannot access field `%s' of " 70 _mesa_glsl_error(& loc, state, "invalid swizzle / mask `%s'", 74 _mesa_glsl_error(& loc, state, "cannot access field `%s' of "
|
| ast_array_index.cpp | 46 * loc and state to report the error. 49 update_max_array_access(ir_rvalue *ir, int idx, YYLTYPE *loc, 60 check_builtin_array_max_size(var->name, idx+1, *loc, state); 107 check_builtin_array_max_size(field_name, idx+1, *loc, state); 146 YYLTYPE &loc, YYLTYPE &idx_loc) 207 _mesa_glsl_error(& loc, state, "%s index must be < %u", 210 _mesa_glsl_error(& loc, state, "%s index must be >= 0", type_name); 214 update_max_array_access(array, idx, &loc, state); 235 _mesa_glsl_error(&loc, state, "unsized array index must be constant"); 246 _mesa_glsl_error(&loc, state, "Indirect access on unsized [all...] |
| ast_type.cpp | 126 validate_prim_type(YYLTYPE *loc, 136 _mesa_glsl_error(loc, state, 147 validate_vertex_spacing(YYLTYPE *loc, 154 _mesa_glsl_error(loc, state, 163 validate_ordering(YYLTYPE *loc, 170 _mesa_glsl_error(loc, state, 224 ast_type_qualifier::merge_qualifier(YYLTYPE *loc, 306 _mesa_glsl_error(loc, state, "duplicate layout qualifiers used"); 311 _mesa_glsl_error(loc, state, 317 r &= validate_prim_type(loc, state, *this, q) 948 YYLTYPE loc = const_expression->get_location(); local 955 YYLTYPE loc = const_expression->get_location(); local 963 YYLTYPE loc = const_expression->get_location(); local [all...] |
| ast_function.cpp | 108 verify_image_parameter(YYLTYPE *loc, _mesa_glsl_parse_state *state, 121 _mesa_glsl_error(loc, state, 128 _mesa_glsl_error(loc, state, 135 _mesa_glsl_error(loc, state, 142 _mesa_glsl_error(loc, state, 149 _mesa_glsl_error(loc, state, 159 verify_first_atomic_parameter(YYLTYPE *loc, _mesa_glsl_parse_state *state, 165 _mesa_glsl_error(loc, state, "First argument to atomic function " 186 verify_atomic_image_parameter_qualifier(YYLTYPE *loc, _mesa_glsl_parse_state *state, 193 _mesa_glsl_error(loc, state, "Image atomic functions should use r32i/r32ui 239 YYLTYPE loc = actual_ast->get_location(); local 375 YYLTYPE loc = actual_ast->get_location(); local 388 YYLTYPE loc = actual_ast->get_location(); local 2026 YYLTYPE loc = get_location(); local 2118 YYLTYPE loc = type->get_location(); local 2403 YYLTYPE loc = get_location(); local 2535 YYLTYPE loc = this->get_location(); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| ast_to_hir.cpp | 232 YYLTYPE loc; local 233 memset(&loc, 0, sizeof(loc)); 234 _mesa_glsl_error(&loc, state, "Read from write-only variable `%s'", 349 struct _mesa_glsl_parse_state *state, YYLTYPE *loc) 361 _mesa_glsl_error(loc, state, 373 _mesa_glsl_error(loc, state, 391 _mesa_glsl_error(loc, state, 434 _mesa_glsl_error(loc, state, 472 _mesa_glsl_error(loc, state 1210 YYLTYPE loc = expr->get_location(); local 1397 YYLTYPE loc; local 1833 YYLTYPE loc = this->subexpressions[1]->get_location(); local 2284 YYLTYPE loc = array_size->get_location(); local 2410 YYLTYPE loc = this->get_location(); local 4834 YYLTYPE loc = this->get_location(); local 5651 YYLTYPE loc = this->get_location(); local 5690 YYLTYPE loc = this->get_location(); local 5829 YYLTYPE loc = void_param->get_location(); local 5859 YYLTYPE loc = this->get_location(); local 5883 YYLTYPE loc = this->get_location(); local 5904 YYLTYPE loc = this->get_location(); local 5916 YYLTYPE loc = this->get_location(); local 5926 YYLTYPE loc = this->get_location(); local 5937 YYLTYPE loc = this->get_location(); local 5950 YYLTYPE loc = this->get_location(); local 5966 YYLTYPE loc = this->get_location(); local 5974 YYLTYPE loc = this->get_location(); local 5988 YYLTYPE loc = this->get_location(); local 6011 YYLTYPE loc = this->get_location(); local 6038 YYLTYPE loc = this->get_location(); local 6045 YYLTYPE loc = this->get_location(); local 6053 YYLTYPE loc = this->get_location(); local 6070 YYLTYPE loc = this->get_location(); local 6079 YYLTYPE loc = this->get_location(); local 6085 YYLTYPE loc = this->get_location(); local 6210 YYLTYPE loc = this->get_location(); local 6228 YYLTYPE loc = this->get_location(); local 6269 YYLTYPE loc = this->get_location(); local 6291 YYLTYPE loc = this->get_location(); local 6311 YYLTYPE loc = this->get_location(); local 6328 YYLTYPE loc = this->get_location(); local 6340 YYLTYPE loc = this->get_location(); local 6346 YYLTYPE loc = this->get_location(); local 6425 YYLTYPE loc = this->condition->get_location(); local 6504 YYLTYPE loc = this->test_expression->get_location(); local 6754 YYLTYPE loc = this->test_value->get_location(); local 6771 YYLTYPE loc = this->test_value->get_location(); local 6812 YYLTYPE loc = this->test_value->get_location(); local 6853 YYLTYPE loc = this->get_location(); local 6884 YYLTYPE loc = condition->get_location(); local 7153 YYLTYPE loc = decl_list->get_location(); local 7345 YYLTYPE loc = decl->get_location(); local 7574 YYLTYPE loc = this->get_location(); local 7690 YYLTYPE loc = this->get_location(); local 8057 YYLTYPE loc = this->get_location(); local 8405 YYLTYPE loc = this->get_location(); local 8462 YYLTYPE loc = this->get_location(); local 8517 YYLTYPE loc = this->get_location(); local 8632 YYLTYPE loc; local 8708 YYLTYPE loc; local [all...] |
| hir_field_selection.cpp | 46 YYLTYPE loc = expr->get_location(); local 54 _mesa_glsl_error(& loc, state, "cannot access field `%s' of " 70 _mesa_glsl_error(& loc, state, "invalid swizzle / mask `%s'", 74 _mesa_glsl_error(& loc, state, "cannot access field `%s' of "
|
| ast_array_index.cpp | 46 * loc and state to report the error. 49 update_max_array_access(ir_rvalue *ir, int idx, YYLTYPE *loc, 60 check_builtin_array_max_size(var->name, idx+1, *loc, state); 107 check_builtin_array_max_size(field_name, idx+1, *loc, state); 146 YYLTYPE &loc, YYLTYPE &idx_loc) 207 _mesa_glsl_error(& loc, state, "%s index must be < %u", 210 _mesa_glsl_error(& loc, state, "%s index must be >= 0", type_name); 214 update_max_array_access(array, idx, &loc, state); 235 _mesa_glsl_error(&loc, state, "unsized array index must be constant"); 246 _mesa_glsl_error(&loc, state, "Indirect access on unsized [all...] |
| ast_type.cpp | 125 validate_prim_type(YYLTYPE *loc, 135 _mesa_glsl_error(loc, state, 146 validate_vertex_spacing(YYLTYPE *loc, 153 _mesa_glsl_error(loc, state, 162 validate_ordering(YYLTYPE *loc, 169 _mesa_glsl_error(loc, state, 223 ast_type_qualifier::merge_qualifier(YYLTYPE *loc, 305 _mesa_glsl_error(loc, state, "duplicate layout qualifiers used"); 310 _mesa_glsl_error(loc, state, 316 r &= validate_prim_type(loc, state, *this, q) 935 YYLTYPE loc = const_expression->get_location(); local 942 YYLTYPE loc = const_expression->get_location(); local 950 YYLTYPE loc = const_expression->get_location(); local [all...] |
| ast_function.cpp | 101 verify_image_parameter(YYLTYPE *loc, _mesa_glsl_parse_state *state, 114 _mesa_glsl_error(loc, state, 121 _mesa_glsl_error(loc, state, 128 _mesa_glsl_error(loc, state, 135 _mesa_glsl_error(loc, state, 142 _mesa_glsl_error(loc, state, 152 verify_first_atomic_parameter(YYLTYPE *loc, _mesa_glsl_parse_state *state, 158 _mesa_glsl_error(loc, state, "First argument to atomic function " 201 /* FIXME: 'loc' is incorrect (as of 2011-01-21). It is always 204 YYLTYPE loc = actual_ast->get_location() local 340 YYLTYPE loc = actual_ast->get_location(); local 1969 YYLTYPE loc = get_location(); local 2053 YYLTYPE loc = type->get_location(); local 2338 YYLTYPE loc = get_location(); local 2442 YYLTYPE loc = this->get_location(); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/ |
| util.h | 100 #define LOC_FORMAT(loc, str) "%s:%d.%d-%d.%d: " str, (loc).file, (loc).lstart, (loc).cstart, (loc).lend, (loc).cend
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_io_to_vector.c | 157 unsigned *loc, nir_variable **first_var, unsigned *num_vertices) 167 assert(*loc < MAX_SLOTS); 169 nir_variable *var = old_vars[*loc][frac]; 175 (*loc)++; 181 (*loc)++; 198 (*loc)++; 229 for (unsigned loc = 0; loc < MAX_SLOTS; loc++) { 232 nir_variable *first_var = old_vars[loc][frac] 473 const unsigned loc = get_slot(old_var); local 528 const unsigned loc = get_slot(old_var); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_io_to_vector.c | 113 unsigned loc = var->data.location - VARYING_SLOT_VAR0; local 115 old_vars[loc][frac] = var; 124 for (unsigned loc = 0; loc < MAX_VARYINGS_INCL_PATCH; loc++) { 127 nir_variable *first_var = old_vars[loc][frac]; 137 nir_variable *var = old_vars[loc][frac]; 153 assert(old_vars[loc][frac + i] == NULL); 163 nir_variable *var = nir_variable_clone(old_vars[loc][first], shader); 169 new_vars[loc][i] = var 265 const unsigned loc = old_var->data.location - VARYING_SLOT_VAR0; local 315 const unsigned loc = old_var->data.location - VARYING_SLOT_VAR0; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_program.c | 274 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC0(l.var[j++].loc + 8); 275 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC1(l.var[j++].loc + 8); 276 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC2(l.var[j++].loc + 8); 277 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC3(l.var[j++].loc + 8); 372 uint32_t loc = inloc; local 376 vinterp[loc / 16] |= FLAT << ((loc % 16) * 2); 377 flatshade[loc / 32] |= 1 << (loc % 32); 378 loc++ 391 uint32_t loc = inloc; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_program.c | 300 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC0(l.var[j++].loc + 8); 301 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC1(l.var[j++].loc + 8); 302 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC2(l.var[j++].loc + 8); 303 reg |= A3XX_SP_VS_VPC_DST_REG_OUTLOC3(l.var[j++].loc + 8); 396 uint32_t loc = inloc; local 400 vinterp[loc / 16] |= FLAT << ((loc % 16) * 2); 401 flatshade[loc / 32] |= 1 << (loc % 32); 402 loc++ 422 uint32_t loc = inloc; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_msaa.c | 76 uint8_t loc; local 86 loc = roundf(CLAMP(x * 16.0f, 0.0f, 15.0f)); 87 loc |= (int)roundf(CLAMP(y * 16.0f, 0.0f, 15.0f)) << 4; 88 locations[pixel * samples + sample_index] = loc;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_msaa.c | 76 uint8_t loc; local 86 loc = roundf(CLAMP(x * 16.0f, 0.0f, 15.0f)); 87 loc |= (int)roundf(CLAMP(y * 16.0f, 0.0f, 15.0f)) << 4; 88 locations[pixel * samples + sample_index] = loc;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/ |
| fd6_program.c | 167 nextloc = MAX2(nextloc, l->var[idx].loc + 4); 180 l->var[idx].loc + util_last_bit(l->var[idx].compmask)); 216 unsigned loc = l->var[idx].loc + c; local 219 if (loc & 1) { 220 tf->prog[loc/2] |= A6XX_VPC_SO_PROG_B_EN | 224 tf->prog[loc/2] |= A6XX_VPC_SO_PROG_A_EN | 439 BITSET_SET(varbs, l.var[i].loc + j); 481 reg |= A6XX_SP_VS_VPC_DST_REG_OUTLOC0(l.var[j++].loc); 482 reg |= A6XX_SP_VS_VPC_DST_REG_OUTLOC1(l.var[j++].loc); 638 uint32_t loc = inloc; local 710 uint32_t loc = inloc; local 735 uint32_t loc = inloc; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/ |
| fd4_program.c | 352 reg |= A4XX_SP_VS_VPC_DST_REG_OUTLOC0(l.var[j++].loc + 8); 353 reg |= A4XX_SP_VS_VPC_DST_REG_OUTLOC1(l.var[j++].loc + 8); 354 reg |= A4XX_SP_VS_VPC_DST_REG_OUTLOC2(l.var[j++].loc + 8); 355 reg |= A4XX_SP_VS_VPC_DST_REG_OUTLOC3(l.var[j++].loc + 8); 494 uint32_t loc = inloc; local 498 vinterp[loc / 16] |= 1 << ((loc % 16) * 2); 499 //flatshade[loc / 32] |= 1 << (loc % 32); 500 loc++ 520 uint32_t loc = inloc; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| fd5_program.c | 151 nextloc = MAX2(nextloc, l->var[idx].loc + 4); 164 l->var[idx].loc + util_last_bit(l->var[idx].compmask)); 200 unsigned loc = l->var[idx].loc + c; local 203 if (loc & 1) { 204 prog[loc/2] |= A5XX_VPC_SO_PROG_B_EN | 208 prog[loc/2] |= A5XX_VPC_SO_PROG_A_EN | 461 BITSET_SET(varbs, l.var[i].loc + j); 510 reg |= A5XX_SP_VS_VPC_DST_REG_OUTLOC0(l.var[j++].loc); 511 reg |= A5XX_SP_VS_VPC_DST_REG_OUTLOC1(l.var[j++].loc); 651 uint32_t loc = inloc; local 677 uint32_t loc = inloc; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| pan_shader.c | 98 unsigned loc = var->data.driver_location; local 109 comps[loc] = MAX2(comps[loc], chan); 113 unsigned loc = var->data.driver_location; local 118 unsigned chan = comps[loc]; 145 assert(loc + c < PAN_MAX_VARYINGS); 146 varyings[loc + c].location = var->data.location + c; 147 varyings[loc + c].format = format; 150 *varying_count = MAX2(*varying_count, loc + sz);
|