Searched refs:pv (Results 1 - 25 of 51) sorted by relevance

123

/osnet-11/usr/src/lib/libpool/common/
H A Dpool_value.c67 pool_value_get_uint64(const pool_value_t *pv, uint64_t *result) argument
69 if (pv->pv_class != POC_UINT) {
73 *result = pv->pv_u.u;
82 pool_value_get_int64(const pool_value_t *pv, int64_t *result) argument
84 if (pv->pv_class != POC_INT) {
88 *result = pv->pv_u.i;
98 pool_value_get_double(const pool_value_t *pv, double *result) argument
100 if (pv->pv_class != POC_DOUBLE) {
104 *result = pv->pv_u.d;
113 pool_value_get_bool(const pool_value_t *pv, uchar_ argument
128 pool_value_get_string(const pool_value_t *pv, const char **result) argument
143 pool_value_get_type(const pool_value_t *pv) argument
153 pool_value_set_uint64(pool_value_t *pv, uint64_t val) argument
166 pool_value_set_int64(pool_value_t *pv, int64_t val) argument
180 pool_value_set_double(pool_value_t *pv, double val) argument
193 pool_value_set_bool(pool_value_t *pv, uchar_t val) argument
206 pool_value_set_string(pool_value_t *pv, const char *val) argument
245 pool_value_free(pool_value_t *pv) argument
259 pool_value_get_name(const pool_value_t *pv) argument
268 pool_value_set_name(pool_value_t *pv, const char *name) argument
289 pool_value_from_nvpair(pool_value_t *pv, nvpair_t *pn) argument
410 pool_value_dprintf(const pool_value_t *pv) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c121 prop_method_get(tnode_t *node, topo_propval_t *pv, topo_propmethod_t *pm, argument
129 if (topo_hdl_nvalloc(pv->tp_hdl, &args, NV_UNIQUE_NAME) < 0 ||
145 topo_prop_hold(pv);
150 topo_prop_rele(pv);
154 topo_prop_rele(pv);
160 if (ret != 0 || strcmp(name, pv->tp_name) != 0)
164 if (ret != 0 || type != pv->tp_type)
168 if (pv->tp_val != NULL)
169 nvlist_free(pv->tp_val);
170 pv
179 topo_propval_t *pv = NULL; local
211 topo_propval_t *pv; local
502 topo_propval_t *pv; local
522 topo_propval_t *pv; local
768 topo_propval_t *pv; local
875 topo_propval_t *pv = NULL; local
976 topo_propval_t *pv; local
1014 topo_propval_t *pv = NULL; local
1042 topo_propval_t *pv = NULL; local
1075 topo_propval_t *pv; local
1299 propmethod_destroy(topo_hdl_t *thp, topo_propval_t *pv) argument
1315 topo_propval_destroy(topo_propval_t *pv) argument
1336 topo_prop_hold(topo_propval_t *pv) argument
1342 topo_prop_rele(topo_propval_t *pv) argument
1361 topo_propval_t *pv; local
1379 prop_val_add(tnode_t *node, nvlist_t **nvl, topo_propval_t *pv, int *err) argument
1419 topo_propval_t *pv; local
1491 topo_propval_t *pv; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dlvm.c142 struct grub_lvm_pv *pv;
157 for (pv = vg->pvs; pv; pv = pv->next)
158 if (pv->disk && pv->disk->id == disk->id
159 && pv->disk->dev->id == disk->dev->id
160 && grub_partition_get_start (pv->disk->partition)
162 && grub_disk_get_size (pv
141 struct grub_lvm_pv *pv; local
773 struct grub_lvm_pv *pv; local
[all...]
/osnet-11/usr/src/lib/libc/port/regex/
H A Dwordexp.c93 int pv[2]; /* pipe from shell stdout */ local
272 if (pipe(pv) < 0) {
286 error = posix_spawn_file_actions_adddup2(&fact, pv[1], 1);
287 if (error == 0 && pv[0] != 1)
288 error = posix_spawn_file_actions_addclose(&fact, pv[0]);
289 if (error == 0 && pv[1] != 1)
290 error = posix_spawn_file_actions_addclose(&fact, pv[1]);
300 (void) close(pv[1]);
302 (void) close(pv[0]);
307 if ((fp = fdopen(pv[
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c367 int pv[2]; local
395 if(pipe(pv) < 0)
400 close(pv[1]);
407 read(pv[0],pv,1); /* wait for clone to close pipe */
447 close(pv[0]);
449 if(pv[1] != FDSYNC)
452 if(fcntl(pv[1],F_DUPFD,FDSYNC) != FDSYNC)
H A Dio.c892 int sh_pipe(register int pv[]) argument
896 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
898 pv[0] = sh_iomovefd(pv[0]);
899 pv[1] = sh_iomovefd(pv[1]);
900 VALIDATE_FD(shp, pv[0]);
901 VALIDATE_FD(shp, pv[1]);
902 shp->fdstatus[pv[
910 sh_coaccept(Shell_t *shp,int *pv,int out) argument
935 sh_copipe(Shell_t *shp, int *pv, int out) argument
1060 sh_pclose(register int pv[]) argument
[all...]
H A Dargs.c790 static int arg_pipe(register int pv[]) argument
794 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
796 pv[0] = sh_iomovefd(pv[0]);
797 pv[1] = sh_iomovefd(pv[1]);
798 shp->fdstatus[pv[0]] = IONOSEEK|IOREAD;
799 shp->fdstatus[pv[1]] = IONOSEEK|IOWRITE;
800 sh_subsavefd(pv[
810 int monitor, fd, pv[3]; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dcop.h41 # define CopFILE_set(c,pv) ((c)->cop_file = savepv(pv))
43 # define CopFILE_set(c,pv) ((c)->cop_file = savesharedpv(pv))
53 # define CopSTASHPV_set(c,pv) ((c)->cop_stashpv = ((pv) ? savepv(pv) : Nullch))
55 # define CopSTASHPV_set(c,pv) ((c)->cop_stashpv = savesharedpv(pv))
79 # define CopFILE_set(c,pv) CopFILEGV_se
[all...]
H A Dop.h313 # define PmopSTASHPV_set(o,pv) (PmopSTASHPV(o) = savesharedpv(pv))
324 # define PmopSTASHPV_set(o,pv) PmopSTASH_set((o), gv_stashpv(pv,GV_ADD))
H A Dnumeric.c531 Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) argument
533 const char *s = pv;
534 const char *send = pv + len;
713 if (len == 10 && memEQ(pv, "0 but true", 10)) {
H A Ddump.c108 Perl_pv_display(pTHX_ SV *dsv, char *pv, STRLEN cur, STRLEN len, STRLEN pvlim) argument
111 int nul_terminated = len > cur && pv[cur] == '\0';
114 for (; cur--; pv++) {
119 switch (*pv) {
127 if (isPRINT(*pv))
128 sv_catpvn(dsv, pv, 1);
129 else if (cur && isDIGIT(*(pv+1)))
130 Perl_sv_catpvf(aTHX_ dsv, "\\%03o", (U8)*pv);
132 Perl_sv_catpvf(aTHX_ dsv, "\\%o", (U8)*pv);
H A Dsv.c1278 char* pv = NULL; local
1298 pv = 0;
1307 pv = 0;
1321 pv = 0;
1334 pv = (char*)SvRV(sv);
1337 iv = PTR2IV(pv);
1338 nv = PTR2NV(pv);
1344 pv = SvPVX(sv);
1358 pv = SvPVX(sv);
1368 pv
1823 char *pv; local
1880 "Argument \\"%s\\" isn't numeric in %s", pv, local
1884 "Argument \\"%s\\" isn't numeric", pv); local
2996 char *pv = SvPV(tmpstr, *lp); local
5867 char *pv = (char*)bytes_from_utf8((U8*)pv1, local
5875 char *pv = (char *)bytes_from_utf8((U8*)pv2, local
7759 Perl_sv_setref_pv(pTHX_ SV *rv, const char *classname, void *pv) argument
7843 Perl_sv_setref_pvn(pTHX_ SV *rv, const char *classname, char *pv, STRLEN n) argument
7845 sv_setpvn(newSVrv(rv,classname), pv, n); local
[all...]
/osnet-11/usr/src/lib/librstp/common/
H A Dstpm.c182 register void* pv; local
187 pv = (void*) stater->next;
189 this->machines = stater = (STATE_MACH_T*) pv;
193 pv = (void*) port->next;
195 this->ports = port = (PORT_T*) pv;
H A Dport.c170 register void* pv; local
176 pv = (void*) stater->next;
178 stater = (STATE_MACH_T*) pv;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DC.pm276 my $pv = pack "a*", shift;
280 $pvsym = sprintf("pv%d", $pv_index++);
282 if( defined $max_string_len && length($pv) > $max_string_len ) {
283 my $chars = join ', ', map { cchar $_ } split //, $pv;
287 my $cstring = cstring($pv);
294 $pvmax = length(pack "a*",$pv) + 1;
309 # savesym, pvmax, len, pv
315 my( $len, $pvmax, $savesym, $pv ) = ( 0, 0 );
320 $pv = $pok ? (pack "a*", $sv->PV) : undef;
321 $len = $pok ? length($pv)
[all...]
H A DDebug.pm98 printf "\top_pv\t\t%s\n", cstring($op->pv);
141 my $pv = $sv->PV();
142 printf <<'EOT', cstring($pv), length($pv);
H A DBytecode.pm43 my $pv = shift;
44 defined($pv) ? cstring ($pv."\0") : "\"\"";
591 return unless my $pv = $op->pv;
594 asm "op_pv_tr", join ',', length($pv)/2, unpack("s*", $pv);
596 asm "newpv", pvstring $pv;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dlvm.h74 struct grub_lvm_pv *pv; member in struct:grub_lvm_node
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/ByteLoader/
H A Dbytecode.h100 #define BSET_stpv(pv, arg) STMT_START { \
101 BSET_OBJ_STORE(pv, arg); \
102 SAVEFREEPV(pv); \
141 #define BSET_pv_free(pv) Safefree(pv.xpv_pv)
/osnet-11/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c1830 oversize_t *pv; /* ptr to item left of insertion point */ local
1851 pv = nx->prev_byaddr;
1853 if (pv->size) {
1855 size_pv = OVSZ_HEADER_SIZE + pv->size;
1856 endp_pv = ALIGN((uintptr_t)pv + size_pv,
1858 size_pv = endp_pv - (uintptr_t)pv;
1890 pv->size += size_lp;
1891 position_oversize_by_size(pv);
1898 insert_oversize(lp, pv->next_byaddr);
1903 pv
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddeliver.c1332 char *pv[MAXPV + 1]; local
1380 ** code does not check for 'pv' overflow; this places a
1406 pvp = pv;
1429 ** in the pv after it.
1450 if (pvp >= &pv[MAXPV - 3])
1453 pv[0]);
1791 if (pvp >= &pv[MAXPV - 2])
1838 if (pvp >= &pv[MAXPV])
1839 syserr("554 5.3.0 deliver: pv overflow after $u for %s",
1840 pv[
1866 printav(sm_debug_file(), pv); local
[all...]
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dldap.py489 pv = self.get_prop_val(self.DEFPG, 'search_base')
490 if pv == None or pv == '':
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.h376 static const void *loadptr_for_##DESCNAME(const void *pv) \
378 const aux_typedefname_##DESCNAME *p = pv; \
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dwinreg_svc.c902 struct winreg_value *pv; local
935 pv = param->value;
936 pv->vc_first_is = 0;
937 pv->vc_length_is = slen;
939 (void) ndr_mbstowcs(NULL, (smb_wchar_t *)pv->value, value, slen);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DStorable.xs257 #define STORE_UTF8STR(pv, len) STORE_PV_LEN(pv, len, SX_UTF8STR, SX_LUTF8STR)
267 #define STORE_UTF8STR(pv, len) CROAK(("panic: storing UTF8 in non-UTF8 perl"))
852 #define STORE_PV_LEN(pv, len, small, large) \
859 WRITE(pv, len); \
863 WRITE(pv, len); \
867 #define STORE_SCALAR(pv, len) STORE_PV_LEN(pv, len, SX_SCALAR, SX_LSCALAR)
1869 char *pv;
1931 pv
[all...]

Completed in 100 milliseconds

123