Home
last modified time | relevance | path

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

123

/scripts/kconfig/
A Dpreprocess.c42 char *value; member
52 e->value = xstrdup(value); in env_add()
61 free(e->value); in env_del()
69 const char *value; in env_expand() local
79 value = getenv(name); in env_expand()
80 if (!value) in env_expand()
87 env_add(name, value); in env_expand()
237 char *value; member
297 free(v->value); in variable_add()
318 v->value = xrealloc(v->value, in variable_add()
[all …]
A Dmerge_config.sh148 ${WARNOVERRIDE} Previous value: $PREV_VAL
149 ${WARNOVERRIDE} New value: $NEW_VAL
155 ${WARNOVERRIDE} Previous value: $PREV_VAL
156 ${WARNOVERRIDE} New value: $NEW_VAL
/scripts/gendwarfksyms/examples/
A Dkabi.h40 #define ___KABI_RULE(hint, target, value) \ argument
44 "1\0" #hint "\0" target "\0" value
46 #define __KABI_RULE(hint, target, value) \ argument
47 ___KABI_RULE(hint, #target, #value)
92 #define KABI_ENUMERATOR_VALUE(fqn, field, value) \ argument
93 __KABI_RULE(enumerator_value, fqn field, value)
100 #define KABI_BYTE_SIZE(fqn, value) __KABI_RULE(byte_size, fqn, value) argument
/scripts/
A Dgenerate_rust_target.rs69 fn from(value: bool) -> Self { in from()
70 Self::Boolean(value) in from()
75 fn from(value: i32) -> Self { in from()
76 Self::Number(value) in from()
81 fn from(value: String) -> Self { in from()
82 Self::String(value) in from()
87 fn from(value: &str) -> Self { in from()
88 Self::String(value.to_string()) in from()
111 fn push(&mut self, key: &str, value: impl Into<Value>) { in push()
112 self.0.push((key.to_string(), value.into())); in push()
[all …]
A Dcheck-sysctl-docs45 function trimpunct(value) {
46 while (value ~ /^["&]/) {
50 value = substr(value, 1, length(value) - 1)
52 return value
A Dget_maintainer.pl373 my $value = $2;
381 if ((-d $value)) {
718 my $value = $2;
721 $status = $value;
743 my $value = $2;
752 if ((-d $value)) {
761 $value =~ /^https?:/ &&
834 my $value = $2;
852 my $value = $2;
903 my $value = $2;
[all …]
A Dver_linux71 function printversion(name, value, ofmt) {
72 if (value != "") {
74 printf(ofmt, name, value)
A Ddiffconfig51 def print_config(op, config, value, new_value):
62 print("-%s %s" % (config, value))
66 print(" %s %s -> %s" % (config, value, new_value))
A Dleaking_addresses.pl249 my $value = "";
275 $value = option_from_file($option, $file);
276 if ($value ne "") {
281 return $value;
700 my ($cache, $key, $value) = @_;
705 push @{$cache->{$key}}, $value;
/scripts/gendwarfksyms/
A Dcache.c10 int value; member
14 void cache_set(struct cache *cache, unsigned long key, int value) in cache_set() argument
20 ci->value = value; in cache_set()
30 return ci->value; in cache_get()
A Dkabi.c85 const char *value; member
235 rule->value = xstrdup(get_rule_field(&rule_str, &left)); in kabi_read_rules()
240 rule->target, rule->value); in kabi_read_rules()
300 static unsigned long get_ulong_value(const char *value) in get_ulong_value() argument
306 result = strtoul(value, &endptr, 10); in get_ulong_value()
309 error("invalid unsigned value '%s'", value); in get_ulong_value()
321 unsigned long *value) in kabi_get_enumerator_value() argument
328 *value = get_ulong_value(rule->value); in kabi_get_enumerator_value()
341 *value = get_ulong_value(rule->value); in kabi_get_byte_size()
354 *str = rule->value; in kabi_get_type_string()
[all …]
A Ddwarf.c47 type *value) \
51 !dwarf_form##attr(&da, value); \
149 bool value; in is_kabi_definition() local
151 if (get_flag_attr(die, DW_AT_declaration, &value) && value) in is_kabi_definition()
225 value); \
238 Dwarf_Word value; in DEFINE_PROCESS_UDATA_ATTRIBUTE() local
241 if (get_udata_attr(die, DW_AT_byte_size, &value)) { in DEFINE_PROCESS_UDATA_ATTRIBUTE()
243 value = override; in DEFINE_PROCESS_UDATA_ATTRIBUTE()
753 Dwarf_Word value; in process_enumerator_type() local
764 state->expand.current_fqn, cache->fqn, &value); in process_enumerator_type()
[all …]
/scripts/coccinelle/misc/
A Ddo_div.cocci23 value = 0
28 value = int(str, 0)
31 value = int(str[:-3], 0)
34 value = int(str[:-2], 0)
37 value = int(str[:-2], 0)
40 value = int(str[:-1], 0)
43 value = int(str[:-1], 0)
47 value = 0
49 return is_digit, value
52 is_digit, value = get_digit_type_and_value(str)
[all …]
/scripts/dtc/
A Dfdtput.c59 char *value = NULL; /* holding area for value */ in encode_value() local
85 value = realloc(value, value_size); in encode_value()
86 if (!value) { in encode_value()
93 ptr = value + upto; in encode_value()
114 *valuep = value; in encode_value()
224 char *value; in do_fdtput() local
241 if (encode_value(disp, arg + 2, arg_count - 2, &value, &len) || in do_fdtput()
242 store_key_value(blob, *arg, arg[1], value, len)) in do_fdtput()
A Dfdtget.c58 int value; in show_data() local
94 value = size == 4 ? fdt32_to_cpu(*(const uint32_t *)p) : in show_data()
96 printf(fmt, value); in show_data()
195 const void *value = NULL; in show_data_for_item() local
209 value = fdt_getprop(blob, node, property, &len); in show_data_for_item()
210 if (value) { in show_data_for_item()
211 if (show_data(disp, value, len)) in show_data_for_item()
/scripts/crypto/
A Dgen-hash-testvecs.py71 def print_bytes(prefix, value, bytes_per_line): argument
72 for i in range(0, len(value), bytes_per_line):
73 line = prefix + ''.join(f'0x{b:02x}, ' for b in value[i:i+bytes_per_line])
76 def print_static_u8_array_definition(name, value): argument
79 print_bytes('\t', value, 8)
82 def print_c_struct_u8_array_field(name, value): argument
84 print_bytes('\t\t\t', value, 8)
/scripts/atomic/kerneldoc/
A Dcmpxchg5 * @old: ${int} value to compare with
6 * @new: ${int} value to assign
13 * Return: The original value of @v.
A Dadd_unless7 * ${class}${atomicname}() - atomic add unless value with ${desc_order} ordering
9 * @a: ${int} value to add
10 * @u: ${int} value to compare with
A Dtry_cmpxchg5 * @old: pointer to ${int} value to compare with
6 * @new: ${int} value to assign
9 * Otherwise, @v is not modified, @old is updated to the current value of @v,
A Dread6 * Atomically loads the value of @v with ${desc_order} ordering.
10 * Return: The value loaded from @v.
A Dxchg5 * @new: ${int} value to assign
11 * Return: The original value of @v.
A Dadd_negative4 * @i: ${int} value to add
11 * Return: @true if the resulting value of @v is negative, @false otherwise.
A Dsub_and_test4 * @i: ${int} value to subtract
11 * Return: @true if the resulting value of @v is zero, @false otherwise.
/scripts/gdb/linux/
A Dutils.py124 value = [0, 0]
127 value[0] = ord(buffer_val[0])
128 value[1] = ord(buffer_val[1])
130 value[0] = buffer_val[0]
131 value[1] = buffer_val[1]
134 return value[0] + (value[1] << 8)
136 return value[1] + (value[0] << 8)
/scripts/dtc/libfdt/
A Dlibfdt.h155 bp[0] = value >> 24; in fdt32_st()
156 bp[1] = (value >> 16) & 0xff; in fdt32_st()
157 bp[2] = (value >> 8) & 0xff; in fdt32_st()
158 bp[3] = value & 0xff; in fdt32_st()
179 bp[0] = value >> 56; in fdt64_st()
180 bp[1] = (value >> 48) & 0xff; in fdt64_st()
181 bp[2] = (value >> 40) & 0xff; in fdt64_st()
182 bp[3] = (value >> 32) & 0xff; in fdt64_st()
183 bp[4] = (value >> 24) & 0xff; in fdt64_st()
185 bp[6] = (value >> 8) & 0xff; in fdt64_st()
[all …]

Completed in 23 milliseconds

123