Searched refs:shbuf (Results 1 - 4 of 4) sorted by relevance

/openjdk7/hotspot/agent/src/os/bsd/
H A Dsalibelf.c69 ELF_SHDR* shbuf = 0; local
73 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
78 if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) {
80 free(shbuf);
84 return shbuf;
H A Dsymtab.c65 ELF_SHDR* shbuf = NULL; local
81 if ((shbuf = read_section_header_table(fd, &ehdr)) == NULL) {
92 for (cursct = shbuf, cnt = 0; cnt < ehdr.e_shnum; cnt++) {
191 if (shbuf) free(shbuf);
/openjdk7/hotspot/agent/src/os/linux/
H A Dsalibelf.c68 ELF_SHDR* shbuf = 0; local
72 if ((shbuf = (ELF_SHDR*) malloc(nbytes)) == NULL) {
77 if (pread(fd, shbuf, nbytes, hdr->e_shoff) != nbytes) {
79 free(shbuf);
83 return shbuf;
H A Dsymtab.c165 ELF_SHDR *shbuf,
181 for (cursct = shbuf, cnt = 0;
198 ELF_SHDR *shbuf,
203 shbuf, scn_cache);
262 ELF_SHDR *shbuf,
265 fd = open_file_from_debug_link(name, fd, ehdr, shbuf, scn_cache);
331 ELF_SHDR* shbuf = NULL; local
346 if ((shbuf = read_section_header_table(fd, &ehdr)) == NULL) {
358 for (cursct = shbuf, cnt = 0; cnt < ehdr.e_shnum; cnt++) {
449 for (cursct = shbuf, cn
162 find_section_by_name(char *name, int fd, ELF_EHDR *ehdr, ELF_SHDR *shbuf, struct elf_section *scn_cache) argument
195 open_file_from_debug_link(const char *name, int fd, ELF_EHDR *ehdr, ELF_SHDR *shbuf, struct elf_section *scn_cache) argument
259 build_symtab_from_debug_link(const char *name, int fd, ELF_EHDR *ehdr, ELF_SHDR *shbuf, struct elf_section *scn_cache) argument
[all...]

Completed in 25 milliseconds