Lines Matching refs:new_object
106 MYSQLND * new_object; in MYSQLND_METHOD() local
111 new_object = mnd_pecalloc(1, alloc_size_ret, persistent); in MYSQLND_METHOD()
112 if (!new_object) { in MYSQLND_METHOD()
115 new_object->data = mnd_pecalloc(1, alloc_size_ret_data, persistent); in MYSQLND_METHOD()
116 if (!new_object->data) { in MYSQLND_METHOD()
117 mnd_pefree(new_object, persistent); in MYSQLND_METHOD()
120 new_object->persistent = persistent; in MYSQLND_METHOD()
121 new_object->m = mysqlnd_conn_get_methods(); in MYSQLND_METHOD()
122 data = new_object->data; in MYSQLND_METHOD()
149 new_object->m->dtor(new_object); in MYSQLND_METHOD()
153 DBG_RETURN(new_object); in MYSQLND_METHOD()
163 MYSQLND * new_object; in MYSQLND_METHOD() local
170 new_object = mnd_pecalloc(1, alloc_size_ret, to_be_cloned->persistent); in MYSQLND_METHOD()
171 if (!new_object) { in MYSQLND_METHOD()
174 new_object->persistent = to_be_cloned->persistent; in MYSQLND_METHOD()
175 new_object->m = to_be_cloned->m; in MYSQLND_METHOD()
177 new_object->data = to_be_cloned->data->m->get_reference(to_be_cloned->data); in MYSQLND_METHOD()
178 if (!new_object->data) { in MYSQLND_METHOD()
179 new_object->m->dtor(new_object); in MYSQLND_METHOD()
180 new_object = NULL; in MYSQLND_METHOD()
182 DBG_RETURN(new_object); in MYSQLND_METHOD()