Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 70) sorted by relevance

123

/scripts/dtc/
Dchecks.c24 #define TRACE(c, ...) \ argument
26 fprintf(stderr, "=== %s: ", (c)->name); \
31 #define TRACE(c, fmt, ...) do { } while (0) argument
43 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
76 static inline void check_msg(struct check *c, const char *fmt, ...) __attribute__((format (printf, …
78 static inline void check_msg(struct check *c, const char *fmt, ...) in check_msg() argument
83 if ((c->warn && (quiet < 1)) in check_msg()
84 || (c->error && (quiet < 2))) { in check_msg()
86 (c->error) ? "ERROR" : "Warning", c->name); in check_msg()
93 #define FAIL(c, ...) \ argument
[all …]
DMakefile.dtc7 checks.c \
8 data.c \
9 dtc.c \
10 flattree.c \
11 fstree.c \
12 livetree.c \
13 srcpos.c \
14 treesource.c \
15 util.c
17 DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
[all …]
Ddtc-parser.tab.c_shipped50 #define YYSKELETON_NAME "yacc.c"
65 #line 20 "dtc-parser.y" /* yacc.c:339 */
84 #line 85 "dtc-parser.tab.c" /* yacc.c:339 */
149 #line 39 "dtc-parser.y" /* yacc.c:355 */
169 #line 170 "dtc-parser.tab.c" /* yacc.c:355 */
200 #line 201 "dtc-parser.tab.c" /* yacc.c:358 */
1472 #line 110 "dtc-parser.y" /* yacc.c:1646 */
1477 #line 1478 "dtc-parser.tab.c" /* yacc.c:1646 */
1481 #line 118 "dtc-parser.y" /* yacc.c:1646 */
1485 #line 1486 "dtc-parser.tab.c" /* yacc.c:1646 */
[all …]
Dlivetree.c403 struct node *c; in get_property_by_label() local
415 for_each_child(tree, c) { in get_property_by_label()
416 prop = get_property_by_label(c, label, node); in get_property_by_label()
430 struct node *c; in get_marker_label() local
442 for_each_child(tree, c) { in get_marker_label()
443 m = get_marker_label(c, label, node, prop); in get_marker_label()
718 struct node *c; in sort_node() local
722 for_each_child_withdel(node, c) in sort_node()
723 sort_node(c); in sort_node()
760 struct node *c; in any_label_tree() local
[all …]
Dtreesource.c57 static bool isstring(char c) in isstring() argument
59 return (isprint((unsigned char)c) in isstring()
60 || (c == '\0') in isstring()
61 || strchr("\a\b\t\n\v\f\r", c)); in isstring()
80 char c = str[i]; in write_propval_string() local
82 switch (c) { in write_propval_string()
122 if (isprint((unsigned char)c)) in write_propval_string()
123 fprintf(f, "%c", c); in write_propval_string()
125 fprintf(f, "\\x%02hhx", c); in write_propval_string()
Ddtc.h181 #define for_each_child_withdel(n, c) \ argument
182 for ((c) = (n)->children; (c); (c) = (c)->next_sibling)
184 #define for_each_child(n, c) \ argument
185 for_each_child_withdel(n, c) \
186 if (!(c)->deleted)
/scripts/coccinelle/iterators/
Duse_after_iter.cocci21 identifier c,member;
41 list_for_each_entry@p1(c,...,member) { ... when != break;
46 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
51 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
56 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break;
61 list_for_each_entry_from@p1(c,...,member) { ... when != break;
66 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
71 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break;
76 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break;
81 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break;
[all …]
/scripts/gdb/linux/
Dlists.py27 c = head
29 gdb.write("Starting with: {}\n".format(c))
34 p = c['prev'].dereference()
35 n = c['next'].dereference()
37 if p['next'] != c.address:
41 current_addr=c.address,
42 current=c,
50 current_addr=c.address,
51 current=c
55 if n['prev'] != c.address:
[all …]
/scripts/coccinelle/misc/
Dcompare_const_fl.cocci16 constant c,c1;
24 c b (c1)
32 c | e1 | e2 | ...
34 c | (e ? e1 : e2)
36 - c
40 + c
45 constant c,c1;
55 c b c1
67 - c < e
68 + e > c
[all …]
Dorplus.cocci17 constant c;
23 e | c@i
25 e & c@i
27 e |= c@i
29 e &= c@i
33 constant r.c,c1;
39 c1 + c - 1
41 *c1@i1 +@p c
/scripts/mod/
Dsumversion.c67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument
68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument
69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument
90 uint32_t a, b, c, d; in md4_transform() local
94 c = hash[2]; in md4_transform()
97 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
98 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
99 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
100 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
101 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
[all …]
Dmk_elfconfig.c10 union { short s; char c[2]; } endian_test; in main() member
48 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main()
50 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
/scripts/dtc/libfdt/
DMakefile.libfdt9 LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \
10 fdt_addresses.c fdt_overlay.c
11 LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
/scripts/genksyms/
Dparse.tab.c_shipped50 #define YYSKELETON_NAME "yacc.c"
65 #line 24 "parse.y" /* yacc.c:339 */
116 #line 117 "parse.tab.c" /* yacc.c:339 */
212 #line 213 "parse.tab.c" /* yacc.c:358 */
1512 #line 129 "parse.y" /* yacc.c:1646 */
1514 #line 1515 "parse.tab.c" /* yacc.c:1646 */
1518 #line 131 "parse.y" /* yacc.c:1646 */
1520 #line 1521 "parse.tab.c" /* yacc.c:1646 */
1524 #line 135 "parse.y" /* yacc.c:1646 */
1526 #line 1527 "parse.tab.c" /* yacc.c:1646 */
[all …]
DMakefile12 $(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
14 clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h
D.gitignore1 *.hash.c
2 *.lex.c
3 *.tab.c
/scripts/kconfig/
DPOTFILES.in1 scripts/kconfig/lxdialog/checklist.c
2 scripts/kconfig/lxdialog/inputbox.c
3 scripts/kconfig/lxdialog/menubox.c
4 scripts/kconfig/lxdialog/textbox.c
5 scripts/kconfig/lxdialog/util.c
6 scripts/kconfig/lxdialog/yesno.c
7 scripts/kconfig/mconf.c
8 scripts/kconfig/conf.c
9 scripts/kconfig/confdata.c
10 scripts/kconfig/gconf.c
D.gitignore5 *.lex.c
6 *.tab.c
8 zconf.hash.c
/scripts/
Dcleanfile23 my($i, $c);
26 $c = substr($li, $i, 1);
27 if ($c eq "\t") {
33 } elsif ($c eq "\n" || $c eq "\r") {
37 $lo .= $c;
39 } elsif ($c eq " ") {
45 $lo .= $c;
58 my($c, $i);
63 $c = substr($li,$i,1);
64 if ($c eq "\t") {
[all …]
Dpnmtologo.c86 int c, val; in get_number() local
90 c = fgetc(fp); in get_number()
91 if (c == EOF) in get_number()
93 if (c == '#') { in get_number()
96 c = fgetc(fp); in get_number()
97 if (c == EOF) in get_number()
99 } while (c != '\n'); in get_number()
101 } while (isspace(c)); in get_number()
105 while (isdigit(c)) { in get_number()
106 val = 10*val+c-'0'; in get_number()
[all …]
Dcleanpatch23 my($i, $c);
26 $c = substr($li, $i, 1);
27 if ($c eq "\t") {
33 } elsif ($c eq "\n" || $c eq "\r") {
37 $lo .= $c;
39 } elsif ($c eq " ") {
45 $lo .= $c;
58 my($c, $i);
63 $c = substr($li,$i,1);
64 if ($c eq "\t") {
[all …]
Dgcc-version.sh25 MAJOR=$(echo __GNUC__ | $compiler -E -x c - | tail -n 1)
26 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1)
28 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -x c - | tail -n 1)
Dkallsyms.c306 int c, rlen, total=0; in expand_symbol() local
309 c = *data; in expand_symbol()
312 if (best_table[c][0]==c && best_table_len[c]==1) { in expand_symbol()
313 *result++ = c; in expand_symbol()
317 rlen = expand_symbol(best_table[c], best_table_len[c], result); in expand_symbol()
568 unsigned int i, j, c; in insert_real_symbols_in_table() local
575 c = table[i].sym[j]; in insert_real_symbols_in_table()
576 best_table[c][0]=c; in insert_real_symbols_in_table()
577 best_table_len[c]=1; in insert_real_symbols_in_table()
/scripts/coccinelle/api/alloc/
Dpool_zalloc-simple.cocci34 expression a,b,c;
38 - x = dma_pool_alloc(a,b,c);
39 + x = dma_pool_zalloc(a,b,c);
45 expression a,b,c;
49 - x = pci_pool_alloc(a,b,c);
50 + x = pci_pool_zalloc(a,b,c);
60 expression a,b,c;
65 x = @p\(dma_pool_alloc\|pci_pool_alloc\)(a,b,c);
/scripts/basic/
Dfixdep.c200 int c, i; in use_config() local
209 c = m[i]; in use_config()
210 if (c == '_') in use_config()
211 c = '/'; in use_config()
213 c = tolower(c); in use_config()
214 putchar(c); in use_config()

123