Searched refs:needle (Results 1 - 3 of 3) sorted by relevance
/lxc/src/lxc/ |
H A D | utils.h | 256 extern char *lxc_string_replace(const char *needle, const char *replacement, const char *haystack); 257 extern bool lxc_string_in_array(const char *needle, const char **haystack); 277 extern bool lxc_string_in_list(const char *needle, const char *haystack, char sep);
|
H A D | utils.c | 601 char *lxc_string_replace(const char *needle, const char *replacement, const char *haystack) argument 606 size_t needle_len = strlen(needle); 623 for (last_p = (char *)haystack, p = strstr(last_p, needle); p; last_p = p, p = strstr(last_p, needle)) { 656 bool lxc_string_in_array(const char *needle, const char **haystack) argument 659 if (!strcmp(needle, *haystack)) 787 bool lxc_string_in_list(const char *needle, const char *haystack, char _sep) argument 792 if (!haystack || !needle) 798 if (strcmp(needle, token) == 0)
|
/lxc/templates/ |
H A D | lxc-cirros.in | 70 local needle="$1" x="" 73 [ "$needle" = "$x" ] && return 0
|
Completed in 15 milliseconds