Searched refs:new_descr (Results 1 – 3 of 3) sorted by relevance
207 CFieldObject *new_descr; in MakeFields() local235 new_descr = (CFieldObject *)PyObject_CallObject((PyObject *)&PyCField_Type, NULL); in MakeFields()236 if (new_descr == NULL) { in MakeFields()241 assert(Py_TYPE(new_descr) == &PyCField_Type); in MakeFields()242 new_descr->size = fdescr->size; in MakeFields()243 new_descr->offset = fdescr->offset + offset; in MakeFields()244 new_descr->index = fdescr->index + index; in MakeFields()245 new_descr->proto = fdescr->proto; in MakeFields()246 Py_XINCREF(new_descr->proto); in MakeFields()247 new_descr->getfunc = fdescr->getfunc; in MakeFields()[all …]
223 CFieldObject *new_descr; in MakeFields() local251 new_descr = (CFieldObject *)_PyObject_CallNoArg((PyObject *)&PyCField_Type); in MakeFields()252 if (new_descr == NULL) { in MakeFields()257 assert(Py_IS_TYPE(new_descr, &PyCField_Type)); in MakeFields()258 new_descr->size = fdescr->size; in MakeFields()259 new_descr->offset = fdescr->offset + offset; in MakeFields()260 new_descr->index = fdescr->index + index; in MakeFields()261 new_descr->proto = fdescr->proto; in MakeFields()262 Py_XINCREF(new_descr->proto); in MakeFields()263 new_descr->getfunc = fdescr->getfunc; in MakeFields()[all …]
280 char *descr, *new_descr; in ext2fs_copy_generic_bmap() local325 retval = ext2fs_get_mem(strlen(descr)+10, &new_descr); in ext2fs_copy_generic_bmap()330 strcpy(new_descr, "copy of "); in ext2fs_copy_generic_bmap()331 strcat(new_descr, descr); in ext2fs_copy_generic_bmap()332 new_bmap->description = new_descr; in ext2fs_copy_generic_bmap()