Home | History | Annotate | Download | only in runtime

Lines Matching refs:Descriptor

225 std::string PrettyDescriptor(const char* descriptor) {
227 const char* c = descriptor;
252 default: return descriptor;
569 std::string descriptor(class_name);
570 std::replace(descriptor.begin(), descriptor.end(), '.', '/');
571 if (descriptor.length() > 0 && descriptor[0] != '[') {
572 descriptor = "L" + descriptor + ";";
574 return descriptor;
577 std::string DescriptorToDot(const char* descriptor) {
578 size_t length = strlen(descriptor);
580 if (descriptor[0] == 'L' && descriptor[length - 1] == ';') {
582 std::string result(descriptor + 1, length - 2);
587 std::string result(descriptor);
593 return descriptor;
596 std::string DescriptorToName(const char* descriptor) {
597 size_t length = strlen(descriptor);
598 if (descriptor[0] == 'L' && descriptor[length - 1] == ';') {
599 std::string result(descriptor + 1, length - 2);
602 return descriptor;
781 * format looks the same as a type descriptor in that case, so
789 * We are looking for a descriptor. Either validate it as a
811 // Oddball descriptor character.
818 * of a type descriptor, or we are looking for an unadorned class
828 * Premature end for a type descriptor, but valid for
837 * legitimate end of a type descriptor. In the latter
1471 return PrettyDescriptor(Primitive::Descriptor(type));