Lines Matching refs:string
20 #include <string>
29 // "[[I" would be "int[][]", "[Ljava/lang/String;" would be
30 // "java.lang.String[]", and so forth.
31 void AppendPrettyDescriptor(const char* descriptor, std::string* result);
32 std::string PrettyDescriptor(const char* descriptor);
33 std::string PrettyDescriptor(Primitive::Type type);
37 std::string MangleForJni(const std::string& s);
39 std::string GetJniShortName(const std::string& class_name, const std::string& method_name);
41 // Turn "java.lang.String" into "Ljava/lang/String;".
42 std::string DotToDescriptor(const char* class_name);
44 // Turn "Ljava/lang/String;" into "java.lang.String" using the conventions of
46 std::string DescriptorToDot(const char* descriptor);
48 // Turn "Ljava/lang/String;" into "java/lang/String" using the opposite conventions of
50 std::string DescriptorToName(const char* descriptor);
53 bool IsValidBinaryClassName(const char* s); // "java.lang.String"
54 bool IsValidJniClassName(const char* s); // "java/lang/String"
55 bool IsValidDescriptor(const char* s); // "Ljava/lang/String;"
57 // Returns whether the given string is a valid field or method name,