HomeSort by relevance Sort by last modified time
    Searched refs:optflags (Results 51 - 75 of 152) sorted by null

1 23 4 5 6 7

  /external/toybox/toys/other/
acpi.c 62 if ((toys.optflags & FLAG_b) || (!toys.optflags)) {
74 } else if (toys.optflags & FLAG_a) {
137 if (toys.optflags & FLAG_V) toys.optflags = FLAG_a|FLAG_b|FLAG_c|FLAG_t;
138 if (!toys.optflags) toys.optflags = FLAG_b;
139 if (toys.optflags & (FLAG_a|FLAG_b))
141 if (toys.optflags & FLAG_t) dirtree_read("/sys/class", temp_callback);
142 if (toys.optflags & FLAG_c) dirtree_read("/sys/class/thermal", cool_callback)
    [all...]
lspci.c 55 if (toys.optflags & FLAG_k)
59 int fd, size = 6 + 2*((toys.optflags & FLAG_e) && p == toybuf);
99 printf((toys.optflags & FLAG_m)
109 printf((toys.optflags & FLAG_m) ? "%s \"%s\" \"%s\" \"%s\""
115 printf((toys.optflags & FLAG_m) ? " \"%s\"" : " %s", basename(driver));
xxd.c 44 if (!(toys.optflags&FLAG_p)) printf("%08llx: ", pos);
56 if (!(toys.optflags&FLAG_p)) {
83 if (!(toys.optflags&FLAG_p)) {
97 while (toys.optflags&FLAG_p || col < TT.c) {
128 if (toys.optflags&FLAG_p) TT.c = TT.g = 30;
130 loopfiles(toys.optargs, toys.optflags&FLAG_r ? do_xxd_reverse : do_xxd);
netcat.c 104 if ((toys.optflags&FLAG_f) ? toys.optc :
105 (!(toys.optflags&(FLAG_l|FLAG_L)) && toys.optc!=2))
130 if (!CFG_NETCAT_LISTEN || !(toys.optflags&(FLAG_L|FLAG_l))) {
151 if ((toys.optflags & FLAG_l) && toys.optc) {
168 if (toys.optflags&FLAG_t)
174 if (toys.optflags&FLAG_L) {
183 if (toys.optflags&FLAG_L) dup2(fd, 2);
199 if (CFG_NETCAT_LISTEN && ((toys.optflags&(FLAG_L|FLAG_l)) && toys.optc))
printenv.c 27 if (toys.optflags) delim = 0;
base64.c 36 if (!(toys.optflags & FLAG_d)) {
48 if (toys.optflags & FLAG_d) {
62 if (buf[i] == '\n' || (toys.optflags & FLAG_i)) continue;
free.c 34 if (toys.optflags & FLAG_h) human_readable(s, ll, 0);
47 while ((toys.optflags&(FLAG_h-1)) && !(toys.optflags&(1<<TT.bits))) TT.bits++;
nbd_client.c 79 if (toys.optflags & FLAG_s) mlockall(MCL_CURRENT|MCL_FUTURE);
82 if ((toys.optflags & FLAG_n) || !xfork()) {
97 if (!(toys.optflags & FLAG_n)) exit(0);
  /external/toybox/toys/pending/
useradd.c 49 if (toys.optflags) help_exit("options with USER GROUP");
81 if (toys.optflags & FLAG_u) {
85 if (toys.optflags & FLAG_S) TT.uid = CFG_TOYBOX_UID_SYS;
92 if (toys.optflags & FLAG_G) TT.gid = xgetgrnam(TT.u_grp)->gr_gid;
95 if (toys.optflags & FLAG_S) TT.gid = CFG_TOYBOX_UID_SYS;
104 if (!(toys.optflags & FLAG_G)) {
125 if (toys.optflags & FLAG_S)
134 if (!(toys.optflags & (FLAG_S|FLAG_H))) {
150 if (!(toys.optflags & FLAG_D))
153 if (toys.optflags & FLAG_G)
    [all...]
dumpleases.c 44 if(!(toys.optflags & FLAG_f)) TT.file = "/var/lib/misc/dhcpd.leases"; //DEF_LEASE_FILE
46 xprintf("Mac Address IP Address Host Name Expires %s\n", (toys.optflags & FLAG_a) ? "at" : "in");
64 if (!(toys.optflags & FLAG_a)) {
logger.c 34 if (toys.optflags & FLAG_p) {
48 if (!(toys.optflags & FLAG_t)) {
70 openlog(TT.ident, (toys.optflags & FLAG_s ? LOG_PERROR : 0) , facility);
arp.c 164 if (!(toys.optflags & FLAG_D)) get_hw_add(toys.optargs[1], (char*)&req.arp_ha.sa_data);
170 if ((toys.optflags & FLAG_H) && (ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER))
181 if (toys.optflags & FLAG_v) xprintf("Entry set for %s\n", toys.optargs[0]);
210 if (toys.optflags & FLAG_v) xprintf("Delete entry for %s\n", toys.optargs[0]);
225 if ((toys.optflags & FLAG_A) || (toys.optflags & FLAG_p)) {
232 if (toys.optflags & FLAG_H) {
238 if (((toys.optflags & FLAG_s) || toys.optflags & FLAG_d)) {
244 if ((toys.optflags & FLAG_s) && !set_entry()) return
    [all...]
dd.c 164 in.buff = out.buff = xmalloc(in.sz + ((toys.optflags & C_BS)? 0: out.sz));
188 if (toys.optflags & C_NOERROR) { //warn message and summary
233 if (toys.optflags & (C_OF | C_SEEK) && !(toys.optflags & C_NOTRUNC))
236 while (!(toys.optflags & C_COUNT) || (st.in_full + st.in_part) < c_count) {
242 if (toys.optflags & C_SYNC) memset(in.bp, 0, in.sz);
248 if (!(toys.optflags & C_NOERROR)) exit(1);
251 if (!(toys.optflags & C_SYNC)) continue;
260 if (toys.optflags & C_SYNC) in.count += in.sz;
265 if (toys.optflags & C_BS)
    [all...]
traceroute.c 117 if (toys.optflags & FLAG_U) {
164 if ((toys.optflags & FLAG_d) && (setsockopt(sock,SOL_SOCKET, SO_DEBUG,
167 if ((toys.optflags & FLAG_r) && (setsockopt(sock, SOL_SOCKET, SO_DONTROUTE,
221 if (probe && (toys.optflags & FLAG_z)) usleep(TT.pause_time * 1000);
270 if (toys.optflags & FLAG_U) {
298 if (!(toys.optflags & FLAG_n)) {
308 if (!(toys.optflags & FLAG_n)) xprintf(")");
312 if (toys.optflags & FLAG_l) xprintf(" (%d)", rcv_pkt->ip_ttl);
313 if (toys.optflags & FLAG_v) {
413 if (!(toys.optflags & FLAG_n))
    [all...]
  /external/toybox/toys/posix/
uniq.c 55 if (toys.optflags & (TT.repeats ? FLAG_u : FLAG_d)) return;
56 if (toys.optflags & FLAG_c) fprintf(f, "%7lu ", TT.repeats + 1);
58 if (toys.optflags & FLAG_z) fputc(0, f);
70 if (toys.optflags & FLAG_z) eol = 0;
90 diff = !(toys.optflags & FLAG_i) ? strcmp(t1, t2) : strcasecmp(t1, t2);
92 diff = !(toys.optflags & FLAG_i) ? strncmp(t1, t2, TT.maxchars)
echo.c 48 if (!(toys.optflags & FLAG_e)) {
87 if (!(toys.optflags&FLAG_n)) putchar('\n');
strings.c 48 if (toys.optflags & FLAG_f) printf("%s: ", filename);
49 if (toys.optflags & FLAG_o)
tee.c 48 if (toys.optflags & FLAG_i) xsignal(SIGINT, SIG_IGN);
52 O_RDWR|O_CREAT|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC),
who.c 34 if ((toys.optflags & FLAG_a) || entry->ut_type == USER_PROCESS) {
touch.c 45 if (toys.optflags & (FLAG_t|FLAG_d)) {
54 if (toys.optflags & FLAG_d) {
112 i = toys.optflags & (FLAG_a|FLAG_m);
120 (toys.optflags & FLAG_h)*AT_SYMLINK_NOFOLLOW)) ss++;
121 else if (toys.optflags & FLAG_c) ss++;
cut.c 145 if (!(toys.optflags & FLAG_s)) xputs(buff);
238 if (toys.optflags & FLAG_f) {
241 } else if (toys.optflags & FLAG_c) {
249 if (toys.optflags & FLAG_d) {
256 if(!(toys.optflags & FLAG_d) && (toys.optflags & FLAG_f)) {
262 if (!(toys.optflags & FLAG_f)) {
263 if (toys.optflags & FLAG_s)
271 if (!(toys.optflags & FLAG_d) && (toys.optflags & FLAG_f))
    [all...]
  /external/toybox/toys/lsb/
pidof.c 36 return toys.optflags & FLAG_s;
su.c 49 toys.optflags |= FLAG_l;
71 if (toys.optflags & FLAG_l) {
82 if (!(toys.optflags & (FLAG_m|FLAG_p))) {
89 if (toys.optflags & FLAG_c) {
seq.c 61 if (toys.optflags & FLAG_w) {
79 if (toys.optflags & FLAG_f) insanitize(fmt_str = TT.fmt);
80 if (toys.optflags & FLAG_s) sep_str = TT.sep;
passwd.c 114 if (myuid && (toys.optflags & (FLAG_l | FLAG_u | FLAG_d)))
134 if (!(toys.optflags & (FLAG_l | FLAG_u | FLAG_d))) {
136 if (!(toys.optflags & FLAG_a)) TT.algo = "des";
167 } else if (toys.optflags & FLAG_l) {
171 } else if (toys.optflags & FLAG_u) {
176 } else if (toys.optflags & FLAG_d) {
186 if ((toys.optflags & (FLAG_l | FLAG_u | FLAG_d))) free(encrypted);

Completed in 174 milliseconds

1 23 4 5 6 7