Skip to content

Commit e714301

Browse files
committed
Rename provider_malloc to provider_ba_global
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent bf33da8 commit e714301

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

test/common/provider.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ typedef struct provider_base_t {
9999
umf_memory_provider_ops_t BASE_PROVIDER_OPS =
100100
umf::providerMakeCOps<provider_base_t, void>();
101101

102-
struct provider_malloc : public provider_base_t {
102+
struct provider_ba_global : public provider_base_t {
103103
umf_result_t alloc(size_t size, size_t align, void **ptr) noexcept {
104104
if (!align) {
105105
align = 8;
@@ -124,10 +124,10 @@ struct provider_malloc : public provider_base_t {
124124
};
125125

126126
umf_memory_provider_ops_t MALLOC_PROVIDER_OPS =
127-
umf::providerMakeCOps<provider_malloc, void>();
127+
umf::providerMakeCOps<provider_ba_global, void>();
128128

129129
struct provider_mock_out_of_mem : public provider_base_t {
130-
provider_malloc helper_prov;
130+
provider_ba_global helper_prov;
131131
int allocNum = 0;
132132
umf_result_t initialize(int *inAllocNum) noexcept {
133133
allocNum = *inAllocNum;

test/disjointCoarseMallocPool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using umf_test::test;
1919
#define GetStats umfCoarseMemoryProviderGetStats
2020

2121
umf_memory_provider_ops_t UMF_MALLOC_MEMORY_PROVIDER_OPS =
22-
umf::providerMakeCOps<umf_test::provider_malloc, void>();
22+
umf::providerMakeCOps<umf_test::provider_ba_global, void>();
2323

2424
struct CoarseWithMemoryStrategyTest
2525
: umf_test::test,

test/ipcAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct provider_mock_ipc : public umf_test::provider_base_t {
2424
size_t size;
2525
};
2626

27-
umf_test::provider_malloc helper_prov;
27+
umf_test::provider_ba_global helper_prov;
2828
static allocations_mutex_type alloc_mutex;
2929
static allocations_map_type allocations;
3030

test/provider_coarse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using umf_test::test;
2222
#define COARSE_NAME BASE_NAME " (" UPSTREAM_NAME ")"
2323

2424
umf_memory_provider_ops_t UMF_MALLOC_MEMORY_PROVIDER_OPS =
25-
umf::providerMakeCOps<umf_test::provider_malloc, void>();
25+
umf::providerMakeCOps<umf_test::provider_ba_global, void>();
2626

2727
struct CoarseWithMemoryStrategyTest
2828
: umf_test::test,

0 commit comments

Comments
 (0)