satsolver
0.17.2
|
Go to the source code of this file.
Classes | |
struct | _Reldep |
Typedefs | |
typedef struct _Reldep | Reldep |
Functions | |
Id | pool_str2id (Pool *pool, const char *, int) |
Id | pool_strn2id (Pool *pool, const char *, unsigned int, int) |
Id | pool_rel2id (Pool *pool, Id, Id, int, int) |
const char * | pool_id2str (const Pool *pool, Id) |
const char * | pool_id2rel (const Pool *pool, Id) |
const char * | pool_id2evr (const Pool *pool, Id) |
const char * | pool_dep2str (Pool *pool, Id) |
void | pool_shrink_strings (Pool *pool) |
void | pool_shrink_rels (Pool *pool) |
void | pool_freeidhashes (Pool *pool) |
static Id | str2id (Pool *pool, const char *str, int create) |
static Id | strn2id (Pool *pool, const char *str, unsigned int len, int create) |
static Id | rel2id (Pool *pool, Id name, Id evr, int flags, int create) |
static const char * | id2str (const Pool *pool, Id id) |
static const char * | id2rel (const Pool *pool, Id id) |
static const char * | id2evr (const Pool *pool, Id id) |
static const char * | dep2str (Pool *pool, Id id) |
Definition at line 27 of file poolid.c.
References _Stringpool::nstrings, sat_realloc(), _Pool::ss, stringpool_str2id(), _Pool::whatprovides, and WHATPROVIDES_BLOCK.
Referenced by str2id().
Definition at line 41 of file poolid.c.
References _Stringpool::nstrings, sat_realloc(), _Pool::ss, stringpool_strn2id(), _Pool::whatprovides, and WHATPROVIDES_BLOCK.
Referenced by strn2id().
Definition at line 55 of file poolid.c.
References _Reldep::evr, _Reldep::flags, HASHCHAIN_NEXT, HASHCHAIN_START, MAKERELDEP, mkmask(), _Reldep::name, _Pool::nrels, REL_BLOCK, relhash(), _Pool::relhashmask, _Pool::relhashtbl, _Pool::rels, sat_calloc(), sat_extend(), sat_free(), sat_realloc2(), WHATPROVIDES_BLOCK, and _Pool::whatprovides_rel.
Referenced by rel2id().
Definition at line 124 of file poolid.c.
References GETRELDEP, ISRELDEP, _Reldep::name, _Pool::ss, _Stringpool::strings, and _Stringpool::stringspace.
Referenced by id2str().
Definition at line 158 of file poolid.c.
References _Reldep::flags, GETRELDEP, ISRELDEP, REL_AND, REL_ARCH, REL_FILECONFLICT, REL_NAMESPACE, REL_OR, REL_WITH, and rels.
Referenced by id2rel().
Definition at line 191 of file poolid.c.
References _Reldep::evr, GETRELDEP, ISRELDEP, _Pool::ss, _Stringpool::strings, and _Stringpool::stringspace.
Referenced by id2evr().
Definition at line 259 of file poolid.c.
References dep2strcpy(), dep2strlen(), ISRELDEP, pool_alloctmpspace(), _Pool::ss, _Stringpool::strings, and _Stringpool::stringspace.
Referenced by dep2str().
void pool_shrink_strings | ( | Pool * | pool) |
Definition at line 270 of file poolid.c.
References _Pool::ss, and stringpool_shrink().
Referenced by repo_add_solv_flags().
void pool_shrink_rels | ( | Pool * | pool) |
Definition at line 276 of file poolid.c.
References _Pool::nrels, REL_BLOCK, _Pool::rels, and sat_extend_resize().
Referenced by repo_add_solv_flags().
void pool_freeidhashes | ( | Pool * | pool) |
Definition at line 284 of file poolid.c.
References _Pool::relhashmask, _Pool::relhashtbl, sat_free(), _Pool::ss, and stringpool_freehash().
Referenced by pool_add_fileconflicts_deps(), pool_createwhatprovides(), pool_free(), and repo_add_solv_flags().
Definition at line 43 of file poolid.h.
References pool_str2id().
Referenced by pool_id2langid(), repo_add_solv_flags(), repo_fix_conflicts(), repo_fix_supplements(), repo_set_poolstr(), repo_set_str(), repodata_add_poolstr_array(), repodata_globalize_id(), and repodata_set_poolstr().
Definition at line 47 of file poolid.h.
References pool_strn2id().
Referenced by pool_setarchpolicy(), and repodata_str2dir().
Definition at line 51 of file poolid.h.
References pool_rel2id().
Referenced by pool_add_fileconflicts_deps(), repo_fix_conflicts(), repo_fix_supplements(), and solvable_selfprovidedep().
Definition at line 55 of file poolid.h.
References pool_id2str().
Referenced by classify_cmp(), classify_cmp_pkgs(), evrid2vrstr(), havescripts(), id2strnone(), jobtodisablelist(), obsq_sortcmp(), policy_illegal2str(), pool_addfileprovides_dep(), pool_addfileprovides_ids(), pool_addfileprovides_search(), pool_addrelproviders(), pool_arch2color_slow(), pool_evrcmp(), pool_evrmatch(), pool_id2langid(), pool_solvable2str(), pool_trivial_installable_noobsoletesmap(), pool_vendor2mask(), prune_to_best_version_sortcmp(), repo_add_solv_flags(), repo_fix_conflicts(), repo_fix_supplements(), repo_lookup_str(), repodata_internalize(), repodata_localize_id(), repodata_lookup_str(), repodata_set_location(), repodata_stringify(), solvable_get_location(), solver_addrpmrulesforsolvable(), solver_fill_DU_cb(), solver_printsolution(), solver_printtransaction(), solver_printtrivial(), transaction_calculate(), transaction_check_pkg(), and transaction_type().
Definition at line 59 of file poolid.h.
References pool_id2rel().
Referenced by dep2strcpy(), and dep2strlen().
Definition at line 63 of file poolid.h.
References pool_id2evr().
Definition at line 67 of file poolid.h.
References pool_dep2str().
Referenced by addsolvableedges(), pool_addrelproviders(), repo_add_solv_flags(), solver_addrpmrulesforsolvable(), solver_printproblemruleinfo(), solver_problemruleinfo2str(), solver_select2str(), and transaction_check_pkg().