Lines Matching refs:str
672 ir_expression::get_operator(const char *str)
675 if (strcmp(str, ir_expression_operation_strings[op]) == 0)
1784 ir_texture::get_opcode(const char *str)
1788 if (strcmp(str, tex_opcode_strs[op]) == 0)
1902 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length)
1949 if ((str[0] < 'a') || (str[0] > 'z'))
1952 const unsigned base = base_idx[str[0] - 'a'];
1955 for (i = 0; (i < 4) && (str[i] != '\0'); i++) {
1959 if ((str[i] < 'a') || (str[i] > 'z'))
1962 swiz_idx[i] = idx_map[str[i] - 'a'] - base;
1967 if (str[i] != '\0')