mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-24 02:59:43 -04:00
38 lines
392 B
Text
38 lines
392 B
Text
@deletion1@
|
|
statement S1, S2;
|
|
expression V;
|
|
@@
|
|
-V =
|
|
isc_buffer_allocate(...);
|
|
(
|
|
-if (V != ISC_R_SUCCESS) S1
|
|
|
|
|
-if (V == ISC_R_SUCCESS)
|
|
S1
|
|
-else S2
|
|
|
|
|
-check_result(V, ...);
|
|
|
|
|
-assert_int_equal(V, ISC_R_SUCCESS);
|
|
|
|
|
-CHECK(..., V);
|
|
|
|
|
-RUNTIME_CHECK(V == ISC_R_SUCCESS);
|
|
)
|
|
|
|
@deletion2@
|
|
@@
|
|
(
|
|
(
|
|
-CHECK
|
|
|
|
|
-RETERR
|
|
)
|
|
-(
|
|
isc_buffer_allocate(...)
|
|
-)
|
|
|
|
|
-DO(...,
|
|
isc_buffer_allocate(...)
|
|
-)
|
|
);
|