Home | History | Annotate | Download | only in perf

Lines Matching refs:phnum

19219     int shnum, i, phnum, file_offset, offset, size, j, tmp, sh_order_index, k;
19425 phnum = 0;
19429 phnum = 4;
19431 phnum = 2;
19434 phnum = 3;
19461 phdr = tcc_mallocz(phnum * sizeof(Elf32_Phdr));
19464 file_offset = sizeof(Elf32_Ehdr) + phnum * sizeof(Elf32_Phdr);
19468 if (phnum > 0) {
19602 ph = &phdr[phnum - 1];
19677 ehdr.e_phnum = phnum;
19684 if (phnum > 0 && (s->sh_flags & SHF_ALLOC))
19789 dummy_size_t = fwrite(phdr, 1, phnum * sizeof(Elf32_Phdr), f);
19790 offset = sizeof(Elf32_Ehdr) + phnum * sizeof(Elf32_Phdr);