Lines Matching defs:token_list
249 static char *sqfs_concat_tokens(char **token_list, int token_count)
254 length = sqfs_get_tokens_length(token_list, token_count);
263 strcpy(result + offset, token_list[i]);
264 offset += strlen(token_list[i]);
451 static int sqfs_search_dir(struct squashfs_dir_stream *dirs, char **token_list,
496 if (!strcmp(token_list[0], "/")) {
510 ret = strcmp(dent->name, token_list[j]);
536 path = sqfs_concat_tokens(token_list, j + 1);
548 rem = sqfs_concat_tokens(token_list + j + 1, token_count -
886 char **token_list = NULL, *path = NULL;
925 token_list = malloc(token_count * sizeof(char *));
926 if (!token_list) {
932 ret = sqfs_tokenize(token_list, token_count, path);
941 ret = sqfs_search_dir(dirs, token_list, token_count, pos_list,
964 free(token_list[j]);
965 free(token_list);