Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 58) sorted by relevance

123

/busybox-1.35.0/coreutils/
Dmv.c46 const char *last; in mv_main() local
75 &last in mv_main()
82 last = argv[argc - 1]; in mv_main()
91 dest_exists = cp_mv_stat(last, &statbuf); in mv_main()
97 dest = last; in mv_main()
103 bb_error_msg_and_die("'%s' is a directory", last); in mv_main()
105 dest = last; in mv_main()
114 dest = concat_path_file(last, bb_get_last_path_component_strip(*argv)); in mv_main()
185 if (dest != last) { in mv_main()
188 } while (*++argv && *argv != last); in mv_main()
Dcp.c118 const char *last; in cp_main() local
162 , &last in cp_main()
183 , &last in cp_main()
205 last = argv[argc - 1]; in cp_main()
218 d_flags = cp_mv_stat(last, &dest_stat); in cp_main()
225 bb_error_msg_and_die("'%s' is a directory", last); in cp_main()
248 dest = last; in cp_main()
260 dest = concat_path_file(last, *argv); in cp_main()
270 dest = concat_path_file(last, bb_get_last_path_component_strip(*argv)); in cp_main()
275 if (!*++argv || *argv == last) { in cp_main()
Dln.c57 char *last; in ln_main() local
81 last = argv[argc - 1]; in ln_main()
91 *--argv = last; in ln_main()
95 last = bb_get_last_path_component_strip(xstrdup(last)); in ln_main()
100 src = last; in ln_main()
Dseq.c39 double first, last, increment, v; in seq_main() local
66 last = strtod(argv[argc-1], &pp); in seq_main()
107 while (increment >= 0 ? v <= last : v >= last) { in seq_main()
Dinstall.c112 char *arg, *last; in install_main() local
151 &gid_str, &mode_str, &uid_str, &last in install_main()
192 last = argv[argc]; in install_main()
195 isdir = stat(last, &statbuf) < 0 ? 0 : S_ISDIR(statbuf.st_mode); in install_main()
214 dest = last; in install_main()
228 dest = concat_path_file(last, bb_basename(arg)); in install_main()
Dtr.c78 char last = '0'; in map() local
83 pvector[(unsigned char)(string1[i])] = last; in map()
85 pvector[(unsigned char)(string1[i])] = last = string2[j++]; in map()
277 unsigned last = UCHAR_MAX + 1; /* not equal to any char */ in tr_main() local
345 if ((opts & TR_OPT_squeeze_reps) && last == coded in tr_main()
350 str2[out_index++] = last = coded; in tr_main()
/busybox-1.35.0/testsuite/
Dbc_misc1.bc62 ++last
63 --last
64 last
65 last = 100
66 last
/busybox-1.35.0/miscutils/
Dascii.c33 char last[2]; in ascii_main() local
36 last[1] = '\0'; in ascii_main()
47 i+0x70, i+0x70, (i+0x70 == 0x7f ? "DEL" : (last[0] = i+0x70, last)) in ascii_main()
Di2c_tools.c802 unsigned last, int *block, int blen) in dump_data() argument
814 if (i/16 > last/16) in dump_data()
821 if (i+j < first || i+j > last) { in dump_data()
875 if (i+j < first || i+j > last) { in dump_data()
895 static void dump_word_data(int bus_fd, unsigned first, unsigned last) in dump_word_data() argument
904 if (i/8 > last/8) in dump_word_data()
910 if (i+j < first || i+j > last) { in dump_word_data()
951 unsigned first = 0x00, last = 0xff, opts; in i2cdump_main() local
995 last = xstrtou_range(++dash, 0, first, 0xff); in i2cdump_main()
1003 if (!even || (!(first % 2) && last % 2)) in i2cdump_main()
[all …]
/busybox-1.35.0/util-linux/
Ddmesg.c96 int last = '\n'; in dmesg_main() local
101 if (last == '\n' && buf[in] == '<') { in dmesg_main()
105 last = buf[in++]; in dmesg_main()
106 putchar(last); in dmesg_main()
112 if (last != '\n') in dmesg_main()
Dfdisk_sgi.c131 unsigned int last; member
139 freelist[i].last = l; in setfreelist()
147 if (freelist[i].last == 0) in add2freelist()
167 if (freelist[i].first <= b && freelist[i].last >= b) in isinfreelist()
168 return freelist[i].last; in isinfreelist()
699 unsigned int first = 0, last = 0; in sgi_add_partition() local
726 last = sgi_get_lastblock(); in sgi_add_partition()
727 first = read_int(0, 0, last-1, 0, mesg); in sgi_add_partition()
734 last = freelist[0].last; in sgi_add_partition()
735 first = read_int(scround(first), scround(first), scround(last)-1, in sgi_add_partition()
[all …]
Dfdisk_sun.c477 int i, first, last; in add_sun_partition() local
551 last = read_int(scround(stop2), scround(stop2), scround(stop2), in add_sun_partition()
554 last = read_int(scround(first), scround(stop2), scround(stop2), in add_sun_partition()
557 last = read_int(scround(first), scround(stop), scround(stop), in add_sun_partition()
560 last *= units_per_sector; in add_sun_partition()
562 if (last >= stop2) { in add_sun_partition()
564 last = stop2; in add_sun_partition()
565 } else if (last > stop) { in add_sun_partition()
570 scround(last), str_units(), in add_sun_partition()
572 last = stop; in add_sun_partition()
[all …]
/busybox-1.35.0/util-linux/volume_id/
Dget_devname.c82 struct uuidCache_s *last; in uuidcache_addentry() local
85 last = uuidCache = xzalloc(sizeof(*uuidCache)); in uuidcache_addentry()
87 for (last = uuidCache; last->next; last = last->next) in uuidcache_addentry()
89 last->next = xzalloc(sizeof(*uuidCache)); in uuidcache_addentry()
90 last = last->next; in uuidcache_addentry()
95 last->device = device; in uuidcache_addentry()
96 last->label = label; in uuidcache_addentry()
97 last->uc_uuid = uuid; in uuidcache_addentry()
98 IF_FEATURE_BLKID_TYPE(last->type = type;) in uuidcache_addentry()
/busybox-1.35.0/shell/
Dcttyhack.c131 char *last; in cttyhack_main() local
139 last = strrchr(console + 5, ' '); in cttyhack_main()
140 if (last) in cttyhack_main()
141 overlapping_strcpy(console + 5, last + 1); in cttyhack_main()
/busybox-1.35.0/networking/udhcp/
Ddhcprelay.c65 struct xid_item *last = &dhcprelay_xid_list; in xid_expire() local
70 last->next = item->next; in xid_expire()
72 item = last->next; in xid_expire()
74 last = item; in xid_expire()
95 struct xid_item *last = &dhcprelay_xid_list; in xid_del() local
98 last->next = item->next; in xid_del()
100 item = last->next; in xid_del()
102 last = item; in xid_del()
/busybox-1.35.0/shell/hush_test/hush-parsing/
Dnoeol3.tests1 # last line has no EOL!
Dnoeol2.tests1 # last line has no EOL!
/busybox-1.35.0/shell/ash_test/ash-parsing/
Dnoeol3.tests1 # last line has no EOL!
Dnoeol2.tests1 # last line has no EOL!
/busybox-1.35.0/shell/ash_test/ash-misc/
Dexitcode_trap1.tests1 # "exit" in trap should not use last command's exitcode,
Dexitcode_trap2.tests1 # "exit" in trap should not use last command's exitcode,
Dfor_with_bslashes.tests1 # last word contains ^C character.
/busybox-1.35.0/shell/hush_test/hush-misc/
Dexitcode_trap2.tests1 # "exit" in trap should not use last command's exitcode,
Dfor_with_bslashes.tests1 # last word contains ^C character.
/busybox-1.35.0/networking/
Darping.c72 unsigned last; member
93 #define last (G.last ) macro
140 last = MONOTONIC_US(); in send_pack()
181 if (last == 0 || (now - last) > 500000) { in catcher()
273 if (last) { in recv_pack()
274 unsigned diff = MONOTONIC_US() - last; in recv_pack()

123