mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-12-05 18:57:04 -06:00
39 lines
392 B
Plaintext
39 lines
392 B
Plaintext
@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(...)
|
|
-)
|
|
);
|