Home | History | Annotate | Download | only in engine

Lines Matching refs:fnd

134 	ENGINE_PILE tmplate, *fnd;
146 fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate);
147 if(!fnd)
149 fnd = OPENSSL_malloc(sizeof(ENGINE_PILE));
150 if(!fnd) goto end;
151 fnd->uptodate = 1;
152 fnd->nid = *nids;
153 fnd->sk = sk_ENGINE_new_null();
154 if(!fnd->sk)
156 OPENSSL_free(fnd);
159 fnd->funct = NULL;
160 (void)lh_ENGINE_PILE_insert(&(*table)->piles, fnd);
163 (void)sk_ENGINE_delete_ptr(fnd->sk, e);
165 if(!sk_ENGINE_push(fnd->sk, e))
168 fnd->uptodate = 0;
177 if(fnd->funct)
178 engine_unlocked_finish(fnd->funct, 0);
179 fnd->funct = e;
180 fnd->uptodate = 1;
246 ENGINE_PILE tmplate, *fnd=NULL;
263 fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate);
264 if(!fnd) goto end;
265 if(fnd->funct && engine_unlocked_init(fnd->funct))
269 "ENGINE '%s' cached\n", f, l, nid, fnd->funct->id);
271 ret = fnd->funct;
274 if(fnd->uptodate)
276 ret = fnd->funct;
280 ret = sk_ENGINE_value(fnd->sk, loop++);
298 if((fnd->funct != ret) && engine_unlocked_init(ret))
301 if(fnd->funct)
302 engine_unlocked_finish(fnd->funct, 0);
303 fnd->funct = ret;
319 if(fnd) fnd->uptodate = 1;