Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest_mock.c119 unsigned int allocation_index = param - params; in free_parameter() local
124 __ASSERT(allocation_index < CONFIG_ZTEST_PARAMETER_COUNT, in free_parameter()
127 sys_bitfield_clear_bit((mem_addr_t)params_allocation, allocation_index); in free_parameter()
132 int allocation_index; in alloc_parameter() local
135 allocation_index = in alloc_parameter()
137 if (allocation_index == -1) { in alloc_parameter()
141 sys_bitfield_set_bit((mem_addr_t)params_allocation, allocation_index); in alloc_parameter()
142 param = params + allocation_index; in alloc_parameter()