Lines Matching defs:context
198 void *context = mem_list_start(s, type, attributes, parameters);
200 if (context) {
201 STORE_OBJECT *object = mem_list_next(s, context);
203 if (mem_list_end(s, context))
238 * stack into the context to be returned. mem_list_next will then find the
247 struct mem_ctx_st *context =
252 if (!context) {
256 memset(context, 0, sizeof(struct mem_ctx_st));
265 if (context->search_attributes == NULL) {
266 context->search_attributes =
268 if (!context->search_attributes) {
273 sk_STORE_ATTR_INFO_push(context->search_attributes, attrs);
278 context->search_index = -1;
279 context->index = -1;
280 return context;
284 mem_list_end(s, context);
291 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
297 if (!context) {
306 if (context->search_index == -1) {
308 i < sk_STORE_ATTR_INFO_num(context->search_attributes); i++) {
310 = sk_STORE_ATTR_INFO_value(context->search_attributes, i);
314 context->search_index = srch;
319 if (context->search_index < 0)
323 sk_STORE_ATTR_INFO_value(context->search_attributes,
324 context->search_index);
325 for (srch = context->search_index;
336 context->search_index = srch;
344 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
346 if (!context) {
350 if (context && context->search_attributes)
351 sk_STORE_ATTR_INFO_free(context->search_attributes);
352 if (context)
353 OPENSSL_free(context);
359 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
361 if (!context
362 || context->search_index
363 == sk_STORE_ATTR_INFO_num(context->search_attributes))