Home
last modified time | relevance | path

Searched refs:solv_malloc2 (Results 1 – 9 of 9) sorted by relevance

/haiku/src/libs/libsolv/solv/
H A Dutil.h28 extern void *solv_malloc2(size_t, size_t);
85 buf = solv_malloc2((len + block) & ~block, size); in solv_calloc_block()
H A Dqueue.c38 t->alloc = t->elements = solv_malloc2(s->count + EXTRA_SPACE, sizeof(Id)); in queue_init_clone()
68 q->alloc = solv_malloc2(q->count + EXTRA_SPACE, sizeof(Id)); in queue_alloc_one()
H A Dutil.c39 solv_malloc2(size_t num, size_t len) in solv_malloc2() function
H A Drepopage.c797 store->mapped_at = solv_malloc2(npages, sizeof(*store->mapped_at)); in repopagestore_read_or_setup_pages()
803 store->file_pages = solv_malloc2(npages, sizeof(*store->file_pages)); in repopagestore_read_or_setup_pages()
805 store->blob_store = solv_malloc2(npages, REPOPAGE_BLOBSIZE); in repopagestore_read_or_setup_pages()
H A Drepo_solv.c579 spool->strings = solv_malloc2(numid < 2 ? 2 : numid, sizeof(Offset)); in repo_add_solv()
858 data.dirpool.dirs = solv_malloc2(numdir, sizeof(Id)); in repo_add_solv()
H A Drepo_write.c296 sids = solv_malloc2(i, sizeof(Id));
496 sids = solv_malloc2(i, sizeof(Id)); in data_addidarray_sort()
1646 cbdata.dirused = solv_malloc2(dirpool->ndirs, sizeof(Id)); in repo_write_filtered()
H A Dtransaction.c825 trans->orderdata->tes = solv_malloc2(od->ntes, sizeof(*od->tes)); in transaction_create_clone()
828 trans->orderdata->invedgedata = solv_malloc2(od->ninvedgedata, sizeof(Id)); in transaction_create_clone()
H A Drepodata.c2997 schema = solv_malloc2(data->nkeys, sizeof(Id)); in repodata_internalize()
2998 seen = solv_malloc2(data->nkeys, sizeof(Id)); in repodata_internalize()
H A Dpool.c295 sorted = solv_malloc2(pool->ss.nstrings, sizeof(Id)); in pool_shrink_whatprovides()