Home
last modified time | relevance | path

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

123

/scripts/dtc/
DMakefile.dtc8 checks.c \
9 data.c \
10 dtc.c \
11 flattree.c \
12 fstree.c \
13 livetree.c \
14 srcpos.c \
15 treesource.c \
16 util.c
19 DTC_SRCS += yamltree.c
[all …]
Dchecks.c10 #define TRACE(c, ...) \ argument
12 fprintf(stderr, "=== %s: ", (c)->name); \
17 #define TRACE(c, fmt, ...) do { } while (0) argument
29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
61 static inline void PRINTF(5, 6) check_msg(struct check *c, struct dt_info *dti, in check_msg() argument
71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg()
90 (c->error) ? "ERROR" : "Warning", c->name); in check_msg()
119 #define FAIL(c, dti, node, ...) \ argument
121 TRACE((c), "\t\tFAILED at %s:%d", __FILE__, __LINE__); \
122 (c)->status = FAILED; \
[all …]
Dlivetree.c451 struct node *c; in get_property_by_label() local
463 for_each_child(tree, c) { in get_property_by_label()
464 prop = get_property_by_label(c, label, node); in get_property_by_label()
478 struct node *c; in get_marker_label() local
490 for_each_child(tree, c) { in get_marker_label()
491 m = get_marker_label(c, label, node, prop); in get_marker_label()
770 struct node *c; in sort_node() local
774 for_each_child_withdel(node, c) in sort_node()
775 sort_node(c); in sort_node()
812 struct node *c; in any_label_tree() local
[all …]
Dtreesource.c42 static bool isstring(char c) in isstring() argument
44 return (isprint((unsigned char)c) in isstring()
45 || (c == '\0') in isstring()
46 || strchr("\a\b\t\n\v\f\r", c)); in isstring()
60 char c = *s++; in write_propval_string() local
61 switch (c) { in write_propval_string()
93 if (isprint((unsigned char)c)) in write_propval_string()
94 fprintf(f, "%c", c); in write_propval_string()
96 fprintf(f, "\\x%02"PRIx8, c); in write_propval_string()
/scripts/coccinelle/iterators/
Duse_after_iter.cocci22 identifier c,member;
43 list_for_each_entry@p1(c,...,member) { ... when != break;
48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break;
53 list_for_each_entry_continue@p1(c,...,member) { ... when != break;
58 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break;
63 list_for_each_entry_from@p1(c,...,member) { ... when != break;
68 list_for_each_entry_safe@p1(c,...,member) { ... when != break;
73 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break;
78 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break;
83 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break;
[all …]
/scripts/dtc/libfdt/
DMakefile.libfdt10 LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \
11 fdt_addresses.c fdt_overlay.c
12 LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
Dfdt_addresses.c16 const fdt32_t *c; in fdt_cells() local
20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells()
21 if (!c) in fdt_cells()
24 if (len != sizeof(*c)) in fdt_cells()
27 val = fdt32_to_cpu(*c); in fdt_cells()
/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.c11 union { short s; char c[2]; } endian_test; in main() member
49 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main()
51 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
/scripts/gdb/linux/
Dlists.py65 c = head
67 gdb.write("Starting with: {}\n".format(c))
72 p = c['prev'].dereference()
73 n = c['next'].dereference()
75 if p['next'] != c.address:
79 current_addr=c.address,
80 current=c,
88 current_addr=c.address,
89 current=c
93 if n['prev'] != c.address:
[all …]
/scripts/
Dcleanfile25 my($i, $c);
28 $c = substr($li, $i, 1);
29 if ($c eq "\t") {
35 } elsif ($c eq "\n" || $c eq "\r") {
39 $lo .= $c;
41 } elsif ($c eq " ") {
47 $lo .= $c;
60 my($c, $i);
65 $c = substr($li,$i,1);
66 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 …]
Dcleanpatch25 my($i, $c);
28 $c = substr($li, $i, 1);
29 if ($c eq "\t") {
35 } elsif ($c eq "\n" || $c eq "\r") {
39 $lo .= $c;
41 } elsif ($c eq " ") {
47 $lo .= $c;
60 my($c, $i);
65 $c = substr($li,$i,1);
66 if ($c eq "\t") {
[all …]
Dgcc-version.sh17 MAJOR=$(echo __GNUC__ | $compiler -E -x c - | tail -n 1)
18 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1)
19 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -x c - | tail -n 1)
Dclang-version.sh16 MAJOR=$(echo __clang_major__ | $compiler -E -x c - | tail -n 1)
17 MINOR=$(echo __clang_minor__ | $compiler -E -x c - | tail -n 1)
18 PATCHLEVEL=$(echo __clang_patchlevel__ | $compiler -E -x c - | tail -n 1)
Dheaders_install.sh99 for c in $configs
105 if echo "$INFILE:$c" | grep -q "$ignore$"; then
112 echo "warning: $INFILE: leak $c to user-space" >&2
Dgcc-plugin.sh12 plugincc=$($1 -E -x c++ - -o /dev/null -I"${srctree}"/gcc-plugins -I"${gccplugins_dir}"/include 2>&…
46 plugincc=$($2 -c -x c++ -std=gnu++98 - -fsyntax-only -I"${srctree}"/gcc-plugins -I"${gccplugins_dir…
/scripts/coccinelle/misc/
Dorplus.cocci18 constant c,c1;
24 c1 + c - 1
26 c1@i1 +@p c@i
30 constant r.c, r.c1;
36 e | c@i
38 e & c@i
40 e |= c@i
42 e &= c@i
/scripts/atomic/fallbacks/
Ddec_unless_positive5 ${int} c = ${atomic}_read(v);
8 if (unlikely(c > 0))
10 } while (!${atomic}_try_cmpxchg(v, &c, c - 1));
Dinc_unless_negative5 ${int} c = ${atomic}_read(v);
8 if (unlikely(c < 0))
10 } while (!${atomic}_try_cmpxchg(v, &c, c + 1));
Dfetch_add_unless14 ${int} c = ${atomic}_read(v);
17 if (unlikely(c == u))
19 } while (!${atomic}_try_cmpxchg(v, &c, c + a));
21 return c;
Ddec_if_positive5 ${int} dec, c = ${atomic}_read(v);
8 dec = c - 1;
11 } while (!${atomic}_try_cmpxchg(v, &c, dec));
/scripts/coccinelle/api/alloc/
Dpool_zalloc-simple.cocci35 expression a,b,c;
39 - x = dma_pool_alloc(a,b,c);
40 + x = dma_pool_zalloc(a,b,c);
46 expression a,b,c;
50 - x = pci_pool_alloc(a,b,c);
51 + x = pci_pool_zalloc(a,b,c);
61 expression a,b,c;
66 x = @p\(dma_pool_alloc\|pci_pool_alloc\)(a,b,c);
/scripts/basic/
Dfixdep.c132 static void xputchar(int c) in xputchar() argument
136 ret = putchar(c); in xputchar()
148 int c, prev_c = '/', i; in print_dep() local
152 c = m[i]; in print_dep()
153 if (c == '_') in print_dep()
154 c = '/'; in print_dep()
156 c = tolower(c); in print_dep()
157 if (c != '/' || prev_c != '/') in print_dep()
158 xputchar(c); in print_dep()
159 prev_c = c; in print_dep()
/scripts/coccinelle/tests/
Dunsigned_lesser_than_zero.cocci39 expression c, e, v;
50 (\( v@p < 0 \| v@p <= 0 \)) || ... || (\( v >= c \| v > c \))
52 (\( v >= c \| v > c \)) || ... || (\( v@p < 0 \| v@p <= 0 \))
54 (\( v@p >= 0 \| v@p > 0 \)) && ... && (\( v < c \| v <= c \))
56 ((\( v < c \| v <= c \) && ... && \( v@p >= 0 \| v@p > 0 \)))

123