Home | History | Annotate | Download | only in ModifyInf

Lines Matching defs:Pattern

137   char        *Pattern;

143 Pattern = PatternBuffer;
164 // Apply each pattern on the line
168 strcpy (Pattern, argv[PatternNum]);
171 // For pattern '-'
174 if (*Pattern == '-') {
175 if (strstr (Line, Pattern + 1)) {
185 if (*Pattern == '[') {
186 if (strncmp (Section, Pattern, strlen (Section))) {
188 // This pattern can't be appied for current section
195 while (*Pattern != ']') {
196 if (!(*Pattern++)) {
201 Pattern++;
206 Pattern1 = strstr (Pattern, "==");
207 Pattern2 = strstr (Pattern, "+=");
210 // For pattern '=='
213 if (!strncmp (Line, Pattern, Pattern1 - Pattern)) {
228 // For pattern '+='
231 if (!strncmp (Line, Pattern, Pattern2 - Pattern)) {
278 " "UTILITY_NAME" SOURCE DEST [PATTERN]",