Home
last modified time | relevance | path

Searched refs:cval (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/lib/libsocket/inet/
H A Dlink_addr.c69 unsigned char cval, num = 0; in _link_aton() local
86 while ((cval = *cptr++) != '\0') { in _link_aton()
87 if (cval == ':') { in _link_aton()
92 } else if (!isxdigit(cval)) { in _link_aton()
101 lastc = cval; in _link_aton()
103 if ((lastc == ':') || (cval != '\0' && !isspace(cval)) || in _link_aton()
115 cval = *ascaddr++; in _link_aton()
116 if (isdigit(cval)) { in _link_aton()
117 num = (num << 4) | (cval - '0'); in _link_aton()
118 } else if (isxdigit(cval)) { in _link_aton()
[all …]
/titanic_41/usr/src/lib/libbsm/common/
H A Daudit_scf.c563 do_getqctrl_scf(struct au_qctrl *cval) in do_getqctrl_scf() argument
584 cval->aq_hiwater = (size_t)cval_scf.scf_qhiwater; in do_getqctrl_scf()
585 cval->aq_lowater = (size_t)cval_scf.scf_qlowater; in do_getqctrl_scf()
586 cval->aq_bufsz = (size_t)cval_scf.scf_qbufsz; in do_getqctrl_scf()
587 cval->aq_delay = (clock_t)cval_scf.scf_qdelay; in do_getqctrl_scf()
598 do_getqbufsz_scf(size_t *cval) in do_getqbufsz_scf() argument
609 *cval = (size_t)cval_l; in do_getqbufsz_scf()
618 do_getqdelay_scf(clock_t *cval) in do_getqdelay_scf() argument
629 *cval = (clock_t)cval_l; in do_getqdelay_scf()
638 do_getqhiwater_scf(size_t *cval) in do_getqhiwater_scf() argument
[all …]
/titanic_41/usr/src/lib/libmp/common/
H A Dmadd.c32 short *cval; in m_add() local
34 cval = _mp_xalloc(a->len + 1, "m_add"); in m_add()
40 cval[i] = (short)(x & 077777); in m_add()
43 cval[i] = (short)x; in m_add()
49 cval[i] = (short)(x & 077777); in m_add()
52 cval[i] = (short)x; in m_add()
56 cval[i] = 1; in m_add()
61 c->val = cval; in m_add()
63 free(cval); in m_add()
/titanic_41/usr/src/cmd/fm/scripts/
H A Dbuildcode.pl297 my $cval = shift;
300 printf("crc(0x%08x, 0x%x)\n", $cval, $val) if $opt_c;
302 return (($cval<<8) ^ $Crctab[((($cval>>24) & 0xff) ^ $val) & 0xff]);
H A Dbustcode.pl322 my $cval = shift;
325 printf("crc(0x%08x, 0x%x)\n", $cval, $val) if $opt_c;
327 return (($cval<<8) ^ $Crctab[((($cval>>24) & 0xff) ^ $val) & 0xff]);
/titanic_41/usr/src/cmd/audio/audioctl/
H A Daudioctl.c455 oss_mixer_value cval; in print_control() local
464 cval.dev = -1; in print_control()
465 cval.ctrl = cinfop->ci.ctrl; in print_control()
468 if (ioctl(mfd, SNDCTL_MIX_READ, &cval) < 0) { in print_control()
483 cval.value ? _("on") : _("off")); in print_control()
488 cval.value & 0xff); in print_control()
493 (int)AUDIO_CTRL_STEREO_LEFT(cval.value), in print_control()
494 (int)AUDIO_CTRL_STEREO_RIGHT(cval.value)); in print_control()
498 str = get_enum_str(cinfop, cval.value); in print_control()
501 cval.value, cinfop->ci.extname); in print_control()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c4692 if (audio_control_write(ctrlp->af_ctrlp, ctrlp->cval)) { in usb_ac_ctrl_set_defaults()
4718 if (audio_control_write(ctrlp->af_ctrlp, ctrlp->cval)) { in usb_ac_ctrl_restore()
4781 *cvalp = ctrlp->cval; in usb_audio_ctrl_read()
4792 usb_audio_write_stero_rec(void *arg, uint64_t cval) in usb_audio_write_stero_rec() argument
4801 left = AUDIO_CTRL_STEREO_LEFT(cval); in usb_audio_write_stero_rec()
4802 right = AUDIO_CTRL_STEREO_RIGHT(cval); in usb_audio_write_stero_rec()
4811 ctrlp->cval = cval; in usb_audio_write_stero_rec()
4832 usb_audio_write_ster_vol(void *arg, uint64_t cval) in usb_audio_write_ster_vol() argument
4840 left = AUDIO_CTRL_STEREO_LEFT(cval); in usb_audio_write_ster_vol()
4841 right = AUDIO_CTRL_STEREO_RIGHT(cval); in usb_audio_write_ster_vol()
[all …]
/titanic_41/usr/src/lib/libsasl/lib/
H A Dseterror.c126 char *cval; in sasl_seterror() local
231 cval = va_arg(ap, char *); /* get the next arg */ in sasl_seterror()
233 &outlen, cval); in sasl_seterror()
H A Dcommon.c1780 char *cval; in ___sasl_log() local
1823 cval = va_arg(ap, char *); /* get the next arg */ in ___sasl_log()
1825 &outlen, cval); in ___sasl_log()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c148 uint8_t cval; in smb_mbc_vdecodef() local
275 if (mbc_marshal_get_char(mbc, &cval) != 0) in smb_mbc_vdecodef()
277 if (cval != 2) in smb_mbc_vdecodef()
283 if (mbc_marshal_get_char(mbc, &cval) != 0) in smb_mbc_vdecodef()
285 if (((c == 'A' || c == 'S') && cval != 4) || in smb_mbc_vdecodef()
286 (c == 'L' && cval != 2)) in smb_mbc_vdecodef()
513 uint8_t cval; in smb_mbc_vencodef() local
579 cval = va_arg(ap, int); in smb_mbc_vencodef()
580 if (mbc_marshal_put_char(mbc, cval) != 0) in smb_mbc_vencodef()
/titanic_41/usr/src/uts/common/sys/usb/clients/audio/usb_ac/
H A Dusb_ac.h177 uint64_t cval; /* current control value */ member
303 _NOTE(DATA_READABLE_WITHOUT_LOCK(usb_audio_ctrl_t::cval))
/titanic_41/usr/src/common/smbsrv/
H A Dsmb_msgbuf.c446 uint8_t cval; in buf_encode() local
508 cval = va_arg(ap, int); in buf_encode()
509 *mb->scan++ = cval; in buf_encode()
/titanic_41/usr/src/cmd/sgs/lex/common/
H A Dsub2.c523 int cmin, cval, tcnt, diff, p, *ast; in packtrans() local
533 cval = ncg; in packtrans()
637 if (diff < cval && diff < tcnt) { in packtrans()
638 cval = diff; in packtrans()
640 if (cval == 0) in packtrans()
648 cmin, st, cval); in packtrans()
/titanic_41/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c133 char cval; in asn_build_int() local
145 cval = (char)val; /* yes, loss of data intended */ in asn_build_int()
147 if (val == (int)cval) in asn_build_int()
/titanic_41/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c408 int8_t cval; in validate_size_and_cvt_val() local
441 cval = (int8_t)strtol(val, &endptr, 0); in validate_size_and_cvt_val()
444 (void) memcpy(outbuf, &cval, size); in validate_size_and_cvt_val()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c3705 uint8_t cval[20]; in emlxs_rcv_auth_msg_dhchap_challenge_cmpl_wait4next() local
3838 bcopy((void *)tmp, (void *)cval, cval_len); in emlxs_rcv_auth_msg_dhchap_challenge_cmpl_wait4next()
3898 (dhval_len), 1, cval); in emlxs_rcv_auth_msg_dhchap_challenge_cmpl_wait4next()
6059 uint8_t *cval, in emlxs_hash_Cai() argument
6083 MD5Update(&mdctx, (unsigned char *)cval, cval_len); in emlxs_hash_Cai()
6133 SHA1Update(&sha1ctx, (void *)cval, cval_len); in emlxs_hash_Cai()
6216 uint8_t cval[20]; in emlxs_hash_verification() local
6367 (void *)cval, node_dhc->hrsp_cval_len); in emlxs_hash_verification()
6371 (void *)cval, in emlxs_hash_verification()
6382 tran_id, cval, cval_len, in emlxs_hash_verification()
/titanic_41/usr/src/lib/libpicltree/
H A Dpicltree.c2668 int8_t cval; in prop_match() local
2692 cval = (int8_t)strtol(val, (char **)NULL, 0); in prop_match()
2693 return (cval == *(char *)vbuf); in prop_match()
/titanic_41/usr/src/uts/common/os/
H A Drctl.c749 rctl_val_list_find(rctl_val_t **head, rctl_val_t *cval) in rctl_val_list_find() argument
754 if (rctl_val_cmp(cval, rval, 0) == 0) in rctl_val_list_find()