Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dmemory-util.h70 static inline void *memmem_safe(const void *haystack, size_t haystacklen, const void *needle, size_… in memmem_safe() argument
73 return (void*) haystack; in memmem_safe()
78 assert(haystack); 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()
Dstring-util.h26 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()