Home
last modified time | relevance | path

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

12

/scripts/
Dget_abi.pl44 my %data;
51 my ($file, $ln, $msg, $data) = @_;
53 $data =~ s/\s+$/\n/;
57 if ($data ne "") {
58 print STDERR ". Line\n\t\t$data";
81 $data{$nametag}->{what} = "File $name";
82 $data{$nametag}->{type} = "File";
83 $data{$nametag}->{file} = $name;
84 $data{$nametag}->{filepath} = $file;
85 $data{$nametag}->{is_file} = 1;
[all …]
Dmodule.lds.S49 .data : {
50 *(.data .data.[0-9a-zA-Z_]*)
51 *(.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, 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.h113 struct data { struct
120 #define empty_data ((struct data){ 0 /* all .members = 0 or NULL */ }) argument
130 void data_free(struct data d);
132 struct data data_grow_for(struct data d, int xlen);
134 struct data data_copy_mem(const char *mem, int len);
135 struct data data_copy_escape_string(const char *s, int len);
136 struct data data_copy_file(FILE *f, size_t len);
138 struct data data_append_data(struct data d, const void *p, int len);
139 struct data data_insert_at_marker(struct data d, struct marker *m,
141 struct data data_merge(struct data d1, struct data d2);
[all …]
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.c32 static void yaml_propval_int(yaml_emitter_t *emitter, struct marker *markers, char *data, int len, … in yaml_propval_int() argument
59 sprintf(buf, "0x%"PRIx8, *(uint8_t*)(data + off)); in yaml_propval_int()
62 sprintf(buf, "0x%"PRIx16, dtb_ld16(data + off)); in yaml_propval_int()
65 sprintf(buf, "0x%"PRIx32, dtb_ld32(data + off)); in yaml_propval_int()
76 sprintf(buf, "0x%"PRIx64, dtb_ld64(data + off)); in yaml_propval_int()
143 char *data = &prop->val.val[m->offset]; in yaml_propval() local
154 yaml_propval_int(emitter, m, data, chunk_len, 2); in yaml_propval()
157 yaml_propval_int(emitter, m, data, chunk_len, 4); in yaml_propval()
160 yaml_propval_int(emitter, m, data, chunk_len, 8); in yaml_propval()
163 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,
149 static void asm_emit_data(void *e, struct data d) in asm_emit_data()
214 .data = asm_emit_data,
220 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()
Dfdtdump.c21 static void print_data(const char *data, int len) in print_data() argument
24 const char *p = data; in print_data()
30 if (util_is_printable_string(data, len)) { in print_data()
31 printf(" = \"%s\"", (const char *)data); in print_data()
Dutil.h79 bool util_is_printable_string(const void *data, int len);
179 void utilfdt_print_data(const char *data, int len);
Ddtc-lexer.l97 yylval.data = data_copy_escape_string(yytext+1,
177 struct data d;
/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.c291 update_text_fn update_text, void *data);
366 struct search_data *data = _data; in update_text() local
370 list_for_each_entry(pos, data->head, entries) { in update_text()
378 data->keys[k] = key; in update_text()
379 data->targets[k] = pos->target; in update_text()
388 data->keys[k] = 0; in update_text()
437 struct search_data data = { in search_conf() local
449 &data); in search_conf()
496 menu->data ? "-->" : "++>", in build_conf()
504 if (single_menu_mode && menu->data) in build_conf()
[all …]
Dqconf.cc192 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu()
206 nextItem = (ConfigItem*)menu->data; in init()
207 menu->data = this; in init()
233 ConfigItem** ip = (ConfigItem**)&menu->data; in ~ConfigItem()
284 success = sym_set_string_value(sym, lineEdit->text().toUtf8().data()); in setModelData()
383 ConfigItem* item = (ConfigItem*)menu->data; in findConfigItem()
1153 void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) in expr_print_help() argument
1155 QTextStream *stream = reinterpret_cast<QTextStream *>(data); in expr_print_help()
1170 char *data = new char[count + 1]; in clicked() local
1175 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[0]; member
Dfdt_rw.c194 if ((err = fdt_splice_struct_(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in fdt_resize_property_()
272 *prop_data = prop->data; in fdt_setprop_placeholder()
302 err = fdt_splice_struct_(fdt, prop->data, in fdt_appendprop()
308 memcpy(prop->data + oldlen, val, len); in fdt_appendprop()
313 memcpy(prop->data, val, len); in fdt_appendprop()
/scripts/gcc-plugins/
Dgcc-common.h343 …es(cgraph_node_ptr node, bool (*callback)(cgraph_node_ptr, void *), void *data, bool include_overw… in cgraph_for_node_and_aliases() argument
347 if (callback(node, data)) in cgraph_for_node_and_aliases()
352 if (cgraph_for_node_and_aliases(alias, callback, data, include_overwritable)) in cgraph_for_node_and_aliases()
795 …es(cgraph_node_ptr node, bool (*callback)(cgraph_node_ptr, void *), void *data, bool include_overw… in cgraph_for_node_and_aliases() argument
797 return node->call_for_symbol_thunks_and_aliases(callback, data, include_overwritable); in cgraph_for_node_and_aliases()
800 …struct cgraph_node_hook_list *cgraph_add_function_insertion_hook(cgraph_node_hook hook, void *data) in cgraph_add_function_insertion_hook() argument
802 return symtab->add_cgraph_insertion_hook(hook, data); in cgraph_add_function_insertion_hook()
810 …nline struct cgraph_node_hook_list *cgraph_add_node_removal_hook(cgraph_node_hook hook, void *data) in cgraph_add_node_removal_hook() argument
812 return symtab->add_cgraph_removal_hook(hook, data); in cgraph_add_node_removal_hook()
820 …struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook(cgraph_2node_hook hook, void *data) in cgraph_add_node_duplication_hook() argument
[all …]
/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