Home | History | Annotate | Download | only in tgsi

Lines Matching refs:pcur

89 static boolean str_match_no_case( const char **pcur, const char *str )
91 const char *cur = *pcur;
98 *pcur = cur;
110 static boolean str_match_nocase_whole( const char **pcur, const char *str )
112 const char *cur = *pcur;
116 *pcur = cur;
122 /* Return the array index that matches starting at *pcur, where the string at
123 * *pcur is terminated by a non-digit non-letter non-underscore.
129 static int str_match_name_from_array(const char **pcur,
134 if (str_match_nocase_whole(pcur, array[j]))
140 /* Return the format corresponding to the name at *pcur.
146 static int str_match_format(const char **pcur)
151 if (desc && str_match_nocase_whole(pcur, desc->name)) {
160 static void eat_opt_white( const char **pcur )
162 while (**pcur == ' ' || **pcur == '\t' || **pcur == '\n')
163 (*pcur)++;
169 static boolean eat_white( const char **pcur )
171 const char *cur = *pcur;
173 eat_opt_white( pcur );
174 return *pcur > cur;
180 static boolean parse_uint( const char **pcur, uint *val )
182 const char *cur = *pcur;
188 *pcur = cur;
194 static boolean parse_int( const char **pcur, int *val )
196 const char *cur = *pcur;
204 *pcur = cur;
211 static boolean parse_identifier( const char **pcur, char *ret, size_t len )
213 const char *cur = *pcur;
223 *pcur = cur;
231 static boolean parse_float( const char **pcur, float *val )
233 const char *cur = *pcur;
279 *pcur = cur;
283 static boolean parse_double( const char **pcur, uint32_t *val0, uint32_t *val1)
285 const char *cur = *pcur;
291 v.dval = strtod(cur, (char**)pcur);
292 if (*pcur == cur)
301 static boolean parse_int64( const char **pcur, uint32_t *val0, uint32_t *val1)
303 const char *cur = *pcur;
309 v.i64val = strtoll(cur, (char**)pcur, 0);
310 if (*pcur == cur)
319 static boolean parse_uint64( const char **pcur, uint32_t *val0, uint32_t *val1)
321 const char *cur = *pcur;
327 v.u64val = strtoull(cur, (char**)pcur, 0);
328 if (*pcur == cur)
424 parse_file( const char **pcur, uint *file )
429 const char *cur = *pcur;
432 *pcur = cur;
1000 match_inst(const char **pcur,
1005 const char *cur = *pcur;
1010 *pcur = cur;
1019 *pcur = cur;
1024 *pcur = cur;
1689 parse_primitive( const char **pcur, uint *primitive )
1694 const char *cur = *pcur;
1698 *pcur = cur;
1706 parse_fs_coord_origin( const char **pcur, uint *fs_coord_origin )
1711 const char *cur = *pcur;
1715 *pcur = cur;
1723 parse_fs_coord_pixel_center( const char **pcur, uint *fs_coord_pixel_center )
1728 const char *cur = *pcur;
1732 *pcur = cur;
1740 parse_property_next_shader( const char **pcur, uint *next_shader )
1745 const char *cur = *pcur;
1749 *pcur = cur;