search for: internal_size

Displaying 1 result from an estimated 1 matches for "internal_size".

2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
.../*_LIBCXXABI_FUNC_VIS*/ char * __cxa_demangle(const char *mangled_name, char *buf, size_t *n, int *status) { if (mangled_name == nullptr || (buf != nullptr && n == nullptr)) { if (status) *status = invalid_args; return nullptr; } size_t internal_size = buf != nullptr ? *n : 0; arena<bs> a; Db db(a); db.template_param.emplace_back(a); int internal_status = success; size_t len = std::strlen(mangled_name); demangle(mangled_name, mangled_name + len, db, internal_status); if (internal_status ==...