62
63 // ------------------------------------------------------------------
64 // ciSymbol::base
65 const u1* ciSymbol::base() {
66 GUARDED_VM_ENTRY(return get_symbol()->base();)
67 }
68
69 // ------------------------------------------------------------------
70 // ciSymbol::char_at
71 char ciSymbol::char_at(int i) {
72 GUARDED_VM_ENTRY(return get_symbol()->char_at(i);)
73 }
74
75 // ------------------------------------------------------------------
76 // ciSymbol::starts_with
77 //
78 // Tests if the symbol starts with the given prefix.
79 bool ciSymbol::starts_with(const char* prefix, int len) const {
80 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
81 }
82
83 bool ciSymbol::is_signature_polymorphic_name() const {
84 GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
85 }
86
87 // ------------------------------------------------------------------
88 // ciSymbol::index_of
89 //
90 // Determines where the symbol contains the given substring.
91 int ciSymbol::index_of_at(int i, const char* str, int len) const {
92 GUARDED_VM_ENTRY(return get_symbol()->index_of_at(i, str, len);)
93 }
94
95 // ------------------------------------------------------------------
96 // ciSymbol::utf8_length
97 int ciSymbol::utf8_length() {
98 GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)
99 }
100
101 // ------------------------------------------------------------------
|
62
63 // ------------------------------------------------------------------
64 // ciSymbol::base
65 const u1* ciSymbol::base() {
66 GUARDED_VM_ENTRY(return get_symbol()->base();)
67 }
68
69 // ------------------------------------------------------------------
70 // ciSymbol::char_at
71 char ciSymbol::char_at(int i) {
72 GUARDED_VM_ENTRY(return get_symbol()->char_at(i);)
73 }
74
75 // ------------------------------------------------------------------
76 // ciSymbol::starts_with
77 //
78 // Tests if the symbol starts with the given prefix.
79 bool ciSymbol::starts_with(const char* prefix, int len) const {
80 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
81 }
82 bool ciSymbol::starts_with(char prefix_char) const {
83 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix_char);)
84 }
85
86 // ------------------------------------------------------------------
87 // ciSymbol::ends_with
88 //
89 // Tests if the symbol ends with the given suffix.
90 bool ciSymbol::ends_with(const char* suffix, int len) const {
91 GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix, len);)
92 }
93 bool ciSymbol::ends_with(char suffix_char) const {
94 GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix_char);)
95 }
96
97 bool ciSymbol::is_signature_polymorphic_name() const {
98 GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
99 }
100
101 // ------------------------------------------------------------------
102 // ciSymbol::index_of
103 //
104 // Determines where the symbol contains the given substring.
105 int ciSymbol::index_of_at(int i, const char* str, int len) const {
106 GUARDED_VM_ENTRY(return get_symbol()->index_of_at(i, str, len);)
107 }
108
109 // ------------------------------------------------------------------
110 // ciSymbol::utf8_length
111 int ciSymbol::utf8_length() {
112 GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)
113 }
114
115 // ------------------------------------------------------------------
|