HomeSort by: relevance | last modified time | path
    Searched defs:scn (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/bsd/elftoolchain/dist/libelf/
elf_end.c 53 Elf_Scn *scn, *tscn; local
79 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next,
81 scn = _libelf_release_scn(scn);
libelf_extended.c 61 Elf_Scn *scn; local
64 if ((scn = _libelf_getscn0(e)) == NULL)
67 assert(scn->s_ndx == SHN_UNDEF);
70 scn->s_shdr.s_shdr32.sh_size = (Elf32_Word) shnum;
72 scn->s_shdr.s_shdr64.sh_size = shnum;
74 (void) elf_flagshdr(scn, ELF_C_SET, ELF_F_DIRTY);
91 Elf_Scn *scn; local
94 if ((scn = _libelf_getscn0(e)) == NULL)
97 assert(scn->s_ndx == SHN_UNDEF);
100 scn->s_shdr.s_shdr32.sh_link = (Elf32_Word) shstrndx
120 Elf_Scn *scn; local
    [all...]
gelf_cap.c 51 Elf_Scn *scn; local
61 (scn = d->d_scn) == NULL ||
62 (e = scn->s_elf) == NULL) {
71 sh_type = scn->s_shdr.s_shdr32.sh_type;
73 sh_type = scn->s_shdr.s_shdr64.sh_type;
110 Elf_Scn *scn; local
120 (scn = d->d_scn) == NULL ||
121 (e = scn->s_elf) == NULL) {
130 sh_type = scn->s_shdr.s_shdr32.sh_type;
132 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_dyn.c 51 Elf_Scn *scn; local
61 (scn = d->d_scn) == NULL ||
62 (e = scn->s_elf) == NULL) {
71 sh_type = scn->s_shdr.s_shdr32.sh_type;
73 sh_type = scn->s_shdr.s_shdr64.sh_type;
111 Elf_Scn *scn; local
121 (scn = d->d_scn) == NULL ||
122 (e = scn->s_elf) == NULL) {
131 sh_type = scn->s_shdr.s_shdr32.sh_type;
133 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_move.c 51 Elf_Scn *scn; local
61 (scn = d->d_scn) == NULL ||
62 (e = scn->s_elf) == NULL) {
71 sh_type = scn->s_shdr.s_shdr32.sh_type;
73 sh_type = scn->s_shdr.s_shdr64.sh_type;
114 Elf_Scn *scn; local
124 (scn = d->d_scn) == NULL ||
125 (e = scn->s_elf) == NULL) {
134 sh_type = scn->s_shdr.s_shdr32.sh_type;
136 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_rel.c 51 Elf_Scn *scn; local
61 (scn = d->d_scn) == NULL ||
62 (e = scn->s_elf) == NULL) {
71 sh_type = scn->s_shdr.s_shdr32.sh_type;
73 sh_type = scn->s_shdr.s_shdr64.sh_type;
113 Elf_Scn *scn; local
123 (scn = d->d_scn) == NULL ||
124 (e = scn->s_elf) == NULL) {
133 sh_type = scn->s_shdr.s_shdr32.sh_type;
135 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_rela.c 51 Elf_Scn *scn; local
61 (scn = d->d_scn) == NULL ||
62 (e = scn->s_elf) == NULL) {
71 sh_type = scn->s_shdr.s_shdr32.sh_type;
73 sh_type = scn->s_shdr.s_shdr64.sh_type;
114 Elf_Scn *scn; local
124 (scn = d->d_scn) == NULL ||
125 (e = scn->s_elf) == NULL) {
134 sh_type = scn->s_shdr.s_shdr32.sh_type;
136 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_sym.c 51 Elf_Scn *scn; local
61 (scn = d->d_scn) == NULL ||
62 (e = scn->s_elf) == NULL) {
71 sh_type = scn->s_shdr.s_shdr32.sh_type;
73 sh_type = scn->s_shdr.s_shdr64.sh_type;
113 Elf_Scn *scn; local
123 (scn = d->d_scn) == NULL ||
124 (e = scn->s_elf) == NULL) {
133 sh_type = scn->s_shdr.s_shdr32.sh_type;
135 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_syminfo.c 49 Elf_Scn *scn; local
59 (scn = d->d_scn) == NULL ||
60 (e = scn->s_elf) == NULL) {
69 sh_type = scn->s_shdr.s_shdr32.sh_type;
71 sh_type = scn->s_shdr.s_shdr64.sh_type;
110 Elf_Scn *scn; local
120 (scn = d->d_scn) == NULL ||
121 (e = scn->s_elf) == NULL) {
130 sh_type = scn->s_shdr.s_shdr32.sh_type;
132 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
gelf_symshndx.c 50 Elf_Scn *scn; local
69 if ((scn = lid->d_scn) == NULL ||
70 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf)) {
79 sh_type = scn->s_shdr.s_shdr32.sh_type;
81 sh_type = scn->s_shdr.s_shdr64.sh_type;
110 Elf_Scn *scn; local
121 if (lid == NULL || (scn = lid->d_scn) == NULL ||
122 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf)) {
131 sh_type = scn->s_shdr.s_shdr32.sh_type;
133 sh_type = scn->s_shdr.s_shdr64.sh_type
    [all...]
libelf_checksum.c 55 Elf_Scn *scn; local
85 if ((scn = elf_getscn(e, shn)) == NULL)
87 if (gelf_getshdr(scn, &shdr) == NULL)
95 while ((d = elf_rawdata(scn, d)) != NULL)
libelf_ehdr.c 55 Elf_Scn *scn; local
74 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL)
79 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr),
83 #define GET_SHDR_MEMBER(M) ((ec == ELFCLASS32) ? scn->s_shdr.s_shdr32.M : \
84 scn->s_shdr.s_shdr64.M)
elf_scn.c 56 Elf_Scn *scn; local
118 if ((scn = _libelf_allocate_scn(e, i)) == NULL)
121 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr),
125 scn->s_offset = scn->s_rawoff =
126 scn->s_shdr.s_shdr32.sh_offset;
127 scn->s_size = scn->s_shdr.s_shdr32.sh_size;
129 scn->s_offset = scn->s_rawoff
184 Elf_Scn *scn; local
    [all...]
