Lines Matching full:m
56 if ($is_enum && $ln =~ m/^\s*([_\w][\w\d_]+)\s*[\,=]?/) {
64 $is_enum = 0 if ($is_enum && m/\}/);
67 $is_enum = 0 if ($is_enum && m/\}/);
69 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+_IO/) {
78 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+/) {
88 if ($ln =~ m/^\s*typedef\s+([_\w][\w\d_]+)\s+(.*)\s+([_\w][\w\d_]+);/) {
95 if ($ln =~ m/^\s*enum\s+([_\w][\w\d_]+)\s+\{/
96 || $ln =~ m/^\s*enum\s+([_\w][\w\d_]+)$/
97 || $ln =~ m/^\s*typedef\s*enum\s+([_\w][\w\d_]+)\s+\{/
98 || $ln =~ m/^\s*typedef\s*enum\s+([_\w][\w\d_]+)$/) {
106 if ($ln =~ m/^\s*struct\s+([_\w][\w\d_]+)\s+\{/
107 || $ln =~ m/^\s*struct\s+([[_\w][\w\d_]+)$/
108 || $ln =~ m/^\s*typedef\s*struct\s+([_\w][\w\d_]+)\s+\{/
109 || $ln =~ m/^\s*typedef\s*struct\s+([[_\w][\w\d_]+)$/
123 my @matches = ($data =~ m/typedef\s+struct\s+\S+?\s*\{[^\}]+\}\s*(\S+)\s*\;/g,
124 $data =~ m/typedef\s+enum\s+\S+?\s*\{[^\}]+\}\s*(\S+)\s*\;/g,);
125 foreach my $m (@matches) {
126 my $s = $m;
148 next if (m/^\s*$/ || m/^\s*#/);
152 if (m/^ignore\s+ioctl\s+(\S+)/) {
156 if (m/^ignore\s+define\s+(\S+)/) {
160 if (m/^ignore\s+typedef\s+(\S+)/) {
164 if (m/^ignore\s+enum\s+(\S+)/) {
168 if (m/^ignore\s+struct\s+(\S+)/) {
172 if (m/^ignore\s+symbol\s+(\S+)/) {
180 if (m/^replace\s+(\S+)\s+(\S+)\s+(\S+)/) {
188 if ($new =~ m/^\:c\:(data|func|macro|type)\:\`(.+)\`/) {
191 } elsif ($new =~ m/\:ref\:\`(.+)\`/) {