Searched defs:find (Results 1 - 2 of 2) sorted by relevance

/security/tomoyo/
H A Dutil.c125 * @keyword: Keyword to find from @string/
385 * @find: Pointer to the keyword.
387 * Returns true if @src starts with @find, false otherwise.
389 * The @src is updated to point the first character after the @find
390 * if @src starts with @find.
392 bool tomoyo_str_starts(char **src, const char *find) argument
394 const int len = strlen(find);
397 if (strncmp(tmp, find, len))
591 * @domainname: The domainname to find.
H A Dcommon.c523 * @profile: Profile number to find.
541 * @find: Name of keyword.
543 * Returns 1 if "@find=yes" was found, 0 if "@find=no" was found, -1 otherwise.
545 static s8 tomoyo_find_yesno(const char *string, const char *find) argument
547 const char *cp = strstr(string, find);
549 cp += strlen(find);
563 * @find: Name of keyword.
568 const char *find)
570 const char *cp = strstr(string, find);
567 tomoyo_set_uint(unsigned int *i, const char *string, const char *find) argument
[all...]

Completed in 254 milliseconds