elf_update.c 968 Elf_Scn *scn; local
1011 STAILQ_FOREACH(scn, &e->e_u.e_elf.e_scn, s_next) {
1013 src.d_buf = &scn->s_shdr.s_shdr32;
1015 src.d_buf = &scn->s_shdr.s_shdr64;
1018 dst.d_buf = nf + ex->ex_start + scn->s_ndx * fsz;
1049 Elf_Scn *scn, *tscn; local
1175 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next, tscn)
1176 _libelf_release_scn(scn);
  /src/external/bsd/elftoolchain/dist/libdwarf/
libdwarf_elf_init.c 140 Elf_Scn *scn; local
152 scn = NULL;
154 while ((scn = elf_nextscn(elf, scn)) != NULL) {
155 if (gelf_getshdr(scn, &sh) == NULL) {
165 if ((rel = elf_getdata(scn, NULL)) == NULL) {
210 Elf_Scn *scn; local
258 scn = NULL;
260 while ((scn = elf_nextscn(elf, scn)) != NULL)
    [all...]
  /src/external/cddl/osnet/dist/tools/ctf/cvt/
util.c 70 Elf_Scn *scn = NULL; local
77 while ((scn = elf_nextscn(elf, scn)) != NULL) {
80 if (gelf_getshdr(scn, &shdr) == NULL) {
83 elf_ndxscn(scn));
90 elf_ndxscn(scn));
94 return (elf_ndxscn(scn));
stabs.c 183 Elf_Scn *scn; local
212 scn = elf_getscn(elf, stabidx);
213 data = elf_rawdata(scn, NULL);
input.c 350 Elf_Scn *scn; local
358 if ((scn = elf_getscn(elf, symtabidx)) == NULL ||
359 gelf_getshdr(scn, &si->si_shdr) == NULL ||
360 (si->si_symd = elf_getdata(scn, NULL)) == NULL)
363 if ((scn = elf_getscn(elf, si->si_shdr.sh_link)) == NULL ||
364 (si->si_strd = elf_getdata(scn, NULL)) == NULL)
output.c 345 Elf_Scn *scn; local
359 scn = elf_getscn(elf, stidx);
360 data = elf_getdata(scn, NULL);
361 gelf_getshdr(scn, &shdr);
364 scn = elf_getscn(elf, shdr.sh_link);
365 strdata = elf_getdata(scn, NULL);
512 Elf_Scn *scn = elf_getscn(src, srcidx); local
516 gelf_getshdr(scn, &shdr1);
  /src/lib/libexecinfo/
symtab.c 96 Elf_Scn *scn = NULL; local
123 while ((scn = elf_nextscn(elf, scn)) != NULL) {
129 gelf_getshdr(scn, &shdr);
133 edata = elf_getdata(scn, NULL);
  /src/external/bsd/openldap/dist/servers/slapd/
schema_check.c 639 int scn = -1; local
667 scn = i;
704 ocs[scn].bv_val, ocs[i].bv_val );
721 if( scn < 0 ) {
  /src/sys/fs/msdosfs/
msdosfs_lookup.c 116 u_long scn; /* starting cluster number */ local
177 scn = MSDOSFSROOT;
435 scn = getushort(dep->deStartCluster);
437 scn |= getushort(dep->deHighClust) << 16;
438 if (scn == pmp->pm_rootdirblk) {
443 scn = MSDOSFSROOT;
448 cluster = scn;
466 * entry of the filesystems root directory. isadir and scn were
469 if (FAT32(pmp) && scn == MSDOSFSROOT)
470 scn = pmp->pm_rootdirblk
    [all...]
  /src/external/bsd/file/dist/src/
readcdf.c 377 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn)
382 dir, "Catalog", scn)) == -1)
385 cdf_dump_catalog(h, scn);
387 if ((i = cdf_file_catalog(ms, h, scn)) == -1)
395 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn,
405 cdf_dump_summary_info(h, scn);
407 if ((i = cdf_file_summary_info(ms, h, scn, root_storage)) < 0) {
435 dir, scn);
555 cdf_stream_t sst, scn; local
561 scn.sst_tab = NULL
    [all...]
  /src/external/bsd/libproc/dist/
proc_sym.c 287 lookup_addr(Elf *e, Elf_Scn *scn, u_long stridx, uintptr_t off, uintptr_t addr,
296 if ((data = elf_getdata(scn, NULL)) == NULL) {
327 Elf_Scn *scn, *dynsymscn = NULL, *symtabscn = NULL; local
353 scn = NULL;
354 while ((scn = elf_nextscn(e, scn)) != NULL) {
355 gelf_getshdr(scn, &shdr);
358 symtabscn = scn;
362 dynsymscn = scn;
444 lookup_name(Elf *e, Elf_Scn *scn, u_long stridx, const char *symbol
473 Elf_Scn *scn, *dynsymscn = NULL, *symtabscn = NULL; local
572 Elf_Scn *scn, *foundscn = NULL; local
    [all...]
  /src/external/bsd/ntp/dist/sntp/libopts/
makeshell.c 779 char * scn; local
784 scn = strstr(txt, START_MARK);
785 if (scn == NULL) {
790 *(scn++) = NUL;
791 scn = strstr(scn, END_MARK);
792 if (scn == NULL) {
805 script_trailer = scn + END_MARK_LEN;

Completed in 18 milliseconds

1 2