Lines Matching refs:block1
106 void *block1, *block2; in ZTEST() local
110 block1 = k_realloc(NULL, BLK_SIZE_MIN); in ZTEST()
111 zassert_not_null(block1); in ZTEST()
120 void *last_block1 = block1; in ZTEST()
122 block1 = k_realloc(block1, nb * BLK_SIZE_MIN); in ZTEST()
123 if (block1 == NULL) { in ZTEST()
124 block1 = last_block1; in ZTEST()
135 block1 = k_realloc(block1, BLK_SIZE_MIN); in ZTEST()
136 zassert_not_null(block1); in ZTEST()
144 k_free(block1); in ZTEST()
153 block1 = k_malloc(BLK_SIZE_MIN); in ZTEST()
154 zassert_not_null(block1); in ZTEST()
156 block1 = k_realloc(block1, i * BLK_SIZE_MIN); in ZTEST()
157 zassert_not_null(block1); in ZTEST()
161 block1 = k_realloc(block1, 0); in ZTEST()
162 zassert_is_null(block1); in ZTEST()