Searched refs:cur_tok (Results 1 – 2 of 2) sorted by relevance
63 char *arg_string = NULL, **arg_array = NULL, *cur_tok = NULL; in splitstr() local108 cur_tok = strtok(arg_string, separator); in splitstr()109 while (cur_tok != NULL) { in splitstr()110 arg_array[num_toks++] = cur_tok; in splitstr()111 cur_tok = strtok(NULL, separator); in splitstr()
111 for cur_tok in cur_uwline.tokens:112 _RetainRequiredVerticalSpacingBetweenTokens(cur_tok, prev_tok, lines)113 prev_tok = cur_tok116 def _RetainRequiredVerticalSpacingBetweenTokens(cur_tok, prev_tok, lines): argument131 if cur_tok.is_comment:132 cur_lineno = cur_tok.lineno - cur_tok.value.count('\n')134 cur_lineno = cur_tok.lineno140 if cur_tok.is_comment and not prev_tok.is_comment:144 desired_newlines = cur_tok.whitespace_prefix.count('\n')150 cur_tok.AdjustNewlinesBefore(required_newlines)