Home
last modified time | relevance | path

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

/freebsd/contrib/netbsd-tests/kernel/
H A 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/crypto/openssh/
H A Dauth-options.c216 for (i = 0; i < opts->nenv; i++) in sshauthopt_free()
403 if (ret->nenv > SSH_AUTHOPT_ENV_MAX) { in sshauthopt_parse()
428 for (i = 0; i < ret->nenv; i++) { in sshauthopt_parse()
435 if (i >= ret->nenv) { in sshauthopt_parse()
439 ret->nenv, ret->nenv + 1, in sshauthopt_parse()
446 ret->env[ret->nenv++] = opt; in sshauthopt_parse()
567 if (primary->nenv > 0) { in sshauthopt_merge()
568 if (dup_strings(&ret->env, &ret->nenv, in sshauthopt_merge()
569 primary->env, primary->nenv) != 0) in sshauthopt_merge()
571 } else if (additional->nenv) { in sshauthopt_merge()
[all …]
H A Dauth-options.h57 size_t nenv; member
H A Dmisc.c2838 u_int nenv = 0; in subprocess() local
2907 nenv = 5; in subprocess()
2908 env = xcalloc(sizeof(*env), nenv); in subprocess()
2909 child_set_env(&env, &nenv, "PATH", _PATH_STDPATH); in subprocess()
2910 child_set_env(&env, &nenv, "USER", pw->pw_name); in subprocess()
2911 child_set_env(&env, &nenv, "LOGNAME", pw->pw_name); in subprocess()
2912 child_set_env(&env, &nenv, "HOME", pw->pw_dir); in subprocess()
2914 child_set_env(&env, &nenv, "LANG", cp); in subprocess()
H A Dauth.c692 int do_env = options.permit_user_env && opts->nenv > 0; in auth_log_authopts()
724 for (i = 0; i < opts->nenv; i++) { in auth_log_authopts()
H A Dsession.c1078 for (n = 0 ; n < auth_opts->nenv; n++) { in do_setup_env()
/freebsd/crypto/openssh/regress/unittests/authopt/
H A Dtests.c127 ARRAY_EQ(nenv, env); in compare_opts()
272 env, nenv, "foo=1,bar=2"); in test_authkeys_parse()
274 env, nenv, "foo=1"); in test_authkeys_parse()
559 expected->env = commasplit("foo=a,bar=b", &expected->nenv); in test_merge()
/freebsd/bin/sh/
H A Dvar.c545 int nenv; in environment() local
550 nenv = 0; in environment()
554 nenv++; in environment()
556 ep = env = stalloc((nenv + 1) * sizeof *env); in environment()
/freebsd/sys/contrib/device-tree/src/arm/broadcom/
H A Dbcm953012hr.dts61 label = "nenv";
H A Dbcm953012k.dts70 label = "nenv";
H A Dbcm958522er.dts97 label = "nenv";
H A Dbcm958525er.dts97 label = "nenv";
H A Dbcm958622hr.dts101 label = "nenv";
H A Dbcm988312hr.dts101 label = "nenv";
H A Dbcm958623hr.dts101 label = "nenv";
H A Dbcm958525xmc.dts113 label = "nenv";
H A Dbcm958625hr.dts112 label = "nenv";
H A Dbcm958625k.dts91 label = "nenv";
/freebsd/sys/contrib/device-tree/src/arm64/broadcom/northstar2/
H A Dns2-xmc.dts95 label = "nenv";