Lines Matching refs:pcur
89 static boolean str_match_no_case( const char **pcur, const char *str ) in str_match_no_case() argument
91 const char *cur = *pcur; in str_match_no_case()
98 *pcur = cur; in str_match_no_case()
110 static boolean str_match_nocase_whole( const char **pcur, const char *str ) in str_match_nocase_whole() argument
112 const char *cur = *pcur; in str_match_nocase_whole()
116 *pcur = cur; in str_match_nocase_whole()
129 static int str_match_name_from_array(const char **pcur, in str_match_name_from_array() argument
134 if (str_match_nocase_whole(pcur, array[j])) in str_match_name_from_array()
146 static int str_match_format(const char **pcur) in str_match_format() argument
151 if (str_match_nocase_whole(pcur, desc->name)) { in str_match_format()
160 static void eat_opt_white( const char **pcur ) in eat_opt_white() argument
162 while (**pcur == ' ' || **pcur == '\t' || **pcur == '\n') in eat_opt_white()
163 (*pcur)++; in eat_opt_white()
169 static boolean eat_white( const char **pcur ) in eat_white() argument
171 const char *cur = *pcur; in eat_white()
173 eat_opt_white( pcur ); in eat_white()
174 return *pcur > cur; in eat_white()
180 static boolean parse_uint( const char **pcur, uint *val ) in parse_uint() argument
182 const char *cur = *pcur; in parse_uint()
188 *pcur = cur; in parse_uint()
194 static boolean parse_int( const char **pcur, int *val ) in parse_int() argument
196 const char *cur = *pcur; in parse_int()
204 *pcur = cur; in parse_int()
211 static boolean parse_identifier( const char **pcur, char *ret, size_t len ) in parse_identifier() argument
213 const char *cur = *pcur; in parse_identifier()
223 *pcur = cur; in parse_identifier()
231 static boolean parse_float( const char **pcur, float *val ) in parse_float() argument
233 const char *cur = *pcur; in parse_float()
279 *pcur = cur; in parse_float()
283 static boolean parse_double( const char **pcur, uint32_t *val0, uint32_t *val1) in parse_double() argument
285 const char *cur = *pcur; in parse_double()
291 v.dval = strtod(cur, (char**)pcur); in parse_double()
292 if (*pcur == cur) in parse_double()
301 static boolean parse_int64( const char **pcur, uint32_t *val0, uint32_t *val1) in parse_int64() argument
303 const char *cur = *pcur; in parse_int64()
309 v.i64val = strtoll(cur, (char**)pcur, 0); in parse_int64()
310 if (*pcur == cur) in parse_int64()
319 static boolean parse_uint64( const char **pcur, uint32_t *val0, uint32_t *val1) in parse_uint64() argument
321 const char *cur = *pcur; in parse_uint64()
327 v.u64val = strtoull(cur, (char**)pcur, 0); in parse_uint64()
328 if (*pcur == cur) in parse_uint64()
424 parse_file( const char **pcur, uint *file ) in parse_file() argument
429 const char *cur = *pcur; in parse_file()
432 *pcur = cur; in parse_file()
1000 match_inst(const char **pcur, in match_inst() argument
1005 const char *cur = *pcur; in match_inst()
1010 *pcur = cur; in match_inst()
1019 *pcur = cur; in match_inst()
1024 *pcur = cur; in match_inst()
1699 parse_primitive( const char **pcur, uint *primitive ) in parse_primitive() argument
1704 const char *cur = *pcur; in parse_primitive()
1708 *pcur = cur; in parse_primitive()
1716 parse_fs_coord_origin( const char **pcur, uint *fs_coord_origin ) in parse_fs_coord_origin() argument
1721 const char *cur = *pcur; in parse_fs_coord_origin()
1725 *pcur = cur; in parse_fs_coord_origin()
1733 parse_fs_coord_pixel_center( const char **pcur, uint *fs_coord_pixel_center ) in parse_fs_coord_pixel_center() argument
1738 const char *cur = *pcur; in parse_fs_coord_pixel_center()
1742 *pcur = cur; in parse_fs_coord_pixel_center()
1750 parse_property_next_shader( const char **pcur, uint *next_shader ) in parse_property_next_shader() argument
1755 const char *cur = *pcur; in parse_property_next_shader()
1759 *pcur = cur; in parse_property_next_shader()