Searched refs:attr (Results 1 – 11 of 11) sorted by relevance
| /scripts/coccinelle/api/ |
| A D | device_attr_show.cocci | 18 identifier show, dev, attr, buf; 22 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf) 30 identifier show, dev, attr, buf; 34 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
|
| /scripts/gcc-plugins/ |
| A D | gcc-common.h | 118 static inline void __add_type_attr(tree type, const char *attr, tree args) in __add_type_attr() argument 124 oldattr = lookup_attribute(attr, TYPE_ATTRIBUTES(type)); in __add_type_attr() 131 TYPE_ATTRIBUTES(type) = tree_cons(get_identifier(attr), args, TYPE_ATTRIBUTES(type)); in __add_type_attr() 134 static inline void add_type_attr(tree type, const char *attr, tree args) in add_type_attr() argument 138 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr() 139 __add_type_attr(TYPE_CANONICAL(main_variant), attr, args); in add_type_attr() 140 __add_type_attr(main_variant, attr, args); in add_type_attr() 143 if (!lookup_attribute(attr, TYPE_ATTRIBUTES(type))) in add_type_attr() 146 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr()
|
| /scripts/kconfig/tests/ |
| A D | conftest.py | 238 def _contains(self, attr, expected): argument 240 lambda s, e: getattr(s, attr).find(e) >= 0, 243 def _matches(self, attr, expected): argument 244 return self._read_and_compare(lambda s, e: getattr(s, attr) == e,
|
| /scripts/ |
| A D | bpf_doc.py | 228 for attr in attrs: 229 if attr not in ATTRS: 230 raise Exception("Unexpected attribute '" + attr + "' specified for " + proto) 837 for attr in helper.attrs: 838 used_attrs.add(attr) 839 for attr in sorted(used_attrs): 840 print('#ifndef %s' % attr) 841 print('#if __has_attribute(%s)' % ATTRS[attr]) 842 print('#define %s __attribute__((%s))' % (attr, ATTRS[attr])) 844 print('#define %s' % attr)
|
| A D | checkpatch.pl | 6537 my $attr = $1; 6538 …if ($line =~ /^\+\s*static\s+(?:const\s+)?(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Iden… 6541 if ((($ptr =~ /\b(union|struct)\s+$attr\b/ && 6544 ($ptr !~ /\b(union|struct)\s+$attr\b/ && 6548 …attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Ident(?:\[[^]]*\])?)\s*([=;])\s*/"$1" . trim(strin… 6555 my $attr = $1; 6556 $attr =~ /($InitAttributePrefix)(.*)/; 6569 my $attr = $1; 6762 my $attr = $1; 6763 $attr =~ s/\s*\(\s*(.*)\)\s*/$1/; [all …]
|
| A D | Makefile.build | 329 -Zcrate-attr=no_std \ 330 -Zcrate-attr='feature($(rust_allowed_features))' \
|
| /scripts/kconfig/ |
| A D | nconf.gui.c | 33 { .attr = &(_at), .has_color = true, .color_fg = _fg, .color_bg = _bg, .highlight = _hl } 35 { .attr = &(_at), .has_color = false, .highlight = _hl } 39 int *attr; member 107 for (; p->attr; p++) { in set_colors() 108 int attr = p->highlight; in set_colors() local 113 attr |= COLOR_PAIR(pair); in set_colors() 116 *p->attr = attr; in set_colors()
|
| /scripts/gdb/linux/ |
| A D | symbols.py | 159 attr = sect_attrs['grp']['bin_attrs'][i].dereference() 160 section_name_to_address[attr['attr']['name'].string()] = attr['private']
|
| /scripts/gendwarfksyms/ |
| A D | dwarf.c | 45 #define DEFINE_GET_ATTR(attr, type) \ argument 46 static bool get_##attr##_attr(Dwarf_Die *die, unsigned int id, \ 51 !dwarf_form##attr(&da, value); \ 65 #define DEFINE_GET_STRING_ATTR(attr) \ argument 66 static const char *get_##attr##_attr(Dwarf_Die *die) \ 69 if (dwarf_attr(die, DW_AT_##attr, &da)) \
|
| /scripts/kconfig/lxdialog/ |
| A D | dialog.h | 182 void attr_clear(WINDOW * win, int height, int width, chtype attr);
|
| A D | util.c | 202 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument 206 wattrset(win, attr); in attr_clear()
|
Completed in 24 milliseconds