Searched refs:symtab (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/hotspot/agent/src/os/bsd/
H A Dsymtab.h32 struct symtab;
35 struct symtab* build_symtab(int fd);
38 void destroy_symtab(struct symtab* symtab);
42 uintptr_t search_symbol(struct symtab* symtab, uintptr_t base,
47 const char* nearest_symbol(struct symtab* symtab, uintptr_t offset,
H A Dsymtab.c31 #include "symtab.h"
50 typedef struct symtab { struct
58 struct symtab* build_symtab(int fd) {
60 struct symtab* symtab = NULL; local
126 // guarantee(symtab == NULL, "multiple symtab");
127 symtab = calloc(1, sizeof(*symtab));
128 if (symtab
204 destroy_symtab(struct symtab* symtab) argument
214 search_symbol(struct symtab* symtab, uintptr_t base, const char *sym_name, int *sym_size) argument
236 nearest_symbol(struct symtab* symtab, uintptr_t offset, uintptr_t* poffset) argument
[all...]
H A Dlibproc_impl.c124 if (lib->symtab) {
125 destroy_symtab(lib->symtab);
185 newlib->symtab = build_symtab(newlib->fd);
186 if (newlib->symtab == NULL) {
195 // address read functionality. lookup_symbol checks for NULL symtab.
219 if (lib->symtab) {
220 uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL);
236 if (lib->symtab && addr >= lib->base) {
237 res = nearest_symbol(lib->symtab, addr - lib->base, poffset);
H A Dlibproc_impl.h31 #include "symtab.h"
41 struct symtab* symtab; member in struct:lib_info
H A DMakefile31 symtab.c \
/openjdk7/hotspot/agent/src/os/linux/
H A Dsymtab.h32 struct symtab;
35 struct symtab* build_symtab(int fd, const char *filename);
38 void destroy_symtab(struct symtab* symtab);
42 uintptr_t search_symbol(struct symtab* symtab, uintptr_t base,
47 const char* nearest_symbol(struct symtab* symtab, uintptr_t offset,
H A Dsymtab.c30 #include "symtab.h"
49 typedef struct symtab { struct
255 static struct symtab* build_symtab_internal(int fd, const char *filename, bool try_debuginfo);
259 static struct symtab *build_symtab_from_debug_link(const char *name,
268 struct symtab *symtab = build_symtab_internal(fd, NULL, /* try_debuginfo */ false); local
270 return symtab;
300 // and return its symtab
301 static struct symtab* build_symtab_from_build_id(Elf64_Nhdr *note)
304 struct symtab *symta local
326 struct symtab* symtab = NULL; local
496 destroy_symtab(struct symtab* symtab) argument
507 search_symbol(struct symtab* symtab, uintptr_t base, const char *sym_name, int *sym_size) argument
531 nearest_symbol(struct symtab* symtab, uintptr_t offset, uintptr_t* poffset) argument
[all...]
H A Dlibproc_impl.c125 if (lib->symtab) {
126 destroy_symtab(lib->symtab);
186 newlib->symtab = build_symtab(newlib->fd, libname);
187 if (newlib->symtab == NULL) {
193 // address read functionality. lookup_symbol checks for NULL symtab.
217 if (lib->symtab) {
218 uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL);
234 if (lib->symtab && addr >= lib->base) {
235 res = nearest_symbol(lib->symtab, addr - lib->base, poffset);
H A Dlibproc_impl.h31 #include "symtab.h"
41 struct symtab* symtab; member in struct:lib_info
H A DMakefile31 symtab.c \
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/type/
H A DPrimitiveTypeImpl.java73 case BOOLEAN: return env.symtab.booleanType;
74 case BYTE: return env.symtab.byteType;
75 case SHORT: return env.symtab.shortType;
76 case INT: return env.symtab.intType;
77 case LONG: return env.symtab.longType;
78 case CHAR: return env.symtab.charType;
79 case FLOAT: return env.symtab.floatType;
80 case DOUBLE: return env.symtab.doubleType;
H A DVoidTypeImpl.java41 super(env, env.symtab.voidType);
H A DClassTypeImpl.java59 if (type.tsym == env.symtab.objectType.tsym) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DUnionGen.java47 void generate (Hashtable symtab, UnionEntry entry, PrintWriter stream); argument
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DTypesImpl.java100 case BOOLEAN: prim = env.symtab.booleanType; break;
101 case BYTE: prim = env.symtab.byteType; break;
102 case SHORT: prim = env.symtab.shortType; break;
103 case INT: prim = env.symtab.intType; break;
104 case LONG: prim = env.symtab.longType; break;
105 case CHAR: prim = env.symtab.charType; break;
106 case FLOAT: prim = env.symtab.floatType; break;
107 case DOUBLE: prim = env.symtab.doubleType; break;
117 return (VoidType) env.typeMaker.getType(env.symtab.voidType);
129 env.symtab
[all...]
/openjdk7/langtools/test/tools/javac/scope/
H A DHashCollisionTest.java49 symtab = Symtab.instance(context);
52 Scope emptyScope = new Scope(symtab.unnamedPackage); // any owner will do
90 ClassSymbol cc = createClass(names.fromString("C"), symtab.unnamedPackage);
94 PackageSymbol p = new PackageSymbol(names.fromString("p"), symtab.rootPackage);
107 PackageSymbol pkg = new PackageSymbol(names.fromString("pkg"), symtab.rootPackage);
174 if (owner != symtab.unnamedPackage)
248 Symtab symtab; field in class:HashCollisionTest
H A DStarImportTest.java138 symtab = Symtab.instance(context);
173 PackageSymbol p = new PackageSymbol(name, symtab.rootPackage);
197 ClassSymbol c = createClass(name, symtab.unnamedPackage);
214 PackageSymbol pkg = new PackageSymbol(names.fromString("pkg"), symtab.rootPackage);
306 if (owner != symtab.unnamedPackage)
312 Symtab symtab; field in class:StarImportTest.Test
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/
H A DAptEnv.java46 public Symtab symtab; // javac's predefined symbols field in class:AptEnv
70 symtab = Symtab.instance(context);
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DClassDeclarationImpl.java62 t.tsym != env.symtab.objectType.tsym && !t.isErroneous();
78 if (sym == env.symtab.objectType.tsym) {
H A DDeclarationMaker.java93 p = env.symtab.unnamedPackage;
160 s = env.symtab.classes.get(nameName);
162 s = env.symtab.packages.get(nameName);
H A DTypeParameterDeclarationImpl.java117 return (tv.getUpperBound().tsym == env.symtab.objectType.tsym)
H A DAnnotationProxyMaker.java186 if (elemtype.tsym == env.symtab.classType.tsym) { // Class[]
/openjdk7/langtools/test/tools/javac/scope/7017664/
H A DCompoundScopeTest.java115 CompoundScope root = new CompoundScope(symtab.noSymbol);
116 CompoundScope sub = new CompoundScope(symtab.noSymbol);
148 Scope s = new Scope(symtab.noSymbol);
170 symtab = Symtab.instance(context);
236 Symtab symtab; field in class:CompoundScopeTest.Test
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DPopulationCoding.java47 long[] symtab; // int map of favored value -> token [1..#fValues] field in class:PopulationCoding
182 // Reset symtab.
183 symtab = null;
187 if (symtab == null)
188 symtab = makeSymtab();
189 int pos = Arrays.binarySearch(symtab, (long)value << 32);
191 if (pos < symtab.length && value == (int)(symtab[pos] >>> 32))
192 return (int)symtab[pos];
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DUtil.java121 static void setSymbolTable (Hashtable symtab) argument
123 symbolTable = symtab;

Completed in 145 milliseconds

12