Searched refs:solv_malloc2 (Results 1 – 9 of 9) sorted by relevance
/haiku/src/libs/libsolv/solv/ |
H A D | util.h | 28 extern void *solv_malloc2(size_t, size_t); 85 buf = solv_malloc2((len + block) & ~block, size); in solv_calloc_block()
|
H A D | queue.c | 38 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 D | util.c | 39 solv_malloc2(size_t num, size_t len) in solv_malloc2() function
|
H A D | repopage.c | 797 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 D | repo_solv.c | 579 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 D | repo_write.c | 296 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 D | transaction.c | 825 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 D | repodata.c | 2997 schema = solv_malloc2(data->nkeys, sizeof(Id)); in repodata_internalize() 2998 seen = solv_malloc2(data->nkeys, sizeof(Id)); in repodata_internalize()
|
H A D | pool.c | 295 sorted = solv_malloc2(pool->ss.nstrings, sizeof(Id)); in pool_shrink_whatprovides()
|