Searched refs:Symbol (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/6996626/pack1/
H A DSymbol.java26 public class Symbol { class
/openjdk7/hotspot/src/share/vm/runtime/
H A DfieldType.hpp37 // reference count if a Symbol is created in the case of T_OBJECT
41 Symbol* _object_key;
44 Symbol* object_key() { return _object_key; }
54 static void skip_optional_size(Symbol* signature, int* index);
55 static bool is_valid_array_signature(Symbol* signature);
59 static BasicType basic_type(Symbol* signature);
62 static bool is_array(Symbol* signature) { return signature->utf8_length() > 1 && signature->byte_at(0) == '[' && is_valid_array_signature(signature); }
64 static bool is_obj(Symbol* signature) {
73 static BasicType get_array_info(Symbol* signature, FieldArrayInfo& ai, TRAPS);
H A DjavaCalls.hpp201 static void call_special(JavaValue* result, KlassHandle klass, Symbol* name, Symbol* signature, JavaCallArguments* args, TRAPS);
203 static void call_special(JavaValue* result, Handle receiver, KlassHandle klass, Symbol* name, Symbol* signature, TRAPS); // No args
204 static void call_special(JavaValue* result, Handle receiver, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg1, TRAPS);
205 static void call_special(JavaValue* result, Handle receiver, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg1, Handle arg2, TRAPS);
211 static void call_virtual(JavaValue* result, KlassHandle spec_klass, Symbol* name, Symbol* signatur
[all...]
/openjdk7/hotspot/src/share/vm/interpreter/
H A DlinkResolver.hpp48 Symbol* _name;
55 void set(KlassHandle klass, Symbol* name, int field_index, int field_offset,
58 Symbol* name() const { return _name; }
114 static void lookup_method_in_klasses (methodHandle& result, KlassHandle klass, Symbol* name, Symbol* signature, TRAPS);
115 static void lookup_instance_method_in_klasses (methodHandle& result, KlassHandle klass, Symbol* name, Symbol* signature, TRAPS);
116 static void lookup_method_in_interfaces (methodHandle& result, KlassHandle klass, Symbol* name, Symbol* signature, TRAPS);
117 static void lookup_polymorphic_method (methodHandle& result, KlassHandle klass, Symbol* nam
[all...]
/openjdk7/jaxp/src/com/sun/java_cup/internal/runtime/
H A DSymbol.java29 * Defines the Symbol class, which is used to represent all terminals
31 * and CUP returns a Symbol.
37 Class Symbol
47 public class Symbol { class
53 public Symbol(int id, int l, int r, Object o) { method in class:Symbol
64 public Symbol(int id, Object o) { method in class:Symbol
75 public Symbol(int sym_num, int l, int r) { method in class:Symbol
86 public Symbol(int sym_num) { method in class:Symbol
96 public Symbol(int sym_num, int state) method in class:Symbol
H A DScanner.java44 public Symbol next_token() throws java.lang.Exception;
H A Dlr_parser.java43 * on top of the parse stack (stored as part of a Symbol object representing
45 * (using the current state and the current lookahead Symbol as indexes) to
47 * changes to a new state by pushing a new Symbol (containing a new state)
51 * table is consulted (using the new state and current lookahead Symbol as
53 * this goto state by pushing the left hand side Symbol of the production
86 * <dd> Indicates the index of the EOF Symbol.
88 * <dd> Indicates the index of the error Symbol.
89 * <dt> Symbol do_action()
92 * fills in the left hand side non terminal Symbol object that is to be
104 * <dt> Symbol sca
[all...]
/openjdk7/langtools/test/tools/javac/6996626/
H A DMain.java27 * @compile pack1/Symbol.java
32 import pack1.Symbol.*;
/openjdk7/hotspot/src/share/vm/classfile/
H A DsymbolTable.hpp32 // The symbol table holds all Symbol*s and corresponding interned strings.
33 // Symbol*s and literal strings should be canonicalized.
46 // Class to hold a newly created or referenced Symbol* temporarily in scope.
47 // new_symbol() and lookup() will create a Symbol* if not already in the
51 Symbol* _temp;
56 TempNewSymbol(Symbol *s) : _temp(s) {}
71 Symbol* operator -> () const { return _temp; }
72 bool operator == (Symbol* o) const { return _temp == o; }
74 operator Symbol*() { return _temp; }
77 class SymbolTable : public Hashtable<Symbol*, mtSymbo
[all...]
H A Dplaceholders.hpp37 class PlaceholderTable : public TwoOopHashtable<Symbol*, mtClass> {
43 PlaceholderEntry* new_entry(int hash, Symbol* name, oop loader, bool havesupername, Symbol* supername);
47 return (PlaceholderEntry*)Hashtable<Symbol*, mtClass>::bucket(i);
51 return (PlaceholderEntry**)Hashtable<Symbol*, mtClass>::bucket_addr(i);
55 Hashtable<Symbol*, mtClass>::add_entry(index, (HashtableEntry<Symbol*, mtClass>*)new_entry);
58 void add_entry(int index, unsigned int hash, Symbol* name,
59 Handle loader, bool havesupername, Symbol* supername);
61 // This returns a Symbol* t
[all...]
H A DresolutionErrors.hpp41 ResolutionErrorEntry* new_entry(int hash, constantPoolOop pool, int cp_index, Symbol* error);
58 constantPoolHandle pool, int which, Symbol* error);
81 Symbol* _error;
90 Symbol* error() const { return _error; }
91 void set_error(Symbol* e);
H A DloaderConstraints.hpp43 LoaderConstraintEntry** find_loader_constraint(Symbol* name,
50 LoaderConstraintEntry* new_entry(unsigned int hash, Symbol* name,
67 bool add_entry(Symbol* name, klassOop klass1, Handle loader1,
71 // SystemDictionary::check_signature_loaders(Symbol* signature,
75 klassOop find_constrained_klass(Symbol* name, Handle loader);
86 Symbol* name);
100 Symbol* _name; // class name
122 Symbol* name() { return _name; }
123 void set_name(Symbol* name) {
H A DsystemDictionary.hpp40 // [class name,class loader] -> class i.e. [Symbol*,oop] -> klassOop
225 static klassOop resolve_or_fail(Symbol* class_name, Handle class_loader, Handle protection_domain, bool throw_error, TRAPS);
227 static klassOop resolve_or_fail(Symbol* class_name, bool throw_error, TRAPS);
230 static klassOop handle_resolution_exception(Symbol* class_name, Handle class_loader, Handle protection_domain, bool throw_error, KlassHandle klass_h, TRAPS);
236 static klassOop resolve_or_null(Symbol* class_name, Handle class_loader, Handle protection_domain, TRAPS);
238 static klassOop resolve_or_null(Symbol* class_name, TRAPS);
243 static klassOop resolve_super_or_fail(Symbol* child_name,
244 Symbol* class_name,
252 static klassOop parse_stream(Symbol* class_name,
260 static klassOop parse_stream(Symbol* class_nam
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DFilteredMemberList.java32 import com.sun.tools.javac.code.Symbol;
46 public class FilteredMemberList extends AbstractList<Symbol> {
63 public Symbol get(int index) {
72 public Iterator<Symbol> iterator() {
73 return new Iterator<Symbol>() {
91 public Symbol next() {
93 Symbol result = nextEntry.sym;
112 private static boolean unwanted(Symbol s) {
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DXPathParser.java833 public com.sun.java_cup.internal.runtime.Symbol do_action(
849 /** <code>EOF</code> Symbol index. */
852 /** <code>error</code> Symbol index. */
1042 public Symbol parse(String expression, int lineNumber) throws Exception {
1121 public final com.sun.java_cup.internal.runtime.Symbol CUP$XPathParser$do_action(
1128 /* Symbol object for return from actions */
1129 com.sun.java_cup.internal.runtime.Symbol CUP$XPathParser$result;
1139 CUP$XPathParser$result = new com.sun.java_cup.internal.runtime.Symbol(37/*QName*/, ((com.sun.java_cup.internal.runtime.Symbol)CUP$XPathParser$stack.elementAt(CUP$XPathParser$top-0)).left, ((com.sun.java_cup.internal.runtime.Symbol)CU
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A Dsymbol.cpp32 Symbol::Symbol(const u1* name, int length, int refcount) : _refcount(refcount), _length(length) { function in class:Symbol
39 void* Symbol::operator new(size_t sz, int len, TRAPS) {
46 void* Symbol::operator new(size_t sz, int len, Arena* arena, TRAPS) {
54 // Symbol::equals
57 bool Symbol::equals(const char* str, int len) const {
70 // Symbol::starts_with
74 bool Symbol::starts_with(const char* prefix, int len) const {
86 // Symbol::index_of
90 int Symbol
[all...]
H A Dsymbol.hpp32 // A Symbol is a canonicalized string.
38 // When a class is unloaded, the reference counts of the Symbol pointers in
40 // decremented. When the reference count for a Symbol goes to 0, the garbage
41 // collector can free the Symbol and remove it from the SymbolTable.
43 // 0) Symbols need to be reference counted when a pointer to the Symbol is
46 // that points to the Symbol. All other stores of a Symbol*
50 // 1) The lookup of a "name" in the SymbolTable either creates a Symbol F for
51 // "name" and returns a pointer to F or finds a pre-existing Symbol F for
55 // and not on the assignment to the new Symbol*
99 class Symbol : public ResourceObj { class in inherits:ResourceObj
207 Symbol() { } function in class:Symbol
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DScope.java55 public Symbol owner;
95 private Scope(Scope next, Symbol owner, Entry[] table) {
104 private Scope(Scope next, Symbol owner, Entry[] table, int nelems) {
112 public Scope(Symbol owner) {
130 public Scope dup(Symbol newOwner) {
195 public void enter(Symbol sym) {
200 public void enter(Symbol sym, Scope s) {
209 public void enter(Symbol sym, Scope s, Scope origin) {
229 Entry makeEntry(Symbol sym, Entry shadowed, Entry sibling, Scope scope, Scope origin) {
235 public void symbolAdded(Symbol sy
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DArgumentSizeComputer.java33 public ArgumentSizeComputer(Symbol signature) { super(signature); }
H A DResultTypeFinder.java33 public ResultTypeFinder(Symbol signature) { super(signature); }
/openjdk7/langtools/test/tools/javac/scope/7017664/
H A DImplementationCacheTest.java31 import com.sun.tools.javac.code.Symbol;
36 import com.sun.tools.javac.code.Symbol.*;
81 Symbol a = null;
82 Symbol b = null;
83 Symbol i = null;
87 a = (Symbol)e;
89 b = (Symbol)e;
91 i = (Symbol)e;
101 for (Symbol sym : i.members().getElements()) {
111 Symbol imp
[all...]
H A DCompoundScopeTest.java36 import com.sun.tools.javac.code.Symbol.*;
94 List<Symbol> elems = List.nil();
95 Map<Name, List<Symbol>> shadowedMap = new HashMap<Name, List<Symbol>>();
137 class OddFilter implements Filter<Symbol> {
138 public boolean accepts(Symbol s) {
150 Symbol sym = new TypeSymbol(0, names.fromString("s" + i), null, null);
153 List<Symbol> shadowed = shadowedMap.get(sym.name);
177 void checkElems(CompoundScope cs, Filter<Symbol> sf) {
179 ListBuffer<Symbol> foun
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DTwoOopHashtable.java35 public long computeHash(Symbol name, Oop loader) {
40 public int indexFor(Symbol name, Oop loader) {
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodHandles.hpp66 static int find_MemberNames(klassOop k, Symbol* name, Symbol* sig,
107 static bool has_member_arg(Symbol* klass, Symbol* name) {
116 static Symbol* signature_polymorphic_intrinsic_name(vmIntrinsics::ID iid);
119 static vmIntrinsics::ID signature_polymorphic_name_id(klassOop klass, Symbol* name);
120 static vmIntrinsics::ID signature_polymorphic_name_id(Symbol* name);
121 static bool is_signature_polymorphic_name(Symbol* name) {
124 static bool is_method_handle_invoke_name(klassOop klass, Symbol* name);
125 static bool is_signature_polymorphic_name(klassOop klass, Symbol* nam
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DMemberDocImpl.java30 import com.sun.tools.javac.code.Symbol;
55 public MemberDocImpl(DocEnv env, Symbol sym, String doc, JCTree tree, Position.LineMap lineMap) {

Completed in 58 milliseconds

1234567891011>>