Lines Matching refs:pmodel
2632 sdlContentModelPtr pmodel; in make_persistent_sdl_model() local
2635 pmodel = malloc(sizeof(sdlContentModel)); in make_persistent_sdl_model()
2636 memset(pmodel, 0, sizeof(sdlContentModel)); in make_persistent_sdl_model()
2637 *pmodel = *model; in make_persistent_sdl_model()
2639 switch (pmodel->kind) { in make_persistent_sdl_model()
2641 if (pmodel->u.element) { in make_persistent_sdl_model()
2642 make_persistent_sdl_type_ref(&pmodel->u.element, ptr_map, bp_types); in make_persistent_sdl_model()
2649 pmodel->u.content = malloc(sizeof(HashTable)); in make_persistent_sdl_model()
2650 …zend_hash_init(pmodel->u.content, zend_hash_num_elements(model->u.content), NULL, delete_model_per… in make_persistent_sdl_model()
2654 zend_hash_next_index_insert_ptr(pmodel->u.content, pcontent); in make_persistent_sdl_model()
2659 if (pmodel->u.group_ref) { in make_persistent_sdl_model()
2660 pmodel->u.group_ref = strdup(pmodel->u.group_ref); in make_persistent_sdl_model()
2665 if (pmodel->u.group) { in make_persistent_sdl_model()
2666 make_persistent_sdl_type_ref(&pmodel->u.group, ptr_map, bp_types); in make_persistent_sdl_model()
2674 return pmodel; in make_persistent_sdl_model()