Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransAutoreleasePool.cpp98 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local
99 clearRefsIn(*scope.Begin, info.Refs); in ~AutoreleasePoolRewriter()
100 clearRefsIn(*scope.End, info.Refs); in ~AutoreleasePoolRewriter()
101 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter()
122 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local
123 clearUnavailableDiags(*scope.Begin); in ~AutoreleasePoolRewriter()
124 clearUnavailableDiags(*scope.End); in ~AutoreleasePoolRewriter()
125 if (scope.IsFollowedBySimpleReturnStmt) { in ~AutoreleasePoolRewriter()
127 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {"); in ~AutoreleasePoolRewriter()
128 Pass.TA.removeStmt(*scope.End); in ~AutoreleasePoolRewriter()
[all …]
/NextBSD/contrib/byacc/test/
HDbtyacc_demo.y26 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>)
60 block_statement(<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>)
[all …]
/NextBSD/sys/netinet6/
HDscope6.c396 int scope; in in6_setscope() local
408 scope = in6_addrscope(in6); in in6_setscope()
409 if (scope == IPV6_ADDR_SCOPE_INTFACELOCAL || in in6_setscope()
410 scope == IPV6_ADDR_SCOPE_LINKLOCAL) { in in6_setscope()
418 } else if (scope != IPV6_ADDR_SCOPE_GLOBAL) { in in6_setscope()
421 zoneid = sid->s6id_list[scope]; in in6_setscope()
478 in6_getscopezone(const struct ifnet *ifp, int scope) in in6_getscopezone() argument
481 if (scope == IPV6_ADDR_SCOPE_INTFACELOCAL || in in6_getscopezone()
482 scope == IPV6_ADDR_SCOPE_LINKLOCAL) in in6_getscopezone()
484 if (scope >= 0 && scope < IPV6_ADDR_SCOPES_COUNT) in in6_getscopezone()
[all …]
HDin6_cksum.c87 uint16_t scope, *w; in _in6_cksum_pseudo() local
111 scope = in6_getscope(&ip6->ip6_src); in _in6_cksum_pseudo()
115 if (scope != 0) in _in6_cksum_pseudo()
116 sum -= scope; in _in6_cksum_pseudo()
119 scope = in6_getscope(&ip6->ip6_dst); in _in6_cksum_pseudo()
123 if (scope != 0) in _in6_cksum_pseudo()
124 sum -= scope; in _in6_cksum_pseudo()
155 u_int16_t *w, scope; in in6_cksum_partial() local
193 scope = in6_getscope(&ip6->ip6_src); in in6_cksum_partial()
197 if (scope != 0) in in6_cksum_partial()
[all …]
/NextBSD/contrib/gcc/cp/
HDname-lookup.c308 binding->scope = NULL; in cxx_binding_free()
317 new_class_binding (tree name, tree value, tree type, cxx_scope *scope) in new_class_binding() argument
322 cb = VEC_safe_push (cp_class_binding, gc, scope->class_shadowed, NULL); in new_class_binding()
326 binding->scope = scope; in new_class_binding()
341 binding->scope = level; in push_binding()
456 && binding->scope->kind != sk_class in supplement_binding()
1182 cxx_scope_descriptor (cxx_scope *scope) in cxx_scope_descriptor() argument
1198 const scope_kind kind = scope->explicit_spec_p in cxx_scope_descriptor()
1199 ? sk_template_spec : scope->kind; in cxx_scope_descriptor()
1207 cxx_scope_debug (cxx_scope *scope, int line, const char *action) in cxx_scope_debug() argument
[all …]
HDsemantics.c645 tree r, scope; in begin_if_stmt() local
646 scope = do_pushlevel (sk_block); in begin_if_stmt()
648 TREE_CHAIN (r) = scope; in begin_if_stmt()
696 tree scope = TREE_CHAIN (if_stmt); in finish_if_stmt() local
698 add_stmt (do_poplevel (scope)); in finish_if_stmt()
898 tree scope = TREE_CHAIN (for_stmt); in finish_for_stmt() local
900 add_stmt (do_poplevel (scope)); in finish_for_stmt()
928 tree r, scope; in begin_switch_stmt() local
932 scope = do_pushlevel (sk_block); in begin_switch_stmt()
933 TREE_CHAIN (r) = scope; in begin_switch_stmt()
[all …]
HDparser.c1330 tree scope; member
2035 if (parser->scope && parser->scope != global_namespace) in cp_parser_name_lookup_error()
2037 parser->scope, name); in cp_parser_name_lookup_error()
2038 else if (parser->scope == global_namespace) in cp_parser_name_lookup_error()
2050 else if (parser->scope && parser->scope != global_namespace) in cp_parser_name_lookup_error()
2051 error ("%<%D::%D%> %s", parser->scope, name, desired); in cp_parser_name_lookup_error()
2052 else if (parser->scope == global_namespace) in cp_parser_name_lookup_error()
2221 cp_parser_diagnose_invalid_type_name (cp_parser *parser, tree scope, tree id) in cp_parser_diagnose_invalid_type_name() argument
2225 old_scope = parser->scope; in cp_parser_diagnose_invalid_type_name()
2226 parser->scope = scope; in cp_parser_diagnose_invalid_type_name()
[all …]
HDsearch.c775 friend_accessible_p (tree scope, tree decl, tree binfo) in friend_accessible_p() argument
780 if (!scope) in friend_accessible_p()
783 if (TREE_CODE (scope) == FUNCTION_DECL in friend_accessible_p()
784 || DECL_FUNCTION_TEMPLATE_P (scope)) in friend_accessible_p()
785 befriending_classes = DECL_BEFRIENDING_CLASSES (scope); in friend_accessible_p()
786 else if (TYPE_P (scope)) in friend_accessible_p()
787 befriending_classes = CLASSTYPE_BEFRIENDING_CLASSES (scope); in friend_accessible_p()
797 if (TYPE_P (scope)) in friend_accessible_p()
798 for (t = TYPE_CONTEXT (scope); t && TYPE_P (t); t = TYPE_CONTEXT (t)) in friend_accessible_p()
802 if (TREE_CODE (scope) == FUNCTION_DECL in friend_accessible_p()
[all …]
/NextBSD/lib/libosxsupport/
HDgetiopolicy_np.c31 getiopolicy_np(int iotype, int scope) in getiopolicy_np() argument
37 (scope != IOPOL_SCOPE_PROCESS && scope != IOPOL_SCOPE_THREAD)) { in getiopolicy_np()
43 iop_param.iop_scope = scope; in getiopolicy_np()
59 setiopolicy_np(int iotype, int scope, int policy) in setiopolicy_np() argument
64 iop_param.iop_scope = scope; in setiopolicy_np()
/NextBSD/contrib/gdb/gdb/
HDcp-namespace.c79 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()
384 new_scope_len += cp_find_first_component (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
589 scope = block_scope (get_selected_block (0)); in cp_lookup_transparent_type()
[all …]
HDblock.c35 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()
/NextBSD/sys/dev/aic7xxx/aicasm/
HDaicasm_symbol.h166 typedef struct scope { struct
167 SLIST_ENTRY(scope) scope_stack_links;
168 TAILQ_ENTRY(scope) scope_links;
169 TAILQ_HEAD(, scope) inner_scope;
179 SLIST_HEAD(scope_list, scope); argument
180 TAILQ_HEAD(scope_tailq, scope);
HDaicasm.c80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
462 dump_scope(scope_t *scope) in dump_scope() argument
469 emit_patch(scope, 0); in dump_scope()
474 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
486 emit_patch(scope, 1); in dump_scope()
490 emit_patch(scope_t *scope, int patch) in emit_patch() argument
495 pinfo = &scope->patches[patch]; in emit_patch()
509 new_patch->patch_func = scope->func_num; in emit_patch()
510 new_patch->begin = scope->begin_addr; in emit_patch()
[all …]
/NextBSD/contrib/byacc/test/btyacc/
HDbtyacc_demo.tab.c140 Scope *scope; member
156 Scope *scope; member
641 extern Decl * lookup(Scope *scope, char *id);
643 extern Scope * start_fn_def(Scope *scope, Decl *fn_decl);
651 extern Decl * declare(Scope *scope, char *id, Type *type);
658 extern Expr * var_expr(Scope *scope, char *id);
948 free((*val).decl->scope); free((*val).decl->type); } in YYDESTRUCT_DECL()
1065 free((*val).scope); } in YYDESTRUCT_DECL()
1092 free((*val).scope); } in YYDESTRUCT_DECL()
1101 free((*val).scope); } in YYDESTRUCT_DECL()
[all …]
/NextBSD/contrib/ofed/management/opensm/opensm/
HDosm_prtn_config.c76 uint8_t mtu, uint8_t scope);
82 unsigned int scope; in partition_create() local
123 for (scope = 0; scope < 16; scope++) { in partition_create()
124 if (((1<<scope) & conf->scope_mask) == 0) in partition_create()
130 (uint8_t) scope); in partition_create()
154 unsigned int scope; in partition_add_flag() local
155 if (!val || (scope = strtoul(val, NULL, 0)) == 0 || scope > 0xF) in partition_add_flag()
161 conf->scope_mask |= (1<<scope); in partition_add_flag()
HDosm_prtn.c188 uint8_t mtu, uint8_t scope) in osm_prtn_add_mcgroup() argument
199 if (!scope) in osm_prtn_add_mcgroup()
200 scope = OSM_DEFAULT_MGRP_SCOPE; in osm_prtn_add_mcgroup()
201 hop_limit = (scope == IB_MC_SCOPE_LINK_LOCAL) ? 0 : IB_HOPLIMIT_MAX; in osm_prtn_add_mcgroup()
216 mc_rec.scope_state = ib_member_set_scope_state(scope, IB_MC_REC_STATE_FULL_MEMBER); in osm_prtn_add_mcgroup()
217 ib_mgid_set_scope(&mc_rec.mgid, scope); in osm_prtn_add_mcgroup()
238 mc_rec.scope_state = ib_member_set_scope_state(scope, IB_MC_REC_STATE_FULL_MEMBER); in osm_prtn_add_mcgroup()
239 ib_mgid_set_scope(&mc_rec.mgid, scope); in osm_prtn_add_mcgroup()
/NextBSD/sys/amd64/vmm/
HDvmm_stat.h54 enum vmm_stat_scope scope; member
59 #define VMM_STAT_FDEFINE(type, nelems, desc, func, scope) \ argument
61 { -1, nelems, desc, func, scope } \
65 #define VMM_STAT_DEFINE(type, nelems, desc, scope) \ argument
66 VMM_STAT_FDEFINE(type, nelems, desc, NULL, scope)
/NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/
HDstabs.c191 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()
/NextBSD/sys/compat/linuxkpi/common/include/net/
HDip.h62 unsigned char scope; in ip_ib_mc_map() local
65 scope = bcast[5] & 0xF; in ip_ib_mc_map()
71 buf[5] = 0x10 | scope; in ip_ib_mc_map()
HDipv6.h46 unsigned char scope; in ipv6_ib_mc_map() local
48 scope = broadcast[5] & 0xF; in ipv6_ib_mc_map()
54 buf[5] = 0x10 | scope; in ipv6_ib_mc_map()
/NextBSD/contrib/ntp/libntp/
HDsocktoa.c39 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()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGCleanup.h439 static bool classof(const EHScope *scope) { in classof() argument
440 return scope->getKind() == Filter; in classof()
452 static bool classof(const EHScope *scope) { in classof() argument
453 return scope->getKind() == Terminate; in classof()
529 EHCatchScope &scope = cast<EHCatchScope>(*begin()); in popCatch() local
530 InnermostEHScope = scope.getEnclosingEHScope(); in popCatch()
531 StartOfData += EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers()); in popCatch()
537 EHTerminateScope &scope = cast<EHTerminateScope>(*begin()); in popTerminate() local
538 InnermostEHScope = scope.getEnclosingEHScope(); in popTerminate()
/NextBSD/contrib/smbfs/lib/smb/
HDnb.c90 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()
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_dis.c103 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()
/NextBSD/contrib/gcc/
HDc-decl.c384 #define SCOPE_LIST_APPEND(scope, list, decl) do { \ argument
385 struct c_scope *s_ = (scope); \
492 bind (tree name, tree decl, struct c_scope *scope, bool invisible, bool nested) in bind() argument
507 b->depth = scope->depth; in bind()
514 b->prev = scope->bindings; in bind()
515 scope->bindings = b; in bind()
540 while (*here && (*here)->depth > scope->depth) in bind()
601 struct c_scope *scope; in objc_mark_locals_volatile() local
604 for (scope = current_scope; in objc_mark_locals_volatile()
605 scope && scope != enclosing_blk; in objc_mark_locals_volatile()
[all …]

12345678910>>...13