Lines Matching refs:field
37 #define IMPLEMENT_SSL_TEST_BOOL_OPTION(struct_type, name, field) \ argument
38 static int parse_##name##_##field(struct_type *ctx, const char *value) \
40 return parse_boolean(value, &ctx->field); \
43 #define IMPLEMENT_SSL_TEST_STRING_OPTION(struct_type, name, field) \ argument
44 static int parse_##name##_##field(struct_type *ctx, const char *value) \
46 OPENSSL_free(ctx->field); \
47 ctx->field = OPENSSL_strdup(value); \
48 return TEST_ptr(ctx->field); \
51 #define IMPLEMENT_SSL_TEST_INT_OPTION(struct_type, name, field) \ argument
52 static int parse_##name##_##field(struct_type *ctx, const char *value) \
54 ctx->field = atoi(value); \