Searched refs:cur (Results 1 – 2 of 2) sorted by relevance
/scripts/genksyms/ |
D | genksyms.c | 459 struct string_list *cur; in expand_and_crc_sym() local 462 cur = *(b++); in expand_and_crc_sym() 463 switch (cur->tag) { in expand_and_crc_sym() 466 fprintf(debugfile, "%s ", cur->string); in expand_and_crc_sym() 467 crc = partial_crc32(cur->string, crc); in expand_and_crc_sym() 472 subsym = find_symbol(cur->string, cur->tag); in expand_and_crc_sym() 476 fprintf(debugfile, "%s ", cur->string); in expand_and_crc_sym() 477 crc = partial_crc32(cur->string, crc); in expand_and_crc_sym() 489 subsym = find_symbol(cur->string, cur->tag); in expand_and_crc_sym() 494 symbol_type_name[cur->tag], in expand_and_crc_sym() [all …]
|
/scripts/ |
D | checkpatch.pl | 766 my $cur = $stream; 770 while (length($cur)) { 774 if ($cur =~ /^(\s+)/o) { 781 } elsif ($cur =~ /^($Type)\s*(?:$Ident|,|\)|\()/) { 785 } elsif ($cur =~ /^($Modifier)\s*/) { 789 } elsif ($cur =~ /^(\#\s*define\s*$Ident)(\(?)/o) { 798 } elsif ($cur =~ /^(\#\s*(?:undef\s*$Ident|include\b))/o) { 803 } elsif ($cur =~ /^(\#\s*(?:ifdef|ifndef|if))/o) { 811 } elsif ($cur =~ /^(\#\s*(?:else|elif))/o) { 819 } elsif ($cur =~ /^(\#\s*(?:endif))/o) { [all …]
|