Home
last modified time | relevance | path

Searched refs:nenv (Results 1 – 19 of 19) sorted by relevance

/freebsd-12-stable/contrib/netbsd-tests/kernel/
Dh_ps_strings1.c45 int nenv; in main() local
64 nenv = 0; in main()
65 while (environ[nenv]) in main()
66 ++nenv; in main()
67 if (__ps_strings->ps_nenvstr != nenv) { in main()
/freebsd-12-stable/crypto/openssh/
Dauth-options.c214 for (i = 0; i < opts->nenv; i++) in sshauthopt_free()
401 if (ret->nenv > SSH_AUTHOPT_ENV_MAX) { in sshauthopt_parse()
426 for (i = 0; i < ret->nenv; i++) { in sshauthopt_parse()
433 if (i >= ret->nenv) { in sshauthopt_parse()
437 ret->nenv, ret->nenv + 1, in sshauthopt_parse()
444 ret->env[ret->nenv++] = opt; in sshauthopt_parse()
565 if (primary->nenv > 0) { in sshauthopt_merge()
566 if (dup_strings(&ret->env, &ret->nenv, in sshauthopt_merge()
567 primary->env, primary->nenv) != 0) in sshauthopt_merge()
569 } else if (additional->nenv) { in sshauthopt_merge()
[all …]
Dauth-options.h57 size_t nenv; member
Dmisc.c2642 u_int nenv = 0; in subprocess() local
2711 nenv = 5; in subprocess()
2712 env = xcalloc(sizeof(*env), nenv); in subprocess()
2713 child_set_env(&env, &nenv, "PATH", _PATH_STDPATH); in subprocess()
2714 child_set_env(&env, &nenv, "USER", pw->pw_name); in subprocess()
2715 child_set_env(&env, &nenv, "LOGNAME", pw->pw_name); in subprocess()
2716 child_set_env(&env, &nenv, "HOME", pw->pw_dir); in subprocess()
2718 child_set_env(&env, &nenv, "LANG", cp); in subprocess()
Dauth.c784 int do_env = options.permit_user_env && opts->nenv > 0; in auth_log_authopts()
816 for (i = 0; i < opts->nenv; i++) { in auth_log_authopts()
Dsession.c1122 for (n = 0 ; n < auth_opts->nenv; n++) { in do_setup_env()
/freebsd-12-stable/crypto/openssh/regress/unittests/authopt/
Dtests.c129 ARRAY_EQ(nenv, env); in compare_opts()
273 env, nenv, "foo=1,bar=2"); in test_authkeys_parse()
275 env, nenv, "foo=1"); in test_authkeys_parse()
560 expected->env = commasplit("foo=a,bar=b", &expected->nenv); in test_merge()
/freebsd-12-stable/bin/sh/
Dvar.c553 int nenv; in environment() local
558 nenv = 0; in environment()
562 nenv++; in environment()
564 ep = env = stalloc((nenv + 1) * sizeof *env); in environment()
/freebsd-12-stable/sys/gnu/dts/arm/
Dbcm953012hr.dts61 label = "nenv";
Dbcm953012k.dts70 label = "nenv";
Dbcm958522er.dts93 label = "nenv";
Dbcm958525er.dts93 label = "nenv";
Dbcm958525xmc.dts109 label = "nenv";
Dbcm958622hr.dts97 label = "nenv";
Dbcm988312hr.dts97 label = "nenv";
Dbcm958623hr.dts97 label = "nenv";
Dbcm958625hr.dts108 label = "nenv";
Dbcm958625k.dts87 label = "nenv";
/freebsd-12-stable/sys/gnu/dts/arm64/broadcom/northstar2/
Dns2-xmc.dts95 label = "nenv";