Lines Matching defs:context
176 void *context = mem_list_start(s, type, attributes, parameters);
178 if (context)
180 STORE_OBJECT *object = mem_list_next(s, context);
182 if (mem_list_end(s, context))
211 puts that stack into the context to be returned. mem_list_next
219 struct mem_ctx_st *context =
224 if (!context)
229 memset(context, 0, sizeof(struct mem_ctx_st));
240 if (context->search_attributes == NULL)
242 context->search_attributes =
244 if (!context->search_attributes)
251 sk_push(context->search_attributes,(char *)attrs);
256 context->search_index = -1;
257 context->index = -1;
258 return context;
261 mem_list_end(s, context);
267 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
274 if (!context)
285 if (context->search_index == -1)
287 for (i = 0; i < sk_num(context->search_attributes); i++)
290 (STORE_ATTR_INFO *)sk_value(context->search_attributes, i);
295 context->search_index = srch;
300 if (context->search_index < 0)
304 (STORE_ATTR_INFO *)sk_value(context->search_attributes,
305 context->search_index);
306 for(srch = context->search_index;
315 context->search_index = srch;
323 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
325 if (!context)
330 if (context && context->search_attributes)
331 sk_free(context->search_attributes);
332 if (context) OPENSSL_free(context);
337 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
339 if (!context
340 || context->search_index == sk_num(context->search_attributes))