/scripts/coccinelle/misc/ |
D | boolinit.cocci | 2 /// Bool initializations should use true and false. Bool tests don't need 27 bool t; 31 - t == true 32 + t 34 - true == t 35 + t 37 - t != true 38 + !t 40 - true != t 41 + !t [all …]
|
D | uninitialized_var.cocci | 3 /// Please, don't reintroduce uninitialized_var().
|
D | cond_no_effect.cocci | 21 // /* TODO : provide handling for this. We don't really support
|
/scripts/gdb/linux/ |
D | tasks.py | 25 t = g = init_task 29 yield t 31 t = utils.container_of(t['thread_group']['next'], 33 if t == g: 36 t = g = utils.container_of(g['tasks']['next'], 38 if t == init_task:
|
D | modules.py | 83 t = self._module_use_type.get_type().pointer() 86 for use in lists.list_for_each_entry(sources, t, "source_list"):
|
/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 46 t << r1.T; 49 if m.search(t) != None: 69 t << r1.T; 72 if m.search(t) != None: 106 t << r2.T; 109 if m.search(t) != None: 112 coccilib.org.print_safe_todo(p[0], t) 116 t << r2.T; 119 if m.search(t) != None: 122 msg="WARNING: casting value returned by memory allocation function to (%s *) is useless." % (t)
|
/scripts/ |
D | decodecode | 73 t=$1 76 ${CROSS_COMPILE}as $AFLAGS -o $t.o $t.s > /dev/null 2>&1 83 ${CROSS_COMPILE}strip $t.o 91 ${CROSS_COMPILE}strip $t.o 101 ${CROSS_COMPILE}objdump $OBJDUMPFLAGS -S $t.o | \ 102 grep -v "/tmp\|Disassembly\|\.text\|^$" > $t.dis 2>&1
|
D | check-sysctl-docs | 124 curpath && /\.procname[\t ]*=[\t ]*".+"/ { 125 match($0, /.procname[\t ]*=[\t ]*"([^"]+)"/, names) 143 /\.child[\t ]*=/ {
|
D | recordmcount.h | 278 uint_t t = 1 + strlen(mc_name) + _w(shstr->sh_size); in append_func() local 281 shstr->sh_size = _w(t); in append_func() 283 t += sb.st_size; in append_func() 284 t += (_align & -t); /* word-byte align */ in append_func() 285 new_e_shoff = t; in append_func() 298 if (ulseek(t, SEEK_SET) < 0) in append_func() 300 t += sizeof(Elf_Shdr) * old_shnum; in append_func() 306 t += 2*sizeof(mcsec); in append_func() 312 mcsec.sh_offset = _w(t); in append_func() 327 mcsec.sh_offset = _w((void *)mlocp - (void *)mloc0 + t); in append_func() [all …]
|
D | bpf_helpers_doc.py | 519 def map_type(self, t): argument 520 if t in self.known_types: 521 return t 522 if t in self.mapped_types: 523 return self.mapped_types[t] 524 print("Unrecognized type '%s', please add it to known types!" % t, 557 t = a['type'] 560 t = 'void' 562 one_arg = '{}{}'.format(comma, self.map_type(t))
|
D | dev-needs.sh | 40 --exclude-devlinks Don't follow device links when tracking probe 60 printf '%05u\t%s\n' ${i} "$D" | tr -d \' 125 # They can also have cycles. So, don't follow them.
|
D | asn1_compiler.c | 749 unsigned nr, t, n; in build_type_list() local 774 t = 0; in build_type_list() 775 types[t].flags |= TYPE_BEGIN; in build_type_list() 779 types[t].name = &token_list[n]; in build_type_list() 780 type_index[t] = &types[t]; in build_type_list() 781 t++; in build_type_list() 784 types[t].name = &token_list[n + 1]; in build_type_list() 785 types[t].flags |= TYPE_STOP_MARKER; in build_type_list() 1213 const struct type *t = e->type_def; in dump_element() local 1215 const char *tname = t && t->name ? t->name->content : "."; in dump_element()
|
D | unifdef.c | 1190 strlcmp(const char *s, const char *t, size_t n) in strlcmp() argument 1192 while (n-- && *t != '\0') in strlcmp() 1193 if (*s != *t) in strlcmp() 1194 return ((unsigned char)*s - (unsigned char)*t); in strlcmp() 1196 ++s, ++t; in strlcmp()
|
D | spelling.txt | 155 arne't||aren't 472 didnt||didn't 511 doesnt||doesn't 823 isnt||isn't 1275 shouldnt||shouldn't
|
/scripts/gcc-plugins/ |
D | gcc-common.h | 417 static inline bool tree_fits_shwi_p(const_tree t) in tree_fits_shwi_p() argument 419 if (t == NULL_TREE || TREE_CODE(t) != INTEGER_CST) in tree_fits_shwi_p() 422 if (TREE_INT_CST_HIGH(t) == 0 && (HOST_WIDE_INT)TREE_INT_CST_LOW(t) >= 0) in tree_fits_shwi_p() 425 …if (TREE_INT_CST_HIGH(t) == -1 && (HOST_WIDE_INT)TREE_INT_CST_LOW(t) < 0 && !TYPE_UNSIGNED(TREE_TY… in tree_fits_shwi_p() 431 static inline bool tree_fits_uhwi_p(const_tree t) in tree_fits_uhwi_p() argument 433 if (t == NULL_TREE || TREE_CODE(t) != INTEGER_CST) in tree_fits_uhwi_p() 436 return TREE_INT_CST_HIGH(t) == 0; in tree_fits_uhwi_p() 439 static inline HOST_WIDE_INT tree_to_shwi(const_tree t) in tree_to_shwi() argument 441 gcc_assert(tree_fits_shwi_p(t)); in tree_to_shwi() 442 return TREE_INT_CST_LOW(t); in tree_to_shwi() [all …]
|
D | Kconfig | 78 source tree isn't cleaned after kernel installation).
|
/scripts/kconfig/ |
D | lexer.l | 92 [ \t]* /* whitespaces */ 205 if (yytext[i] == '\t') 233 if ((yytext[yyleng-1] != ' ') && (yytext[yyleng-1] != '\t')) 393 fprintf(stderr, "can't find file %s\n", name);
|
/scripts/dtc/ |
D | fdtdump.c | 59 const char *p, *s, *t; in dump_blob() local 136 t = p; in dump_blob() 141 print_data(t, sz); in dump_blob()
|
D | dtc.h | 124 #define for_each_marker_of_type(m, t) \ argument 126 if ((m)->type == (t))
|
D | dtc-lexer.l | 80 /* Don't allow nuls in filenames */
|
/scripts/genksyms/ |
D | lex.l | 55 ^#[ \t]+{INT}[ \t]+\"[^\"\n]+\".*\n return FILENAME; 60 [ \t\f\v\r]+ ;
|
D | genksyms.c | 139 static enum symbol_type map_to_ns(enum symbol_type t) in map_to_ns() argument 141 switch (t) { in map_to_ns() 151 return t; in map_to_ns()
|
/scripts/coccinelle/api/ |
D | check_bq27xxx_data.cocci | 4 //# Doesn't unfold macros used in register or property fields. 23 type t; 28 t i[] = {
|
/scripts/coccinelle/null/ |
D | eno.cocci | 2 /// The various basic memory allocation functions don't return ERR_PTR
|
/scripts/coccinelle/iterators/ |
D | device_node_continue.cocci | 70 @t depends on s && patch && !context && !org && !report@
|