Home | History | Annotate | Download | only in gdb

Lines Matching refs:regexp

551  * Function: selectors_info (regexp, from_tty)
553 * Implements the "Info selectors" command. Takes an optional regexp
554 * arg. Lists all objective c selectors that match the regexp. Works
560 info_selectors_command (const char *regexp, int from_tty)
572 if (regexp == NULL)
576 if (*regexp == '+' || *regexp == '-')
578 plusminus = *regexp++;
579 while (*regexp == ' ' || *regexp == '\t')
580 regexp++;
582 if (*regexp == '\0')
587 if (sizeof (myregexp) < strlen (regexp) + 4)
588 error (_("Regexp is too long: %s"), regexp);
589 strcpy(myregexp, regexp);
597 if (regexp != NULL)
601 error (_("Invalid regexp (%s): %s"), val, regexp);
626 if (regexp == NULL || re_exec(++name) != 0)
641 regexp ? regexp : "*");
660 if (regexp == NULL || re_exec(++name) != 0)
691 regexp ? regexp : "*");
715 * Function: classes_info(regexp, from_tty)
718 * Lists all objective c classes that match the optional regexp.
725 info_classes_command (const char *regexp, int from_tty)
736 if (regexp == NULL)
741 if (sizeof (myregexp) < strlen (regexp) + 4)
742 error (_("Regexp is too long: %s"), regexp);
743 strcpy(myregexp, regexp);
751 if (regexp != NULL)
755 error (_("Invalid regexp (%s): %s"), val, regexp);
768 if (regexp == NULL || re_exec(name+2) != 0)
783 regexp ? regexp : "*");
795 if (regexp == NULL || re_exec(name+2) != 0)
824 gdb_printf (_("No classes matching \"%s\"\n"), regexp ? regexp : "*");
1335 _("All Objective-C selectors, or those matching REGEXP."));
1337 _("All Objective-C classes, or those matching REGEXP."));