Home
last modified time | relevance | path

Searched refs:targs (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/external/bsd/iscsi/dist/src/lib/
H A Dstorage.c292 find_target(targv_t *targs, char *s) in find_target() argument
296 for (i = 0 ; i < targs->c ; i++) { in find_target()
297 if (strcmp(targs->v[i].target, s) == 0) { in find_target()
298 return &targs->v[i]; in find_target()
306 do_target(conffile_t *cf, targv_t *targs, devv_t *devvp, extv_t *extents, ent_t *ep) in do_target() argument
324 if (find_target(targs, tgt) != NULL) { in do_target()
332 ALLOC(disc_target_t, targs->v, targs->size, targs->c, 14, 14, in do_target()
351 targs->v[targs->c].iqn = strdup(iqn); in do_target()
355 targs->v[targs->c].de.type = DE_DEVICE; in do_target()
356 targs->v[targs->c].de.u.dp = dp; in do_target()
[all …]
/netbsd-src/tests/fs/umapfs/
H A Dt_basic.c72 struct tmpfs_args targs; in ATF_TC_BODY() local
83 memset(&targs, 0, sizeof(targs)); in ATF_TC_BODY()
84 targs.ta_version = TMPFS_ARGS_VERSION; in ATF_TC_BODY()
85 targs.ta_root_mode = 0777; in ATF_TC_BODY()
86 if (rump_sys_mount(MOUNT_TMPFS, "/td1", 0, &targs, sizeof(targs)) == -1) in ATF_TC_BODY()
/netbsd-src/tests/fs/nullfs/
H A Dt_basic.c75 struct tmpfs_args targs; in ATF_TC_BODY() local
86 memset(&targs, 0, sizeof(targs)); in ATF_TC_BODY()
87 targs.ta_version = TMPFS_ARGS_VERSION; in ATF_TC_BODY()
88 targs.ta_root_mode = 0777; in ATF_TC_BODY()
89 if (rump_sys_mount(MOUNT_TMPFS, "/td1", 0, &targs, sizeof(targs)) == -1) in ATF_TC_BODY()
/netbsd-src/tests/fs/msdosfs/
H A Dt_snapshot.c43 struct tmpfs_args targs = { .ta_version = TMPFS_ARGS_VERSION, }; in begin() local
47 if (rump_sys_mount(MOUNT_TMPFS, "/stor", 0, &targs,sizeof(targs)) == -1) in begin()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dargv.c545 char **targs; in main() local
556 for (targs = argv; *targs != NULL; targs++) in main()
558 printf ("\t\"%s\"\n", *targs); in main()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dargv.c532 char **targs; in main() local
543 for (targs = argv; *targs != NULL; targs++) in main()
545 printf ("\t\"%s\"\n", *targs); in main()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dargv.c545 char **targs; in main() local
556 for (targs = argv; *targs != NULL; targs++) in main()
558 printf ("\t\"%s\"\n", *targs); in main()
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dargv.c542 char **targs; in main() local
553 for (targs = argv; *targs != NULL; targs++) in main()
555 printf ("\t\"%s\"\n", *targs); in main()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dpt.c216 static void perform_typedefs_access_check (tree tmpl, tree targs);
2131 tree targs; in determine_specialization() local
2195 targs = coerce_template_parms (parms, explicit_targs, fns, in determine_specialization()
2198 if (targs != error_mark_node) in determine_specialization()
2199 templates = tree_cons (targs, fns, templates); in determine_specialization()
2298 targs = get_bindings (fn, decl, explicit_targs, /*check_ret=*/true); in determine_specialization()
2301 if (!targs) in determine_specialization()
2306 if (uses_template_parms (targs)) in determine_specialization()
2313 if (flag_concepts && !constraints_satisfied_p (fn, targs)) in determine_specialization()
2317 insttype = tsubst (TREE_TYPE (fn), targs, tf_fndecl_type, NULL_TREE); in determine_specialization()
[all …]
H A Dexcept.c153 tree targs = TYPE_ARG_TYPES (fntype); in verify_library_fn() local
157 if (targs == NULL_TREE) in verify_library_fn()
159 if (!same_type_p (TREE_VALUE (targs), args[i])) in verify_library_fn()
165 if (TYPE_PTROBV_P (TREE_VALUE (targs)) && TYPE_PTROBV_P (args[i])) in verify_library_fn()
167 else if (TYPE_PTRFN_P (TREE_VALUE (targs)) && TYPE_PTRFN_P (args[i])) in verify_library_fn()
172 targs = TREE_CHAIN (targs); in verify_library_fn()
174 if (targs != void_list_node) in verify_library_fn()
H A Dconstraint.cc676 tree targs = TREE_OPERAND (id, 1); in normalize_concept_check() local
690 targs = tsubst_template_args (targs, args, info.complain, info.in_decl); in normalize_concept_check()
691 if (targs == error_mark_node) in normalize_concept_check()
699 tree subst = coerce_template_parms (parms, targs, tmpl); in normalize_concept_check()
H A Dcall.c484 tree targs; member
692 template_unification_rejection (tree tmpl, tree explicit_targs, tree targs, in template_unification_rejection() argument
702 r->u.template_unification.num_targs = TREE_VEC_LENGTH (targs); in template_unification_rejection()
3329 tree targs = make_tree_vec (ntparms); in add_template_candidate_real() local
3419 fn = fn_type_unification (tmpl, explicit_targs, targs, in add_template_candidate_real()
3430 targs, args_without_in_chrg, in add_template_candidate_real()
3484 cand->template_decl = build_template_info (tmpl, targs); in add_template_candidate_real()
4544 tree targs = NULL_TREE; in print_error_for_call_failure() local
4547 targs = TREE_OPERAND (fn, 1); in print_error_for_call_failure()
4552 if (targs) in print_error_for_call_failure()
[all …]
H A Ddecl2.c2460 constrain_visibility_for_template (tree decl, tree targs) in constrain_visibility_for_template() argument
2465 tree args = INNERMOST_TEMPLATE_ARGS (targs); in constrain_visibility_for_template()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dpt.cc2159 tree targs; in determine_specialization() local
2224 targs = coerce_template_parms (parms, explicit_targs, fns, in determine_specialization()
2227 if (targs != error_mark_node in determine_specialization()
2228 && constraints_satisfied_p (fns, targs)) in determine_specialization()
2229 templates = tree_cons (targs, fns, templates); in determine_specialization()
2353 targs = get_bindings (fn, decl, explicit_targs, /*check_ret=*/true); in determine_specialization()
2356 if (!targs) in determine_specialization()
2361 if (uses_template_parms (targs)) in determine_specialization()
2367 templates = tree_cons (targs, fn, templates); in determine_specialization()
3001 tree targs = NULL_TREE; in check_explicit_specialization() local
[all …]
H A Dconstraint.cc706 tree targs = TREE_OPERAND (id, 1); in normalize_concept_check() local
720 targs = tsubst_template_args (targs, args, info.complain, info.in_decl); in normalize_concept_check()
721 if (targs == error_mark_node) in normalize_concept_check()
729 tree subst = coerce_template_parms (parms, targs, tmpl); in normalize_concept_check()
H A Dcall.cc481 tree targs; member
690 template_unification_rejection (tree tmpl, tree explicit_targs, tree targs, in template_unification_rejection() argument
700 r->u.template_unification.num_targs = TREE_VEC_LENGTH (targs); in template_unification_rejection()
3401 tree targs = make_tree_vec (ntparms); in add_template_candidate_real() local
3555 fn = fn_type_unification (tmpl, explicit_targs, targs, in add_template_candidate_real()
3566 targs, args_without_in_chrg, in add_template_candidate_real()
3621 cand->template_decl = build_template_info (tmpl, targs); in add_template_candidate_real()
4750 tree targs = NULL_TREE; in print_error_for_call_failure() local
4753 targs = TREE_OPERAND (fn, 1); in print_error_for_call_failure()
4758 if (targs) in print_error_for_call_failure()
[all …]
/netbsd-src/usr.bin/make/
H A Dsuff.c1653 CandidateList *srcs, CandidateList *targs) in FindDepsRegularKnown() argument
1671 Lst_Append(targs, targ); in FindDepsRegularKnown()
1677 CandidateList *srcs, CandidateList *targs) in FindDepsRegularUnknown() argument
1681 if (!Lst_IsEmpty(targs) || nullSuff == NULL) in FindDepsRegularUnknown()
1703 Lst_Append(targs, targ); in FindDepsRegularUnknown()
1770 CandidateList targs = LST_INIT; in FindDepsRegular() local
1806 FindDepsRegularKnown(name, nameLen, gn, &srcs, &targs); in FindDepsRegular()
1809 FindDepsRegularUnknown(gn, name, &srcs, &targs); in FindDepsRegular()
1823 if (targs.first != NULL) in FindDepsRegular()
1824 targ = targs in FindDepsRegular()
[all...]
H A Dmake.c1246 Make_ExpandUse(GNodeList *targs) in Make_ExpandUse() argument
1249 Lst_AppendAll(&examine, targs); in Make_ExpandUse()
1341 Make_ProcessWait(GNodeList *targs) in Make_ProcessWait() argument
1361 for (ln = targs->first; ln != NULL; ln = ln->next) { in Make_ProcessWait()
1426 Make_Run(GNodeList *targs) in Make_Run() argument
1433 Make_ExpandUse(targs); in Make_Run()
1434 Make_ProcessWait(targs); in Make_Run()
1482 MakePrintStatusList(targs, &errors); in Make_Run()
H A Dcompat.c730 Compat_MakeAll(GNodeList *targs) in Compat_MakeAll()
753 Make_ExpandUse(targs); in Compat_MakeAll()
755 while (!Lst_IsEmpty(targs)) { in Compat_MakeAll()
756 GNode *gn = Lst_Dequeue(targs); in Compat_MakeAll()
725 Compat_MakeAll(GNodeList * targs) Compat_MakeAll() argument
H A Dmain.c896 GNodeList targs = LST_INIT; /* target nodes to create */ in runTargets() local
906 Parse_MainName(&targs); in runTargets()
908 Targ_FindList(&targs, &opts.create); in runTargets()
924 outOfDate = Make_Run(&targs); in runTargets()
926 Compat_MakeAll(&targs); in runTargets()
929 Lst_Done(&targs); /* Don't free the targets themselves. */ in runTargets()
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/
H A Dlibcp1plugin.cc2347 targlist (const gcc_cp_template_args *targs) in targlist() argument
2349 int n = targs->n_elements; in targlist()
2353 switch (targs->kinds[n]) in targlist()
2356 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].value); in targlist()
2359 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].type); in targlist()
2362 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].templ); in targlist()
2365 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].pack); in targlist()
2378 const gcc_cp_template_args *targs) in plugin_build_dependent_typename() argument
2383 if (targs) in plugin_build_dependent_typename()
2385 name, targlist (targs)); in plugin_build_dependent_typename()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dlibcp1plugin.cc2188 targlist (const gcc_cp_template_args *targs) in targlist() argument
2190 int n = targs->n_elements; in targlist()
2194 switch (targs->kinds[n]) in targlist()
2197 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].value); in targlist()
2200 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].type); in targlist()
2203 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].templ); in targlist()
2206 TREE_VEC_ELT (vec, n) = convert_in (targs->elements[n].pack); in targlist()
2219 const gcc_cp_template_args *targs) in plugin_build_dependent_typename() argument
2224 if (targs) in plugin_build_dependent_typename()
2226 name, targlist (targs)); in plugin_build_dependent_typename()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple.cc2801 tree targs = TYPE_ARG_TYPES (TREE_TYPE (fndecl)); in gimple_builtin_call_types_compatible_p() local
2806 if (!targs) in gimple_builtin_call_types_compatible_p()
2809 tree type = TREE_VALUE (targs); in gimple_builtin_call_types_compatible_p()
2820 targs = TREE_CHAIN (targs); in gimple_builtin_call_types_compatible_p()
2822 if (targs && !VOID_TYPE_P (TREE_VALUE (targs))) in gimple_builtin_call_types_compatible_p()
H A Dtree.cc8489 tree targs = TYPE_ARG_TYPES (TREE_TYPE (fndecl)); in tree_builtin_call_types_compatible_p() local
8491 for (unsigned i = 0; i < nargs; ++i, targs = TREE_CHAIN (targs)) in tree_builtin_call_types_compatible_p()
8494 if (!targs) in tree_builtin_call_types_compatible_p()
8497 tree type = TREE_VALUE (targs); in tree_builtin_call_types_compatible_p()
8527 if (targs && !VOID_TYPE_P (TREE_VALUE (targs))) in tree_builtin_call_types_compatible_p()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgimple.c2707 tree targs = TYPE_ARG_TYPES (TREE_TYPE (fndecl)); in gimple_builtin_call_types_compatible_p() local
2712 if (!targs) in gimple_builtin_call_types_compatible_p()
2715 tree type = TREE_VALUE (targs); in gimple_builtin_call_types_compatible_p()
2726 targs = TREE_CHAIN (targs); in gimple_builtin_call_types_compatible_p()
2728 if (targs && !VOID_TYPE_P (TREE_VALUE (targs))) in gimple_builtin_call_types_compatible_p()

12