Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 61) sorted by relevance

123

/busybox-1.35.0/selinux/
Dsetsebool.c33 int value; in setsebool_main() local
41 value = 1; in setsebool_main()
43 value = 0; in setsebool_main()
48 if (security_set_boolean(argv[1], value) < 0) in setsebool_main()
/busybox-1.35.0/miscutils/
Dsetfattr.c34 const char *value = ""; in setfattr_main() local
46 , &name, &name, &value in setfattr_main()
58 value, strlen(value), /*flags:*/ 0 in setfattr_main()
Di2c_tools.c171 uint8_t cmd, uint8_t value) in i2c_smbus_write_byte_data() argument
175 data.byte = value; in i2c_smbus_write_byte_data()
181 static int32_t i2c_smbus_write_word_data(int file, uint8_t cmd, uint16_t value) in i2c_smbus_write_word_data() argument
185 data.word = value; in i2c_smbus_write_word_data()
1065 long value; member
1070 { .value = I2C_FUNC_I2C,
1072 { .value = I2C_FUNC_SMBUS_QUICK,
1074 { .value = I2C_FUNC_SMBUS_WRITE_BYTE,
1076 { .value = I2C_FUNC_SMBUS_READ_BYTE,
1078 { .value = I2C_FUNC_SMBUS_WRITE_BYTE_DATA,
[all …]
Dhdparm.c521 static void on_off(int value) in on_off() argument
523 puts(value ? " (on)" : " (off)"); in on_off()
1564 static void bus_state_value(unsigned value) argument
1566 if (value == BUSSTATE_ON)
1568 else if (value == BUSSTATE_OFF)
1570 else if (value == BUSSTATE_TRISTATE)
1573 printf(" (unknown: %u)\n", value);
1650 static void print_flag(int flag, const char *s, unsigned long value) argument
1653 printf(" setting %s to %lu\n", s, value);
2064 static int parse_opts(unsigned long *value, int min, int max) argument
[all …]
/busybox-1.35.0/libbb/
Dspeed_table.c27 unsigned short value; member
130 if (speeds[i].value & 0x8000u) { in tty_baud_to_value()
131 return ((unsigned)(speeds[i].value) & 0x7fffU) * 200; in tty_baud_to_value()
133 return speeds[i].value; in tty_baud_to_value()
140 speed_t FAST_FUNC tty_value_to_baud(unsigned int value) in tty_value_to_baud() argument
145 if (value == tty_baud_to_value(speeds[i].speed)) { in tty_value_to_baud()
Dxfuncs.c235 static int wh_helper(int value, int def_val, const char *env_name, int *err) in wh_helper() argument
251 value = atoi(s); in wh_helper()
258 if (value <= 1 || value >= 30000) in wh_helper()
259 value = def_val; in wh_helper()
260 return value; in wh_helper()
Dmode_string.c16 #error permission bitflag value assumption(s) violated!
25 # warning mode type bitflag value assumption(s) violated! falling back to larger version
/busybox-1.35.0/procps/
Dsysctl.c130 char *value = value; /* for compiler */ in sysctl_act_on_setting() local
154 value = cptr + 1; /* point to the value in name=value */ in sysctl_act_on_setting()
194 xwrite_str(fd, value); in sysctl_act_on_setting()
199 puts(value); in sysctl_act_on_setting()
204 value = cptr = xmalloc_read(fd, NULL); in sysctl_act_on_setting()
206 if (value == NULL) { in sysctl_act_on_setting()
228 free(value); in sysctl_act_on_setting()
Dps.posix93 text (default or overridden value). If the header text is null, such as
114 pid The decimal value of the process ID.
116 ppid The decimal value of the parent process ID.
118 pgid The decimal value of the process group ID.
128 nice The decimal value of the nice value of the process; see nice() .
139 comm The name of the command being executed ( argv[0] value) as a
143 tion may truncate this value to the field width; it is implemen-
153 a hyphen ( '-' ) should be output in place of the field value.
Dtop.c412 static char *fmt_100percent_8(char pbuf[8], unsigned value, unsigned total) in fmt_100percent_8() argument
415 if (value >= total) { /* 100% ? */ in fmt_100percent_8()
420 value = 1000 * value / total; in fmt_100percent_8()
421 t = value / 100; in fmt_100percent_8()
422 value = value % 100; in fmt_100percent_8()
425 pbuf[2] = '0' + (value / 10); in fmt_100percent_8()
427 pbuf[4] = '0' + (value % 10); in fmt_100percent_8()
/busybox-1.35.0/archival/libarchive/
Dget_header_tar.c86 char *end, *value; in process_pax_hdr()
113 value = end + 1; in process_pax_hdr()
117 if (is_prefixed_with(value, "path=")) { in process_pax_hdr()
118 value += sizeof("path=") - 1; in process_pax_hdr()
120 archive_handle->tar__longname = xstrdup(value); in process_pax_hdr()
123 if (is_prefixed_with(value, "linkpath=")) { in process_pax_hdr()
124 value += sizeof("linkpath=") - 1; in process_pax_hdr()
126 archive_handle->tar__linkname = xstrdup(value); in process_pax_hdr()
137 if (is_prefixed_with(value, SELINUX_CONTEXT_KEYWORD"=")) { in process_pax_hdr()
138 value += sizeof(SELINUX_CONTEXT_KEYWORD"=") - 1; in process_pax_hdr()
[all …]
/busybox-1.35.0/scripts/
Dbloat-o-meter59 num, value, size, typ, bind, vis, ndx, name = l.split()
63 value = int(value, 16)
66 alias[(value, size)] = {"name" : name}
68 sym[name] = {"addr" : value, "size": size}
69 lut[(value, size)] = 0
/busybox-1.35.0/util-linux/
Dacpid.c98 uint32_t value; member
174 …(ev->type == evt_tab[i].n_type && ev->code == evt_tab[i].n_code && ev->value == evt_tab[i].value) { in find_action()
236 evt_tab[n_evt].value = xatoi_positive(tokens[4]); in parse_map_file()
367 if (ev.value != 1 && ev.value != 0) in acpid_main()
/busybox-1.35.0/shell/hush_test/hush-parsing/
Dbrace2.tests2 # Should not brace-expand v value
/busybox-1.35.0/shell/ash_test/ash-parsing/
Dbrace2.tests2 # Should not brace-expand v value
/busybox-1.35.0/editors/
Ddiff.c359 unsigned value; member
367 if (a[i].value < b[j].value) in equiv()
368 a[i++].value = 0; in equiv()
369 else if (a[i].value == b[j].value) in equiv()
370 a[i++].value = j; in equiv()
375 a[i++].value = 0; in equiv()
376 b[m + 1].value = 0; in equiv()
380 while (b[j + 1].value == b[j].value) { in equiv()
393 a[f[i].serial] = f[i].value; in unsort()
403 int r = l0->value - l1->value; in line_compar()
[all …]
/busybox-1.35.0/docs/
Dtar_pax.txt17 files in the archive. Each value shall affect all subsequent files
18 that do not override that value in their own extended header
20 that provides another value for the same field. The typeflag g
43 "%d %s=%s\n", <length>, <keyword>, <value>
53 the value of the st_atime member of the stat structure for a file,
56 do so. The format of the <value> shall be as described in pax
73 the <value> field shall be ignored by pax.
103 typeflag is 2, it shall be a symbolic link and the linkpath value
114 equivalent to the value of the st_mtime member of the stat
119 <value> shall be as described in pax Extended Header File Times.
[all …]
DKconfig-language.txt67 - default value: "default" <symbol> ["if" <expr>]
73 The default value is only assigned to the config symbol if no other
74 value was set by the user (via the input prompt above). If an input
75 prompt is visible the default value is presented to the user and can
77 Optionally dependencies only for this default value can be added with
124 (4) Returns the value of the expression. Used to override precedence.
129 An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2
/busybox-1.35.0/shell/hush_test/hush-invert/
Dinvert.tests1 # tests of return value inversion
/busybox-1.35.0/shell/ash_test/ash-invert/
Dinvert.tests1 # tests of return value inversion
/busybox-1.35.0/shell/hush_test/hush-signals/
Dreturn_in_trap1.tests13 # It's debatable what is the correct value above.
/busybox-1.35.0/shell/ash_test/ash-signals/
Dreturn_in_trap1.tests13 # It's debatable what is the correct value above.
/busybox-1.35.0/testsuite/date/
Ddate-@-works1 # Tests for time_t value (unix time format)
/busybox-1.35.0/modutils/
Dmodutils-24.c377 unsigned long value; member
547 unsigned long value; member
668 ElfW(RelM) *rel, ElfW(Addr) value);
725 ElfW(Addr) value;
1093 n->value = v; in arch_apply_relocation()
2003 int secidx, ElfW(Addr) value, in obj_add_symbol()
2087 sym->value = value; in obj_add_symbol()
2111 return sym->value; in obj_symbol_final_value()
2112 return sym->value + f->sections[sym->secidx]->header.sh_addr; in obj_symbol_final_value()
2295 idx, s->value, 0); in add_symbols_from()
[all …]
/busybox-1.35.0/loginutils/
Dgetty.c151 int value = bb_strtou(s, NULL, 10); /* yes, int is intended! */ in bcode() local
152 if (value < 0) /* bad terminating char, overflow, etc */ in bcode()
153 return value; in bcode()
154 return tty_value_to_baud(value); in bcode()

123