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.c218 for (i = 0; i < opts->nenv; i++) in sshauthopt_free()
405 if (ret->nenv > SSH_AUTHOPT_ENV_MAX) { in sshauthopt_parse()
430 for (i = 0; i < ret->nenv; i++) { in sshauthopt_parse()
437 if (i >= ret->nenv) { in sshauthopt_parse()
441 ret->nenv, ret->nenv + 1, in sshauthopt_parse()
448 ret->env[ret->nenv++] = opt; in sshauthopt_parse()
569 if (primary->nenv > 0) { in sshauthopt_merge()
570 if (dup_strings(&ret->env, &ret->nenv, in sshauthopt_merge()
571 primary->env, primary->nenv) != 0) in sshauthopt_merge()
573 } else if (additional->nenv) { in sshauthopt_merge()
[all …]
H A Dauth-options.h57 size_t nenv; member
H A Dmisc.c2720 u_int nenv = 0; in subprocess() local
2789 nenv = 5; in subprocess()
2790 env = xcalloc(sizeof(*env), nenv); in subprocess()
2791 child_set_env(&env, &nenv, "PATH", _PATH_STDPATH); in subprocess()
2792 child_set_env(&env, &nenv, "USER", pw->pw_name); in subprocess()
2793 child_set_env(&env, &nenv, "LOGNAME", pw->pw_name); in subprocess()
2794 child_set_env(&env, &nenv, "HOME", pw->pw_dir); in subprocess()
2796 child_set_env(&env, &nenv, "LANG", cp); in subprocess()
H A Dauth.c781 int do_env = options.permit_user_env && opts->nenv > 0; in auth_log_authopts()
813 for (i = 0; i < opts->nenv; i++) { in auth_log_authopts()
H A Dsession.c1120 for (n = 0 ; n < auth_opts->nenv; n++) { in do_setup_env()
/freebsd/crypto/openssh/regress/unittests/authopt/
H A 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/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 Dbcm958525xmc.dts113 label = "nenv";
H A Dbcm988312hr.dts101 label = "nenv";
H A Dbcm958623hr.dts101 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";