static rpmmg rpmmgGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmmgPool, fileSystem @*/ /*@modifies pool, _rpmmgPool, fileSystem @*/ { rpmmg mg; if (_rpmmgPool == NULL) { _rpmmgPool = rpmioNewPool("mg", sizeof(*mg), -1, _rpmmg_debug, NULL, NULL, rpmmgFini); pool = _rpmmgPool; } return (rpmmg) rpmioGetPool(pool, sizeof(*mg)); }
static rpmasn rpmasnGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmasnPool, fileSystem @*/ /*@modifies pool, _rpmasnPool, fileSystem @*/ { rpmasn asn; if (_rpmasnPool == NULL) { _rpmasnPool = rpmioNewPool("asn", sizeof(*asn), -1, _rpmasn_debug, NULL, NULL, rpmasnFini); pool = _rpmasnPool; } return (rpmasn) rpmioGetPool(pool, sizeof(*asn)); }
static rpmtcl rpmtclGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmtclPool, fileSystem @*/ /*@modifies pool, _rpmtclPool, fileSystem @*/ { rpmtcl tcl; if (_rpmtclPool == NULL) { _rpmtclPool = rpmioNewPool("tcl", sizeof(*tcl), -1, _rpmtcl_debug, NULL, NULL, rpmtclFini); pool = _rpmtclPool; } return (rpmtcl) rpmioGetPool(pool, sizeof(*tcl)); }
static rpmwf rpmwfGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmwfPool, fileSystem @*/ /*@modifies pool, _rpmwfPool, fileSystem @*/ { rpmwf wf; if (_rpmwfPool == NULL) { _rpmwfPool = rpmioNewPool("wf", sizeof(*wf), -1, _rpmwf_debug, NULL, NULL, rpmwfScrub); pool = _rpmwfPool; } return (rpmwf) rpmioGetPool(pool, sizeof(*wf)); }
static rpmiob rpmiobGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmiobPool, fileSystem @*/ /*@modifies pool, _rpmiobPool, fileSystem @*/ { rpmiob iob; if (_rpmiobPool == NULL) { _rpmiobPool = rpmioNewPool("iob", sizeof(*iob), -1, _rpmiob_debug, NULL, NULL, rpmiobFini); pool = _rpmiobPool; } return (rpmiob) rpmioGetPool(pool, sizeof(*iob)); }
static Spec specGetPool(rpmioPool pool) { Spec spec; if (_specPool == NULL) { _specPool = rpmioNewPool("spec", sizeof(*spec), -1, _spec_debug, NULL, NULL, specFini); pool = _specPool; } spec = (Spec) rpmioGetPool(pool, sizeof(*spec)); memset(((char *)spec)+sizeof(spec->_item), 0, sizeof(*spec)-sizeof(spec->_item)); return spec; }
static Package pkgGetPool(rpmioPool pool) { Package pkg; if (_pkgPool == NULL) { _pkgPool = rpmioNewPool("pkg", sizeof(*pkg), -1, _pkg_debug, NULL, NULL, pkgFini); pool = _pkgPool; } pkg = (Package) rpmioGetPool(pool, sizeof(*pkg)); memset(((char *)pkg)+sizeof(pkg->_item), 0, sizeof(*pkg)-sizeof(pkg->_item)); return pkg; }
static rpmruby rpmrubyGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmrubyPool, fileSystem @*/ /*@modifies pool, _rpmrubyPool, fileSystem @*/ { rpmruby ruby; if (_rpmrubyPool == NULL) { _rpmrubyPool = rpmioNewPool("ruby", sizeof(*ruby), -1, _rpmruby_debug, NULL, NULL, rpmrubyFini); pool = _rpmrubyPool; } return (rpmruby) rpmioGetPool(pool, sizeof(*ruby)); }
static rpmsx rpmsxGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmsxPool, fileSystem @*/ /*@modifies pool, _rpmsxPool, fileSystem @*/ { rpmsx sx; if (_rpmsxPool == NULL) { _rpmsxPool = rpmioNewPool("sx", sizeof(*sx), -1, _rpmsx_debug, NULL, NULL, rpmsxFini); pool = _rpmsxPool; } return (rpmsx) rpmioGetPool(pool, sizeof(*sx)); }
static rpmluav rpmluavGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmluavPool, fileSystem @*/ /*@modifies pool, _rpmluavPool, fileSystem @*/ { rpmluav luav; if (_rpmluavPool == NULL) { _rpmluavPool = rpmioNewPool("luav", sizeof(*luav), -1, _rpmlua_debug, NULL, NULL, NULL); pool = _rpmluavPool; } return (rpmluav) rpmioGetPool(pool, sizeof(*luav)); }
static rpmSyck rpmSyckGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmsyckPool, fileSystem @*/ /*@modifies pool, _rpmsyckPool, fileSystem @*/ { rpmSyck rs; if (_rpmsyckPool == NULL) { _rpmsyckPool = rpmioNewPool("syck", sizeof(*rs), -1, _rpmsyck_debug, NULL, NULL, rsFini); pool = _rpmsyckPool; } return (rpmSyck) rpmioGetPool(pool, sizeof(*rs)); }
static rpmlua rpmluaGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmluaPool, fileSystem @*/ /*@modifies pool, _rpmluaPool, fileSystem @*/ { rpmlua lua; if (_rpmluaPool == NULL) { _rpmluaPool = rpmioNewPool("lua", sizeof(*lua), -1, _rpmlua_debug, NULL, NULL, rpmluaFini); pool = _rpmluaPool; } return (rpmlua) rpmioGetPool(pool, sizeof(*lua)); }
static rpmjs rpmjsGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmjsPool, fileSystem @*/ /*@modifies pool, _rpmjsPool, fileSystem @*/ { rpmjs js; if (_rpmjsPool == NULL) { _rpmjsPool = rpmioNewPool("js", sizeof(*js), -1, _rpmjs_debug, NULL, NULL, rpmjsFini); pool = _rpmjsPool; } return (rpmjs) rpmioGetPool(pool, sizeof(*js)); }
miRE mireGetPool(rpmioPool pool) { miRE mire; if (_mirePool == NULL) { _mirePool = rpmioNewPool("mire", sizeof(*mire), -1, _mire_debug, NULL, NULL, mireFini); pool = _mirePool; } mire = (miRE) rpmioGetPool(pool, sizeof(*mire)); memset(((char *)mire)+sizeof(mire->_item), 0, sizeof(*mire)-sizeof(mire->_item)); return mire; }
static rpmbf rpmbfGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmbfPool, fileSystem @*/ /*@modifies pool, _rpmbfPool, fileSystem @*/ { rpmbf bf; if (_rpmbfPool == NULL) { _rpmbfPool = rpmioNewPool("bf", sizeof(*bf), -1, _rpmbf_debug, NULL, NULL, rpmbfFini); pool = _rpmbfPool; } return (rpmbf) rpmioGetPool(pool, sizeof(*bf)); }
static CIPHER_CTX cphGetPool(rpmioPool pool) { CIPHER_CTX cph; if (_cphPool == NULL) { ANNOTATE_BENIGN_RACE(&_cphPool, ""); _cphPool = rpmioNewPool("cph", sizeof(*cph), -1, _cph_debug, NULL, NULL, cphFini); pool = _cphPool; } cph = (CIPHER_CTX) rpmioGetPool(pool, sizeof(*cph)); memset(((char *)cph)+sizeof(cph->_item), 0, sizeof(*cph)-sizeof(cph->_item)); return cph; }
static rpmgi rpmgiGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmgiPool, fileSystem, internalState @*/ /*@modifies pool, _rpmgiPool, fileSystem, internalState @*/ { rpmgi gi; if (_rpmgiPool == NULL) { _rpmgiPool = rpmioNewPool("gi", sizeof(*gi), -1, _rpmgi_debug, NULL, NULL, rpmgiFini); pool = _rpmgiPool; } gi = (rpmgi) rpmioGetPool(pool, sizeof(*gi)); memset(((char *)gi)+sizeof(gi->_item), 0, sizeof(*gi)-sizeof(gi->_item)); return gi; }
static rpmbag rpmbagGetPool(/*@null@*/ rpmioPool pool) /*@globals _rpmbagPool, fileSystem @*/ /*@modifies pool, _rpmbagPool, fileSystem @*/ { rpmbag bag; if (_rpmbagPool == NULL) { _rpmbagPool = rpmioNewPool("bag", sizeof(*bag), -1, _rpmbag_debug, NULL, NULL, rpmbagFini); pool = _rpmbagPool; } bag = (rpmbag) rpmioGetPool(pool, sizeof(*bag)); memset(((char *)bag)+sizeof(bag->_item), 0, sizeof(*bag)-sizeof(bag->_item)); return bag; }