Home
last modified time | relevance | path

Searched refs:from_name (Results 1 – 18 of 18) sorted by relevance

/freebsd-src/usr.bin/xinstall/
H A Dxinstall.c559 do_link(const char *from_name, const char *to_name, in do_link() argument
570 ret = link(from_name, tmpl); in do_link()
584 from_name, to_name); in do_link()
588 * file may still exist when from_name and to_name point in do_link()
597 from_name, to_name); in do_link()
598 return (link(from_name, to_name)); in do_link()
607 do_symlink(const char *from_name, const char *to_name, in do_symlink() argument
618 if (symlink(from_name, tmpl) == -1) in do_symlink()
619 err(EX_OSERR, "symlink %s -> %s", from_name, tmpl); in do_symlink()
632 from_name, to_nam in do_symlink()
652 makelink(const char * from_name,const char * to_name,const struct stat * target_sb) makelink() argument
802 install(const char * from_name,const char * to_name,u_long fset,u_int flags) install() argument
1178 copy(int from_fd,const char * from_name,int to_fd,const char * to_name,off_t size) copy() argument
1274 strip(const char * to_name,int to_fd,const char * from_name,char ** dresp) strip() argument
[all...]
/freebsd-src/tools/test/stress2/misc/
H A Dsendfile4.sh67 const char *from_name;
76 from_name = argv[1];
78 from = open(from_name, O_RDONLY);
80 err(1, "open read %s", from_name);
84 err(1, "stat %s", from_name);
H A Dsendfile5.sh92 const char *from_name;
101 from_name = argv[1];
103 from = open(from_name, O_RDONLY);
105 err(1, "open read %s", from_name);
109 err(1, "stat %s", from_name);
H A Dsendfile16.sh110 const char *from_name;
122 from_name = "input";
124 if ((from = open(from_name, O_RDONLY)) == -1)
125 err(1, "open read %s", from_name);
128 err(1, "stat %s", from_name);
H A Dsendfile23.sh113 const char *from_name, *to_name;
115 from_name = "input";
121 if ((from = open(from_name, O_RDONLY)) == -1)
122 err(1, "open read %s", from_name);
125 err(1, "stat %s", from_name);
H A Dsocketpair4.sh109 const char *from_name, *to_name;
111 from_name = "input";
117 if ((from = open(from_name, O_RDONLY)) == -1)
118 err(1, "open read %s", from_name);
121 err(1, "stat %s", from_name);
H A Dsendfile15.sh117 const char *from_name;
123 from_name = "input";
125 if ((from = open(from_name, O_RDONLY)) == -1)
126 err(1, "open read %s", from_name);
129 err(1, "stat %s", from_name);
H A Dsendfile17.sh115 const char *from_name;
121 from_name = "input";
123 if ((from = open(from_name, O_RDONLY)) == -1)
124 err(1, "open read %s", from_name);
127 err(1, "stat %s", from_name);
H A Dsendfile21.sh130 const char *from_name, *to_name;
132 from_name = "input";
138 if ((from = open(from_name, O_RDONLY)) == -1)
139 err(1, "open read %s", from_name);
142 err(1, "stat %s", from_name);
H A Dsendfile22.sh122 const char *from_name, *to_name;
124 from_name = "input";
128 if ((from = open(from_name, O_RDONLY)) == -1)
129 err(1, "open read %s", from_name);
132 err(1, "stat %s", from_name);
/freebsd-src/crypto/heimdal/kuser/
H A Dcopy_cred_cache.c87 const char *from_name, *to_name; in copy_cred_cache() local
122 from_name = krb5_cc_default_name(kcc_context); in copy_cred_cache()
125 from_name = argv[0]; in copy_cred_cache()
129 ret = krb5_cc_resolve(kcc_context, from_name, &from_ccache); in copy_cred_cache()
131 krb5_err(kcc_context, 1, ret, "%s", from_name); in copy_cred_cache()
/freebsd-src/usr.sbin/bsdconfig/share/
H A Dstruct.subr166 # f_struct_copy $from_name $to_name
169 # exist, it is created. If struct $from_name does not exist, nothing is done
177 local from_name="$1" to_name="$2" type
178 f_dprintf "f_struct_copy: from_name=[%s] to_name=[%s]" \
179 "$from_name" "$to_name"
180 f_getvar "_struct_type_$from_name" type
183 f_struct "$from_name" || return $SUCCESS
185 "$from_name" "$to_name"
190 if f_struct "$from_name" get $property from_value; then
198 "$n" "$k" "$from_name" "$to_name"
/freebsd-src/contrib/ntp/sntp/libevent/test/
H A Dregress_rpc.c283 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_message()
473 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_client()
548 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_queued_client()
653 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_client_with_pause()
703 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_client_timeout()
748 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_test()
807 if (!EVTAG_HAS(msg2, from_name) || in rpc_test()
H A Dregress.rpc4 string /* sender */ from_name = 1; /* be verbose */
/freebsd-src/contrib/libevent/test/
H A Dregress_rpc.c283 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_message()
473 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_client()
548 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_queued_client()
653 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_basic_client_with_pause()
703 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_client_timeout()
748 EVTAG_ASSIGN(msg, from_name, "niels"); in rpc_test()
807 if (!EVTAG_HAS(msg2, from_name) || in rpc_test()
H A Dregress.rpc4 string /* sender */ from_name = 1; /* be verbose */
/freebsd-src/contrib/ncurses/ncurses/tinfo/
H A Dcomp_parse.c360 char *from_name = strdup(_nc_first_name(from->term_names));
372 if (from_name != 0 && strcmp(to_name, from_name)) {
374 from_name,
389 free(from_name);
/freebsd-src/usr.sbin/config/
H A Dmain.cc582 moveifchanged(const char *from_name, const char *to_name) in moveifchanged()
593 from_path = path(from_name); in moveifchanged()
596 err(EX_OSERR, "moveifchanged open(%s)", from_name); in moveifchanged()
577 moveifchanged(const char * from_name,const char * to_name) moveifchanged() argument