Searched refs:assert_cc (Results 1 - 25 of 47) sorted by relevance

12

/systemd/src/basic/
H A Dparse-util.h54 assert_cc(sizeof(uint32_t) == sizeof(unsigned));
59 assert_cc(sizeof(int32_t) == sizeof(int));
64 assert_cc(sizeof(uint64_t) == sizeof(unsigned long long));
69 assert_cc(sizeof(int64_t) == sizeof(long long int));
75 assert_cc(sizeof(unsigned long) == sizeof(unsigned));
79 assert_cc(sizeof(long int) == sizeof(int));
84 assert_cc(sizeof(unsigned long) == sizeof(unsigned long long));
88 assert_cc(sizeof(long int) == sizeof(long long int));
H A Drandom-util.c104 assert_cc(sizeof(x) < 16);
H A Dcapability-util.c242 assert_cc(sizeof(hi) == sizeof(unsigned));
243 assert_cc(sizeof(lo) == sizeof(unsigned));
H A Dstat-util.c182 assert_cc(sizeof(statfs_f_type_t) >= sizeof(s->f_type));
H A Drlimit-util.c69 assert_cc(sizeof(rlim_t) == sizeof(uint64_t));
H A Duser-util.c61 assert_cc(sizeof(uid_t) == sizeof(uint32_t));
H A Dmacro.h241 #define assert_cc(expr) \ macro
246 #define assert_cc(expr) \ macro
H A Dhashmap.c127 assert_cc(IDX_FIRST == _IDX_SWAP_END);
128 assert_cc(IDX_FIRST == _IDX_ITERATOR_FIRST);
203 assert_cc(DIRECT_BUCKETS(struct ordered_hashmap_entry) >= 1);
206 assert_cc(DIRECT_BUCKETS(struct set_entry) < (1 << 3));
251 assert_cc(sizeof(Hashmap) == sizeof(Set));
H A Dprocess-util.c352 assert_cc(sizeof(uid_t) == sizeof(gid_t));
/systemd/src/resolve/
H A Ddns-type.h114 assert_cc(DNS_TYPE_SSHFP == 44);
115 assert_cc(DNS_TYPE_TLSA == 52);
116 assert_cc(DNS_TYPE_ANY == 255);
H A Dresolved-bus.c248 assert_cc(sizeof(int) == sizeof(int32_t));
387 assert_cc(sizeof(int) == sizeof(int32_t));
553 assert_cc(sizeof(int) == sizeof(int32_t));
1060 assert_cc(sizeof(int) == sizeof(int32_t));
1383 assert_cc(sizeof(int) == sizeof(int32_t));
1432 assert_cc(sizeof(int) == sizeof(int32_t));
H A Dresolve-tool.c132 assert_cc(sizeof(int) == sizeof(int32_t));
262 assert_cc(sizeof(int) == sizeof(int32_t));
384 assert_cc(sizeof(int) == sizeof(int32_t));
655 assert_cc(sizeof(int) == sizeof(int32_t));
/systemd/src/shared/
H A Dbus-util.h89 assert_cc(sizeof(int) == sizeof(int32_t));
92 assert_cc(sizeof(unsigned) == sizeof(unsigned));
114 assert_cc(sizeof(uid_t) == sizeof(uint32_t));
117 assert_cc(sizeof(gid_t) == sizeof(uint32_t));
120 assert_cc(sizeof(pid_t) == sizeof(uint32_t));
123 assert_cc(sizeof(mode_t) == sizeof(uint32_t));
/systemd/src/core/
H A Dmount-setup.c218 assert_cc(N_EARLY_MOUNT <= ELEMENTSOF(mount_table));
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-gvariant.c148 assert_cc(sizeof(struct bus_header) == 16);
/systemd/src/libsystemd-network/
H A Dsd-ipv4ll.c147 assert_cc(sizeof(unsigned) <= 8);
/systemd/src/network/
H A Dnetworkd-ipv4ll.c218 assert_cc(sizeof(unsigned) <= 8);
/systemd/src/test/
H A Dtest-time.c219 assert_cc((time_t) -1 < (time_t) 1);
H A Dtest-util.c103 assert_cc(sizeof(val1.b) == sizeof(int) * 100);
107 assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(1, 10)), int));
108 assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(1, 1U)), void));
114 assert_cc(MAXSIZE(char[3], uint16_t) == 3);
115 assert_cc(MAXSIZE(char[3], uint32_t) == 4);
116 assert_cc(MAXSIZE(char, long) == sizeof(long));
144 assert_cc(sizeof(myval) == 17);
/systemd/src/nss-resolve/
H A Dnss-resolve.c76 assert_cc(sizeof(int32_t) == sizeof(int));
219 assert_cc(sizeof(int32_t) == sizeof(int));
/systemd/src/udev/net/
H A Dlink-config.c361 assert_cc(ETH_ALEN <= sizeof(result));
/systemd/src/machine/
H A Dmachined-dbus.c195 assert_cc(sizeof(pid_t) == sizeof(uint32_t));
341 assert_cc(sizeof(uint32_t) == sizeof(pid_t));
376 assert_cc(sizeof(int32_t) == sizeof(int));
/systemd/src/journal/
H A Djournal-send.c373 assert_cc(3 == LOG_ERR);
H A Djournald-audit.c398 assert_cc(4 == LOG_FAC(LOG_AUTH));
/systemd/src/journal-remote/
H A Djournal-remote-parse.c121 assert_cc(DATA_SIZE_MAX < ENTRY_SIZE_MAX);

Completed in 4055 milliseconds

12