Lines Matching refs:pmodel
2671 sdlContentModelPtr pmodel; in make_persistent_sdl_model() local
2674 pmodel = malloc(sizeof(sdlContentModel)); in make_persistent_sdl_model()
2675 memset(pmodel, 0, sizeof(sdlContentModel)); in make_persistent_sdl_model()
2676 *pmodel = *model; in make_persistent_sdl_model()
2678 switch (pmodel->kind) { in make_persistent_sdl_model()
2680 if (pmodel->u.element) { in make_persistent_sdl_model()
2681 make_persistent_sdl_type_ref(&pmodel->u.element, ptr_map, bp_types); in make_persistent_sdl_model()
2688 pmodel->u.content = malloc(sizeof(HashTable)); in make_persistent_sdl_model()
2689 …zend_hash_init(pmodel->u.content, zend_hash_num_elements(model->u.content), NULL, delete_model_per… in make_persistent_sdl_model()
2694 …zend_hash_next_index_insert(pmodel->u.content, (void*)&pcontent, sizeof(sdlContentModelPtr), NULL); in make_persistent_sdl_model()
2700 if (pmodel->u.group_ref) { in make_persistent_sdl_model()
2701 pmodel->u.group_ref = strdup(pmodel->u.group_ref); in make_persistent_sdl_model()
2706 if (pmodel->u.group) { in make_persistent_sdl_model()
2707 make_persistent_sdl_type_ref(&pmodel->u.group, ptr_map, bp_types); in make_persistent_sdl_model()
2715 return pmodel; in make_persistent_sdl_model()