Lines Matching full:token
133 const char *token; in actions_parse() local
143 token = strtok(trigger_c, ","); in actions_parse()
145 if (strcmp(token, "trace") == 0) in actions_parse()
147 else if (strcmp(token, "signal") == 0) in actions_parse()
149 else if (strcmp(token, "shell") == 0) in actions_parse()
151 else if (strcmp(token, "continue") == 0) in actions_parse()
157 token = strtok(NULL, ","); in actions_parse()
162 if (token == NULL) in actions_parse()
165 if (strlen(token) > 5 && strncmp(token, "file=", 5) == 0) { in actions_parse()
166 trace_output = token + 5; in actions_parse()
172 token = strtok(NULL, ","); in actions_parse()
173 if (token != NULL) in actions_parse()
180 while (token != NULL) { in actions_parse()
181 if (strlen(token) > 4 && strncmp(token, "num=", 4) == 0) { in actions_parse()
182 signal = atoi(token + 4); in actions_parse()
183 } else if (strlen(token) > 4 && strncmp(token, "pid=", 4) == 0) { in actions_parse()
184 if (strncmp(token + 4, "parent", 7) == 0) in actions_parse()
187 pid = atoi(token + 4); in actions_parse()
193 token = strtok(NULL, ","); in actions_parse()
202 if (token == NULL) in actions_parse()
204 if (strlen(token) > 8 && strncmp(token, "command=", 8) == 0) in actions_parse()
205 return actions_add_shell(self, token + 8); in actions_parse()
209 if (token != NULL) in actions_parse()