Home
last modified time | relevance | path

Searched refs:new_scope (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm.c762 scope_t *new_scope; in scope_alloc() local
764 new_scope = (scope_t *)malloc(sizeof(scope_t)); in scope_alloc()
765 if (new_scope == NULL) in scope_alloc()
767 memset(new_scope, 0, sizeof(*new_scope)); in scope_alloc()
768 TAILQ_INIT(&new_scope->inner_scope); in scope_alloc()
772 new_scope, scope_links); in scope_alloc()
775 SLIST_INSERT_HEAD(&scope_stack, new_scope, scope_stack_links); in scope_alloc()
776 return new_scope; in scope_alloc()
H A Daicasm_gram.y1056 scope_t *new_scope; variable
1059 new_scope = scope_alloc();
1060 new_scope->type = SCOPE_IF;
1061 new_scope->begin_addr = instruction_ptr;
1062 new_scope->func_num = $2->info.condinfo->func_num;
1066 scope_t *new_scope; variable
1084 new_scope = scope_alloc();
1085 new_scope->type = SCOPE_ELSE_IF;
1086 new_scope->begin_addr = instruction_ptr;
1087 new_scope->func_num = $3->info.condinfo->func_num;
[all …]
/freebsd/sys/netinet6/
H A Din6_src.c303 int new_scope = -1, new_matchlen = -1; in in6_selectsrc() local
351 new_scope = in6_addrscope(&ia->ia_addr.sin6_addr); in in6_selectsrc()
352 if (IN6_ARE_SCOPE_CMP(best_scope, new_scope) < 0) { in in6_selectsrc()
356 } else if (IN6_ARE_SCOPE_CMP(new_scope, best_scope) < 0) { in in6_selectsrc()
357 if (IN6_ARE_SCOPE_CMP(new_scope, dst_scope) < 0) in in6_selectsrc()
483 best_scope = (new_scope >= 0 ? new_scope : in in6_selectsrc()
/freebsd/contrib/byacc/test/
H A Dbtyacc_demo.y106 input: decl_list(global_scope = new_scope(0)) ;
189 | block_statement(new_scope($e)) [YYVALID;]{ $$ = $1; }
207 extern Scope * new_scope(Scope *outer_scope);
/freebsd/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c646 extern Scope * new_scope(Scope *outer_scope);
1879 yyval.scope = global_scope = new_scope(0); in YYPARSE_DECL()
2138 yyval.scope = new_scope(yystack.l_mark[0].scope); in YYPARSE_DECL()