/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | symtab.h | 32 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 D | symtab.c | 31 #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 D | libproc_impl.c | 124 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 D | libproc_impl.h | 31 #include "symtab.h" 41 struct symtab* symtab; member in struct:lib_info
|
H A D | Makefile | 31 symtab.c \
|
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | symtab.h | 32 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 D | symtab.c | 30 #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 D | libproc_impl.c | 125 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 D | libproc_impl.h | 31 #include "symtab.h" 41 struct symtab* symtab; member in struct:lib_info
|
H A D | Makefile | 31 symtab.c \
|
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/type/ |
H A D | PrimitiveTypeImpl.java | 73 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 D | VoidTypeImpl.java | 41 super(env, env.symtab.voidType);
|
H A D | ClassTypeImpl.java | 59 if (type.tsym == env.symtab.objectType.tsym) {
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | UnionGen.java | 47 void generate (Hashtable symtab, UnionEntry entry, PrintWriter stream); argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/ |
H A D | TypesImpl.java | 100 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 D | HashCollisionTest.java | 49 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 D | StarImportTest.java | 138 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 D | AptEnv.java | 46 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 D | ClassDeclarationImpl.java | 62 t.tsym != env.symtab.objectType.tsym && !t.isErroneous(); 78 if (sym == env.symtab.objectType.tsym) {
|
H A D | DeclarationMaker.java | 93 p = env.symtab.unnamedPackage; 160 s = env.symtab.classes.get(nameName); 162 s = env.symtab.packages.get(nameName);
|
H A D | TypeParameterDeclarationImpl.java | 117 return (tv.getUpperBound().tsym == env.symtab.objectType.tsym)
|
H A D | AnnotationProxyMaker.java | 186 if (elemtype.tsym == env.symtab.classType.tsym) { // Class[]
|
/openjdk7/langtools/test/tools/javac/scope/7017664/ |
H A D | CompoundScopeTest.java | 115 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 D | PopulationCoding.java | 47 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 D | Util.java | 121 static void setSymbolTable (Hashtable symtab) argument 123 symbolTable = symtab;
|