/scripts/coccinelle/tests/ |
D | unsigned_lesser_than_zero.cocci | 27 size_t, bool, u8, u16, u32, u64} v; 31 \( v = e \| &v \) 33 (\( v@p < 0 \| v@p <= 0 \| v@p >= 0 \| v@p > 0 \)) 39 expression c, e, v; 44 v = f(...)@vs; 45 ... when != v = e; 46 * (\( v@p <=@e 0 \| v@p >@e 0 \)) 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 \)) [all …]
|
/scripts/atomic/ |
D | atomics.tbl | 7 # * v - void: returns void 16 # * v - pointer to atomic base type (atomic_t/atomic64_t/atomic_long_t) 21 set s v i 22 add vRF i v 23 sub vRF i v 24 inc vRF v 25 dec vRF v 26 and vF i v 27 andnot vF i v 28 or vF i v [all …]
|
/scripts/kconfig/ |
D | preprocess.c | 241 struct variable *v; in variable_lookup() local 243 list_for_each_entry(v, &variable_list, node) { in variable_lookup() 244 if (!strcmp(name, v->name)) in variable_lookup() 245 return v; in variable_lookup() 253 struct variable *v; in variable_expand() local 256 v = variable_lookup(name); in variable_expand() 257 if (!v) in variable_expand() 260 if (argc == 0 && v->exp_count) in variable_expand() 264 if (v->exp_count > 1000) in variable_expand() 267 v->exp_count++; in variable_expand() [all …]
|
D | qconf.h | 119 ConfigItem(ConfigList *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument 120 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem() 124 ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument 125 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem() 129 ConfigItem(ConfigList *parent, ConfigItem *after, bool v) in ConfigItem() argument 130 : Parent(parent, after), nextItem(0), menu(0), visible(v), goParent(true) in ConfigItem() 137 void testUpdateMenu(bool v);
|
D | qconf.cc | 181 void ConfigItem::testUpdateMenu(bool v) in testUpdateMenu() argument 185 visible = v; in testUpdateMenu() 1874 ConfigMainWindow* v; in main() local 1902 v = new ConfigMainWindow(); in main() 1906 configApp->connect(configApp, SIGNAL(aboutToQuit()), v, SLOT(saveSettings())); in main() 1907 v->show(); in main() 1912 delete v; in main()
|
/scripts/atomic/fallbacks/ |
D | fetch_add_unless | 4 * @v: pointer of type ${atomic}_t 5 * @a: the amount to add to v... 6 * @u: ...unless v is equal to u. 8 * Atomically adds @a to @v, so long as @v was not already @u. 9 * Returns original value of @v 12 arch_${atomic}_fetch_add_unless(${atomic}_t *v, ${int} a, ${int} u) 14 ${int} c = arch_${atomic}_read(v); 19 } while (!arch_${atomic}_try_cmpxchg(v, &c, c + a));
|
D | add_unless | 4 * @v: pointer of type ${atomic}_t 5 * @a: the amount to add to v... 6 * @u: ...unless v is equal to u. 8 * Atomically adds @a to @v, if @v was not already @u. 12 arch_${atomic}_add_unless(${atomic}_t *v, ${int} a, ${int} u) 14 return arch_${atomic}_fetch_add_unless(v, a, u) != u;
|
D | inc_not_zero | 4 * @v: pointer of type ${atomic}_t 6 * Atomically increments @v by 1, if @v is non-zero. 10 arch_${atomic}_inc_not_zero(${atomic}_t *v) 12 return arch_${atomic}_add_unless(v, 1, 0);
|
D | inc_and_test | 4 * @v: pointer of type ${atomic}_t 6 * Atomically increments @v by 1 11 arch_${atomic}_inc_and_test(${atomic}_t *v) 13 return arch_${atomic}_inc_return(v) == 0;
|
D | dec_and_test | 4 * @v: pointer of type ${atomic}_t 6 * Atomically decrements @v by 1 and 11 arch_${atomic}_dec_and_test(${atomic}_t *v) 13 return arch_${atomic}_dec_return(v) == 0;
|
D | add_negative | 5 * @v: pointer of type ${atomic}_t 7 * Atomically adds @i to @v and returns true 12 arch_${atomic}_add_negative(${int} i, ${atomic}_t *v) 14 return arch_${atomic}_add_return(i, v) < 0;
|
D | sub_and_test | 5 * @v: pointer of type ${atomic}_t 7 * Atomically subtracts @i from @v and returns 12 arch_${atomic}_sub_and_test(${int} i, ${atomic}_t *v) 14 return arch_${atomic}_sub_return(i, v) == 0;
|
D | set_release | 3 arch_${atomic}_set_release(${atomic}_t *v, ${int} i) 6 smp_store_release(&(v)->counter, i); 9 arch_${atomic}_set(v, i);
|
D | read_acquire | 3 arch_${atomic}_read_acquire(const ${atomic}_t *v) 8 ret = smp_load_acquire(&(v)->counter); 10 ret = arch_${atomic}_read(v);
|
D | inc_unless_negative | 3 arch_${atomic}_inc_unless_negative(${atomic}_t *v) 5 ${int} c = arch_${atomic}_read(v); 10 } while (!arch_${atomic}_try_cmpxchg(v, &c, c + 1));
|
D | dec_unless_positive | 3 arch_${atomic}_dec_unless_positive(${atomic}_t *v) 5 ${int} c = arch_${atomic}_read(v); 10 } while (!arch_${atomic}_try_cmpxchg(v, &c, c - 1));
|
D | dec_if_positive | 3 arch_${atomic}_dec_if_positive(${atomic}_t *v) 5 ${int} dec, c = arch_${atomic}_read(v); 11 } while (!arch_${atomic}_try_cmpxchg(v, &c, dec));
|
D | dec | 3 arch_${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v) 5 ${retstmt}arch_${atomic}_${pfx}sub${sfx}${order}(1, v);
|
D | inc | 3 arch_${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v) 5 ${retstmt}arch_${atomic}_${pfx}add${sfx}${order}(1, v);
|
D | andnot | 3 arch_${atomic}_${pfx}andnot${sfx}${order}(${int} i, ${atomic}_t *v) 5 ${retstmt}arch_${atomic}_${pfx}and${sfx}${order}(~i, v);
|
D | try_cmpxchg | 3 arch_${atomic}_try_cmpxchg${order}(${atomic}_t *v, ${int} *old, ${int} new) 6 r = arch_${atomic}_cmpxchg${order}(v, o, new);
|
/scripts/ |
D | Kconfig.include | 32 ld-option = $(success,$(LD) -v $(1)) 39 $(error-if,$(failure,command -v $(CC)),compiler '$(CC)' not found) 40 $(error-if,$(failure,command -v $(LD)),linker '$(LD)' not found)
|
D | sign-file.c | 125 static int pem_pw_cb(char *buf, int len, int w, void *v) in pem_pw_cb() argument
|
D | unifdef.c | 746 static Linetype op_strict(int *p, int v, Linetype at, Linetype bt) { in op_strict() argument 748 return (*p = v, v ? LT_TRUE : LT_FALSE); in op_strict()
|
/scripts/genksyms/ |
D | lex.l | 60 [ \t\f\v\r]+ ;
|