/systemd-251/src/basic/ |
D | memory-util.h | 70 static inline void *memmem_safe(const void *haystack, size_t haystacklen, const void *needle, size_… in memmem_safe() argument 79 assert(needle); in memmem_safe() 81 return memmem(haystack, haystacklen, needle, needlelen); in memmem_safe() 84 static inline void *mempmem_safe(const void *haystack, size_t haystacklen, const void *needle, size… in mempmem_safe() argument 87 p = memmem_safe(haystack, haystacklen, needle, needlelen); in mempmem_safe()
|
D | nulstr-util.h | 13 const char* nulstr_get(const char *nulstr, const char *needle); 15 static inline bool nulstr_contains(const char *nulstr, const char *needle) { in nulstr_contains() argument 16 return nulstr_get(nulstr, needle); in nulstr_contains()
|
D | nulstr-util.c | 6 const char* nulstr_get(const char *nulstr, const char *needle) { in nulstr_get() argument 13 if (streq(i, needle)) in nulstr_get()
|
D | string-util.h | 26 static inline char* strstr_ptr(const char *haystack, const char *needle) { in strstr_ptr() argument 27 if (!haystack || !needle) in strstr_ptr() 29 return strstr(haystack, needle); in strstr_ptr()
|
D | hashmap.c | 2075 static bool set_fnmatch_one(Set *patterns, const char *needle) { in set_fnmatch_one() argument 2078 assert(needle); in set_fnmatch_one() 2081 if (fnmatch(p, needle, 0) == 0) in set_fnmatch_one() 2087 bool set_fnmatch(Set *include_patterns, Set *exclude_patterns, const char *needle) { in set_fnmatch() argument 2088 assert(needle); in set_fnmatch() 2090 if (set_fnmatch_one(exclude_patterns, needle)) in set_fnmatch() 2096 return set_fnmatch_one(include_patterns, needle); in set_fnmatch()
|
D | set.h | 157 bool set_fnmatch(Set *include_patterns, Set *exclude_patterns, const char *needle);
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-file.c | 2360 uint64_t needle, in generic_array_bisect() argument 2361 int (*test_object)(JournalFile *f, uint64_t p, uint64_t needle), in generic_array_bisect() argument 2400 r = test_object(f, ci->begin, needle); in generic_array_bisect() 2434 r = test_object(f, p, needle); in generic_array_bisect() 2467 r = test_object(f, p, needle); in generic_array_bisect() 2487 r = test_object(f, p, needle); in generic_array_bisect() 2517 r = test_object(f, p, needle); in generic_array_bisect() 2590 uint64_t needle, in generic_array_bisect_plus_one() argument 2591 int (*test_object)(JournalFile *f, uint64_t p, uint64_t needle), in generic_array_bisect_plus_one() argument 2608 r = test_object(f, extra, needle); in generic_array_bisect_plus_one() [all …]
|
/systemd-251/src/boot/efi/ |
D | boot.c | 1730 static UINTN config_entry_find(Config *config, const CHAR16 *needle) { in config_entry_find() argument 1733 if (!needle) in config_entry_find() 1737 if (MetaiMatch(config->entries[i]->id, (CHAR16*) needle)) in config_entry_find()
|
/systemd-251/test/test-network/ |
D | systemd-networkd-tests.py | 609 needle = f'{link}: Bringing link {state}' 617 if needle in output and flag in check_output(f'ip link show {link}'):
|