Home
last modified time | relevance | path

Searched refs:rpmtdCount (Results 1 – 21 of 21) sorted by relevance

/dports/archivers/rpm4/rpm-4.16.1.3/lib/
H A Dheaderutil.c28 if (rpmtdCount(&td) > 0) { in headerCopy()
63 if (rpmtdCount(&td) == 1) { in headerGetAsString()
77 if (rpmtdCount(&td) == 1) { in headerGetString()
91 if (rpmtdCount(&td) == 1) { in headerGetNumber()
224 count = rpmtdCount(&fileNames); in compressFilelist()
310 if (rpmtdCount(&filenames) < 1) in expandFilelist()
H A Drelocation.c61 if (rpmtdCount(&validRelocs) > 0) { in addPrefixes()
71 actualRelocations = xmalloc(rpmtdCount(&validRelocs) * sizeof(*actualRelocations)); in addPrefixes()
164 fileCount = rpmtdCount(&bnames); in rpmRelocateFileList()
165 dirCount = rpmtdCount(&dnames); in rpmRelocateFileList()
H A Dtagexts.c65 retcount = count = rpmtdCount(&bnames); in fnTag()
66 dncount = rpmtdCount(&dnames); in fnTag()
69 if (rpmtdCount(&dixs) != count || dncount < 1 || dncount > count) in fnTag()
76 if (rpmtdCount(&fstates) != count) in fnTag()
256 td->data = conds = xmalloc(sizeof(*conds) * rpmtdCount(&scripttd)); in triggercondsTagFor()
257 td->count = rpmtdCount(&scripttd); in triggercondsTagFor()
360 td->count = rpmtdCount(&scripts); in triggertypeTagFor()
H A Drpmtd.c50 rpm_count_t rpmtdCount(rpmtd td) in rpmtdCount() function
92 if (td == NULL || index < 0 || index >= rpmtdCount(td)) { in rpmtdSetIndex()
114 if (td->ix < rpmtdCount(td)) { in rpmtdNext()
H A Drpmfi.c187 fndata->fc = rpmtdCount(&bn); in rpmfnInit()
188 fndata->dc = rpmtdCount(&dn); in rpmfnInit()
1327 if (rpmtdCount(&td) == size) { /* ensure right size */ in tag2pool()
1339 uint32_t xc = rpmtdCount(xd); in indexSane()
1340 uint32_t yc = rpmtdCount(yd); in indexSane()
1341 uint32_t zc = rpmtdCount(zd); in indexSane()
1363 if (rpmtdCount(_td) != totalfc) { \
1364 …ntries for tag %s: %u found but %u expected.\n"), rpmTagGetName(_tag), rpmtdCount(_td), totalfc); \
1494 if (headerGet(h, tag, &td, HEADERGET_MINMEM) && rpmtdCount(&td) == num) { in hex2bin()
1537 fi->ncdict = rpmtdCount(&td); in rpmfilesPopulate()
[all …]
H A Drpmtd.h74 rpm_count_t rpmtdCount(rpmtd td);
H A Dformats.c407 rasprintf(&val, "%u", rpmtdCount(td)); in arraysizeFormat()
H A Drpmtriggers.c593 triggersCount = rpmtdCount(&priorities); in runImmedFileTriggers()
H A Drpmvs.c311 int nitems = (rc == RPMRC_OK) ? rpmtdCount(&td) : 1; in rpmvsAppend()
H A Drpminstall.c578 if (rpmtdCount(&prefixes) == 1) { in rpmInstall()
H A Dheaderfmt.c753 count = rpmtdCount(td); in singleSprintf()
H A Dpsm.c394 triggersRun = xcalloc(rpmtdCount(&tindexes), sizeof(*triggersRun)); in runImmedTriggers()
H A Drpmte.c185 p->fs = rpmfsNew(rpmtdCount(&bnames), (p->type == TR_ADDED)); in addTE()
H A Drpmdb.c2042 rpm_count_t c = rpmtdCount(tagdata); in logAddRemove()
2213 if (rpmtdCount(&tagdata) == 0) { in tag2index()
H A Drpmds.c279 rpm_count_t count = rpmtdCount(&names); in rpmdsNewPool()
/dports/archivers/rpm4/rpm-4.16.1.3/python/
H A Drpmtd-py.c41 if (!array && rpmtdCount(td) < 1) { in rpmtd_AsPyobj()
47 res = PyList_New(rpmtdCount(td)); in rpmtd_AsPyobj()
/dports/archivers/rpm4/rpm-4.16.1.3/build/
H A Dpolicies.c60 typeCount = rpmtdCount(&policytypes); in writeModuleToHeader()
104 count = rpmtdCount(&policies); in writeModuleToHeader()
H A DparseSpec.c665 if (rpmtdCount(&td) > 0) { in initSourceHeader()
/dports/devel/appstream-glib/appstream-glib-0.7.18/libappstream-builder/
H A Dasb-package-rpm.c367 dirnames = g_new0 (const gchar *, rpmtdCount (td[0]) + 1); in asb_package_rpm_ensure_filelists()
371 dirindex = g_new0 (gint32, rpmtdCount (td[2]) + 1); in asb_package_rpm_ensure_filelists()
375 filelist = g_new0 (gchar *, rpmtdCount (td[1]) + 1); in asb_package_rpm_ensure_filelists()
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/pkgagent/agent/
H A Dpkgagent.c491 data_size = rpmtdCount(&req); in ReadHeaderInfo()
/dports/archivers/rpm4/rpm-4.16.1.3/
H A DChangeLog66278 rpmtdCount() knows how to handle BIN types, use it..
67200 Fix up for RPM_BIN_TYPE td->count abuse just once, in rpmtdCount()