| /dflybsd-src/contrib/gcc-4.7/gcc/cp/ |
| H A D | name-lookup.c | 314 binding->scope = NULL; in cxx_binding_free() 323 new_class_binding (tree name, tree value, tree type, cp_binding_level *scope) in new_class_binding() argument 328 cb = VEC_safe_push (cp_class_binding, gc, scope->class_shadowed, NULL); in new_class_binding() 332 binding->scope = scope; in new_class_binding() 347 binding->scope = level; in push_binding() 509 && binding->scope->kind != sk_class in supplement_binding_1() 1021 oldscope = oldbinding->scope; in pushdecl_maybe_friend_1() 1131 cp_binding_level *scope = current_binding_level; in pushdecl_maybe_friend_1() local 1133 for (; scope; scope = scope->level_chain) in pushdecl_maybe_friend_1() 1135 if (scope->kind == sk_function_parms in pushdecl_maybe_friend_1() [all …]
|
| H A D | parser.c | 484 cp_debug_print_tree_if_set (file, "Lookup scope", parser->scope); in cp_debug_parser() 2404 if (parser->scope && parser->scope != global_namespace) in cp_parser_name_lookup_error() 2406 parser->scope, name); in cp_parser_name_lookup_error() 2407 else if (parser->scope == global_namespace) in cp_parser_name_lookup_error() 2419 else if (parser->scope && parser->scope != global_namespace) in cp_parser_name_lookup_error() 2425 parser->scope, name); in cp_parser_name_lookup_error() 2429 parser->scope, name); in cp_parser_name_lookup_error() 2434 parser->scope, name); in cp_parser_name_lookup_error() 2441 else if (parser->scope == global_namespace) in cp_parser_name_lookup_error() 2754 tree scope, tree id, in cp_parser_diagnose_invalid_type_name() argument [all …]
|
| H A D | search.c | 775 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 …]
|
| H A D | semantics.c | 658 tree r, scope; in begin_if_stmt() local 659 scope = do_pushlevel (sk_cond); in begin_if_stmt() 661 NULL_TREE, NULL_TREE, scope); in begin_if_stmt() 709 tree scope = IF_SCOPE (if_stmt); in finish_if_stmt() local 711 add_stmt (do_poplevel (scope)); in finish_if_stmt() 832 tree scope = NULL_TREE; in begin_for_scope() local 834 scope = do_pushlevel (sk_for); in begin_for_scope() 841 return scope; in begin_for_scope() 849 begin_for_stmt (tree scope, tree init) in begin_for_stmt() argument 856 if (scope == NULL_TREE) in begin_for_stmt() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/cp/ |
| H A D | name-lookup.c | 80 binding->scope = level; in create_local_binding() 147 if (binding->scope == b in find_local_binding() 198 static bool seen_p (tree scope) in seen_p() 200 return LOOKUP_SEEN_P (scope); in seen_p() 202 static bool found_p (tree scope) in found_p() 204 return LOOKUP_FOUND_P (scope); in found_p() 207 void mark_seen (tree scope); /* Mark and add to scope vector. */ 208 static void mark_found (tree scope) in mark_found() 210 gcc_checking_assert (seen_p (scope)); in mark_found() 211 LOOKUP_FOUND_P (scope) = true; in mark_found() [all …]
|
| H A D | friend.c | 41 set_global_friend (tree scope) in set_global_friend() argument 43 gcc_checking_assert (scope != NULL_TREE); in set_global_friend() 44 gcc_assert (!global_friend || global_friend == scope); in set_global_friend() 45 global_friend = scope; in set_global_friend() 51 is_global_friend (tree scope) in is_global_friend() argument 53 gcc_checking_assert (scope != NULL_TREE); in is_global_friend() 55 if (global_friend == scope) in is_global_friend() 61 if (is_specialization_of_friend (global_friend, scope)) in is_global_friend()
|
| H A D | search.c | 648 friend_accessible_p (tree scope, tree decl, tree type, tree otype) in friend_accessible_p() argument 662 if (!scope) in friend_accessible_p() 665 if (is_global_friend (scope)) in friend_accessible_p() 669 if (TYPE_P (scope) && protected_accessible_p (decl, scope, type, otype)) in friend_accessible_p() 672 if (DECL_DECLARES_FUNCTION_P (scope)) in friend_accessible_p() 673 befriending_classes = DECL_BEFRIENDING_CLASSES (scope); in friend_accessible_p() 674 else if (TYPE_P (scope)) in friend_accessible_p() 675 befriending_classes = CLASSTYPE_BEFRIENDING_CLASSES (scope); in friend_accessible_p() 685 if (TYPE_P (scope)) in friend_accessible_p() 686 if (friend_accessible_p (TYPE_CONTEXT (scope), decl, type, otype)) in friend_accessible_p() [all …]
|
| H A D | parser.c | 519 cp_debug_print_tree_if_set (file, "Lookup scope", parser->scope); in cp_debug_parser() 2939 if (parser->scope && parser->scope != global_namespace) in cp_parser_name_lookup_error() 2941 parser->scope, name); in cp_parser_name_lookup_error() 2942 else if (parser->scope == global_namespace) in cp_parser_name_lookup_error() 2954 else if (parser->scope && parser->scope != global_namespace) in cp_parser_name_lookup_error() 2960 parser->scope, name); in cp_parser_name_lookup_error() 2964 parser->scope, name); in cp_parser_name_lookup_error() 2969 parser->scope, name); in cp_parser_name_lookup_error() 2976 else if (parser->scope == global_namespace) in cp_parser_name_lookup_error() 3282 else if (!parser->scope) in cp_parser_diagnose_invalid_type_name() [all …]
|
| H A D | semantics.c | 720 tree r, scope; in begin_if_stmt() local 721 scope = do_pushlevel (sk_cond); in begin_if_stmt() 723 NULL_TREE, NULL_TREE, scope); in begin_if_stmt() 785 tree scope = IF_SCOPE (if_stmt); in finish_if_stmt() local 787 add_stmt (do_poplevel (scope)); in finish_if_stmt() 940 tree scope = NULL_TREE; in begin_for_scope() local 942 scope = do_pushlevel (sk_for); in begin_for_scope() 949 return scope; in begin_for_scope() 957 begin_for_stmt (tree scope, tree init) in begin_for_stmt() argument 964 if (scope == NULL_TREE) in begin_for_stmt() [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | cp-namespace.c | 39 const char *scope, 49 const char *scope, 232 const char *scope = block_scope (block); in cp_lookup_symbol_nonlocal() local 235 domain, scope, 0); in cp_lookup_symbol_nonlocal() 239 return cp_lookup_symbol_namespace (scope, name, in cp_lookup_symbol_nonlocal() 306 cp_lookup_symbol_imports (const char *scope, in cp_lookup_symbol_imports() argument 321 sym = cp_lookup_symbol_in_namespace (scope, name, in cp_lookup_symbol_imports() 339 ? (strncmp (scope, current->import_dest, in cp_lookup_symbol_imports() 342 || scope[len] == ':' in cp_lookup_symbol_imports() 343 || scope[len] == '\0')) in cp_lookup_symbol_imports() [all …]
|
| H A D | xml-support.c | 89 struct scope_level *scope = VEC_last (scope_level_s, parser->scopes); in gdb_xml_body_text() local 94 if (scope->body == NULL) in gdb_xml_body_text() 96 scope->body = XZALLOC (struct obstack); in gdb_xml_body_text() 97 obstack_init (scope->body); in gdb_xml_body_text() 100 obstack_grow (scope->body, text, length); in gdb_xml_body_text() 179 struct scope_level *scope; in gdb_xml_start_element() local 191 scope = VEC_last (scope_level_s, parser->scopes); in gdb_xml_start_element() 201 for (element = scope->elements; element && element->name; in gdb_xml_start_element() 218 unknown_scope->elements = scope->elements; in gdb_xml_start_element() 226 if (!(element->flags & GDB_XML_EF_REPEATABLE) && (seen & scope->seen)) in gdb_xml_start_element() [all …]
|
| H A D | block.c | 36 const char *scope; member 273 && BLOCK_NAMESPACE (block)->scope != NULL) in block_scope() 274 return BLOCK_NAMESPACE (block)->scope; in block_scope() 285 block_set_scope (struct block *block, const char *scope, in block_set_scope() argument 290 BLOCK_NAMESPACE (block)->scope = scope; in block_set_scope() 329 BLOCK_NAMESPACE (block)->scope = NULL; in block_initialize_namespace()
|
| H A D | cp-support.h | 204 extern struct symbol *cp_lookup_symbol_imports (const char *scope, 212 (const char *scope,
|
| /dflybsd-src/contrib/bmake/ |
| H A D | var.c | 396 GNode_FindVar(GNode *scope, Substring varname, unsigned int hash) in GNode_FindVar() argument 398 return HashTable_FindValueBySubstringHash(&scope->vars, varname, hash); in GNode_FindVar() 415 VarFindSubstring(Substring name, GNode *scope, bool elsewhere) in VarFindSubstring() argument 424 var = GNode_FindVar(scope, name, nameHash); in VarFindSubstring() 428 if (var == NULL && scope != SCOPE_CMDLINE) in VarFindSubstring() 431 if (!opts.checkEnvFirst && var == NULL && scope != SCOPE_GLOBAL) { in VarFindSubstring() 433 if (var == NULL && scope != SCOPE_INTERNAL) { in VarFindSubstring() 449 if (opts.checkEnvFirst && scope != SCOPE_GLOBAL) { in VarFindSubstring() 451 if (var == NULL && scope != SCOPE_INTERNAL) in VarFindSubstring() 464 VarFind(const char *name, GNode *scope, bool elsewhere) in VarFind() argument [all …]
|
| H A D | parse.c | 1753 VarCheckSyntax(VarAssignOp type, const char *uvalue, GNode *scope) in VarCheckSyntax() argument 1759 (void)Var_Subst(uvalue, scope, VARE_PARSE_ONLY, in VarCheckSyntax() 1769 VarAssign_EvalSubst(GNode *scope, const char *name, const char *uvalue, in VarAssign_EvalSubst() argument 1783 if (!Var_ExistsExpand(scope, name)) in VarAssign_EvalSubst() 1784 Var_SetExpand(scope, name, ""); in VarAssign_EvalSubst() 1786 (void)Var_Subst(uvalue, scope, VARE_KEEP_DOLLAR_UNDEF, &evalue); in VarAssign_EvalSubst() 1789 Var_SetExpand(scope, name, evalue); in VarAssign_EvalSubst() 1796 VarAssign_EvalShell(const char *name, const char *uvalue, GNode *scope, in VarAssign_EvalShell() argument 1806 Var_SetExpand(scope, name, output); in VarAssign_EvalShell() 1829 GNode *scope, FStr *out_true_avalue) in VarAssign_Eval() argument [all …]
|
| H A D | arch.c | 248 Arch_ParseArchive(char **pp, GNodeList *gns, GNode *scope) in Arch_ParseArchive() argument 272 (void)Var_Parse(&nested_p, scope, in Arch_ParseArchive() 288 Var_Expand(&lib, scope, VARE_UNDEFERR); in Arch_ParseArchive() 311 (void)Var_Parse(&nested_p, scope, in Arch_ParseArchive() 367 Var_Expand(&mem, scope, VARE_UNDEFERR); in Arch_ParseArchive() 387 } else if (!Arch_ParseArchive(&p, gns, scope)) { in Arch_ParseArchive()
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | tree-ssa-live.c | 361 mark_scope_block_unused (tree scope) in mark_scope_block_unused() argument 364 TREE_USED (scope) = false; in mark_scope_block_unused() 365 if (!(*debug_hooks->ignore_block) (scope)) in mark_scope_block_unused() 366 TREE_USED (scope) = true; in mark_scope_block_unused() 367 for (t = BLOCK_SUBBLOCKS (scope); t ; t = BLOCK_CHAIN (t)) in mark_scope_block_unused() 385 remove_unused_scope_block_p (tree scope, bool in_ctor_dtor_block) in remove_unused_scope_block_p() argument 388 bool unused = !TREE_USED (scope); in remove_unused_scope_block_p() 393 if (inlined_polymorphic_ctor_dtor_block_p (scope, true)) in remove_unused_scope_block_p() 402 tree fn = block_ultimate_origin (scope); in remove_unused_scope_block_p() 410 for (t = &BLOCK_VARS (scope); *t; t = next) in remove_unused_scope_block_p() [all …]
|
| /dflybsd-src/sys/netinet6/ |
| H A D | scope6.c | 182 int scope; in in6_addrscope() local 185 scope = addr->s6_addr[1] & 0xc0; in in6_addrscope() 187 switch (scope) { in in6_addrscope() 202 scope = addr->s6_addr[1] & 0x0f; in in6_addrscope() 208 switch (scope) { in in6_addrscope() 248 int scope; in in6_addr2zoneid() local 276 scope = in6_addrscope(addr); in in6_addr2zoneid() 278 switch (scope) { in in6_addr2zoneid() 352 int scope; in in6_setscope() local 383 scope = in6_addrscope(in6); in in6_setscope() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | tree-ssa-live.c | 401 mark_scope_block_unused (tree scope) in mark_scope_block_unused() argument 404 TREE_USED (scope) = false; in mark_scope_block_unused() 405 if (!(*debug_hooks->ignore_block) (scope)) in mark_scope_block_unused() 406 TREE_USED (scope) = true; in mark_scope_block_unused() 407 for (t = BLOCK_SUBBLOCKS (scope); t ; t = BLOCK_CHAIN (t)) in mark_scope_block_unused() 425 remove_unused_scope_block_p (tree scope) in remove_unused_scope_block_p() argument 428 bool unused = !TREE_USED (scope); in remove_unused_scope_block_p() 431 for (t = &BLOCK_VARS (scope); *t; t = next) in remove_unused_scope_block_p() 509 for (t = &BLOCK_SUBBLOCKS (scope); *t ;) in remove_unused_scope_block_p() 541 else if (!BLOCK_SUPERCONTEXT (scope) in remove_unused_scope_block_p() [all …]
|
| H A D | c-decl.c | 257 struct c_scope *scope; member 439 #define SCOPE_LIST_APPEND(scope, list, decl) do { \ argument 440 struct c_scope *s_ = (scope); \ 606 bind (tree name, tree decl, struct c_scope *scope, bool invisible, in bind() argument 622 b->depth = scope->depth; in bind() 631 b->prev = scope->bindings; in bind() 632 scope->bindings = b; in bind() 635 scope->has_jump_unsafe_decl = 1; in bind() 660 while (*here && (*here)->depth > scope->depth) in bind() 686 bind_label (tree name, tree label, struct c_scope *scope, in bind_label() argument [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/c/ |
| H A D | c-decl.c | 333 struct c_scope *scope; member 513 #define SCOPE_LIST_APPEND(scope, list, decl) do { \ argument 514 struct c_scope *s_ = (scope); \ 708 bind (tree name, tree decl, struct c_scope *scope, bool invisible, in bind() argument 724 b->depth = scope->depth; in bind() 733 b->prev = scope->bindings; in bind() 734 scope->bindings = b; in bind() 737 scope->has_jump_unsafe_decl = 1; in bind() 762 while (*here && (*here)->depth > scope->depth) in bind() 788 bind_label (tree name, tree label, struct c_scope *scope, in bind_label() argument [all …]
|
| /dflybsd-src/contrib/smbfs/lib/smb/ |
| H A D | nb.c | 86 nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) in nb_ctx_setscope() argument 88 size_t slen = strlen(scope); in nb_ctx_setscope() 91 smb_error("scope '%s' is too long", 0, scope); in nb_ctx_setscope() 99 nls_str_upper(ctx->nb_scope, scope); in nb_ctx_setscope()
|
| /dflybsd-src/contrib/mdocml/ |
| H A D | mdoc_macro.c | 770 int la, scope, cnt, firstarg, mayopen, nc, nl; in in_line() local 803 for (cnt = scope = 0;; ) { in in_line() 843 if (scope) in in_line() 876 !cnt && !scope && nc && mayopen) { in in_line() 878 scope = 1; in in_line() 887 if (scope && tok != MDOC_Lk) { in in_line() 889 scope = 0; in in_line() 893 } else if (mayopen && !scope) { in in_line() 895 scope = 1; in in_line() 919 if (scope && tok == MDOC_Fl) { in in_line() [all …]
|
| /dflybsd-src/contrib/lvm2/dist/daemons/clvmd/ |
| H A D | lvm-functions.c | 74 const char *scope; in decode_locking_cmd() local 103 scope = "VG"; in decode_locking_cmd() 106 scope = "LV"; in decode_locking_cmd() 109 scope = "unknown"; in decode_locking_cmd() 134 sprintf(buf, "0x%x %s (%s|%s%s%s%s%s%s)", cmdl, command, type, scope, in decode_locking_cmd()
|
| /dflybsd-src/sys/dev/acpica/ |
| H A D | acpi_package.c | 132 acpi_GetReference(ACPI_HANDLE scope, ACPI_OBJECT *obj) in acpi_GetReference() argument 151 if (ACPI_FAILURE(AcpiGetHandle(scope, obj->String.Pointer, &h))) in acpi_GetReference()
|