Home
last modified time | relevance | path

Searched refs:shp (Results 1 – 12 of 12) sorted by relevance

/NextBSD/sbin/ldconfig/
HDldconfig.c336 struct shlib_list *shp; in enter() local
338 for (shp = shlib_head; shp; shp = shp->next) { in enter()
339 if (strcmp(name, shp->name) != 0 || major != shp->major) in enter()
343 if (cmpndewey(dewey, ndewey, shp->dewey, shp->ndewey) > 0) { in enter()
348 shp->name, shp->major, shp->minor, in enter()
351 free(shp->name); in enter()
352 shp->name = strdup(name); in enter()
353 free(shp->path); in enter()
354 shp->path = concat(dir, "/", file); in enter()
355 bcopy(dewey, shp->dewey, sizeof(shp->dewey)); in enter()
[all …]
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_link.c519 Elf32_Shdr *shp; in dump_elf32() local
571 shp = &elf_file.shdr[ESHDR_SHSTRTAB]; in dump_elf32()
572 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */ in dump_elf32()
573 shp->sh_type = SHT_STRTAB; in dump_elf32()
574 shp->sh_offset = off; in dump_elf32()
575 shp->sh_size = sizeof (DTRACE_SHSTRTAB32); in dump_elf32()
576 shp->sh_addralign = sizeof (char); in dump_elf32()
577 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, 8); in dump_elf32()
579 shp = &elf_file.shdr[ESHDR_DOF]; in dump_elf32()
580 shp->sh_name = 11; /* DTRACE_SHSTRTAB32[11] = ".SUNW_dof" */ in dump_elf32()
[all …]
/NextBSD/cddl/contrib/opensolaris/lib/libctf/common/
HDctf_lib.c385 const GElf_Shdr *shp = &sp[i]; in ctf_fdopen() local
386 const GElf_Shdr *lhp = &sp[shp->sh_link]; in ctf_fdopen()
388 if (shp->sh_link >= shnum) in ctf_fdopen()
391 if (shp->sh_name >= sp[shstrndx].sh_size || in ctf_fdopen()
395 if (shp->sh_type == SHT_PROGBITS && in ctf_fdopen()
396 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) { in ctf_fdopen()
397 ctfsect.cts_name = strs + shp->sh_name; in ctf_fdopen()
398 ctfsect.cts_type = shp->sh_type; in ctf_fdopen()
399 ctfsect.cts_flags = shp->sh_flags; in ctf_fdopen()
400 ctfsect.cts_size = shp->sh_size; in ctf_fdopen()
[all …]
/NextBSD/contrib/tcpdump/
HDprint-decnet.c877 struct seghdr *shp = (struct seghdr *)nspp; in print_nsp() local
886 ND_TCHECK(shp->sh_seq[0]); in print_nsp()
887 ack = EXTRACT_LE_16BITS(shp->sh_seq[0]); in print_nsp()
896 ND_TCHECK(shp->sh_seq[1]); in print_nsp()
897 ack = EXTRACT_LE_16BITS(shp->sh_seq[1]); in print_nsp()
906 ND_TCHECK(shp->sh_seq[2]); in print_nsp()
907 ack = EXTRACT_LE_16BITS(shp->sh_seq[2]); in print_nsp()
923 struct seghdr *shp = (struct seghdr *)nspp; in print_nsp() local
932 ND_TCHECK(shp->sh_seq[0]); in print_nsp()
933 ack = EXTRACT_LE_16BITS(shp->sh_seq[0]); in print_nsp()
[all …]
/NextBSD/contrib/libreadline/
HDterminal.c186 _emx_get_screensize (swp, shp) in _emx_get_screensize() argument
187 int *swp, *shp; in _emx_get_screensize()
195 if (shp)
196 *shp = sz[1];
202 _win_get_screensize (swp, shp) in _win_get_screensize() argument
203 int *swp, *shp; in _win_get_screensize()
214 *shp = scr.srWindow.Bottom - scr.srWindow.Top + 1;
/NextBSD/sys/fs/nfsserver/
HDnfs_nfsdstate.c486 struct nfssessionhash *shp; in nfsrv_getclient() local
529 shp = NFSSESSIONHASH(nd->nd_sessionid); in nfsrv_getclient()
530 NFSLOCKSESSION(shp); in nfsrv_getclient()
534 NFSUNLOCKSESSION(shp); in nfsrv_getclient()
626 shp = NFSSESSIONHASH(nsep->sess_sessionid); in nfsrv_getclient()
627 NFSLOCKSESSION(shp); in nfsrv_getclient()
628 LIST_INSERT_HEAD(&shp->list, nsep, sess_hash); in nfsrv_getclient()
633 NFSUNLOCKSESSION(shp); in nfsrv_getclient()
5772 struct nfssessionhash *shp; in nfsrv_checksequence() local
5776 shp = NFSSESSIONHASH(nd->nd_sessionid); in nfsrv_checksequence()
[all …]
/NextBSD/contrib/tcsh/
HDsh.dir.c129 struct stat swd, shp; in dinit() local
136 if (swd_ok && hp && *hp && stat(short2str(hp), &shp) != -1 && in dinit()
137 DEV_DEV_COMPARE(swd.st_dev, shp.st_dev) && in dinit()
138 swd.st_ino == shp.st_ino) in dinit()
147 if (stat(cwd, &shp) != -1 && in dinit()
148 DEV_DEV_COMPARE(swd.st_dev, shp.st_dev) && in dinit()
149 swd.st_ino == shp.st_ino) { in dinit()
/NextBSD/contrib/file/magic/Magdir/
HDesri4 # ESRI Shapefile format (.shp .shx .dbf=DBaseIII)
/NextBSD/contrib/file/src/
HDcdf.c783 const cdf_section_header_t *shp; in cdf_read_property_info() local
799 shp = CAST(const cdf_section_header_t *, (const void *) in cdf_read_property_info()
801 if (cdf_check_stream_offset(sst, h, shp, sizeof(*shp), __LINE__) == -1) in cdf_read_property_info()
803 sh.sh_len = CDF_TOLE4(shp->sh_len); in cdf_read_property_info()
809 sh.sh_properties = CDF_TOLE4(shp->sh_properties); in cdf_read_property_info()
835 (((const char *)(const void *)shp) + sh.sh_len)); in cdf_read_property_info()
/NextBSD/sys/kern/
HDkern_sharedpage.c124 SYSINIT(shp, SI_SUB_EXEC, SI_ORDER_FIRST, (sysinit_cfunc_t)shared_page_init,
/NextBSD/cddl/contrib/opensolaris/cmd/zdb/
HDzdb.c229 spa_history_phys_t *shp = data; in dump_history_offsets() local
231 if (shp == NULL) in dump_history_offsets()
235 (u_longlong_t)shp->sh_pool_create_len); in dump_history_offsets()
237 (u_longlong_t)shp->sh_phys_max_off); in dump_history_offsets()
239 (u_longlong_t)shp->sh_bof); in dump_history_offsets()
241 (u_longlong_t)shp->sh_eof); in dump_history_offsets()
243 (u_longlong_t)shp->sh_records_lost); in dump_history_offsets()
/NextBSD/sys/dev/de/
HDif_de.c2367 const tulip_srom_header_t *shp = (const tulip_srom_header_t *) &sc->tulip_rombuf[0]; in tulip_srom_decode() local
2368 const tulip_srom_adapter_info_t *saip = (const tulip_srom_adapter_info_t *) (shp + 1); in tulip_srom_decode()
2375 for (idx1 = 0; idx1 < shp->sh_adapter_count; idx1++, saip++) { in tulip_srom_decode()
2376 if (shp->sh_adapter_count == 1) in tulip_srom_decode()
2384 if (idx1 == shp->sh_adapter_count) in tulip_srom_decode()
2390 bcopy(shp->sh_ieee802_address, sc->tulip_enaddr, 6); in tulip_srom_decode()