Lines Matching refs:alloc_funcs
3237 struct php_sqlite_agg_functions *alloc_funcs, func_tmp; in prep_callback_struct() local
3245 if (SUCCESS == zend_hash_find(&db->callbacks, hashkey, hashkeylen+1, (void*)&alloc_funcs)) { in prep_callback_struct()
3248 if (alloc_funcs->is_valid) { in prep_callback_struct()
3251 if (alloc_funcs->step) { in prep_callback_struct()
3252 zval_ptr_dtor(&alloc_funcs->step); in prep_callback_struct()
3253 alloc_funcs->step = NULL; in prep_callback_struct()
3256 if (alloc_funcs->fini) { in prep_callback_struct()
3257 zval_ptr_dtor(&alloc_funcs->fini); in prep_callback_struct()
3258 alloc_funcs->fini = NULL; in prep_callback_struct()
3268 (void*)&func_tmp, sizeof(func_tmp), (void**)&alloc_funcs) ? DO_REG : ERR; in prep_callback_struct()
3273 MAKE_STD_ZVAL(alloc_funcs->step); in prep_callback_struct()
3274 *(alloc_funcs->step) = *step; in prep_callback_struct()
3275 zval_copy_ctor(alloc_funcs->step); in prep_callback_struct()
3276 INIT_PZVAL(alloc_funcs->step); in prep_callback_struct()
3279 MAKE_STD_ZVAL(alloc_funcs->fini); in prep_callback_struct()
3280 *(alloc_funcs->fini) = *fini; in prep_callback_struct()
3281 zval_copy_ctor(alloc_funcs->fini); in prep_callback_struct()
3282 INIT_PZVAL(alloc_funcs->fini); in prep_callback_struct()
3284 alloc_funcs->fini = NULL; in prep_callback_struct()
3286 alloc_funcs->is_valid = 1; in prep_callback_struct()
3287 *funcs = alloc_funcs; in prep_callback_struct()