Searched refs:shp (Results 76 - 91 of 91) sorted by relevance

1234

/osnet-11/usr/src/lib/libproc/common/
H A DPcore.c1554 GElf_Shdr *shp, *shdrs = NULL; local
1611 shp = &shdrs[efp->e_hdr.e_shstrndx];
1612 shstrtabsz = shp->sh_size;
1621 shp->sh_offset) != shstrtabsz) {
1623 shstrtabsz, (longlong_t)shp->sh_offset, strerror(errno));
1634 shp = &shdrs[i];
1635 name = shstrtab + shp->sh_name;
1637 if (shp->sh_name >= shstrtabsz) {
1642 if (shp->sh_link >= efp->e_hdr.e_shnum) {
1648 name, (u_longlong_t)shp
[all...]
H A DPsymtab.c1782 GElf_Shdr *shp = &cp->c_shdr; local
1784 if (shp->sh_type == SHT_SYMTAB || shp->sh_type == SHT_DYNSYM) {
1785 sym_tbl_t *symp = shp->sh_type == SHT_SYMTAB ?
1802 shp->sh_size / shp->sh_entsize;
1804 cache[shp->sh_link].c_data->d_buf;
1806 cache[shp->sh_link].c_data->d_size;
1808 symp->sym_strhdr = cache[shp->sh_link].c_shdr;
1813 } else if (shp
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c111 di_smbios_find_slot(smbios_hdl_t *shp, const smbios_struct_t *strp, void *data) argument
117 smbios_info_slot(shp, strp->smbstr_id, &slot) != 0)
134 smbios_hdl_t *shp; local
166 if ((shp = topo_mod_smbios(mp)) != NULL) {
181 if (smbios_iter(shp, di_smbios_find_slot, &cbdata) <= 0)
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c83 Shell_t *shp = sh_getinterp(); local
117 d = sh_arith(shp,str);
401 Shell_t *shp = sh_getinterp(); local
402 sfputr(shp->strbuf,cp,0);
403 cp = sfstruse(shp->strbuf);
1083 Shell_t *shp = sh_getinterp(); local
1137 if(nq==shp->namespace)
1234 Shell_t *shp; member in struct:table
1250 tp->shp->last_table = np;
1348 Shell_t *shp local
1427 sh_fsearch(Shell_t *shp, const char *fname, int add) argument
[all...]
H A Dstreval.c68 Shell_t *shp; member in struct:vars
167 Shell_t *shp = ep->shp; local
168 node.shp = shp;
431 num = sh_mathfun(shp,(void*)fun,1,arg);
452 num = sh_mathfun(shp,(void*)fun,2,arg);
477 num = sh_mathfun(shp,(void*)fun,3,arg);
518 if(vp->shp->decomma && (c=peekchr(vp))>='0' && c<='9')
581 lvalue.shp
898 arith_compile(Shell_t *shp,const char *string,char **last,Sfdouble_t(*fun)(const char**,struct lval*,int,Sfdouble_t),int emode) argument
952 strval(Shell_t *shp,const char *s,char **end,Sfdouble_t(*conv)(const char**,struct lval*,int,Sfdouble_t),int emode) argument
[all...]
H A Dnvtype.c799 Shell_t *shp = sh_getinterp(); local
809 mp = nv_search("typeset",shp->bltin_tree,0);
815 if(bp=(Namval_t*)shp->namespace)
820 sfprintf(shp->strbuf,"%s.%s%c\n",bp->nvname,name,0);
821 name = sfstruse(shp->strbuf);
824 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip)
825 nv_delete(bp,shp->fun_tree,0);
1312 Shell_t *shp = sh_getinterp(); local
1313 int nelem=0,subshell=shp->subshell;
1342 shp
1583 sh_outtype(Shell_t *shp,Sfio_t *out) argument
[all...]
H A Darray.c444 Shell_t *shp = sh_getinterp(); local
1142 Shell_t *shp = sh_getinterp(); local
1150 size = (int)sh_arith(shp,(char*)sp);
1337 Shell_t *shp=sh_getinterp(); local
1361 fp->max[0] = (int)sh_arith(shp,(char*)sub);
1366 fp->max[n++] = sz = (int)sh_arith(shp,(char*)ep+1);
1386 Shell_t *shp=sh_getinterp(); local
1404 size = (int)sh_arith(shp,(char*)sub);
1416 size = (int)sh_arith(shp,(char*)ep+1);
1683 Shell_t *shp local
[all...]
/osnet-11/usr/src/lib/libshell/common/include/
H A Ddefs.h396 extern int sh_debug(Shell_t *shp,const char*,const char*,const char*,char *const[],int);
469 #define sh_sigcheck(shp) do{if(shp->trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_pca.c618 sysevent_handle_t *shp = NULL; local
630 shp = sysevent_bind_handle(_pca_dbupdate_finish_handler);
631 if (shp == NULL) {
637 if (sysevent_subscribe_event(shp, EC_CRO, esc, 1)) {
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c141 sysevent_handle_t *shp; local
149 shp = sysevent_bind_handle(
151 if (shp != NULL) {
154 shp, EC_SVM_CONFIG,
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c1232 files_hashent_t *shp; local
1234 for (shp = htab[bucket].h_first; shp != NULL;
1235 shp = shp->h_next) {
1236 match = &fhp->fh_line[shp - htab];
1237 if (shp->h_hash == hash &&
1249 if (hp != shp)
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_snap.c111 smbios_hdl_t *shp = NULL; local
117 shp = topo_hdl_smbios(thp);
121 if (shp &&
122 ((id = smbios_info_system(shp, &s1)) != SMB_ERR) &&
123 (smbios_info_common(shp, id, &s2) != SMB_ERR) &&
/osnet-11/usr/src/lib/libsun_ima/common/
H A Dima.c85 static sysevent_handle_t *shp; variable
229 shp = sysevent_bind_handle(sysevent_handler);
230 if (shp == NULL) {
234 if (sysevent_subscribe_event(shp, EC_ISCSI, subclass_list, 9) != 0) {
235 sysevent_unbind_handle(shp);
247 if (shp != NULL) {
248 sysevent_unsubscribe_event(shp, EC_ISCSI);
2869 if (shp == NULL) {
2893 if (shp == NULL) {
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_share.c2616 zfs_sh_iter_handle_t *shp; local
2624 if ((shp = zfs_alloc(zhp->zfs_hdl, sizeof (zfs_sh_iter_handle_t)))
2628 shp->ds_zhp = zhp;
2629 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &shp->zc, 0) != 0) {
2630 free(shp);
2634 shp->zc.zc_needname = B_TRUE; /* name only; skip stats */
2635 *shpp = shp;
2646 zfs_sh_iter_handle_t *shp = p; local
2647 zfs_handle_t *zhp = shp->ds_zhp;
2649 zfs_cmd_t *zc = &shp
2695 zfs_sh_iter_handle_t *shp = p; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/
H A DCurrency.pm295 shp:St. Helena Pound
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c229 Shell_t *shp = (Shell_t*)sh_context; local
263 cp = path_relative(shp,histname);
315 hp->histshell = (void*)shp;

Completed in 113 milliseconds

1234