Lines Matching refs:p2_2

1297 	void *p2_2;  in test_pool()  local
1311 p2_2 = talloc_realloc_size(pool, p2, 20+1); in test_pool()
1312 torture_assert("pool realloc 20+1", p2_2 == p2, "failed: pointer changed"); in test_pool()
1314 p2_2 = talloc_realloc_size(pool, p2, 20-1); in test_pool()
1315 torture_assert("pool realloc 20-1", p2_2 == p2, "failed: pointer changed"); in test_pool()
1317 p2_2 = talloc_realloc_size(pool, p2, 20-1); in test_pool()
1318 torture_assert("pool realloc 20-1", p2_2 == p2, "failed: pointer changed"); in test_pool()
1324 p2_2 = talloc_realloc_size(pool, p2, 400); in test_pool()
1325 torture_assert("pool realloc 400", p2_2 == p2, "failed: pointer changed"); in test_pool()
1331 p2_2 = talloc_realloc_size(pool, p2, 800); in test_pool()
1332 torture_assert("pool realloc 800", p2_2 == p1, "failed: pointer not changed"); in test_pool()
1333 p2 = p2_2; in test_pool()
1337 p2_2 = talloc_realloc_size(pool, p2, 1800); in test_pool()
1338 torture_assert("pool realloc 1800", p2_2 != p2, "failed: pointer not changed"); in test_pool()
1339 p2 = p2_2; in test_pool()
1357 p2_2 = talloc_realloc_size(pool, p2, 20-1); in test_pool()
1358 torture_assert("pool realloc 20-1", p2_2 == p2, "failed: pointer changed"); in test_pool()
1360 p2_2 = talloc_realloc_size(pool, p2, 20-1); in test_pool()
1361 torture_assert("pool realloc 20-1", p2_2 == p2, "failed: pointer changed"); in test_pool()
1365 p2_2 = talloc_realloc_size(pool, p2, 1800); in test_pool()
1366 torture_assert("pool realloc 1800", p2_2 != p2, "failed: pointer not changed"); in test_pool()
1367 p2 = p2_2; in test_pool()
1387 void *p1_2, *p2_2; in test_pool_steal() local
1420 p2_2 = talloc_realloc_size(root, p2, 3 * 16); in test_pool_steal()
1421 torture_assert("pool realloc 5 * 16", p2_2 == p2, "failed: pointer changed"); in test_pool_steal()
1422 memset(p2_2, 0x11, talloc_get_size(p2_2)); in test_pool_steal()
1427 p2_2 = p2; in test_pool_steal()
1431 p2_2 = talloc_realloc_size(root, p2, 8 * 16); in test_pool_steal()
1432 torture_assert("pool realloc 8 * 16", p2_2 == p1, "failed: pointer not expected"); in test_pool_steal()
1433 p2 = p2_2; in test_pool_steal()
1434 memset(p2_2, 0x11, talloc_get_size(p2_2)); in test_pool_steal()
1437 p2_2 = talloc_realloc_size(root, p2, 2 * 1024); in test_pool_steal()
1438 torture_assert("pool realloc 2 * 1024", p2_2 != p1, "failed: pointer not expected"); in test_pool_steal()
1439 memset(p2_2, 0x11, talloc_get_size(p2_2)); in test_pool_steal()
1443 talloc_free(p2_2); in test_pool_steal()