• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/cctools-845/cbtlibs/

Lines Matching defs:self

147 static SymInfoList self;
157 /* Allocate return value and point the global pointer self at it */
162 self = rList;
587 self->nExports += nsymbols;
593 /* Reallocate the array of SymInfoSymbol export structs in self */
594 self->exports = reallocate(self->exports,
595 sizeof(SymInfoSymbol *) * self->nExports);
600 for(i = self->nExports - nsymbols; i < self->nExports; i++){
602 symbolIndex = i - (self->nExports - nsymbols);
603 self->exports[i] = malloc(sizeof(_SymInfoSymbol));
608 self->exports[i]->name = savestr(symbols[symbolIndex].name);
613 self->exports[i]->arch = savestr(archString);
616 self->exports[i]->arch = savestr(archInfo->name);
618 self->exports[i]->ordinal = NULL;
636 self->nImports += nsymbols;
638 /* Reallocate the array of SymInfoSymbol imports structs in self */
639 self->imports = reallocate(self->imports,
640 sizeof(SymInfoSymbol *) * self->nImports);
645 for(i = self->nImports - nsymbols; i < self->nImports; i++){
647 symbolIndex = i - (self->nImports - nsymbols);
648 self->imports[i] = malloc(sizeof(_SymInfoSymbol));
653 self->imports[i]->name = savestr(symbols[symbolIndex].name);
657 self->imports[i]->arch = savestr(archString);
660 self->imports[i]->arch = savestr(archInfo->name);
668 self->imports[i]->ordinal = savestr("from executable");
670 self->imports[i]->ordinal =savestr("dynamically looked up");
672 self->imports[i]->ordinal = savestr("bad library ordinal");
675 self->imports[i]->ordinal =
680 self->imports[i]->ordinal = NULL;
690 if(self->dependencies == NULL){
692 self->dependencies = malloc(sizeof(_SymInfoDependencies));
693 bzero(self->dependencies, sizeof(_SymInfoDependencies));
702 self->dependencies->subUmbrellas =
703 reallocate(self->dependencies->subUmbrellas,
704 (self->dependencies->nSubUmbrellas+1)*
706 self->dependencies ->
707 subUmbrellas[self->dependencies->nSubUmbrellas] =
709 self->dependencies->nSubUmbrellas++;
714 self->dependencies-> subFrameworks =
715 reallocate(self->dependencies->subFrameworks,
716 (self->dependencies->nSubFrameworks+1) *
718 self->dependencies->
719 subFrameworks[self->dependencies->nSubFrameworks] =
721 self->dependencies->nSubFrameworks++;
735 self->shortName = short_name;