Home
last modified time | relevance | path

Searched refs:target (Results 1 – 24 of 24) sorted by relevance

/busybox-1.35.0/archival/libarchive/
Dunsafe_symlink_target.c9 const char *target, in create_or_remember_link() argument
13 if (hard_link || target[0] == '/' || strstr(target, "..")) { in create_or_remember_link()
15 xasprintf("%c%s%c%s", hard_link, linkname, '\0', target) in create_or_remember_link()
19 if (symlink(target, linkname) != 0) { in create_or_remember_link()
22 "sym", linkname, target in create_or_remember_link()
30 char *target; in create_links_from_list() local
32 target = list->data + 1 + strlen(list->data + 1) + 1; in create_links_from_list()
33 if ((*list->data ? link : symlink) (target, list->data + 1)) { in create_links_from_list()
37 list->data + 1, target in create_links_from_list()
/busybox-1.35.0/scripts/
Dembedded_scripts5 target="$1"
9 test "$target" || exit 1
15 printf '#define NUM_SCRIPTS 0\n' >"$target"
87 exec >"$target.$$"
125 mv -- "$target.$$" "$target"
DMakefile.build79 lib-target := $(obj)/lib.a
82 ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(lib-target)),)
83 builtin-target := $(obj)/built-in.o
88 __build: $(if $(KBUILD_BUILTIN),$(builtin-target) $(lib-target) $(extra-y)) \
255 ifdef builtin-target
263 $(builtin-target): $(obj-y) FORCE
266 targets += $(builtin-target)
272 ifdef lib-target
276 $(lib-target): $(lib-y) FORCE
279 targets += $(lib-target)
DKbuild.include110 # target, or command line has changed
/busybox-1.35.0/libbb/
Dxreadlink.c140 char *target, c, *last_slash; in xmalloc_realpath_coreutils() local
143 target = xmalloc_readlink(path); in xmalloc_realpath_coreutils()
144 if (target) { in xmalloc_realpath_coreutils()
152 if (target[0] != '/') { in xmalloc_realpath_coreutils()
161 char *tmp = concat_path_file(cwd, target); in xmalloc_realpath_coreutils()
163 free(target); in xmalloc_realpath_coreutils()
164 target = tmp; in xmalloc_realpath_coreutils()
166 buf = xmalloc_realpath_coreutils(target); in xmalloc_realpath_coreutils()
167 free(target); in xmalloc_realpath_coreutils()
DConfig.src145 You may want to decrease this parameter if your target machine
/busybox-1.35.0/applets/
Dusage_compressed3 target="$1"
6 test "$target" || exit 1
19 exec >"$target.$$"
/busybox-1.35.0/networking/
Dwget.c826 static FILE* prepare_ftp_session(FILE **dfpp, struct host_info *target, len_and_sockaddr *lsa) in prepare_ftp_session() argument
834 if (target->protocol == P_FTPS) in prepare_ftp_session()
835 spawn_ssl_client(target->host, fileno(sfp), TLSLOOP_EXIT_ON_LOCAL_EOF); in prepare_ftp_session()
844 if (target->user) { in prepare_ftp_session()
845 pass = strchr(target->user, ':'); in prepare_ftp_session()
851 switch (ftpcmd("USER ", target->user ?: "anonymous", sfp)) { in prepare_ftp_session()
865 if (ftpcmd("SIZE ", target->path, sfp) == 213) { in prepare_ftp_session()
890 if (target->protocol == P_FTPS) { in prepare_ftp_session()
895 spawn_ssl_client(target->host, fileno(*dfpp), /*flags*/ 0); in prepare_ftp_session()
910 if (ftpcmd("RETR ", target->path, sfp) > 150) in prepare_ftp_session()
[all …]
Droute.c182 const char *target = *args++; in INET_setroute() local
186 prefix = strchr(target, '/'); in INET_setroute()
201 isnet = INET_resolve(target, (struct sockaddr_in *) &rt->rt_dst, in INET_setroute()
204 bb_error_msg_and_die("resolving %s", target); in INET_setroute()
357 const char *target = *args++; in INET6_setroute() local
359 if (strcmp(target, "default") == 0) { in INET6_setroute()
364 cp = strchr(target, '/'); /* Yes... const to non is ok. */ in INET6_setroute()
371 if (INET6_resolve(target, (struct sockaddr_in6 *) &sa6) < 0) { in INET6_setroute()
372 bb_error_msg_and_die("resolving %s", target); in INET6_setroute()
Dtls.c1011 int target; in tls_xread_record() local
1022 target = MAX_INBUF; in tls_xread_record()
1026 if (total >= RECHDR_LEN && target == MAX_INBUF) { in tls_xread_record()
1028 target = RECHDR_LEN + (0x100 * xhdr->len16_hi + xhdr->len16_lo); in tls_xread_record()
1030 if (target > MAX_INBUF /* malformed input (too long) */ in tls_xread_record()
1034 sz = total < target ? total : target; in tls_xread_record()
1043 if (total - target >= 0) in tls_xread_record()
1068 tls->buffered_size = total - target; in tls_xread_record()
1069 tls->ofs_to_buffered = target; in tls_xread_record()
1073 sz = target - RECHDR_LEN; in tls_xread_record()
Darping.c299 char *target; in arping_main() local
319 target = argv[optind]; in arping_main()
342 lsa = xhost_and_af2sockaddr(target, 0, AF_INET); in arping_main()
/busybox-1.35.0/miscutils/
Ddevmem.c33 off_t target; in devmem_main() local
49 target = bb_strtoull(argv[1], NULL, 0); /* allows hex, oct etc */ in devmem_main()
79 offset_in_page = (unsigned)target & (page_size - 1); in devmem_main()
90 target & ~(off_t)(page_size - 1)); in devmem_main()
Dless.c957 static void goto_lineno(int target) in goto_lineno() argument
959 if (target <= 0 ) { in goto_lineno()
962 else if (target > LINENO(flines[cur_fline])) { in goto_lineno()
964 while (LINENO(flines[cur_fline]) != target && cur_fline < max_fline) in goto_lineno()
967 if (LINENO(flines[cur_fline]) != target && eof_error > 0) { in goto_lineno()
974 while (LINENO(flines[cur_fline]) != target && cur_fline > 0) in goto_lineno()
Ddevfsd.c927 int mode, host, bus, target, lun; in action_compat() local
960 …sscanf(info->devname + ((i < 6) ? 5 : 4), "host%d/bus%d/target%d/lun%d/", &host, &bus, &target, &l… in action_compat()
968 sprintf(compat_buf, fmt[i], host, bus, target, lun); in action_compat()
972 sprintf(compat_buf, fmt[i], host, bus, target, lun, atoi(ptr + 4)); in action_compat()
984 sprintf(compat_buf, fmt[i], host, bus, target, lun, mode, rewind_); in action_compat()
989 snprintf(compat_buf, sizeof(compat_buf), fmt[i], host, bus, target, lun, ptr + 2); in action_compat()
/busybox-1.35.0/scripts/basic/
Dfixdep.c125 char *target; variable
141 printf("cmd_%s := %s\n\n", target, cmdline); in print_cmdline()
327 printf("deps_%s := \\\n", target); in parse_dep_file()
350 printf("\n%s: $(deps_%s)\n\n", target, target); in parse_dep_file()
351 printf("$(deps_%s):\n", target); in parse_dep_file()
407 target = argv[2]; in main()
/busybox-1.35.0/mailutils/
Dpopmaildir.c206 char *target; in popmaildir_main() local
269 target = xstrdup(filename); in popmaildir_main()
270 memcpy(target, "new", 3); in popmaildir_main()
272 if (rename_or_warn(filename, target)) in popmaildir_main()
274 free(target); in popmaildir_main()
/busybox-1.35.0/scripts/kconfig/
DMakefile123 qconf-target := 1
126 gconf-target := 1
130 ifeq ($(qconf-target),1)
135 ifeq ($(gconf-target),1)
159 ifeq ($(qconf-target),1)
208 ifeq ($(gconf-target),1)
/busybox-1.35.0/util-linux/
Dunshare.c74 static void mount_or_die(const char *source, const char *target, in mount_or_die() argument
77 if (mount(source, target, fstype, mountflags, NULL)) { in mount_or_die()
79 source, target, mountflags); in mount_or_die()
Dmount.c540 static int verbose_mount(const char *source, const char *target, in verbose_mount() argument
547 rc = mount(source, target, filesystemtype, mountflags, data); in verbose_mount()
550 source, target, filesystemtype, in verbose_mount()
/busybox-1.35.0/archival/
Dunzip.c369 char *target; in unzip_extract_symlink() local
375 target = xzalloc(zip->fmt.ucmpsize + 1); in unzip_extract_symlink()
376 xread(zip_fd, target, zip->fmt.ucmpsize); in unzip_extract_symlink()
387 target = xstate.mem_output_buf; in unzip_extract_symlink()
388 target = xrealloc(target, xstate.mem_output_size + 1); in unzip_extract_symlink()
389 target[xstate.mem_output_size] = '\0'; in unzip_extract_symlink()
393 target, in unzip_extract_symlink()
396 free(target); in unzip_extract_symlink()
/busybox-1.35.0/testsuite/
Dmakedevs.device_table.txt1 # When building a target filesystem, it is desirable to not have to
26 # uid is the user id for the target file, gid is the group id for the
27 # target file. The rest of the entries (major, minor, etc) apply only
/busybox-1.35.0/
DMakefile1262 target-dir = $(dir $@)
1266 target-dir = $(if $(KBUILD_EXTMOD),$(dir $<),$(dir $@))
1270 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1272 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1274 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1276 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1278 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1280 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
/busybox-1.35.0/include/
Dbb_archive.h207 const char *target,
/busybox-1.35.0/docs/
Dbusybox_header.pod35 BusyBox. This will install the 'bin/busybox' binary, in the target directory