Lines Matching defs:mangled
39 This code first pulls the mangled name apart into a list of
44 char *cplus_demangle_v3(const char *mangled, int options)
45 char *java_demangle_v3(const char *mangled)
46 int cplus_demangle_v3_callback(const char *mangled, int options,
48 int java_demangle_v3_callback(const char *mangled,
75 char *__cxa_demangle (const char *mangled, char *buf, size_t *len,
95 stdout about the mangled string. This is not generally useful.
269 in which they appeared in the mangled string. */
996 /* <mangled-name> ::= _Z <encoding>
1407 /* A Java mangled name may have a trailing '$' if it is a C++
2664 ::= L <mangled-name> E
3234 /* DC is a component of a mangled expression. Print it, wrapped in parens
4362 cplus_demangle_init_info (const char *mangled, int options, size_t len,
4365 di->s = mangled;
4366 di->send = mangled + len;
4369 di->n = mangled;
4372 the mangled string. Most components correspond directly to
4378 chars in the mangled string. */
4388 /* Internal implementation for the demangler. If MANGLED is a g++ v3 ABI
4389 mangled name, return strings in repeated callback giving the demangled
4394 d_demangle_callback (const char *mangled, int options,
4402 if (mangled[0] == '_' && mangled[1] == 'Z')
4404 else if (strncmp (mangled, "_GLOBAL_", 8) == 0
4405 && (mangled[8] == '.' || mangled[8] == '_' || mangled[8] == '$')
4406 && (mangledmangled[9] == 'I')
4407 && mangled[10] == '_')
4411 intro = (mangled[9] == 'I')
4416 callback (mangled + 11, strlen (mangled + 11), opaque);
4426 cplus_demangle_init_info (mangled, options, strlen (mangled), &di);
4446 mangled string, then we didn't successfully demangle it. If
4464 /* Entry point for the demangler. If MANGLED is a g++ v3 ABI mangled
4472 d_demangle (const char *mangled, int options, size_t *palc)
4479 status = d_demangle_callback (mangled, options,
4627 /* Entry point for libiberty demangler. If MANGLED is a g++ v3 ABI
4628 mangled name, return a buffer allocated with malloc holding the
4632 cplus_demangle_v3 (const char *mangled, int options)
4636 return d_demangle (mangled, options, &alc);
4640 cplus_demangle_v3_callback (const char *mangled, int options,
4643 return d_demangle_callback (mangled, options, callback, opaque);
4653 java_demangle_v3 (const char *mangled)
4657 return d_demangle (mangled, DMGL_JAVA | DMGL_PARAMS | DMGL_RET_POSTFIX, &alc);
4661 java_demangle_v3_callback (const char *mangled,
4664 return d_demangle_callback (mangled,
4678 is_ctor_or_dtor (const char *mangled,
4689 cplus_demangle_init_info (mangled, DMGL_GNU_V3, strlen (mangled), &di);
4744 /* Return whether NAME is the mangled form of a g++ V3 ABI constructor
4759 /* Return whether NAME is the mangled form of a g++ V3 ABI destructor
4788 /* Non-zero if CHAR is a character than can occur in a mangled name. */
4822 filter stdin to stdout, replacing any recognized mangled C++ names
4863 dyn_string_t mangled = dyn_string_new (3);
4871 /* Pile characters into mangled until we hit one that can't
4872 occur in a mangled name. */
4876 dyn_string_append_char (mangled, c);
4882 if (dyn_string_length (mangled) > 0)
4885 s = __cxa_demangle (dyn_string_buf (mangled), NULL, NULL, NULL);
4887 s = cplus_demangle_v3 (dyn_string_buf (mangled), options);
4897 /* It might not have been a mangled name. Print the
4899 fputs (dyn_string_buf (mangled), stdout);
4902 dyn_string_clear (mangled);
4906 can't occur in a mangled name, so print it out. */
4911 dyn_string_delete (mangled);