Home
last modified time | relevance | path

Searched refs:newopts (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libshare/os/freebsd/
H A Dnfs.c76 char *newopts, *o, *s = NULL; in translate_opts() local
92 newopts = malloc(newopts_len); in translate_opts()
93 if (newopts == NULL) in translate_opts()
95 newopts[0] = '\0'; in translate_opts()
106 strlcat(newopts, "-", newopts_len); in translate_opts()
110 strlcat(newopts, o, newopts_len); in translate_opts()
111 strlcat(newopts, " ", newopts_len); in translate_opts()
113 ret = fputs(newopts, out); in translate_opts()
114 free(newopts); in translate_opts()
/freebsd/crypto/krb5/src/plugins/preauth/pkinit/
H A Dpkinit_identity.c137 pkinit_identity_opts *newopts; in pkinit_dup_identity_opts() local
141 retval = pkinit_init_identity_opts(&newopts); in pkinit_dup_identity_opts()
148 newopts->identity = strdup(src_opts->identity); in pkinit_dup_identity_opts()
149 if (newopts->identity == NULL) in pkinit_dup_identity_opts()
153 retval = copy_list(&newopts->anchors, src_opts->anchors); in pkinit_dup_identity_opts()
157 retval = copy_list(&newopts->intermediates,src_opts->intermediates); in pkinit_dup_identity_opts()
161 retval = copy_list(&newopts->crls, src_opts->crls); in pkinit_dup_identity_opts()
166 newopts->cert_filename = strdup(src_opts->cert_filename); in pkinit_dup_identity_opts()
167 if (newopts->cert_filename == NULL) in pkinit_dup_identity_opts()
172 newopts->key_filename = strdup(src_opts->key_filename); in pkinit_dup_identity_opts()
[all …]
/freebsd/crypto/openssh/
H A Dmonitor_wrap.c288 ServerOptions *newopts; in mm_decode_activate_server_options() local
293 if (len != sizeof(*newopts)) in mm_decode_activate_server_options()
295 newopts = xcalloc(sizeof(*newopts), 1); in mm_decode_activate_server_options()
296 memcpy(newopts, p, sizeof(*newopts)); in mm_decode_activate_server_options()
299 if (newopts->x != NULL && \ in mm_decode_activate_server_options()
300 (r = sshbuf_get_cstring(m, &newopts->x, NULL)) != 0) \ in mm_decode_activate_server_options()
304 newopts->x = newopts->nx == 0 ? \ in mm_decode_activate_server_options()
305 NULL : xcalloc(newopts->nx, sizeof(*newopts->x)); \ in mm_decode_activate_server_options()
306 for (i = 0; i < newopts->nx; i++) { \ in mm_decode_activate_server_options()
308 &newopts->x[i], NULL)) != 0) \ in mm_decode_activate_server_options()
[all …]
/freebsd/bin/ps/
H A Dps.c1439 char *argp, *cp, *newopts, *ns, *optp, *pidp; in kludge_oldps_options() local
1501 if ((newopts = ns = malloc(len + 3)) == NULL) in kludge_oldps_options()
1521 return (newopts); in kludge_oldps_options()
/freebsd/contrib/ncurses/form/
H A Dfrm_driver.c1346 _nc_Synchronize_Options(FIELD *field, Field_Options newopts) in _nc_Synchronize_Options() argument
1353 T((T_CALLED("_nc_Synchronize_Options(%p,%#x)"), (void *)field, newopts)); in _nc_Synchronize_Options()
1359 changed_opts = oldopts ^ newopts; in _nc_Synchronize_Options()
1360 field->opts = newopts; in _nc_Synchronize_Options()
1376 if ((unsigned)newopts & O_VISIBLE) in _nc_Synchronize_Options()
1384 ((unsigned)newopts & O_VISIBLE)) in _nc_Synchronize_Options()
1396 if ((unsigned)newopts & O_STATIC) in _nc_Synchronize_Options()
H A Dllib-lformtw464 Field_Options newopts)
H A Dllib-lformt464 Field_Options newopts)
H A Dllib-lformw464 Field_Options newopts)
H A Dllib-lform464 Field_Options newopts)
/freebsd/sbin/ipf/ipnat/
H A Dipnat_y.y375 IPNY_REWRITE oninout rwrproto mapfrom tlate newdst newopts
386 divert: IPNY_DIVERT oninout rwrproto mapfrom tlate divdst newopts
1127 newopts:
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c7416 append_options(char *mntopts, char *newopts) in append_options() argument
7421 if (len + 1 + strlen(newopts) >= MNT_LINE_MAX) { in append_options()
7431 (void) strcpy(&mntopts[len], newopts); in append_options()