summaryrefslogtreecommitdiffstats
path: root/src/basic/macro.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* basic/macro: move DECIMAL_STR_FMT to shared/testsMike Yuan2024-09-201-13/+0
* macro: move PTR_TO_SIZE() macros to fundamentalLennart Poettering2024-06-261-3/+0
* macro: also move FOREACH_ARRAY()/FOREACH_ELEMENT() to fundamentalLennart Poettering2024-06-261-12/+0
* macro: move sizeof_field() macro into src/fundamental/Lennart Poettering2024-06-261-3/+0
* introduce FOREACH_ELEMENTMatteo Croce2024-04-181-0/+3
* Follow up with the PR #31819Unique-Usman2024-03-201-0/+13
* tree-wide: replace FOREACH_POINTER with FOREACH_ARGUMENTMike Yuan2024-01-241-6/+0
* macro: rename VA_ARGS_FOREACH to FOREACH_ARGUMENTMike Yuan2024-01-241-4/+4
* macro: terminate the temporary VA_ARGS_FOREACH() array with a sentinelFrantisek Sumsal2024-01-171-4/+4
* macro: introduce u64_multiply_safe() to avoid overflowYu Watanabe2023-10-191-0/+7
* basic/macro.h: move a bunch of stuff to macro-fundamental.hZbigniew Jędrzejewski-Szmek2023-10-071-73/+1
* basic/macro: add comment explaining DEFINE_TRIVIAL_DESTRUCTOR()Zbigniew Jędrzejewski-Szmek2023-10-061-0/+2
* macro: use __builtin_unreachable on NDEBUGNRK2023-10-031-1/+1
* treewide: fix typosJoerg Behrmann2023-09-191-1/+1
* openssl: add ecc_pkey_new(), ecc_pkey_from_curve_x_y(), ecc_pkey_to_curve_x_y()Dan Streetman2023-08-041-0/+9
* coredump filter: fix stack overflow with =allLuca Boccassi2023-04-261-0/+4
* tree-wide: code spelling fixesFrantisek Sumsal2023-04-201-1/+1
* basic/macro: add macro to iterate variadic argsDan Streetman2023-03-091-0/+9
* macro: support the case that the number of elements has const qualifierYu Watanabe2023-03-091-4/+6
* macro: introduce FOREACH_ARRAY() macroYu Watanabe2023-03-071-0/+7
* Include <threads.h> if possible to get thread_local definitionCristian Rodríguez2023-03-061-14/+0
* macro: add macro for determining size of struct with trailing unionLennart Poettering2023-02-171-0/+1
* treewide: fix a few typos in NEWS, docs and commentsDmitry V. Levin2023-02-151-1/+1
* tree-wide: Use __func__ in assertsJan Janssen2023-01-181-3/+3
* macro: check existence of cleanup function before call itYu Watanabe2022-12-221-2/+10
* Rename def.h to constants.hZbigniew Jędrzejewski-Szmek2022-11-081-24/+1
* json: use fpclassify() or its helper functionsYu Watanabe2022-07-211-4/+0
* Use https for gnu.orgMichael Biebl2022-06-281-1/+1
* macro: make ALIGN4() and ALIGN8() also return SIZE_MAX on overflowYu Watanabe2022-05-311-19/+0
* macro: Move attribute defintions to macro-fundamentalJan Janssen2022-05-281-18/+0
* Add saturate_add() that generalizes size_add()Zbigniew Jędrzejewski-Szmek2022-05-121-1/+8
* macro: upgrade ref counting overflow check assert() → assert_se()Lennart Poettering2022-04-211-1/+1
* macro: check over flow in reference counterYu Watanabe2022-04-191-2/+6
* meson: explicitly include coverage tweaks when built w/ --coverageFrantisek Sumsal2022-04-081-13/+0
* macro: call __gcov_dump() before _exit() w/ coverage enabledFrantisek Sumsal2022-04-071-0/+13
* macro: add macro that simplifies going backwards through an array via pointersLennart Poettering2022-03-231-0/+16
* macro: handle DECIMAL_STR_MAX() special cases more accuratelyLennart Poettering2022-03-141-6/+5
* macro: DECIMAL_STR_WIDTH() is about *values* not *types*Lennart Poettering2022-03-141-3/+13
* macro: account for negative values in DECIMAL_STR_WIDTH()Frantisek Sumsal2022-03-131-7/+7
* sd-boot: Move flags helpers to macro-fundamental.hJan Janssen2021-11-041-7/+0
* macro: Move ALIGN_TO to macro-fundamental.h and introduce CONST_ALIGN_TOJan Janssen2021-10-171-18/+0
* macro: also use trailing __ for alignof use in attributesLennart Poettering2021-10-111-1/+1
* macro: fix ALIGN_TO() to use ULLONG_MAX instead of ULONGLONG_MAXThomas Haller2021-10-111-1/+1
* macro: handle overflow in ALIGN_TO() somewhat reasonablyLennart Poettering2021-08-201-0/+14
* sd-boot: Fix PE section parsingJan Janssen2021-08-161-1/+0
* Merge pull request #20233 from maanyagoenka/log-errorLennart Poettering2021-08-131-0/+6
|\
| * systemd-analyze: option to exit with an error when 'verify' failsMaanya Goenka2021-08-121-0/+6
* | macro: Move some macros to macro-fundamental.hJan Janssen2021-08-111-23/+0
|/
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-2/+2
* macro: change DECIMAL_STR_WIDTH() return type to size_t, like strlen() and so onLennart Poettering2021-07-301-1/+1