Lines Matching refs:token
1009 * cstr_token - Get next token from const char string
1012 * @last: a pointer to a character following the returned token
1015 * Returns: a pointer to token position in str or NULL
1020 * - The returned token is not a NULL terminated string, but a token
1022 * of the returned token could be calculated as (last - token).
1026 const char *end, *token = str;
1032 token = *last;
1034 while (*token && os_strchr(delim, *token))
1035 token++;
1037 if (!*token)
1040 end = token + 1;
1046 return token;
1051 * str_token - Get next token from a string
1056 * Returns: The next token, NULL if there are no more valid tokens.
1060 char *token = (char *) cstr_token(str, delim, (const char **) context);
1062 if (token && **context)
1065 return token;