| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransAutoreleasePool.cpp | 98 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 101 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter() 122 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 124 clearUnavailableDiags(*scope.End); in ~AutoreleasePoolRewriter() 128 Pass.TA.removeStmt(*scope.End); in ~AutoreleasePoolRewriter() 153 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 209 scope.End = I; in VisitCompoundStmt() 210 handlePoolScope(scope, S); in VisitCompoundStmt() 340 ReleaseCollector releaseColl(scope.PoolVar, scope.Releases); in handlePoolScope() 343 for (; I != scope.End; ++I) in handlePoolScope() [all …]
|
| /freebsd-12.1/contrib/byacc/test/ |
| H A D | btyacc_demo.y | 26 Scope *scope; member 37 Scope *scope; member 56 %type <expr> expr(<scope>) 57 %type decl(<scope>) declarator_list(<scope>, <type>) 58 decl_list(<scope>) 59 %type <code> statement(<scope>) statement_list(<scope>) 61 %type <decl> declarator(<scope>, <type>) formal_arg(<scope>) 62 %type <type> decl_specs(<scope>) decl_spec(<scope>) typename(<scope>) 64 %type <scope> opt_scope(<scope>) 65 %type <dlist> formal_arg_list(<scope>) nonempty_formal_arg_list(<scope>) [all …]
|
| /freebsd-12.1/sys/netinet6/ |
| H A D | scope6.c | 398 int scope; in in6_setscope() local 410 scope = in6_addrscope(in6); in in6_setscope() 423 zoneid = sid->s6id_list[scope]; in in6_setscope() 484 scope == IPV6_ADDR_SCOPE_LINKLOCAL) in in6_getscopezone() 486 if (scope >= 0 && scope < IPV6_ADDR_SCOPES_COUNT) in in6_getscopezone() 487 return (SID(ifp)->s6id_list[scope]); in in6_getscopezone() 520 int scope; in sa6_checkzone() local 522 scope = in6_addrscope(&sa6->sin6_addr); in sa6_checkzone() 523 if (scope == IPV6_ADDR_SCOPE_GLOBAL) in sa6_checkzone() 560 int scope; in sa6_checkzone_ifp() local [all …]
|
| H A D | in6_cksum.c | 89 uint16_t scope, *w; in _in6_cksum_pseudo() local 113 scope = in6_getscope(&ip6->ip6_src); in _in6_cksum_pseudo() 117 if (scope != 0) in _in6_cksum_pseudo() 118 sum -= scope; in _in6_cksum_pseudo() 125 if (scope != 0) in _in6_cksum_pseudo() 126 sum -= scope; in _in6_cksum_pseudo() 157 u_int16_t *w, scope; in in6_cksum_partial() local 199 if (scope != 0) in in6_cksum_partial() 200 sum -= scope; in in6_cksum_partial() 207 if (scope != 0) in in6_cksum_partial() [all …]
|
| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | name-lookup.c | 326 binding->scope = scope; in new_class_binding() 1373 for (scope = current_binding_level; scope; scope = scope->level_chain) in leave_scope() 1763 if (binding->scope == scope) in find_binding() 1799 result->scope = scope; in binding_for_name() 2808 if (!scope || !TYPE_P (scope)) in do_class_using_decl() 2907 scope = ORIGINAL_NAMESPACE (scope); in namespace_binding() 2941 scope = ORIGINAL_NAMESPACE (scope); in set_decl_namespace() 3811 scope = ORIGINAL_NAMESPACE (scope); in qualified_lookup_using_namespace() 3879 scope = binding->scope->level_chain; in outer_binding() 3894 while (scope && scope != outer_scope && scope->kind != sk_namespace) in outer_binding() [all …]
|
| H A D | semantics.c | 645 tree r, scope; in begin_if_stmt() local 928 tree r, scope; in begin_switch_stmt() local 991 tree scope; in finish_switch_stmt() local 1506 tree scope; in check_accessibility_of_qualified_id() local 1990 if (scope && TYPE_P (scope) && !check_dtor_name (scope, destructor)) in finish_pseudo_destructor_expr() 2598 tree scope, in finish_id_expression() argument 2628 if (scope in finish_id_expression() 2817 if (scope) in finish_id_expression() 2833 scope, in finish_id_expression() 2838 scope, in finish_id_expression() [all …]
|
| H A D | parser.c | 2226 parser->scope = scope; in cp_parser_diagnose_invalid_type_name() 2324 || (parser->scope && TYPE_P (parser->scope) in cp_parser_parse_and_diagnose_invalid_type_name() 3711 scope = parser->scope; in cp_parser_unqualified_id() 3731 gcc_assert (!scope || TYPE_P (scope)); in cp_parser_unqualified_id() 4825 scope = non_reference (scope); in cp_parser_postfix_dot_deref_expression() 4854 if (scope && SCALAR_TYPE_P (scope)) in cp_parser_postfix_dot_deref_expression() 9492 && parser->scope && TYPE_P (parser->scope) in cp_parser_template_name() 13465 scope = parser->scope; in cp_parser_class_name() 13898 scope = (TYPE_P (scope) in cp_parser_class_head() 15786 while (scope && CLASS_TYPE_P (scope)) in cp_parser_check_declarator_template_parameters() [all …]
|
| H A D | search.c | 780 if (!scope) in friend_accessible_p() 786 else if (TYPE_P (scope)) in friend_accessible_p() 797 if (TYPE_P (scope)) in friend_accessible_p() 807 if (DECL_CLASS_SCOPE_P (scope) in friend_accessible_p() 835 if (scope && TREE_CODE (scope) != NAMESPACE_DECL in dfs_accessible_post() 855 tree scope; in accessible_p() local 868 scope = current_scope (); in accessible_p() 869 if (scope && DECL_THUNK_P (scope)) in accessible_p() 1740 tree scope; in dfs_walk_once_accessible_r() local 1743 scope = current_scope (); in dfs_walk_once_accessible_r() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ |
| H A D | Atoms.h | 30 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom() argument 34 _align(align), _contentType(type), _scope(scope), _merge(merge), in MachODefinedAtom() 38 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom() argument 43 _contentType(type), _scope(scope), _merge(mergeNo), _thumb(false), in MachODefinedAtom() 56 Scope scope() const override { return _scope; } in scope() function 91 Scope scope, ContentType type, Merge merge, in MachODefinedCustomSectionAtom() argument 95 : MachODefinedAtom(f, name, scope, type, merge, thumb, noDeadStrip, in MachODefinedCustomSectionAtom() 114 MachOTentativeDefAtom(const File &f, const StringRef name, Scope scope, in MachOTentativeDefAtom() argument 116 : SimpleDefinedAtom(f), _name(name), _scope(scope), _size(size), in MachOTentativeDefAtom() 131 Scope scope() const override { return _scope; } in scope() function
|
| H A D | File.h | 40 void addDefinedAtom(StringRef name, Atom::Scope scope, in addDefinedAtom() argument 57 new (allocator()) MachODefinedAtom(*this, name, scope, type, merge, in addDefinedAtom() 62 void addDefinedAtomInCustomSection(StringRef name, Atom::Scope scope, in addDefinedAtomInCustomSection() argument 80 new (allocator()) MachODefinedCustomSectionAtom(*this, name, scope, type, in addDefinedAtomInCustomSection() 87 void addZeroFillDefinedAtom(StringRef name, Atom::Scope scope, in addZeroFillDefinedAtom() argument 112 new (allocator()) MachODefinedAtom(*this, name, scope, type, size, in addZeroFillDefinedAtom() 127 void addTentativeDefAtom(StringRef name, Atom::Scope scope, uint64_t size, in addTentativeDefAtom() argument 134 new (allocator()) MachOTentativeDefAtom(*this, name, scope, size, align); in addTentativeDefAtom()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | cp-namespace.c | 79 const char *scope, 90 const char *scope, 366 const char *scope, in lookup_namespace_scope() argument 371 if (scope[scope_len] != '\0') in lookup_namespace_scope() 381 gdb_assert (scope[new_scope_len] == ':'); in lookup_namespace_scope() 387 scope, new_scope_len); in lookup_namespace_scope() 396 strncpy (namespace, scope, scope_len); in lookup_namespace_scope() 582 const char *scope; in cp_lookup_transparent_type() local 591 if (scope[0] == '\0') in cp_lookup_transparent_type() 611 if (scope[scope_length] == ':') in cp_lookup_transparent_type_loop() [all …]
|
| H A D | block.c | 35 const char *scope; member 172 && BLOCK_NAMESPACE (block)->scope != NULL) in block_scope() 173 return BLOCK_NAMESPACE (block)->scope; in block_scope() 184 block_set_scope (struct block *block, const char *scope, in block_set_scope() argument 189 BLOCK_NAMESPACE (block)->scope = scope; in block_set_scope() 237 BLOCK_NAMESPACE (block)->scope = NULL; in block_initialize_namespace()
|
| /freebsd-12.1/contrib/unbound/edns-subnet/ |
| H A D | addrtree.c | 98 node->scope = scope; in node_create() 372 if (tree->max_depth < scope) scope = tree->max_depth; in addrtree_insert() 374 if (scope < sourcemask) sourcemask = scope; in addrtree_insert() 385 node->scope = scope; in addrtree_insert() 401 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert() 422 node->scope = scope; in addrtree_insert() 448 newnode->scope = scope; in addrtree_insert() 457 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert() 488 log_assert(node->scope >= depth); in addrtree_find() 489 if (depth == node->scope || in addrtree_find() [all …]
|
| /freebsd-12.1/sys/dev/aic7xxx/aicasm/ |
| H A D | aicasm_symbol.h | 168 typedef struct scope { struct 169 SLIST_ENTRY(scope) scope_stack_links; 170 TAILQ_ENTRY(scope) scope_links; 171 TAILQ_HEAD(, scope) inner_scope; 181 SLIST_HEAD(scope_list, scope); argument 182 TAILQ_HEAD(scope_tailq, scope);
|
| H A D | aicasm.c | 82 static void dump_scope(scope_t *scope); 464 dump_scope(scope_t *scope) in dump_scope() argument 471 emit_patch(scope, 0); in dump_scope() 476 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope() 488 emit_patch(scope, 1); in dump_scope() 492 emit_patch(scope_t *scope, int patch) in emit_patch() argument 497 pinfo = &scope->patches[patch]; in emit_patch() 511 new_patch->patch_func = scope->func_num; in emit_patch() 512 new_patch->begin = scope->begin_addr; in emit_patch() 515 new_patch->begin = scope->end_addr; in emit_patch() [all …]
|
| /freebsd-12.1/contrib/byacc/test/btyacc/ |
| H A D | btyacc_demo.tab.c | 140 Scope *scope; member 156 Scope *scope; member 1852 { yyval.scope = yystack.l_mark[0].scope; } in YYPARSE_DECL() 1862 yyval.scope = d->scope; } in YYPARSE_DECL() 1876 yyval.scope = yystack.l_mark[-1].scope; in YYPARSE_DECL() 1884 yyval.scope = start_fn_def(yystack.l_mark[-2].scope, yystack.l_mark[0].decl); in YYPARSE_DECL() 1943 yyval.scope = yystack.l_mark[-3].scope; in YYPARSE_DECL() 1962 yyval.scope = yystack.l_mark[-2].scope; in YYPARSE_DECL() 2066 yyval.scope = yystack.l_mark[-6].scope; in YYPARSE_DECL() 2070 yyval.scope = yystack.l_mark[-9].scope; in YYPARSE_DECL() [all …]
|
| /freebsd-12.1/sys/amd64/vmm/ |
| H A D | vmm_stat.h | 56 enum vmm_stat_scope scope; member 61 #define VMM_STAT_FDEFINE(type, nelems, desc, func, scope) \ argument 63 { -1, nelems, desc, func, scope } \ 67 #define VMM_STAT_DEFINE(type, nelems, desc, scope) \ argument 68 VMM_STAT_FDEFINE(type, nelems, desc, NULL, scope)
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCleanup.h | 473 static bool classof(const EHScope *scope) { in classof() argument 474 return scope->getKind() == Filter; in classof() 486 static bool classof(const EHScope *scope) { in classof() argument 487 return scope->getKind() == Terminate; in classof() 497 static bool classof(const EHScope *scope) { in classof() argument 498 return scope->getKind() == PadEnd; in classof() 578 EHCatchScope &scope = cast<EHCatchScope>(*begin()); in popCatch() local 579 InnermostEHScope = scope.getEnclosingEHScope(); in popCatch() 580 deallocate(EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers())); in popCatch() 586 EHTerminateScope &scope = cast<EHTerminateScope>(*begin()); in popTerminate() local [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | stabs.c | 191 int scope = 0; in stabs_read() local 218 scope++; in stabs_read() 219 debug(3, "stab %d: opening scope (%d)\n", i + 1, scope); in stabs_read() 222 scope--; in stabs_read() 223 debug(3, "stab %d: closing scope (%d)\n", i + 1, scope); in stabs_read() 326 iidescp->ii_type != II_SFUN) || scope == 0); in stabs_read() 332 if (scope && stab->n_type != N_PSYM) { in stabs_read()
|
| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | socktoa.c | 39 u_long scope; in socktoa() local 58 scope = SCOPE_VAR(sock); in socktoa() 59 if (0 != scope && !strchr(res, '%')) { in socktoa() 63 addr, scope); in socktoa()
|
| /freebsd-12.1/contrib/smbfs/lib/smb/ |
| H A D | nb.c | 90 nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) in nb_ctx_setscope() argument 92 size_t slen = strlen(scope); in nb_ctx_setscope() 95 smb_error("scope '%s' is too long", 0, scope); in nb_ctx_setscope() 103 nls_str_upper(ctx->nb_scope, scope); in nb_ctx_setscope()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/net/ |
| H A D | ip.h | 77 unsigned char scope; in ip_ib_mc_map() local 80 scope = bcast[5] & 0xF; in ip_ib_mc_map() 86 buf[5] = 0x10 | scope; in ip_ib_mc_map()
|
| H A D | ipv6.h | 50 unsigned char scope; in ipv6_ib_mc_map() local 52 scope = broadcast[5] & 0xF; in ipv6_ib_mc_map() 58 buf[5] = 0x10 | scope; in ipv6_ib_mc_map()
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_dis.c | 103 dt_dis_varname(const dtrace_difo_t *dp, uint_t id, uint_t scope) in dt_dis_varname() argument 109 if (dvp->dtdv_id == id && dvp->dtdv_scope == scope) { in dt_dis_varname() 463 char kind[4], scope[4], flags[16] = { 0 }; in dt_dis() local 479 (void) strcpy(scope, "glb"); in dt_dis() 482 (void) strcpy(scope, "tls"); in dt_dis() 485 (void) strcpy(scope, "loc"); in dt_dis() 488 (void) snprintf(scope, sizeof (scope), in dt_dis() 504 v->dtdv_id, kind, scope, flags + 1, in dt_dis()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | c-decl.c | 605 scope && scope != enclosing_blk; in objc_mark_locals_volatile() 606 scope = scope->outer) in objc_mark_locals_volatile() 682 scope->depth--; in push_scope() 714 bool keep = functionbody || scope->keep || scope->bindings; in pop_scope() 894 if ((scope->function_body || scope == file_scope) && context) in pop_scope() 907 SCOPE_LIST_CONCAT (scope->outer, blocks, scope, blocks); in pop_scope() 7824 while (scope && !scope->function_body) in build_block_byref_decl() 7825 scope = scope->outer; in build_block_byref_decl() 7827 gcc_assert (scope && scope->function_body); in build_block_byref_decl() 7928 while (scope && !scope->function_body) in build_block_ref_decl() [all …]
|