• Home
  • Raw
  • Download

Lines Matching full:string

3  *  linux/lib/string.c
10 * as inline code in <asm-xx/string.h>
24 #include <linux/string.h>
37 * strncasecmp - Case insensitive, length-limited string comparison
38 * @s1: One string
39 * @s2: The other string
83 * strcpy - Copy a %NUL terminated string
84 * @dest: Where to copy the string to
85 * @src: Where to copy the string from
101 * strncpy - Copy a length-limited, C-string
102 * @dest: Where to copy the string to
103 * @src: Where to copy the string from
130 * strlcpy - Copy a C-string into a sized buffer
131 * @dest: Where to copy the string to
132 * @src: Where to copy the string from
136 * NUL-terminated string that fits in the buffer (unless,
156 * strscpy - Copy a C-string into a sized buffer
157 * @dest: Where to copy the string to
158 * @src: Where to copy the string from
161 * Copy the string, or as much of it as fits, into the dest buffer.
164 * The behavior is undefined if the string buffers overlap.
168 * from the src string beyond the specified "count" bytes, and since
170 * In addition, the implementation is robust to the string changing out
173 * Preferred to strncpy() since it always returns a valid string, and
240 * stpcpy - copy a string from src to dest returning a pointer to the new end
242 * @dest: pointer to end of string being copied into. Must be large enough
244 * @src: pointer to the beginning of string being copied from. Must not overlap
265 * strcat - Append one %NUL-terminated string to another
266 * @dest: The string to be appended to
267 * @src: The string to append to it
285 * strncat - Append a length-limited, C-string to another
286 * @dest: The string to be appended to
287 * @src: The string to append to it
314 * strlcat - Append a length-limited, C-string to another
315 * @dest: The string to be appended to
316 * @src: The string to append to it
342 * @cs: One string
343 * @ct: Another string
366 * @cs: One string
367 * @ct: Another string
390 * strchr - Find the first occurrence of a character in a string
391 * @s: The string to be searched
406 * strchrnul - Find and return a character in a string, or end of string
407 * @s: The string to be searched
424 * strrchr - Find the last occurrence of a character in a string
425 * @s: The string to be searched
442 * strnchr - Find a character in a length limited string
443 * @s: The string to be searched
459 * @str: The string to be stripped.
473 * @s: The string to be stripped.
476 * in the given string @s. Returns a pointer to the first non-whitespace
499 * strlen - Find the length of a string
500 * @s: The string to be sized
515 * strnlen - Find the length of a length-limited string
516 * @s: The string to be sized
533 * @s: The string to be searched
534 * @accept: The string to search for
560 * @s: The string to be searched
561 * @reject: The string to avoid
584 * @cs: The string to be searched
604 * strsep - Split a string into tokens
605 * @s: The string to be searched
633 * @s1: one string
634 * @s2: another string
637 * NUL and newline-then-NUL as equivalent string terminations. It's
659 * match_string - matches given string in an array
662 * @string: string to match with
665 * index of a @string in the @array if matches, or %-EINVAL otherwise.
667 int match_string(const char * const *array, size_t n, const char *string) in match_string() argument
676 if (!strcmp(item, string)) in match_string()
685 * __sysfs_match_string - matches given string in an array
688 * @str: string to match with
939 * strstr - Find the first substring in a %NUL terminated string
940 * @s1: The string to be searched
941 * @s2: The string to search for
964 * strnstr - Find the first substring in a length-limited string
965 * @s1: The string to be searched
966 * @s2: The string to search for
1077 * strreplace - Replace all occurrences of character in string.
1078 * @s: The string to operate on.