Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 25 of 169) sorted by relevance

1234567

/titanic_44/usr/src/cmd/backup/dump/
H A Ddumpfstab.c94 addvfstab(tablename, pm) in addvfstab() argument
96 struct pmntent *pm;
103 assert(((mnttable == NULL) && (pm == NULL)) || (pm != NULL));
133 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
136 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
137 pm = pm->pm_next;
139 pm->pm_mnt = mnt;
140 pm->pm_next = (struct pmntent *)0;
162 return (pm);
182 struct pmntent *pm = (struct pmntent *)0; in mnttabread() local
[all …]
/titanic_44/usr/src/lib/libc/port/fp/
H A D__flt_decim.c265 __fast_double_to_decimal(double *dd, decimal_mode *pm, decimal_record *pd, in __fast_double_to_decimal() argument
272 if (pm->rd != fp_nearest) in __fast_double_to_decimal()
275 if (pm->df == fixed_form) { in __fast_double_to_decimal()
277 if (pm->ndigits < 0 || pm->ndigits > __TBL_TENS_MAX) in __fast_double_to_decimal()
282 if (pm->ndigits) { in __fast_double_to_decimal()
284 if (pm->ndigits > __TBL_TENS_EXACT) { in __fast_double_to_decimal()
285 dds *= __tbl_tens[pm->ndigits]; in __fast_double_to_decimal()
288 dds = __mul_set(dds, __tbl_tens[pm->ndigits], in __fast_double_to_decimal()
304 is = (pm->ndigits > 0)? pm->ndigits : 1; in __fast_double_to_decimal()
310 is = __double_to_digits(dds, pd->ds, pm->ndigits); in __fast_double_to_decimal()
[all …]
H A Ddouble_decim.c175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, in __big_decimal_to_string() argument
202 if (pm->df == fixed_form) { in __big_decimal_to_string()
204 er = -pm->ndigits; in __big_decimal_to_string()
224 elast = er = e - pm->ndigits + 1; in __big_decimal_to_string()
288 switch (pm->rd) { in __big_decimal_to_string()
317 if (pm->df == floating_form) { in __big_decimal_to_string()
338 __bigfloat_to_decimal(_big_float *bf, decimal_mode *pm, decimal_record *pd, in __bigfloat_to_decimal() argument
349 if (pm->ndigits >= DECIMAL_STRING_LENGTH || pm->ndigits <= in __bigfloat_to_decimal()
350 ((pm->df == floating_form)? 0 : -DECIMAL_STRING_LENGTH)) { in __bigfloat_to_decimal()
359 if (pm->df == fixed_form) { in __bigfloat_to_decimal()
[all …]
H A Ddecimal_bin.c334 __fast_decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, in __fast_decimal_to_single() argument
342 if (pm->rd != fp_nearest) in __fast_decimal_to_single()
433 __fast_decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, in __fast_decimal_to_double() argument
440 if (pm->rd != fp_nearest || pd->ndigits > 18 || pd->exponent in __fast_decimal_to_double()
495 decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, in decimal_to_single() argument
555 if (__fast_decimal_to_single(px, pm, pd, &ef) == 1) { in decimal_to_single()
563 __pack_single(&u, px, pm->rd, &ef); in decimal_to_single()
570 decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, in decimal_to_double() argument
634 if (__fast_decimal_to_double(px, pm, pd, &ef) == 1) { in decimal_to_double()
642 __pack_double(&u, px, pm->rd, &ef); in decimal_to_double()
[all …]
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Ddouble_decim.c42 decimal_round(decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps, in decimal_round() argument
52 switch (pm->rd) { in decimal_round()
85 if (pm->df == floating_form) { /* For E format, simply in decimal_round()
337 _unpacked_to_decimal(unpacked *px, decimal_mode *pm, decimal_record *pd, in _unpacked_to_decimal() argument
352 if ((pm->ndigits >= DECIMAL_STRING_LENGTH) || in _unpacked_to_decimal()
353 ((pm->df == floating_form) && (pm->ndigits < 1))) { /* Gross overflow or bad in _unpacked_to_decimal()
395 if (pm->df == floating_form) in _unpacked_to_decimal()
396 nsig = pm->ndigits + 1; /* Significant digits wanted in _unpacked_to_decimal()
410 if (((pm->df == fixed_form) && (pm->ndigits >= 0)) || in _unpacked_to_decimal()
411 ((pm->df == floating_form) && ((pm->ndigits + 1) > intdigs))) { /* Need to compute in _unpacked_to_decimal()
[all …]
H A Dfloat_decim.c37 single_to_decimal(px, pm, pd, ps) in single_to_decimal() argument
39 decimal_mode *pm;
61 _unpacked_to_decimal(&u, pm, pd, ps);
66 extended_to_decimal(px, pm, pd, ps) in extended_to_decimal() argument
68 decimal_mode *pm;
92 _unpacked_to_decimal(&u, pm, pd, ps);
H A Ddecimal_bin.c407 decimal_to_single(px, pm, pd, ps) in decimal_to_single() argument
409 decimal_mode *pm;
464 _fp_current_direction = pm->rd;
472 decimal_to_double(px, pm, pd, ps) in decimal_to_double() argument
474 decimal_mode *pm;
533 _fp_current_direction = pm->rd;
541 decimal_to_extended(px, pm, pd, ps) in decimal_to_extended() argument
543 decimal_mode *pm;
602 _fp_current_direction = pm->rd;
614 decimal_to_quadruple(px, pm, pd, ps) in decimal_to_quadruple() argument
[all …]
/titanic_44/usr/src/lib/libadm/common/
H A Dputdgrp.c600 struct member *pm, *qm, *rm; /* Tmp ptrs to struct member */ in _adddgrptabrec() local
634 if ((pm = ent->membership) != NULL) { in _adddgrptabrec()
637 while (pm->next) pm = pm->next; in _adddgrptabrec()
640 pm->next = new->membership; in _adddgrptabrec()
643 for (pm = ent->membership; pm; pm = pm->next) { in _adddgrptabrec()
644 qm = pm; in _adddgrptabrec()
646 if (strcmp(pm->name, rm->name) == 0) { in _adddgrptabrec()
796 struct member *pm; /* Ptr to member being examined */ in _rmdgrpmems() local
835 pm = ent->membership; in _rmdgrpmems()
837 while (pm && !found) { in _rmdgrpmems()
[all …]
/titanic_44/usr/src/cmd/fm/schemes/mem/sparc/
H A Dmem_disc.c211 mem_path_map_t *pm = NULL; in picl_frudata_parse() local
221 pm = fmd_fmri_alloc(sizeof (mem_path_map_t)); in picl_frudata_parse()
222 pm->pm_path = fmd_fmri_strdup(path); in picl_frudata_parse()
223 pm->pm_fullpath = fmd_fmri_strdup(fullpath); in picl_frudata_parse()
225 pm->pm_next = *mapp; in picl_frudata_parse()
226 *mapp = pm; in picl_frudata_parse()
257 mem_path_map_t *pm; in picl_frutree_parse() local
271 for (pm = dma->dma_pm; pm != NULL; pm = pm->pm_next) { in picl_frutree_parse()
272 if (picl_path_eq(pm->pm_path, path)) { in picl_frutree_parse()
273 (void) strcpy(path, pm->pm_fullpath); in picl_frutree_parse()
[all …]
/titanic_44/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c60 static prmap_t *pm = NULL; /* prmap_t array */ variable
82 if (pm != NULL) in __fex_sym_init()
83 free(pm); in __fex_sym_init()
84 pm = lpm = NULL; in __fex_sym_init()
89 (pm = (prmap_t*)malloc(statbuf.st_size)) == NULL) in __fex_sym_init()
93 free(pm); in __fex_sym_init()
94 pm = NULL; in __fex_sym_init()
97 n = read(i, pm, statbuf.st_size); in __fex_sym_init()
101 free(pm); in __fex_sym_init()
102 pm = NULL; in __fex_sym_init()
[all …]
/titanic_44/usr/src/cmd/lp/lib/filters/
H A Dinsfilter.c691 register PARM *pm; local
700 for (fail = 0, pm = parms; !fail && pm->keyword; pm++) {
702 if (!(pm->flags & X_MUST))
711 if (STREQU(pt->keyword, pm->keyword) &&
712 pt->result && MATCH(pt, pm))
805 register PARM *pm; local
820 for (pm = parms; pm->keyword; pm++) {
822 if ((pm->flags & X_USED) || !*(pm->pvalue))
827 if (!STREQU(pt->keyword, pm->keyword) || !pt->result)
835 pm->pvalue = &(pf->inputp->name);
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c301 register char *pe, *pm, *pl; in execbrc() local
339 for (pl = pm = p; pm <= pe; pm += len) { in execbrc()
340 if ((len = mblen(pm, MB_CUR_MAX)) <= 0) in execbrc()
343 switch (*pm & (QUOTE|TRIM)) { in execbrc()
361 savec = *pm; in execbrc()
362 *pm = 0; in execbrc()
365 *pm = savec; in execbrc()
374 pl = pm + 1; in execbrc()
380 for (pm++; *pm && *pm != ']'; pm += len) { in execbrc()
381 if ((len = mblen(pm, MB_CUR_MAX)) <= 0) in execbrc()
[all …]
/titanic_44/usr/src/lib/libshell/common/tests/
H A Dtimetype.sh56 tt[3]=2pm
65 tt[4]=5pm
71 tt[2pm]='2008-08-11+00:00:00,2pm'
75 [[ ${tt[2pm]} == *+14:00 ]] || err_exit 'tt[2pm] is not 2pm'
78 (( (tt[2pm] - tt[today] ) == 14*3600 )) || err_exit '2pm is not 14 hours'
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c230 crypto_get_provider_mechanisms_t *pm, tmp; in C_GetMechanismList() local
271 pm = malloc(alloc_bytes); in C_GetMechanismList()
272 if (pm == NULL) in C_GetMechanismList()
275 pm->pm_provider_id = provider_id; in C_GetMechanismList()
276 pm->pm_count = tmp.pm_count; in C_GetMechanismList()
278 while ((r = ioctl(kernel_fd, CRYPTO_GET_PROVIDER_MECHANISMS, pm)) < 0) { in C_GetMechanismList()
285 rv = crypto2pkcs11_error_number(pm->pm_return_value); in C_GetMechanismList()
291 for (i = 0; i < pm->pm_count; i++) { in C_GetMechanismList()
293 bcopy(&pm->pm_list[i][0], mechanism_info.mi_mechanism_name, in C_GetMechanismList()
337 if (strcmp(&pm->pm_list[i][0], "random") != 0) { in C_GetMechanismList()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c346 register char *pe, *pm, *pl; local
381 for (pl = pm = p; pm <= pe; pm++)
382 switch (*pm & (QUOTE|TRIM)) {
399 savec = *pm;
400 *pm = 0;
408 *pm = savec;
417 pl = pm + 1;
421 for (pm++; *pm && *pm != ']'; pm++)
423 if (!*pm)
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dglob.c247 const Char *pe, *pm, *pl; local
251 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
260 for (pm = pe++; *pe != RBRACKET && *pe != EOS; pe++)
267 pe = pm;
283 for (i = 0, pl = pm = ptr; pm <= pe; pm++) {
284 switch (*pm) {
287 for (pl = pm++; *pm != RBRACKET && *pm != EOS; pm++)
289 if (*pm == EOS) {
294 pm = pl;
309 if (i && *pm == COMMA)
[all …]
/titanic_44/usr/src/cmd/localedef/
H A Dtime.c122 } else if (tm.pm == NULL) { in add_time_list()
123 tm.pm = str; in add_time_list()
160 if (tm.pm != NULL) in check_time_list()
206 free((char *)tm.pm); in reset_time_list()
207 tm.pm = NULL; in reset_time_list()
254 (putl_category(tm.pm, f) == EOF) || in dump_time()
/titanic_44/usr/src/pkg/manifests/
H A Druntime-perl-module-sun-solaris.mf28 <transform file path=.*\.(pm|bs) -> default mode 0444>
57 file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Intrs.pm
58 file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Kstat.pm
59 file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Lgrp.pm
60 file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Project.pm
61 file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Task.pm
62 file path=usr/perl5/$(PERL_VERSION)/lib/$(PERL_ARCH)/Sun/Solaris/Utils.pm
75 file path=usr/perl5/$(PERL_VERSION)/lib/Sun/Solaris/BSM/_BSMparse.pm
76 file path=usr/perl5/$(PERL_VERSION)/lib/Sun/Solaris/Pg.pm
/titanic_44/usr/src/cmd/rpcbind/
H A Drpcb_check.c124 find_procname(rpcproc_t procnum, boolean_t pm) in find_procname() argument
129 if (pm) { in find_procname()
149 boolean_t pm) in rpcb_log() argument
177 if ((procname = find_procname(proc, pm)) == NULL) { in rpcb_log()
180 verdict ? "" : "refused ", client, pm ? "pmap" : "rpcb", in rpcb_log()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c120 prop_method_get(tnode_t *node, topo_propval_t *pv, topo_propmethod_t *pm, in prop_method_get() argument
129 nvlist_add_nvlist(args, TOPO_PROP_ARGS, pm->tpm_args) != 0) in prop_method_get()
146 if (topo_method_call(node, pm->tpm_name, pm->tpm_version, in prop_method_get()
793 topo_propmethod_t *pm = pv->tp_method; in topo_prop_setprop() local
800 ret = nvlist_add_nvlist(args, TOPO_PROP_ARGS, pm->tpm_args); in topo_prop_setprop()
826 ret = topo_method_call(node, pm->tpm_name, pm->tpm_version, in topo_prop_setprop()
848 register_methoderror(tnode_t *node, topo_propmethod_t *pm, int *errp, int l, in register_methoderror() argument
853 if (pm != NULL) { in register_methoderror()
854 if (pm->tpm_name != NULL) in register_methoderror()
855 topo_hdl_strfree(thp, pm->tpm_name); in register_methoderror()
[all …]
/titanic_44/usr/src/cmd/csh/
H A Dsh.glob.c285 tchar *pe, *pm, *pl; in execbrc() local
318 for (pl = pm = p; pm <= pe; pm++) in execbrc()
319 switch (*pm & (QUOTE|TRIM)) { in execbrc()
336 savec = *pm; in execbrc()
337 *pm = 0; in execbrc()
340 *pm = savec; in execbrc()
349 pl = pm + 1; in execbrc()
353 for (pm++; *pm && *pm != ']'; pm++) in execbrc()
355 if (!*pm) in execbrc()
/titanic_44/usr/src/cmd/devfsadm/
H A Daudio_link.c121 #define COPYSUB(to, from, pm, pos) (void) strncpy(to, &from[pm[pos].rm_so], \ argument
122 pm[pos].rm_eo - pm[pos].rm_so); \
123 to[pm[pos].rm_eo - pm[pos].rm_so] = 0;
/titanic_44/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c471 uftdi_pm_t *pm = uf->uf_pm; in uftdi_usb_power() local
476 if (!pm) in uftdi_usb_power()
484 if (USB_DEV_PWRSTATE_OK(pm->pm_pwr_states, level)) { in uftdi_usb_power()
487 level, pm->pm_pwr_states); in uftdi_usb_power()
495 if (pm->pm_raise_power && (level < (int)pm->pm_cur_power)) { in uftdi_usb_power()
1263 uftdi_pm_t *pm; in uftdi_create_pm_components() local
1272 pm = uf->uf_pm = kmem_zalloc(sizeof (*pm), KM_SLEEP); in uftdi_create_pm_components()
1274 pm->pm_pwr_states = (uint8_t)pwr_states; in uftdi_create_pm_components()
1275 pm->pm_cur_power = USB_DEV_OS_FULL_PWR; in uftdi_create_pm_components()
1276 pm->pm_wakeup_enabled = usb_handle_remote_wakeup(dip, in uftdi_create_pm_components()
[all …]
/titanic_44/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c470 pl2303_pm_t *pm = plp->pl_pm; in pl2303_usb_power() local
475 if (!pm) { in pl2303_usb_power()
484 if (USB_DEV_PWRSTATE_OK(pm->pm_pwr_states, level)) { in pl2303_usb_power()
487 level, pm->pm_pwr_states); in pl2303_usb_power()
496 if (pm->pm_raise_power && (level < (int)pm->pm_cur_power)) { in pl2303_usb_power()
1210 pl2303_pm_t *pm; in pl2303_create_pm_components() local
1220 pm = plp->pl_pm = kmem_zalloc(sizeof (pl2303_pm_t), KM_SLEEP); in pl2303_create_pm_components()
1222 pm->pm_pwr_states = (uint8_t)pwr_states; in pl2303_create_pm_components()
1223 pm->pm_cur_power = USB_DEV_OS_FULL_PWR; in pl2303_create_pm_components()
1224 pm->pm_wakeup_enabled = (usb_handle_remote_wakeup(dip, in pl2303_create_pm_components()
[all …]
/titanic_44/usr/src/lib/libc/port/regex/
H A Dglob.c315 const wcat_t *pe, *pm, *pl; in globexp2() local
319 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++) in globexp2()
329 for (pm = pe++; pe->w_wc != RBRACKET && in globexp2()
337 pe = pm; in globexp2()
351 for (i = 0, pl = pm = ptr; pm <= pe; pm++) { in globexp2()
352 switch (pm->w_wc) { in globexp2()
355 for (pl = pm++; pm->w_wc != RBRACKET && pm->w_wc != EOS; in globexp2()
356 pm++) in globexp2()
358 if (pm->w_wc == EOS) { in globexp2()
363 pm = pl; in globexp2()
[all …]

1234567