< prev index next >

src/hotspot/share/ci/ciSymbol.cpp

Print this page
rev 55090 : secret-sfac


  68 
  69 // ------------------------------------------------------------------
  70 // ciSymbol::base
  71 const u1* ciSymbol::base() {
  72   GUARDED_VM_ENTRY(return get_symbol()->base();)
  73 }
  74 
  75 // ------------------------------------------------------------------
  76 // ciSymbol::char_at
  77 char ciSymbol::char_at(int i) {
  78   GUARDED_VM_ENTRY(return get_symbol()->char_at(i);)
  79 }
  80 
  81 // ------------------------------------------------------------------
  82 // ciSymbol::starts_with
  83 //
  84 // Tests if the symbol starts with the given prefix.
  85 bool ciSymbol::starts_with(const char* prefix, int len) const {
  86   GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
  87 }














  88 
  89 bool ciSymbol::is_signature_polymorphic_name()  const {
  90   GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
  91 }
  92 
  93 // ------------------------------------------------------------------
  94 // ciSymbol::index_of
  95 //
  96 // Determines where the symbol contains the given substring.
  97 int ciSymbol::index_of_at(int i, const char* str, int len) const {
  98   GUARDED_VM_ENTRY(return get_symbol()->index_of_at(i, str, len);)
  99 }
 100 
 101 // ------------------------------------------------------------------
 102 // ciSymbol::utf8_length
 103 int ciSymbol::utf8_length() {
 104   GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)
 105 }
 106 
 107 // ------------------------------------------------------------------




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


< prev index next >