token_type
switch (auth_tok->token_type) {
auth_tok->token_type);
auth_tok->token_type);
(*new_auth_tok)->token_type = ECRYPTFS_PRIVATE_KEY;
(*new_auth_tok)->token_type = ECRYPTFS_PASSWORD;
candidate_auth_tok->token_type);
if (candidate_auth_tok->token_type == ECRYPTFS_PRIVATE_KEY) {
} else if (candidate_auth_tok->token_type == ECRYPTFS_PASSWORD) {
if (auth_tok->token_type == ECRYPTFS_PASSWORD) {
} else if (auth_tok->token_type == ECRYPTFS_PRIVATE_KEY) {
if ((*auth_tok)->token_type != ECRYPTFS_PASSWORD
&& (*auth_tok)->token_type != ECRYPTFS_PRIVATE_KEY) {
if (s->auth_tok->token_type != ECRYPTFS_PASSWORD) {
if (s->auth_tok->token_type != ECRYPTFS_PASSWORD) {
u16 token_type;
if (cursor->token_type != DIRECTIVE_IDENTIFIER)
if (cursor->token_type == DIRECTIVE_OF) {
if (cursor->token_type == DIRECTIVE_OF) {
if (cursor < end && (cursor->token_type == DIRECTIVE_OPTIONAL ||
cursor->token_type == DIRECTIVE_DEFAULT)
if (cursor < end && cursor->token_type == TOKEN_OPEN_ACTION) {
if (cursor->token_type != TOKEN_ELEMENT_NAME) {
if (cursor->token_type != TOKEN_CLOSE_ACTION) {
if (cursor->token_type != TOKEN_OPEN_CURLY) {
if (cursor->token_type == TOKEN_OPEN_CURLY) {
if (cursor->token_type == TOKEN_ELEMENT_NAME) {
if (cursor->token_type != TOKEN_COMMA)
if (cursor->token_type != TOKEN_CLOSE_CURLY) {
enum token_type token_type : 8;
tokens[tix++].token_type = TOKEN_ELEMENT_NAME;
tokens[tix++].token_type = dir - directives;
tokens[tix++].token_type = TOKEN_TYPE_NAME;
tokens[tix++].token_type = TOKEN_NUMBER;
tokens[tix++].token_type = TOKEN_ASSIGNMENT;
tokens[tix++].token_type = TOKEN_OPEN_ACTION;
tokens[tix++].token_type = TOKEN_CLOSE_ACTION;
tokens[tix++].token_type = TOKEN_OPEN_CURLY;
tokens[tix++].token_type = TOKEN_CLOSE_CURLY;
tokens[tix++].token_type = TOKEN_OPEN_SQUARE;
tokens[tix++].token_type = TOKEN_CLOSE_SQUARE;
tokens[tix++].token_type = TOKEN_COMMA;
if (token_list[n + 0].token_type == TOKEN_TYPE_NAME &&
token_list[n + 1].token_type == TOKEN_ASSIGNMENT)
if (token_list[n + 0].token_type == TOKEN_TYPE_NAME &&
token_list[n + 1].token_type == TOKEN_ASSIGNMENT) {
if (cursor[0].token_type != TOKEN_TYPE_NAME ||
cursor[1].token_type != TOKEN_ASSIGNMENT)
element->tag = token_to_tag[cursor->token_type];
if (cursor->token_type == TOKEN_OPEN_SQUARE) {
switch (cursor->token_type) {
if (cursor->token_type != TOKEN_NUMBER) {
if (cursor->token_type != TOKEN_CLOSE_SQUARE) {
if (cursor->token_type == DIRECTIVE_IMPLICIT) {
} else if (cursor->token_type == DIRECTIVE_EXPLICIT) {
element->tag = token_to_tag[cursor->token_type];
switch (cursor->token_type) {
if (cursor->token_type != DIRECTIVE_STRING)
auth_tok->token_type = ECRYPTFS_PASSWORD;