Home
last modified time | relevance | path

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

/busybox-1.35.0/applets/
Dinstall.sh6 prefix=$1
7 if [ -z "$prefix" ]; then
52 mkdir -p "$prefix/$libdir" || exit 1
54 rm -f "$prefix/$libdir/$i" || exit 1
56 echo " Installing $i to the target at $prefix/$libdir/"
57 cp -pPR "$i" "$prefix/$libdir/" || exit 1
58 chmod 0644 "$prefix/$libdir/`basename $i`" || exit 1
63 if [ x"$cleanup" = x"1" ] && [ -e "$prefix/bin/busybox" ]; then
64 inode=`ls -i "$prefix/bin/busybox" | awk '{print $1}'`
66 cd "$prefix"
[all …]
/busybox-1.35.0/coreutils/
Did.c82 static int print_common(unsigned id, const char *name, const char *prefix) in print_common() argument
84 if (prefix) { in print_common()
85 printf("%s", prefix); in print_common()
105 static int print_group(gid_t id, const char *prefix) in print_group() argument
107 return print_common(id, gid2group(id), prefix); in print_group()
110 static int print_user(uid_t id, const char *prefix) in print_user() argument
112 return print_common(id, uid2uname(id), prefix); in print_user()
156 const char *prefix; in id_main() local
225 prefix = " groups="; in id_main()
229 status |= print_group(groups[i], opt ? " " : prefix); in id_main()
[all …]
/busybox-1.35.0/selinux/
Dmatchpathcon.c59 char *fcontext, *prefix, *path; in matchpathcon_main() local
66 , &fcontext, &prefix in matchpathcon_main()
78 if (matchpathcon_init_prefix(NULL, prefix)) in matchpathcon_main()
79 bb_perror_msg_and_die("error while processing %s", prefix); in matchpathcon_main()
/busybox-1.35.0/miscutils/
Dsetserial.c541 static void print_flag(const char **prefix, const char *flag) in print_flag() argument
543 printf("%s%s", *prefix, flag); in print_flag()
544 *prefix = " "; in print_flag()
548 const char *prefix, const char *postfix) in print_serial_flags() argument
553 pr = prefix; in print_serial_flags()
567 puts(pr == prefix ? "" : postfix); in print_serial_flags()
587 const char *uart, *prefix, *postfix; in serial_get() local
599 prefix = ", Flags: "; in serial_get()
612 prefix = " ("; in serial_get()
618 prefix = " "; in serial_get()
[all …]
/busybox-1.35.0/networking/
Difconfig.c436 char *prefix; in ifconfig_main() local
438 prefix = strchr(host, '/'); in ifconfig_main()
439 if (prefix) { in ifconfig_main()
440 prefix_len = xatou_range(prefix + 1, 0, 128); in ifconfig_main()
441 *prefix = '\0'; in ifconfig_main()
447 if (lsa->u.sa.sa_family != AF_INET6 && prefix) { in ifconfig_main()
451 *prefix = '/'; in ifconfig_main()
Droute.c183 char *prefix; in INET_setroute() local
186 prefix = strchr(target, '/'); in INET_setroute()
187 if (prefix) { in INET_setroute()
190 prefix_len = xatoul_range(prefix+1, 0, 32); in INET_setroute()
192 *prefix = '\0'; in INET_setroute()
206 if (prefix) { in INET_setroute()
208 *prefix = '/'; in INET_setroute()
/busybox-1.35.0/archival/libarchive/
Dget_header_tar.c219 if (tar.name[0] == 0 && tar.prefix[0] == 0 in get_header_tar()
297 char t = tar.prefix[0]; in get_header_tar()
302 tar.prefix[0] = t; in get_header_tar()
331 if (tar.prefix[0]) { in get_header_tar()
335 file_header->name = concat_path_file(tar.prefix, tar.name); in get_header_tar()
/busybox-1.35.0/editors/
Dpatch.c99 long prefix; member
410 TT.prefix = (opts & FLAG_PATHLEN) ? xatoi(opt_p) : 0; // can be negative! in patch_main()
534 if ((option_mask32 & FLAG_PATHLEN) && TT.prefix == i) in patch_main()
561 } else if (!(option_mask32 & FLAG_PATHLEN) || i <= TT.prefix) { in patch_main()
Dpatch_toybox.c227 long prefix; member
439 TT.prefix = (opts & FLAG_PATHLEN) ? xatoi(opt_p) : 0; // can be negative! in patch_main()
539 if ((option_mask32 & FLAG_PATHLEN) && TT.prefix == i) break; in patch_main()
551 } else if (!(option_mask32 & FLAG_PATHLEN) || i <= TT.prefix) { in patch_main()
/busybox-1.35.0/libbb/
Dprocps.c170 static char* skip_whitespace_if_prefixed_with(char *buf, const char *prefix) in skip_whitespace_if_prefixed_with() argument
172 char *tp = is_prefixed_with(buf, prefix); in skip_whitespace_if_prefixed_with()
/busybox-1.35.0/shell/
Dbrace.txt35 This construct is typically used as shorthand when the common prefix of
Dhush.c1331 static void debug_print_strings(const char *prefix, char **vv) in debug_print_strings() argument
1334 fdprintf(2, "%s:\n", prefix); in debug_print_strings()
1339 # define debug_print_strings(prefix, vv) ((void)0) argument
3143 static void debug_print_list(const char *prefix, o_string *o, int n) in debug_print_list() argument
3151 prefix, list, n, string_start, o->length, o->maxlen, in debug_print_list()
3169 # define debug_print_list(prefix, o, n) ((void)0) argument
Dash.c1852 prefix(const char *string, const char *pfx) in prefix() function
2602 opt = prefix(opt, "builtin") ?: prefix(opt, "func"); in legal_pathopt()
4001 match = prefix; in getjob()
8556 if (*new == '%' && prefix(new + 1, "builtin")) { in changepath()
/busybox-1.35.0/include/
Dbb_archive.h164 char prefix[155]; /* 345-499 */ member
/busybox-1.35.0/examples/
Dinittab67 # Note below that we prefix the shell commands with a "-" to indicate to the
/busybox-1.35.0/docs/
Dtar_pax.txt123 override the name and prefix fields in the following header
/busybox-1.35.0/
DConfig.in471 string "Cross compiler prefix"
475 will need to set this to the cross-compiler prefix, for example,
/busybox-1.35.0/testsuite/tar/
Dtar_with_prefix_fields252 # Case 1: long name, with path in prefix field
259 # Case 2: long dir name, with ENTIRE path in prefix field (name = "")