Lines Matching refs:res

96 static int parse_number(const char *t[], OSSL_PROPERTY_DEFINITION *res)  in parse_number()  argument
121 res->type = OSSL_PROPERTY_TYPE_NUMBER; in parse_number()
122 res->v.int_val = v; in parse_number()
126 static int parse_hex(const char *t[], OSSL_PROPERTY_DEFINITION *res) in parse_hex() argument
158 res->type = OSSL_PROPERTY_TYPE_NUMBER; in parse_hex()
159 res->v.int_val = v; in parse_hex()
163 static int parse_oct(const char *t[], OSSL_PROPERTY_DEFINITION *res) in parse_oct() argument
188 res->type = OSSL_PROPERTY_TYPE_NUMBER; in parse_oct()
189 res->v.int_val = v; in parse_oct()
194 OSSL_PROPERTY_DEFINITION *res, const int create) in parse_string() argument
217 res->v.str_val = ossl_property_value(ctx, v, create); in parse_string()
220 res->type = OSSL_PROPERTY_TYPE_STRING; in parse_string()
225 OSSL_PROPERTY_DEFINITION *res, const int create) in parse_unquoted() argument
249 else if ((res->v.str_val = ossl_property_value(ctx, v, create)) == 0) in parse_unquoted()
252 res->type = OSSL_PROPERTY_TYPE_STRING; in parse_unquoted()
257 OSSL_PROPERTY_DEFINITION *res, int create) in parse_value() argument
264 r = parse_string(ctx, &s, s[-1], res, create); in parse_value()
267 r = parse_number(&s, res); in parse_value()
270 r = parse_number(&s, res); in parse_value()
271 res->v.int_val = -res->v.int_val; in parse_value()
274 r = parse_hex(&s, res); in parse_value()
277 r = parse_oct(&s, res); in parse_value()
279 return parse_number(t, res); in parse_value()
281 return parse_unquoted(ctx, t, res, create); in parse_value()
348 OSSL_PROPERTY_LIST *res = NULL; in ossl_parse_property() local
396 res = stack_to_property_list(ctx, sk); in ossl_parse_property()
401 return res; in ossl_parse_property()
408 OSSL_PROPERTY_LIST *res = NULL; in ossl_parse_query() local
459 res = stack_to_property_list(ctx, sk); in ossl_parse_query()
464 return res; in ossl_parse_query()