Lines Matching defs:string
24 #include <string.h>
43 int util_resolve_subsys_kernel(struct udev *udev, const char *string,
52 if (string[0] != '[')
55 strscpy(temp, sizeof(temp), string);
237 * @str: input string to be encoded
238 * @str_enc: output string to store the encoded input string
239 * @len: maximum size of the output string, which may be
240 * four times as long as the input string
242 * Encode all potentially unsafe characters of a string to the
245 * Returns: 0 if the entire string was copied, non-zero otherwise.