|
rpm
5.4.14
|
#include "system.h"#include <rpmio.h>#include <rpmiotypes.h>#include <rpmtypes.h>#include <rpmtag.h>#include "rpmdebug-py.c"#include "debug.h"
Go to the source code of this file.
Macros | |
| #define | _RPMPS_INTERNAL /* XXX rpmps needs iterator */ |
| #define | PERMIT_RPMPS_SUBSCRIPT /* XXX likely buggy */ |
Functions | |
| Py_INCREF (s) | |
| return (PyObject *) | |
| if (s) | |
| rpmpsPrint (fp, s->ps) | |
| static PyObject * | rpmps_getattro (PyObject *o, PyObject *n) |
| static int | rpmps_setattro (PyObject *o, PyObject *n, PyObject *v) |
| fprintf (stderr,"*** rpmps_length(%p) rc %d\n", s, rc) | |
| if (!PyInt_Check(key)) | |
| while ((i=rpmpsNextIterator(psi)) >=0) | |
| if (!PyArg_Parse(key,"i:ass_sub",&ix)) | |
| if () | |
| if (!PyArg_ParseTuple(value,"ssOiisN:rpmps value tuple",&p->pkgNEVR,&p->altNEVR,&p->key,&p->type,&p->ignoreProblem,&p->str1,&ulong1)) | |
| if (ix >=ps->numProblems) | |
| static int | rpmps_init (rpmpsObject *s, PyObject *args, PyObject *kwds) |
| static void | rpmps_free (rpmpsObject *s) |
| static PyObject * | rpmps_alloc (PyTypeObject *subtype, int nitems) |
| static PyObject * | rpmps_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds) |
| rpmps | psFromPs (rpmpsObject *s) |
| rpmpsObject * | rpmps_Wrap (rpmps ps) |
Class: Rpmps | |
| static PyObject * | rpmps_Debug (rpmpsObject *s, PyObject *args, PyObject *kwds) |
| static int | rpmps_Append (rpmpsObject *s, PyObject *value) |
Variables | |
| static PyObject *s | psi = rpmpsInitIterator(s->ps) |
| static struct PyMethodDef | rpmps_methods [] |
| static | void |
| static | int |
| return | |
| rc = rpmpsNumProblems(s->ps) | |
| int | ix = (int) PyInt_AsLong(key) |
| int | i |
| return | result |
| else | |
| unsigned long | ulong1 = p->ulong1 |
| op | pkgNEVR = _free(op->pkgNEVR) |
| op | altNEVR = _free(op->altNEVR) |
| op | str1 = _free(op->str1) |
| * | op = *p |
| static PyMappingMethods | rpmps_as_mapping |
| static char | rpmps_doc [] |
| PyTypeObject | rpmps_Type |
| #define _RPMPS_INTERNAL /* XXX rpmps needs iterator */ |
Definition at line 12 of file rpmps-py.c.
| #define PERMIT_RPMPS_SUBSCRIPT /* XXX likely buggy */ |
Definition at line 201 of file rpmps-py.c.
| if | ( | s | ) |
Definition at line 122 of file rpmps-py.c.
References rpmpsObject_s::ps, PyObject_Del(), and rpmpsFree().
| if | ( | ! | PyInt_Checkkey | ) |
Definition at line 177 of file rpmps-py.c.
References _rpmps_debug, fprintf(), and NULL.
| if | ( | ! | PyArg_Parsekey,"i:ass_sub",&ix | ) |
Definition at line 210 of file rpmps-py.c.
| if | ( | ) |
Definition at line 216 of file rpmps-py.c.
| if | ( | ! | PyArg_ParseTuplevalue,"ssOiisN:rpmps value tuple",&p->pkgNEVR,&p->altNEVR,&p->key,&p->type,&p->ignoreProblem,&p->str1,&ulong1 | ) |
Definition at line 242 of file rpmps-py.c.
Definition at line 251 of file rpmps-py.c.
References NULL, rpmpsObject_s::ps, and rpmpsAppend().
| Py_INCREF | ( | s | ) |
| return | ( | PyObject * | ) |
Definition at line 32 of file rpmps-py.c.
|
static |
Definition at line 82 of file rpmps-py.c.
References altNEVR, key, NULL, pkgNEVR, rpmpsObject_s::ps, rpmpsAppend(), str1, type, and ulong1.
|
static |
Definition at line 67 of file rpmps-py.c.
References _rpmps_debug, kwlist, NULL, Py_INCREF(), and Py_None.
|
static |
Definition at line 140 of file rpmps-py.c.
References _rpmps_debug, and fprintf().
|
static |
Definition at line 148 of file rpmps-py.c.
References _rpmps_debug, and fprintf().
| rpmpsPrint | ( | fp | , |
| s-> | ps | ||
| ) |
| while | ( | (i=rpmpsNextIterator(psi)) >= | 0 | ) |
Definition at line 188 of file rpmps-py.c.
References _rpmps_debug, fprintf(), Py_BuildValue(), rpmProblemString(), and rpmpsProblem().
Definition at line 259 of file rpmps-py.c.
Referenced by rpmProblemString(), rpmps_Append(), rpmps_push(), and verifyDependencies().
| else |
Definition at line 238 of file rpmps-py.c.
| int i |
Definition at line 175 of file rpmps-py.c.
|
static |
Definition at line 132 of file rpmps-py.c.
Definition at line 174 of file rpmps-py.c.
Referenced by argiAdd(), armorFormat(), arSetup(), base64Format(), cdataFormat(), depflagsFormat(), deptypeFormat(), digestFormat(), doScript(), fflagsFormat(), formatValue(), hintFormat(), iconvFormat(), intFormat(), jsonFormat(), mapFind(), packageSources(), parseRCPOT(), permsFormat(), pgpMpiSet(), pgpsigFormat(), readFile(), removeSillyDeps(), rpmalAddProvides(), rpmds_Ix_set(), rpmdsCompare(), rpmdsSetIx(), rpmEVRcompare(), rpmEVRparse(), rpmfcApply(), rpmfcHelper(), rpmfcPrint(), rpmfi_DX_set(), rpmfi_FX_set(), rpmfiBuildFDeps(), rpmfiFpsIndex(), rpmrbLoadClasses(), rpmReadPackageFile(), rpmteColorDS(), rpmtsElement(), rpmtsFindPubkey(), rpmtsSkipFiles(), rpnFormat(), runScript(), saveHardLink(), scpResetKeys(), spewescapeFormat(), sql_cget(), statFormat(), triggertypeFormat(), uuidFormat(), xmlFormat(), and yamlFormat().
| * op = *p |
Definition at line 266 of file rpmps-py.c.
Referenced by debevrfmtTag(), doAddSubtract(), doLogical(), doMultiplyDivide(), doRelational(), doScript(), fdstat_op(), fdstat_print(), fmtDBCflags(), headerCheck(), headerGetStats(), rpmReadPackageFile(), rpmrepoRfileDigest(), rpmtsOp(), rpmtsProcess(), and runScript().
Definition at line 258 of file rpmps-py.c.
Referenced by rpmProblemString(), rpmps_Append(), rpmps_push(), rpmtsAddInstallElement(), and verifyDependencies().
| static PyObject *rpmpsi psi = rpmpsInitIterator(s->ps) |
Definition at line 30 of file rpmps-py.c.
Referenced by if(), rpmpsInitIterator(), rpmpsPrint(), rpmtsSanityCheck(), and verifyDependencies().
| return rc = rpmpsNumProblems(s->ps) |
Definition at line 161 of file rpmps-py.c.
| return result |
Definition at line 198 of file rpmps-py.c.
| return |
Definition at line 137 of file rpmps-py.c.
|
static |
Definition at line 275 of file rpmps-py.c.
|
static |
Definition at line 349 of file rpmps-py.c.
|
static |
Definition at line 105 of file rpmps-py.c.
Definition at line 260 of file rpmps-py.c.
Referenced by rpmProblemString(), and rpmps_Append().
Definition at line 240 of file rpmps-py.c.
Referenced by rpmps_Append(), and rpmpsAppend().
|
static |
Definition at line 119 of file rpmps-py.c.
1.8.5