src/share/vm/utilities/utf8.hpp

changeset 2497
3582bf76420e
parent 2314
f95d63e2154a
child 2708
1d1603768966
equal deleted inserted replaced
2496:27e4ea99855d 2497:3582bf76420e
49 // the surrogate pair when seeing a supplementary character in string, 49 // the surrogate pair when seeing a supplementary character in string,
50 // stores the result in value, and returns the end of the current uft8 chararacter. 50 // stores the result in value, and returns the end of the current uft8 chararacter.
51 static char* next_character(const char* str, jint* value); 51 static char* next_character(const char* str, jint* value);
52 52
53 // Utility methods 53 // Utility methods
54 static jbyte* strrchr(jbyte* base, int length, jbyte c); 54 static const jbyte* strrchr(const jbyte* base, int length, jbyte c);
55 static bool equal(jbyte* base1, int length1, jbyte* base2, int length2); 55 static bool equal(const jbyte* base1, int length1, const jbyte* base2,int length2);
56 static bool is_supplementary_character(const unsigned char* str); 56 static bool is_supplementary_character(const unsigned char* str);
57 static jint get_supplementary_character(const unsigned char* str); 57 static jint get_supplementary_character(const unsigned char* str);
58 }; 58 };
59 59
60 60

mercurial