Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 11 of 11) sorted by relevance

/systemd-251/coccinelle/
Dnot_in_set.cocci7 constant T n0, n1, n2, n3, n4, n5;
10 - e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5
11 + !IN_SET(e, n0, n1, n2, n3, n4, n5)
13 - e != n0 && e != n1 && e != n2 && e != n3 && e != n4
14 + !IN_SET(e, n0, n1, n2, n3, n4)
16 - e != n0 && e != n1 && e != n2 && e != n3
17 + !IN_SET(e, n0, n1, n2, n3)
19 - e != n0 && e != n1 && e != n2
20 + !IN_SET(e, n0, n1, n2)
Din_set.cocci9 constant T n0, n1, n2, n3, n4, n5;
12 - e == n0 || e == n1 || e == n2 || e == n3 || e == n4 || e == n5
13 + IN_SET(e, n0, n1, n2, n3, n4, n5)
15 - e == n0 || e == n1 || e == n2 || e == n3 || e == n4
16 + IN_SET(e, n0, n1, n2, n3, n4)
18 - e == n0 || e == n1 || e == n2 || e == n3
19 + IN_SET(e, n0, n1, n2, n3)
21 - e == n0 || e == n1 || e == n2
22 + IN_SET(e, n0, n1, n2)
/systemd-251/src/test/
Dtest-selinux.c35 usec_t n1, n2; in test_loading() local
42 n2 = now(CLOCK_MONOTONIC); in test_loading()
43 log_info_errno(r, "mac_selinux_init → %d %.2fs (%m)", r, (n2 - n1)/1e6); in test_loading()
47 usec_t n1, n2; in test_cleanup() local
53 n2 = now(CLOCK_MONOTONIC); in test_cleanup()
54 log_info("mac_selinux_finish → %.2fs", (n2 - n1)/1e6); in test_cleanup()
Dtest-compress-benchmark.c78 usec_t n, n2 = 0; in test_compress_decompress() local
127 n2 = now(CLOCK_MONOTONIC); in test_compress_decompress()
128 if (n2 - n > arg_duration) in test_compress_decompress()
132 dt = (n2-n) / 1e6; in test_compress_decompress()
Dtest-seccomp.c120 const char *n, *n2; in TEST() local
146 n2 = seccomp_arch_to_string(c); in TEST()
147 log_info("seccomp-arch: %s → 0x%"PRIx32" → %s", n, c, n2); in TEST()
148 assert_se(streq_ptr(n, n2)); in TEST()
/systemd-251/src/basic/
Dmemory-util.h44 static inline int memcmp_nn(const void *s1, size_t n1, const void *s2, size_t n2) { in memcmp_nn() argument
45 return memcmp_safe(s1, s2, MIN(n1, n2)) in memcmp_nn()
46 ?: CMP(n1, n2); in memcmp_nn()
Dstrbuf.c78 const struct strbuf_child_entry *n2) { in strbuf_children_cmp() argument
79 return n1->c - n2->c; in strbuf_children_cmp()
Dchase-symlinks.c28 _cleanup_free_ char *n1 = NULL, *n2 = NULL, *user_a = NULL, *user_b = NULL; in log_unsafe_transition() local
35 (void) fd_get_path(b, &n2); in log_unsafe_transition()
44 …strna(n1), strna(user_a), special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), strna(n2), strna(user_b), path… in log_unsafe_transition()
/systemd-251/src/network/
Dnetworkd-dhcp-common.c1150 int n1, n2, len, r; in config_parse_duid_rawdata() local
1176 n2 = unhexchar(cbyte[1]); in config_parse_duid_rawdata()
1178 n2 = 0; in config_parse_duid_rawdata()
1180 if (n1 < 0 || n2 < 0) { in config_parse_duid_rawdata()
1185 byte = ((uint8_t) n1 << (4 * (len-1))) | (uint8_t) n2; in config_parse_duid_rawdata()
/systemd-251/src/basic/linux/hdlc/
Dioctl.h88 unsigned int n2; /* frame retry counter */ member
/systemd-251/src/libsystemd/sd-hwdb/
Dsd-hwdb.c94 const struct trie_child_entry_f *n2 = v2; in trie_children_cmp_f() local
96 return n1->c - n2->c; in trie_children_cmp_f()