symbol.cpp revision 3932
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus * This code is free software; you can redistribute it and/or modify it
* or visit www.oracle.com if you need additional information or have any
#include "precompiled.hpp"
#include "oops/oop.inline.hpp"
#include "oops/symbol.hpp"
#include "memory/allocation.inline.hpp"
for (int i = 0; i < _length; i++) {
return res;
return res;
int l = utf8_length();
if (l != len) return false;
while (len-- > 0) {
if (len <= 0) return 0;
if (size > 0) {
for (int i = 0; i < len; i++) {
return buf;
char* str;
if (length > 0) {
return result;
if (size > 0) {
return str;
return buf;
return str;
if (this == NULL) {
if (this == NULL) {
for (int i = 0; i < utf8_length(); i++) {