Home
last modified time | relevance | path

Searched refs:new_string (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetenv.c352 char *new_string; in setenv() local
370 new_string = (char *)(new_chunk + 1); in setenv()
372 (void) memcpy(new_string, envname, name_len); in setenv()
373 new_string[name_len] = '='; in setenv()
374 (void) memcpy(new_string + name_len + 1, envval, val_len); in setenv()
375 new_string[name_len + 1 + val_len] = 0; in setenv()
377 if ((res = addtoenv(new_string, overwrite)) < 0) { in setenv()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_tree.c668 char *new_string; in profile_rename_node() local
679 new_string = malloc(strlen(new_name)+1); in profile_rename_node()
680 if (!new_string) in profile_rename_node()
682 strcpy(new_string, new_name); in profile_rename_node()
722 node->name = new_string; in profile_rename_node()
/titanic_41/usr/src/lib/libtsol/common/
H A Dprivate.c127 build_strings(int *static_string_size, char **static_string, char *new_string, in build_strings() argument
149 if (*static_string_size < (int)strlen(new_string)+1) { in build_strings()
159 bcopy(new_string, *static_string, strlen(new_string) + 1); in build_strings()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c317 char *new_string; in xstrdup() local
320 new_string = xmalloc(strlen(string) + 1); in xstrdup()
321 (void) strcpy(new_string, string); in xstrdup()
323 return (new_string); in xstrdup()
/titanic_41/usr/src/cmd/fs.d/
H A Ddf.c81 #define TRANSLATE(s) new_string(gettext(s))
349 new_string(char *s) in new_string() function
431 remote_fstypes[fstype_index++] = new_string(buf); in init_remote_fs()
480 new->mnt_special = new_string(old->mnt_special); in mntdup()
481 new->mnt_mountp = new_string(old->mnt_mountp); in mntdup()
482 new->mnt_fstype = new_string(old->mnt_fstype); in mntdup()
483 new->mnt_mntopts = new_string(old->mnt_mntopts); in mntdup()
484 new->mnt_time = new_string(old->mnt_time); in mntdup()
655 name = new_string(dfrp->dfr_cmd_arg); in resource_mount_entry()
1766 return (new_string(vtab.vfs_fstype)); in find_fstype()
/titanic_41/usr/src/cmd/find/
H A Dfind.c1852 new_string(char *s) in new_string() function
1887 remote_fstypes[fstype_index++] = new_string(buf); in init_remote_fs()
/titanic_41/usr/src/uts/common/io/
H A Dbofi.c612 int new_string; in bofi_attach() local
693 new_string = 1; in bofi_attach()
698 new_string = 1; in bofi_attach()
699 } else if (new_string) { in bofi_attach()
702 new_string = 0; in bofi_attach()