Lines Matching defs:tokens
536 void test_case(char *case_data, char **tokens, size_t cnt_tokens) {
548 printf("Test case: <%s>, expected %lu tokens.\n", case_data, cnt_tokens);
551 // should not have more tokens than expected
556 if (JLI_StrCmp(token, tokens[actual_cnt]) != 0) {
557 fail(tokens[actual_cnt], token, actual_cnt);
569 // same number of tokens, should have nothing left to parse
577 if (JLI_StrCmp(last, tokens[actual_cnt]) != 0) {
578 fail(tokens[actual_cnt], last, actual_cnt);
583 printf("FAILED: Number of tokens not match, expected %lu, got %lu\n",
640 JLI_List tokens = JLI_PreprocessArg(argv[i]);
641 if (NULL != tokens) {
642 for (j = 0; j < tokens->size; j++) {
643 printf("Token[%lu]: <%s>\n", (unsigned long) j, tokens->elements[j]);