Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 44) sorted by relevance

12

/scripts/
Dget_abi.pl64 my %data;
71 my ($file, $ln, $msg, $data) = @_;
75 $data =~ s/\s+$/\n/;
79 if ($data ne "") {
80 print STDERR ". Line\n\t\t$data";
104 $data{$nametag}->{what} = "File $name";
105 $data{$nametag}->{type} = "File";
106 $data{$nametag}->{file} = $name;
107 $data{$nametag}->{filepath} = $file;
108 $data{$nametag}->{is_file} = 1;
[all …]
Dget_feat.pl51 my %data;
58 my ($file, $ln, $msg, $data) = @_;
60 $data =~ s/\s+$/\n/;
64 if ($data ne "") {
65 print STDERR ". Line\n\t\t$data";
198 $data{$name}->{where} = $file;
199 $data{$name}->{subsys} = $subsys;
200 $data{$name}->{kconfig} = $kconfig;
201 $data{$name}->{description} = $description;
202 $data{$name}->{comments} = $comments;
[all …]
Dmodule.lds.S76 .data : {
77 *(.data .data.[0-9a-zA-Z_]*)
78 *(.data..L*)
Dgenerate_initcall_order.pl64 my $data = <$fh>;
66 if (!defined($data)) {
70 chomp($data);
72 my ($index, $level, $secname) = $data =~
78 die "$0: ERROR: child process returned invalid data: $data\n";
Dcleanfile117 while (read(FILE, $data, 65536) > 0) {
118 if ($data =~ /\0/) {
Dcleanpatch117 while (read(FILE, $data, 65536) > 0) {
118 if ($data =~ /\0/) {
/scripts/dtc/
Ddata.c8 void data_free(struct data d) in data_free()
24 struct data data_grow_for(struct data d, unsigned int xlen) in data_grow_for()
26 struct data nd; in data_grow_for()
44 struct data data_copy_mem(const char *mem, int len) in data_copy_mem()
46 struct data d; in data_copy_mem()
56 struct data data_copy_escape_string(const char *s, int len) in data_copy_escape_string()
59 struct data d; in data_copy_escape_string()
79 struct data data_copy_file(FILE *f, size_t maxlen) in data_copy_file()
81 struct data d = empty_data; in data_copy_file()
107 struct data data_append_data(struct data d, const void *p, int len) in data_append_data()
[all …]
Ddtc.h134 struct data { struct
141 #define empty_data ((struct data){ 0 /* all .members = 0 or NULL */ }) argument
166 void data_free(struct data d);
168 struct data data_grow_for(struct data d, unsigned int xlen);
170 struct data data_copy_mem(const char *mem, int len);
171 struct data data_copy_escape_string(const char *s, int len);
172 struct data data_copy_file(FILE *f, size_t len);
174 struct data data_append_data(struct data d, const void *p, int len);
175 struct data data_insert_at_marker(struct data d, struct marker *m,
177 struct data data_merge(struct data d1, struct data d2);
[all …]
Ddt-extract-compatibles10 def parse_of_declare_macros(data): argument
14 for m in re.finditer(r'(?<!CPU_METHOD_)(IRQCHIP|OF)_(DECLARE|MATCH)(_DRIVER)?\(.*?\)', data):
25 def parse_of_device_id(data): argument
28 for m in re.finditer(r'of_device_id\s+[a-zA-Z0-9_]+\[\]\s*=\s*({.*?);', data):
36 data = f.read().replace('\n', '')
38 compat_list = parse_of_declare_macros(data)
39 compat_list += parse_of_device_id(data)
Dof_unittest_expect275 $data = $line;
276 $data =~ s/^\s*$exp_begin//;
277 push @begin, $data;
293 $data = $line;
294 $data =~ s/^\s*$exp_end//;
307 if (compare($data, $begin)) {
330 $line_num, $timestamp, $data;
332 } elsif (! compare($data, $begin)) {
Ddtc-parser.y32 struct data data; member
35 struct data data; member
60 %token <data> DT_STRING
66 %type <data> propdata
67 %type <data> propdataprefix
73 %type <data> bytestring
311 struct data d;
327 struct data d = empty_data;
374 $$.data = data_add_marker(empty_data, type, NULL);
379 $$.data = data_add_marker(empty_data, TYPE_UINT32, NULL);
[all …]
Dyamltree.c33 char *data, unsigned int seq_offset, unsigned int len, int width) in yaml_propval_int() argument
60 sprintf(buf, "0x%"PRIx8, *(uint8_t*)(data + off)); in yaml_propval_int()
63 sprintf(buf, "0x%"PRIx16, dtb_ld16(data + off)); in yaml_propval_int()
66 sprintf(buf, "0x%"PRIx32, dtb_ld32(data + off)); in yaml_propval_int()
77 sprintf(buf, "0x%"PRIx64, dtb_ld64(data + off)); in yaml_propval_int()
145 char *data = &prop->val.val[m->offset]; in yaml_propval() local
156 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 2); in yaml_propval()
159 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 4); in yaml_propval()
162 yaml_propval_int(emitter, markers, data, m->offset, chunk_len, 8); in yaml_propval()
165 yaml_propval_string(emitter, data, chunk_len); in yaml_propval()
[all …]
Dfdtget.c53 static int show_data(struct display_info *disp, const char *data, int len) in show_data() argument
56 const uint8_t *p = (const uint8_t *)data; in show_data()
67 (!disp->type && util_is_printable_string(data, len)); in show_data()
69 if (data[len - 1] != '\0') { in show_data()
73 for (s = data; s - data < len; s += strlen(s) + 1) { in show_data()
74 if (s != data) in show_data()
110 const struct fdt_property *data; in list_properties() local
119 data = fdt_get_property_by_offset(blob, prop, NULL); in list_properties()
120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
Dflattree.c39 void (*data)(void *, struct data); member
47 struct data *dtbuf = e; in bin_emit_cell()
54 struct data *dtbuf = e; in bin_emit_string()
65 struct data *dtbuf = e; in bin_emit_align()
70 static void bin_emit_data(void *e, struct data d) in bin_emit_data()
72 struct data *dtbuf = e; in bin_emit_data()
96 .data = bin_emit_data,
150 static void asm_emit_data(void *e, struct data d) in asm_emit_data()
215 .data = asm_emit_data,
221 static int stringtable_insert(struct data *d, const char *str) in stringtable_insert()
[all …]
Dutil.c108 bool util_is_printable_string(const void *data, int len) in util_is_printable_string() argument
110 const char *s = data; in util_is_printable_string()
372 void utilfdt_print_data(const char *data, int len) in utilfdt_print_data() argument
381 if (util_is_printable_string(data, len)) { in utilfdt_print_data()
384 s = data; in utilfdt_print_data()
388 if (s < data + len) in utilfdt_print_data()
390 } while (s < data + len); in utilfdt_print_data()
393 const fdt32_t *cell = (const fdt32_t *)data; in utilfdt_print_data()
401 const unsigned char *p = (const unsigned char *)data; in utilfdt_print_data()
Dutil.h79 bool util_is_printable_string(const void *data, int len);
179 void utilfdt_print_data(const char *data, int len);
/scripts/kconfig/lxdialog/
Dtextbox.c13 update_text, void *data);
28 void *data) in refresh_text_box() argument
30 print_page(box, boxh, boxw, update_text, data); in refresh_text_box()
45 update_text_fn update_text, void *data) in dialog_textbox() argument
126 data); in dialog_textbox()
146 data); in dialog_textbox()
157 cur_x, update_text, data); in dialog_textbox()
167 cur_x, update_text, data); in dialog_textbox()
177 cur_x, update_text, data); in dialog_textbox()
187 cur_x, update_text, data); in dialog_textbox()
[all …]
/scripts/kconfig/
Dexpr.c1140 void *data, int prevtoken) in expr_print() argument
1143 fn(data, NULL, "y"); in expr_print()
1148 fn(data, NULL, "("); in expr_print()
1152 fn(data, e->left.sym, e->left.sym->name); in expr_print()
1154 fn(data, NULL, "<choice>"); in expr_print()
1157 fn(data, NULL, "!"); in expr_print()
1158 expr_print(e->left.expr, fn, data, E_NOT); in expr_print()
1162 fn(data, e->left.sym, e->left.sym->name); in expr_print()
1164 fn(data, NULL, "<choice>"); in expr_print()
1165 fn(data, NULL, "="); in expr_print()
[all …]
Dmconf.c293 update_text_fn update_text, void *data);
363 struct search_data *data = _data; in update_text() local
367 list_for_each_entry(pos, data->head, entries) { in update_text()
375 data->keys[k] = key; in update_text()
376 data->targets[k] = pos->target; in update_text()
385 data->keys[k] = 0; in update_text()
434 struct search_data data = { in search_conf() local
446 &data); in search_conf()
493 menu->data ? "-->" : "++>", in build_conf()
501 if (single_menu_mode && menu->data) in build_conf()
[all …]
Dqconf.cc193 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu()
207 nextItem = (ConfigItem*)menu->data; in init()
208 menu->data = this; in init()
234 ConfigItem** ip = (ConfigItem**)&menu->data; in ~ConfigItem()
285 success = sym_set_string_value(sym, lineEdit->text().toUtf8().data()); in setModelData()
385 ConfigItem* item = (ConfigItem*)menu->data; in findConfigItem()
1158 void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) in expr_print_help() argument
1160 QTextStream *stream = reinterpret_cast<QTextStream *>(data); in expr_print_help()
1175 char *data = new char[count + 1]; in clicked() local
1180 delete[] data; in clicked()
[all …]
/scripts/coccinelle/api/debugfs/
Ddebugfs_simple_attr.cocci27 expression name, mode, parent, data;
30 debugfs_create_file(name, mode, parent, data, &dsa_fops)
42 expression name, mode, parent, data;
45 - debugfs_create_file(name, mode, parent, data, &dsa_fops)
46 + debugfs_create_file_unsafe(name, mode, parent, data, &dsa_fops)
/scripts/dtc/libfdt/
Dfdt_addresses.c61 uint8_t data[sizeof(fdt64_t) * 2], *prop; in fdt_appendprop_addrrange() local
74 prop = data; in fdt_appendprop_addrrange()
99 return fdt_appendprop(fdt, nodeoffset, name, data, in fdt_appendprop_addrrange()
Dfdt.h45 char data[]; member
/scripts/gcc-plugins/
Dgcc-common.h256 …es(cgraph_node_ptr node, bool (*callback)(cgraph_node_ptr, void *), void *data, bool include_overw… in cgraph_for_node_and_aliases() argument
258 return node->call_for_symbol_thunks_and_aliases(callback, data, include_overwritable); in cgraph_for_node_and_aliases()
261 …struct cgraph_node_hook_list *cgraph_add_function_insertion_hook(cgraph_node_hook hook, void *data) in cgraph_add_function_insertion_hook() argument
263 return symtab->add_cgraph_insertion_hook(hook, data); in cgraph_add_function_insertion_hook()
271 …nline struct cgraph_node_hook_list *cgraph_add_node_removal_hook(cgraph_node_hook hook, void *data) in cgraph_add_node_removal_hook() argument
273 return symtab->add_cgraph_removal_hook(hook, data); in cgraph_add_node_removal_hook()
281 …struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook(cgraph_2node_hook hook, void *data) in cgraph_add_node_duplication_hook() argument
283 return symtab->add_cgraph_duplication_hook(hook, data); in cgraph_add_node_duplication_hook()
/scripts/mod/
Dsumversion.c170 const unsigned char *data, unsigned int len) in md4_update() argument
178 data, len); in md4_update()
183 data, avail); in md4_update()
186 data += avail; in md4_update()
190 memcpy(mctx->block, data, sizeof(mctx->block)); in md4_update()
192 data += sizeof(mctx->block); in md4_update()
196 memcpy(mctx->block, data, len); in md4_update()

12