Lines Matching refs:scan

2639                            string *declp, const char *scan)  in iterate_demangle_function()  argument
2646 if (*(scan + 2) == '\0') in iterate_demangle_function()
2652 || strstr (scan + 2, "__") == NULL) in iterate_demangle_function()
2653 return demangle_function_name (work, mangled, declp, scan); in iterate_demangle_function()
2668 while (scan[2]) in iterate_demangle_function()
2670 if (demangle_function_name (work, mangled, declp, scan)) in iterate_demangle_function()
2684 scan += 2; in iterate_demangle_function()
2687 while (*scan && (scan[0] != '_' || scan[1] != '_')) in iterate_demangle_function()
2688 scan++; in iterate_demangle_function()
2691 while (*scan && *scan == '_') in iterate_demangle_function()
2692 scan++; in iterate_demangle_function()
2693 scan -= 2; in iterate_demangle_function()
2741 const char *scan; in demangle_prefix() local
2795 scan = *mangled; in demangle_prefix()
2798 scan = strchr (scan, '_'); in demangle_prefix()
2799 } while (scan != NULL && *++scan != '_'); in demangle_prefix()
2801 if (scan != NULL) --scan; in demangle_prefix()
2804 if (scan != NULL) in demangle_prefix()
2808 i = strspn (scan, "_"); in demangle_prefix()
2811 scan += (i - 2); in demangle_prefix()
2815 if (scan == NULL) in demangle_prefix()
2821 if (!ISDIGIT ((unsigned char)scan[0]) && (scan[0] != 't')) in demangle_prefix()
2826 else if ((scan == *mangled) in demangle_prefix()
2827 && (ISDIGIT ((unsigned char)scan[2]) || (scan[2] == 'Q') in demangle_prefix()
2828 || (scan[2] == 't') || (scan[2] == 'K') || (scan[2] == 'H'))) in demangle_prefix()
2834 && ISDIGIT ((unsigned char)scan[2])) in demangle_prefix()
2836 *mangled = scan + 2; in demangle_prefix()
2850 *mangled = scan + 2; in demangle_prefix()
2853 else if (ARM_DEMANGLING && scan[2] == 'p' && scan[3] == 't') in demangle_prefix()
2861 else if (EDG_DEMANGLING && ((scan[2] == 't' && scan[3] == 'm') in demangle_prefix()
2862 || (scan[2] == 'p' && scan[3] == 's') in demangle_prefix()
2863 || (scan[2] == 'p' && scan[3] == 't'))) in demangle_prefix()
2871 else if ((scan == *mangled) && !ISDIGIT ((unsigned char)scan[2]) in demangle_prefix()
2872 && (scan[2] != 't')) in demangle_prefix()
2880 while (*scan == '_') in demangle_prefix()
2882 scan++; in demangle_prefix()
2884 if ((scan = strstr (scan, "__")) == NULL || (*(scan + 2) == '\0')) in demangle_prefix()
2891 return iterate_demangle_function (work, mangled, declp, scan); in demangle_prefix()
2894 else if (*(scan + 2) != '\0') in demangle_prefix()
2900 return iterate_demangle_function (work, mangled, declp, scan); in demangle_prefix()
3200 const char *scan; in arm_special() local
3208 scan = *mangled + ARM_VTABLE_STRLEN; in arm_special()
3209 while (*scan != '\0') /* first check it can be demangled */ in arm_special()
3211 n = consume_count (&scan); in arm_special()
3216 scan += n; in arm_special()
3217 if (scan[0] == '_' && scan[1] == '_') in arm_special()
3219 scan += 2; in arm_special()
4587 string *declp, const char *scan) in demangle_function_name() argument
4593 string_appendn (declp, (*mangled), scan - (*mangled)); in demangle_function_name()
4601 (*mangled) = scan + 2; in demangle_function_name()