Lines Matching defs:symptr
510 struct pmcstat_symbol *symptr;
538 symptr = realloc(image->pi_symbols,
539 sizeof(*symptr) * (image->pi_symcount + nfuncsyms));
540 if (symptr == image->pi_symbols) /* realloc() failed. */
542 image->pi_symbols = symptr;
547 symptr += image->pi_symcount;
572 symptr->ps_name = pmcstat_string_intern(fnname);
573 symptr->ps_start = sym.st_value - image->pi_vaddr;
574 symptr->ps_end = symptr->ps_start + sym.st_size;
575 symptr++;
591 sizeof(*symptr) * image->pi_symcount);
596 qsort(image->pi_symbols, image->pi_symcount, sizeof(*symptr),
604 for (symptr = image->pi_symbols;
605 symptr < image->pi_symbols + (image->pi_symcount - 1);
606 symptr++)
607 if (symptr->ps_start == symptr->ps_end)
608 symptr->ps_end = (symptr+1)->ps_start;