Home
last modified time | relevance | path

Searched refs:last_token (Results 1 – 13 of 13) sorted by relevance

/freebsd-12-stable/contrib/gdb/gdb/
Dmacroexp.c69 int last_token; member
94 b->last_token = -1; in init_buffer()
107 buf->last_token = -1; in init_shared_buffer()
210 tok->last_token = 0; in set_token()
560 gdb_assert (src->last_token != -1); in append_tokens_without_splicing()
561 gdb_assert (dest->last_token != -1); in append_tokens_without_splicing()
569 if (dest->last_token == original_dest_len) in append_tokens_without_splicing()
571 dest->last_token = original_dest_len + src->last_token; in append_tokens_without_splicing()
578 dest->text + dest->last_token, in append_tokens_without_splicing()
579 dest->len - dest->last_token); in append_tokens_without_splicing()
[all …]
/freebsd-12-stable/bin/sh/
Darith_yacc.c62 static int last_token; variable
176 if (last_token != ARITH_RPAREN) in primary()
178 last_token = yylex(); in primary()
181 last_token = op; in primary()
184 last_token = op; in primary()
218 op2 = last_token; in binop2()
222 op2 = last_token; in binop2()
239 op = last_token; in binop()
251 op = last_token; in and()
268 op = last_token; in or()
[all …]
/freebsd-12-stable/usr.bin/indent/
Dlexi.c253 if (state->last_token == structure && !state->p_l_follow) { in lexi()
263 state->last_u_d = (state->last_token == structure); in lexi()
299 if (state->last_token == period || state->last_token == unary_op) { in lexi()
347 (state->last_token == semicolon || state->last_token == lbrace || in lexi()
348 state->last_token == rbrace)) { in lexi()
353 if (state->last_token == decl) /* if this is a declared variable, in lexi()
483 if (state->last_token == ident || state->last_token == rparen) { in lexi()
Dindent.c133 ps.last_token = semicolon; in main()
576 if (ps.last_token != comma || ps.p_l_follow > 0 in main()
600 ((ps.last_token != ident && ps.last_token != funcname) || in main()
766 if (ps.last_token == rparen) in main()
973 if (ps.last_token == rparen && ps.tos <= 1) { in main()
985 ps.in_decl = ps.decl_on_line = ps.last_token != type_def; in main()
1238 ps.last_token = type_code; in main()
Dindent_globs.h243 int last_token; member
Dpr_comment.c197 if (opt.blanklines_before_blockcomments && ps.last_token != lbrace) in pr_comment()
/freebsd-12-stable/contrib/googletest/googlemock/scripts/generator/cpp/
Dast.py756 temp_tokens, last_token = \
759 if last_token.name == '(':
765 temp_tokens.append(last_token)
767 last_token = tokenize.Token(tokenize.SYNTAX, ';', 0, 0)
769 if last_token.name == '[':
773 temp_tokens.append(last_token)
777 temp_tokens2, last_token = \
781 if last_token.name == ';':
795 if last_token.name == '{':
797 self._AddBackToken(last_token)
[all …]
/freebsd-12-stable/contrib/subversion/subversion/libsvn_ra_svn/
Deditorp.c84 ra_svn_token_entry_t *last_token; member
493 ds->last_token = entry; in store_token()
503 if (ds->last_token && svn_string_compare(ds->last_token->token, token)) in lookup_token()
505 *entry = ds->last_token; in lookup_token()
510 ds->last_token = *entry; in lookup_token()
528 ds->last_token = NULL; in remove_token()
1092 state.last_token = NULL; in svn_ra_svn_drive_editor2()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusNameParser.cpp641 clang::Token &last_token = m_tokens[range.end_index - 1]; in GetTextForRange() local
643 clang::SourceLocation end_loc = last_token.getLocation(); in GetTextForRange()
645 unsigned end_pos = end_loc.getRawEncoding() + last_token.getLength(); in GetTextForRange()
/freebsd-12-stable/contrib/gcc/cp/
Dparser.c129 cp_token_position GTY ((skip)) last_token;
322 lexer->last_token = pos; in cp_lexer_new_main()
348 lexer->last_token = last; in cp_lexer_new_from_tokens()
598 if (token == lexer->last_token) in cp_lexer_peek_nth_token()
631 if (lexer->next_token == lexer->last_token) in cp_lexer_consume_token()
671 if (tok == lexer->last_token) in cp_lexer_purge_token()
691 peek = lexer->last_token; in cp_lexer_purge_tokens_after()
DChangeLog-20041060 next_token and last_token cp_token_position. Make saved_tokens a
/freebsd-12-stable/libexec/rtld-elf/
Drtld.c3240 char *envcopy, *fdstr, *found, *last_token; in search_library_pathfds() local
3267 for (fdstr = strtok_r(envcopy, ":", &last_token); fdstr != NULL; in search_library_pathfds()
3268 fdstr = strtok_r(NULL, ":", &last_token)) { in search_library_pathfds()
/freebsd-12-stable/contrib/gcc/
DChangeLog-200027342 * cpphash.c (collect_expansion): Make sure to reset last_token