Lines Matching defs:scan
825 that we have to remember, so we must scan it now. */
2266 functions (if any), terminate scan loop and return. */
3796 const char *scan;
3803 scan = *pp + physname_len;
3807 scan = *pp;
3809 scan = strchr (scan, '_');
3810 while (scan != NULL && *++scan != '_');
3812 if (scan == NULL)
3818 --scan;
3821 i = strspn (scan, "_");
3823 scan += i - 2;
3826 if (scan == *pp
3827 && (ISDIGIT (scan[2])
3828 || scan[2] == 'Q'
3829 || scan[2] == 't'))
3832 *pp = scan + 2;
3835 else if (scan == *pp
3836 && ! ISDIGIT (scan[2])
3837 && scan[2] != 't')
3841 while (*scan == '_')
3842 ++scan;
3843 scan = strstr (scan, "__");
3844 if (scan == NULL || scan[2] == '\0')
3850 return stab_demangle_function_name (minfo, pp, scan);
3852 else if (scan[2] != '\0')
3855 return stab_demangle_function_name (minfo, pp, scan);
3865 /* Demangle a function name prefix. The scan argument points to the
3871 const char **pp, const char *scan)
3875 /* The string from *pp to scan is the name of the function. We
3881 *pp = scan + 2;