bind9/tests/bench
Evan Hunt 25c9fb54da standardize CHECK and RETERR macros
previously, there were over 40 separate definitions of CHECK macros, of
which most used "goto cleanup", and the rest "goto failure" or "goto
out". there were another 10 definitions of RETERR, of which most were
identical to CHECK, but some simply returned a result code instead of
jumping to a cleanup label.

this has now been standardized throughout the code base: RETERR is for
returning an error code in the case of an error, and CHECK is for jumping
to a cleanup tag, which is now always called "cleanup". both macros are
defined in isc/util.h.

(cherry picked from commit 52bba5cc34)
2025-12-03 19:17:20 -08:00
..
.gitignore Add qplookups test to .gitignore 2023-10-13 09:00:43 +02:00
ascii.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
compress.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dns_name_fromwire.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
iterated_hash.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
load-names.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
Makefile.am add a "qplookups" benchmark test 2023-09-27 16:24:04 -07:00
names.csv Add base testing set of names for load-names benchmark 2023-10-09 21:04:21 +02:00
qp-dump.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qplookups.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qpmulti.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
siphash.c Update the source code formatting using clang-format-17 2023-10-17 17:47:46 +02:00