Lines Matching refs:pmodel
2667 sdlContentModelPtr pmodel; in make_persistent_sdl_model() local
2670 pmodel = malloc(sizeof(sdlContentModel)); in make_persistent_sdl_model()
2671 memset(pmodel, 0, sizeof(sdlContentModel)); in make_persistent_sdl_model()
2672 *pmodel = *model; in make_persistent_sdl_model()
2674 switch (pmodel->kind) { in make_persistent_sdl_model()
2676 if (pmodel->u.element) { in make_persistent_sdl_model()
2677 make_persistent_sdl_type_ref(&pmodel->u.element, ptr_map, bp_types); in make_persistent_sdl_model()
2684 pmodel->u.content = malloc(sizeof(HashTable)); in make_persistent_sdl_model()
2685 …zend_hash_init(pmodel->u.content, zend_hash_num_elements(model->u.content), NULL, delete_model_per… in make_persistent_sdl_model()
2689 zend_hash_next_index_insert_ptr(pmodel->u.content, pcontent); in make_persistent_sdl_model()
2694 if (pmodel->u.group_ref) { in make_persistent_sdl_model()
2695 pmodel->u.group_ref = strdup(pmodel->u.group_ref); in make_persistent_sdl_model()
2700 if (pmodel->u.group) { in make_persistent_sdl_model()
2701 make_persistent_sdl_type_ref(&pmodel->u.group, ptr_map, bp_types); in make_persistent_sdl_model()
2709 return pmodel; in make_persistent_sdl_model()