/netbsd/external/gpl2/xcvs/dist/src/ |
H A D | acl.c | 182 tempc = xstrdup(tempv); in access_allowed() 246 xline = xstrdup (line); in access_allowed() 552 xperms = xstrdup (per); in get_perms() 822 tag = xstrdup ("HEAD"); in cvsacl() 826 argv[0] = xstrdup ("."); in cvsacl() 882 where = xstrdup (argv[0]); in racl_proc() 954 obj = xstrdup (argv[1]); in racl_proc() 1413 fperms = xstrdup ("p"); in make_perms() 1445 fperms = xstrdup ("a"); in make_perms() 2161 tmp1 = xstrdup (string1); in findusername() [all …]
|
H A D | vers_ts.c | 108 vers_ts->tag = xstrdup (entdata->tag); in Version_TS() 109 vers_ts->date = xstrdup (entdata->date); in Version_TS() 140 vers_ts->options = xstrdup ("-kb"); in Version_TS() 142 vers_ts->options = xstrdup (options); in Version_TS() 158 vers_ts->options = xstrdup (""); in Version_TS() 166 vers_ts->tag = xstrdup (tag); in Version_TS() 167 vers_ts->date = xstrdup (date); in Version_TS() 173 vers_ts->tag = xstrdup (sdtp->tag); in Version_TS() 177 vers_ts->date = xstrdup (sdtp->date); in Version_TS() 324 vers_ts->ts_user = xstrdup (""); in time_stamp_server() [all …]
|
H A D | root.c | 62 cvsadm = xstrdup (CVSADM); in Name_Root() 63 tmp = xstrdup (CVSADM_ROOT); in Name_Root() 159 tmp = xstrdup (CVSADM_ROOT); in Create_Root() 286 n->key = xstrdup (arg); in root_allow_add() 578 newroot->proxy_hostname = xstrdup (q); in parse_cvsroot() 603 newroot->cvs_rsh = xstrdup (q); in parse_cvsroot() 610 newroot->cvs_server = xstrdup (q); in parse_cvsroot() 673 newroot->password = xstrdup (++q); in parse_cvsroot() 974 *r = xstrdup (p->key); in get_local_root_dir() 990 newroot->original = xstrdup(dir); in local_cvsroot() [all …]
|
H A D | fileattr.c | 51 fileattr_stored_repos = xstrdup (repos); in fileattr_startdir() 123 newnode->key = xstrdup (line + 1); in fileattr_read() 124 newnode->data = xstrdup (p); in fileattr_read() 144 fileattr_default_attrs = xstrdup (p); in fileattr_read() 153 new->line = xstrdup (line); in fileattr_read() 363 node->key = xstrdup (filename); in fileattr_set() 405 return xstrdup (p); in fileattr_getall() 442 node->key = xstrdup (filename); in fileattr_setall() 443 node->data = xstrdup (attrs); in fileattr_setall() 454 node->data = xstrdup (attrs); in fileattr_setall() [all …]
|
H A D | entries.c | 49 ent->user = xstrdup (user); in Entnode_Create() 50 ent->version = xstrdup (vn); in Entnode_Create() 53 ent->tag = xstrdup (tag); in Entnode_Create() 54 ent->date = xstrdup (date); in Entnode_Create() 459 sdtp->tag = xstrdup (dirtag); in Entries_Open() 460 sdtp->date = xstrdup (dirdate); in Entries_Open() 651 tmp = xstrdup (CVSADM_TAG); in WriteTag() 738 *tagp = xstrdup (line + 1); in ParseTag() 742 *datep = xstrdup (line + 1); in ParseTag() 746 *tagp = xstrdup (line + 1); in ParseTag() [all …]
|
H A D | admin.c | 361 admin_data.branch = xstrdup ("-b"); in admin() 799 rev1 = xstrdup (s); in admin_fileproc() 800 rev2 = xstrdup (s); in admin_fileproc() 806 rev2 = xstrdup (t2); in admin_fileproc() 811 rev1 = xstrdup (s); in admin_fileproc() 818 rev2 = xstrdup (t2); in admin_fileproc() 895 p = xstrdup (RCS_getaccess (rcs2)); in admin_fileproc() 927 tag = xstrdup (arg + 2); in admin_fileproc() 969 tag = xstrdup (arg + 2); in admin_fileproc() 982 tag = xstrdup (arg + 2); in admin_fileproc() [all …]
|
H A D | recurse.c | 235 update_dir = xstrdup (""); in start_recursion() 237 update_dir = xstrdup (update_preload); in start_recursion() 372 dir = xstrdup (argv[i]); in start_recursion() 380 dir = xstrdup("."); in start_recursion() 385 comp = xstrdup (comp); in start_recursion() 397 file_to_try = xstrdup (argv[i]); in start_recursion() 576 our_argv[i++] = xstrdup (p->key); in start_recursion() 937 tmp = xstrdup (finfo->file); in do_file_proc() 1054 newrepos = xstrdup (""); in do_dir_proc() 1064 newrepos = xstrdup (""); in do_dir_proc() [all …]
|
H A D | rcs.c | 582 kv->key = xstrdup (key); in RCS_reparsercsfile() 786 kv->key = xstrdup (key); in RCS_fully_parse() 1829 return xstrdup (":"); in rcsbuf_valword() 1890 return xstrdup (ptr); in rcsbuf_valword() 2059 p->key = xstrdup (tag); in do_symbols() 2103 p->key = xstrdup (rev); in do_locks() 2224 rev = xstrdup (tag); in RCS_tag2rev() 2386 tag = xstrdup (symtag); in RCS_gettag() 2704 return xstrdup (cp); in RCS_getbranch() 2786 num = xstrdup (rev); in RCS_branch_head() [all …]
|
/netbsd/external/bsd/tmux/dist/ |
H A D | format.c | 411 return (xstrdup("")); in format_job_get() 483 return (xstrdup("")); in format_cb_host() 484 return (xstrdup(host)); in format_cb_host() 494 return (xstrdup("")); in format_cb_host_short() 497 return (xstrdup(host)); in format_cb_host_short() 613 return (xstrdup("0")); in format_cb_window_stack_index() 814 return (xstrdup("")); in format_cb_start_path() 855 return (xstrdup(cwd)); in format_cb_current_path() 3427 return (xstrdup(s)); in format_pretty_time() 3942 all = xstrdup(fmt); in format_loop_windows() [all …]
|
H A D | arguments.c | 565 result = xstrdup(escaped); in args_escape() 720 state->cmd = xstrdup(cmd); in args_make_commands_prepare() 749 cmd = xstrdup(state->cmd); in args_make_commands() 793 return (xstrdup("")); in args_make_commands_get_command() 830 *cause = xstrdup("missing"); in args_strtonum() 837 *cause = xstrdup("missing"); in args_strtonum() 843 *cause = xstrdup(errstr); in args_strtonum() 860 *cause = xstrdup("missing"); in args_percentage() 878 copy = xstrdup(value); in args_string_percentage() 884 *cause = xstrdup(errstr); in args_string_percentage() [all …]
|
H A D | options.c | 166 return (xstrdup(ov->string)); in options_value_to_string() 167 return (xstrdup("")); in options_value_to_string() 296 s = xstrdup(oe->default_str); in options_default_to_string() 330 o->name = xstrdup(name); in options_add() 432 *cause = xstrdup("not an array"); in options_array_set() 470 new = xstrdup(value); in options_array_set() 520 copy = string = xstrdup(s); in options_array_assign() 584 return (xstrdup("")); in options_to_string() 587 return (xstrdup("")); in options_to_string() 600 copy = xstrdup(name); in options_parse() [all …]
|
/netbsd/external/bsd/am-utils/dist/amd/ |
H A D | conf.c | 376 gopt.arch = xstrdup(val); in gopt_arch() 396 gopt.auto_dir = xstrdup(val); in gopt_auto_dir() 462 gopt.cluster = xstrdup(val); in gopt_cluster() 607 gopt.karch = xstrdup(val); in gopt_karch() 615 gopt.pid_file = xstrdup(val); in gopt_pid_file() 742 gopt.logfile = xstrdup(val); in gopt_log_file() 789 gopt.map_type = xstrdup(val); in gopt_map_type() 1039 gopt.op_sys = xstrdup(val); in gopt_os() 1309 cfm->cfm_name = xstrdup(val); in ropt_map_name() 1325 cfm->cfm_opts = xstrdup(val); in ropt_map_options() [all …]
|
H A D | conf_tok.l | 133 conf_lval.strtype = xstrdup(yytext); 139 conf_lval.strtype = xstrdup(yytext); 145 conf_lval.strtype = xstrdup(yytext); 161 conf_lval.strtype = xstrdup(yytext); 169 conf_lval.strtype = xstrdup(&yytext[1]); 175 conf_lval.strtype = xstrdup(yytext);
|
H A D | info_union.c | 78 char *mapd = xstrdup(map + UNION_PREFLEN); in union_search() 97 char *mapd = xstrdup(map + UNION_PREFLEN); in union_reload() 104 (*fn) (m, xstrdup("/defaults"), xstrdup("type:=link;opts:=nounmount;sublink:=${key}")); in union_reload() 128 (*fn) (m, xstrdup(dp->d_name), val); in union_reload() 141 (*fn) (m, xstrdup("*"), val); in union_reload()
|
H A D | sun_map_parse.y | 243 mountpt->path = xstrdup($1); 281 mountpt->path = xstrdup($1); 309 location->path = xstrdup($3); 322 location->path = xstrdup($2); 338 host->name = xstrdup($1); 353 host->name = xstrdup($1); 388 tmpFsType = xstrdup(type); 397 opt->str = xstrdup($1);
|
/netbsd/external/gpl2/texinfo/dist/makeinfo/ |
H A D | files.c | 70 return xstrdup (""); in extract_colon_unit() 104 return xstrdup (filename); in get_file_info_in_path() 116 dir = xstrdup ("."); in get_file_info_in_path() 139 include_files_path = xstrdup (path); in prepend_to_include_path() 160 include_files_path = xstrdup ("."); in append_to_include_path() 253 node_filename = xstrdup (fullpath); in find_and_load() 418 return xstrdup (""); in full_pathname() 425 return xstrdup (filename); in full_pathname() 444 result = xstrdup (localdir); in full_pathname() 488 return xstrdup (filename); in full_pathname() [all …]
|
H A D | sectioning.c | 131 last_sectioning_number = xstrdup (s); in get_sectioning_number() 258 return xstrdup (""); in current_chapter_number() 262 return xstrdup (s); in current_chapter_number() 268 return xstrdup (s); in current_chapter_number() 277 return xstrdup (""); in current_sectioning_number() 286 return xstrdup (last_sectioning_title); in current_sectioning_name() 301 return xstrdup (""); in handle_enum_increment() 305 return xstrdup (""); in handle_enum_increment() 314 return xstrdup (""); in handle_enum_increment() 455 temp = xstrdup (title ? title : ""); in insert_and_underscore() [all …]
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | canohost.c | 76 return xstrdup(ntop); in get_socket_address() 79 return xstrdup(((struct sockaddr_un *)&addr)->sun_path); in get_socket_address() 93 return xstrdup("UNKNOWN"); in get_peer_ipaddr() 103 return xstrdup("UNKNOWN"); in get_local_ipaddr() 118 host = xstrdup("UNKNOWN"); in get_local_name() 120 host = xstrdup(myname); in get_local_name()
|
/netbsd/external/bsd/am-utils/dist/fsinfo/ |
H A D | fsi_analyze.c | 142 char *p = xstrdup(nn); in find_volname() 187 set_mount(mp, DM_VOLNAME, xstrdup(mp->m_name)); in check_exportfs() 229 mp->m_name = xstrdup(n); in analyze_dkmount_tree() 287 mp2->m_name = xstrdup(nbuf); in analyze_dkmounts() 299 dk->d_mountpt = xstrdup(mp2->m_name); in analyze_dkmounts() 301 dk->d_mountpt = xstrdup("error"); in analyze_dkmounts() 354 set_disk_fs(dp, DF_OPTS, xstrdup("swap")); in fixup_required_disk_info() 363 m->m_name = xstrdup("swap"); in fixup_required_disk_info() 428 set_fsmount(fp, FM_FSTYPE, xstrdup("nfs")); in fixup_required_mount_info() 486 char *nn = xstrdup(fp->f_volname); in analyze_mounts() [all …]
|
/netbsd/external/bsd/pkg_install/dist/create/ |
H A D | util.c | 68 file->owner = xstrdup(user_from_uid(file->st.st_uid, 1)); in update_ids() 78 file->group = xstrdup(group_from_gid(file->st.st_gid, 1)); in update_ids() 90 file->owner = (owner != NULL) ? xstrdup(owner) : NULL; in make_memory_file() 91 file->group = (group != NULL) ? xstrdup(group) : NULL; in make_memory_file() 118 file->owner = (owner != NULL) ? xstrdup(owner) : NULL; in load_memory_file() 119 file->group = (group != NULL) ? xstrdup(group) : NULL; in load_memory_file()
|
/netbsd/external/gpl2/texinfo/dist/info/ |
H A D | info.c | 206 user_filename = xstrdup (optarg); in main() 218 user_output_filename = xstrdup (optarg); in main() 255 apropos_search_string = xstrdup (optarg); in main() 273 index_search_string = xstrdup (optarg); in main() 287 user_output_filename = xstrdup ("-"); in main() 468 program = xstrdup (*p); in main() 477 program = xstrdup (""); in main() 521 char *directory_name = xstrdup (filename); in add_file_directory_to_path()
|
/netbsd/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | iidesc.c | 57 ii->ii_name = xstrdup(name); in iidesc_new() 121 tmpdesc.ii_name = xstrdup(name); in iter_iidescs_by_name() 134 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL; in iidesc_dup() 135 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL; in iidesc_dup() 153 tgt->ii_name = name ? xstrdup(name) : NULL; in iidesc_dup_rename() 154 tgt->ii_owner = owner ? xstrdup(owner) : NULL; in iidesc_dup_rename()
|
/netbsd/external/bsd/am-utils/dist/conf/mtab/ |
H A D | mtab_bsd.c | 64 new_mp->mnt_fsname = xstrdup(mp->f_mntfromname); in mnt_dup() 65 new_mp->mnt_dir = xstrdup(mp->f_mntonname); in mnt_dup() 97 new_mp->mnt_type = xstrdup(ty); in mnt_dup() 98 new_mp->mnt_opts = xstrdup("unset"); in mnt_dup()
|
H A D | mtab_ultrix.c | 67 new_mp->mnt_fsname = xstrdup(mp->fd_devname); in mnt_dup() 68 new_mp->mnt_dir = xstrdup(mp->fd_path); in mnt_dup() 73 new_mp->mnt_type = xstrdup(gt_names[mp->fd_fstype]); in mnt_dup() 74 new_mp->mnt_opts = xstrdup("unset"); in mnt_dup()
|
H A D | mtab_osf.c | 79 new_mp->mnt_fsname = xstrdup(mntfromptr); in mnt_dup() 81 new_mp->mnt_dir = xstrdup(mp->f_mntonname); in mnt_dup() 102 new_mp->mnt_type = xstrdup(ty); in mnt_dup() 103 new_mp->mnt_opts = xstrdup("unset"); in mnt_dup()
|