Home
last modified time | relevance | path

Searched refs:lval (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c170 struct evalue lval; in eval_cat() local
176 arrowp, try, &lval)) in eval_cat()
181 len = snprintf(NULL, 0, "%s%s", (char *)(uintptr_t)lval.v, in eval_cat()
185 (void) snprintf(s, len + 1, "%s%s", (char *)(uintptr_t)lval.v, in eval_cat()
188 "eval_cat: %s %s returns %s", (char *)(uintptr_t)lval.v, in eval_cat()
1390 struct evalue lval; in eval_expr() local
1496 arrowp, try, &lval)) in eval_expr()
1501 if (rval.t == UINT64 || lval.t == UINT64) { in eval_expr()
1502 if (check_expr_args(&lval, &rval, UINT64, np)) in eval_expr()
1505 if (check_expr_args(&lval, &rval, UNDEFINED, np)) in eval_expr()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c358 long lval; in asn1_decode_key() local
368 ret = decode_tagged_integer (&kbuf, 0, &lval); in asn1_decode_key()
370 key->key_data_type[0] = lval; /* XXX range check? */ in asn1_decode_key()
407 long lval; in asn1_decode_sequence_of_keys() local
418 ret = decode_tagged_integer (&subbuf, 0, &lval); checkerr; in asn1_decode_sequence_of_keys()
419 maj = lval; /* XXX range check? */ in asn1_decode_sequence_of_keys()
422 ret = decode_tagged_integer (&subbuf, 1, &lval); checkerr; in asn1_decode_sequence_of_keys()
423 min = lval; /* XXX range check? */ in asn1_decode_sequence_of_keys()
429 ret = decode_tagged_integer (&subbuf, 2, &lval); checkerr; in asn1_decode_sequence_of_keys()
430 kvno = lval; /* XXX range check? */ in asn1_decode_sequence_of_keys()
[all …]
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_nisdbquery.c692 __nis_value_t *rval, *lval; in createNisPlusEntry() local
725 lval = 0; in createNisPlusEntry()
766 old = lval; in createNisPlusEntry()
767 lval = concatenateValues(old, tmpval); in createNisPlusEntry()
773 if (lval == 0 || lval->numVals <= 0 || rval->numVals <= 0) { in createNisPlusEntry()
774 freeValue(lval, 1); in createNisPlusEntry()
802 if (lval->numVals == 1 && lval->repeat) in createNisPlusEntry()
804 else if (lval->numVals > 1 && rval->repeat) in createNisPlusEntry()
805 nrq = 1 + ((rval->numVals-1)/lval->numVals); in createNisPlusEntry()
825 freeValue(lval, 1); in createNisPlusEntry()
[all …]
H A Dldap_ruleval.c621 __nis_value_t *rval, *lval; in addLdapRuleValue() local
678 lval = 0; in addLdapRuleValue()
719 old = lval; in addLdapRuleValue()
720 lval = concatenateValues(old, tmpval); in addLdapRuleValue()
732 if (lval == 0 || lval->numVals <= 0) { in addLdapRuleValue()
733 freeValue(lval, 1); in addLdapRuleValue()
738 for (i = 0, j = 0; i < lval->numVals; i++) { in addLdapRuleValue()
742 lval->val[i].value, 0, 0, rv); in addLdapRuleValue()
753 if (strcasecmp("dn", lval->val[i].value) == 0 && in addLdapRuleValue()
770 lval->val[i].value, rval->val[j].value, in addLdapRuleValue()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c174 #define sget8(inp, idx, lval) lval = (((uchar_t *)(inp))[idx++]) argument
175 #define gget8(inp, idx, lval) lval = (((uchar_t *)(inp))[idx]) argument
177 #define sget16(inp, idx, lval) \ argument
178 lval = gbyte((((uchar_t *)(inp))[idx]), 1) | \
181 #define gget16(inp, idx, lval) \ argument
182 lval = gbyte((((uchar_t *)(inp))[idx]), 1) | \
185 #define sget24(inp, idx, lval) \ argument
186 lval = gbyte((((uchar_t *)(inp))[idx]), 2) | \
190 #define gget24(inp, idx, lval) \ argument
191 lval = gbyte((((uchar_t *)(inp))[idx]), 2) | \
[all …]
/titanic_41/usr/src/lib/libshell/common/include/
H A Dstreval.h70 struct lval struct
94 Sfdouble_t (*fun)(const char**,struct lval*,int,Sfdouble_t); argument
195 extern Sfdouble_t strval(const char*,char**,Sfdouble_t(*)(const char**,struct lval*,int,Sfdouble_t)…
196 extern Arith_t *arith_compile(const char*,char**,Sfdouble_t(*)(const char**,struct lval*,int,Sfdoub…
/titanic_41/usr/src/lib/libndmp/common/
H A Dlibndmp_prop.c113 char *lval; in ndmp_get_prop() local
129 if ((lval = malloc(NDMP_PROP_LEN)) == NULL) { in ndmp_get_prop()
134 if (ndmp_smf_get_property(handle, prop, lval, NDMP_PROP_LEN) != 0) { in ndmp_get_prop()
136 free(lval); in ndmp_get_prop()
140 *value = lval; in ndmp_get_prop()
/titanic_41/usr/src/cmd/vi/port/
H A Dprintf.c303 long lval; local
320 while ((lval = value - BIG) >= 0) {
321 value = lval;
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c157 uint32_t lval; in smb_mbc_vdecodef() local
194 if (mbc_marshal_get_long(mbc, &lval) != 0) in smb_mbc_vdecodef()
198 if (lval != 0x424D53FF) /* 0xFF S M B */ in smb_mbc_vdecodef()
508 uint32_t lval; in smb_mbc_vencodef() local
610 lval = va_arg(ap, uint32_t); in smb_mbc_vencodef()
611 if (mbc_marshal_put_long(mbc, lval) != 0) in smb_mbc_vencodef()
659 lval = va_arg(ap, uint32_t); in smb_mbc_vencodef()
660 smb_time_unix_to_dos(lval, in smb_mbc_vencodef()
673 lval = va_arg(ap, uint32_t); in smb_mbc_vencodef()
674 smb_time_unix_to_dos(lval, in smb_mbc_vencodef()
/titanic_41/usr/src/cmd/utmpd/
H A Dutmpd.c1106 long lval; in validate_default() local
1110 lval = strtol(defp, &endptr, 10); in validate_default()
1112 if (errno != 0 || lval > INT_MAX || lval <= 0) in validate_default()
1121 *flag = lval; in validate_default()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dnetshareenum.c276 long lval = -1; in smb_rap_NetShareEnum() local
288 error = smb_rap_getNparam(rap, &lval); in smb_rap_NetShareEnum()
289 *pcTotalAvail = lval; in smb_rap_NetShareEnum()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_aggregate.c786 uint64_t lval, rval; in dt_aggregate_keycmp() local
807 lval = *((uint64_t *)ldata); in dt_aggregate_keycmp()
814 lval = *((uint32_t *)ldata); in dt_aggregate_keycmp()
821 lval = *((uint16_t *)ldata); in dt_aggregate_keycmp()
827 lval = *((uint8_t *)ldata); in dt_aggregate_keycmp()
838 lval = ((uint64_t *)ldata)[j]; in dt_aggregate_keycmp()
842 if (lval < rval) in dt_aggregate_keycmp()
845 if (lval > rval) in dt_aggregate_keycmp()
853 lval = ((uint8_t *)ldata)[j]; in dt_aggregate_keycmp()
856 if (lval < rval) in dt_aggregate_keycmp()
[all …]
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_iter.c286 nvlist_t *lval, *rval; in zfs_sort() local
292 psc->sc_user_prop, &lval) == 0); in zfs_sort()
297 verify(nvlist_lookup_string(lval, in zfs_sort()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dstreval.c72 struct lval errmsg; /* error message text */
79 Sfdouble_t (*convert)(const char**,struct lval*,int,Sfdouble_t);
162 struct lval node; in arith_exec()
499 struct lval lvalue,assignop; in expr()
812 Arith_t *arith_compile(const char *string,char **last,Sfdouble_t(*fun)(const char**,struct lval*,in… in arith_compile() argument
860 Sfdouble_t strval(const char *s,char **end,Sfdouble_t(*conv)(const char**,struct lval*,int,Sfdouble… in strval() argument
H A Darith.c59 static Namval_t *scope(Shell_t *shp,register Namval_t *np,register struct lval *lvalue,int assign) in scope()
113 static Sfdouble_t arith(const char **ptr, struct lval *lvalue, int type, Sfdouble_t n) in arith()
/titanic_41/usr/src/common/smbsrv/
H A Dsmb_msgbuf.c448 uint32_t lval; in buf_encode() local
531 lval = va_arg(ap, uint32_t); in buf_encode()
532 LE_OUT32(mb->scan, lval); in buf_encode()
/titanic_41/usr/src/uts/common/io/hme/
H A Dhme.c1977 long lval; in hme_m_setprop() local
1992 (void) ddi_strtol(val, NULL, 0, &lval); in hme_m_setprop()
1995 if ((lval >= 0) && (lval <= 255)) { in hme_m_setprop()
1996 hmep->hme_ipg1 = lval & 0xff; in hme_m_setprop()
2003 if ((lval >= 0) && (lval <= 255)) { in hme_m_setprop()
2004 hmep->hme_ipg2 = lval & 0xff; in hme_m_setprop()
2011 if ((lval >= 0) && (lval <= 31)) { in hme_m_setprop()
2012 hmep->hme_ipg0 = lval & 0xff; in hme_m_setprop()
2018 if ((lval >= 0) && (lval <= 1)) { in hme_m_setprop()
2019 hmep->hme_lance_mode = lval & 0xff; in hme_m_setprop()
/titanic_41/usr/src/cmd/power/
H A Dhandlers.c816 long lval; in scan_int() local
820 lval = strtol(LINEARG(1), NULL, 0); in scan_int()
821 if (errno || lval > INT_MAX || lval < 0) { in scan_int()
826 *dst = (int)lval; in scan_int()
/titanic_41/usr/src/cmd/awk/
H A Db.c313 f->re[(int)left(v)].lval = (int)right(v); in cfoll()
786 if (k == CHAR && c == f->re[p[i]].lval || in cgoto()
790 member(c, (uchar *)f->re[p[i]].lval) || in cgoto()
792 !member(c, (uchar *)f->re[p[i]].lval) && in cgoto()
H A Dawk.h248 int lval; member
/titanic_41/usr/src/cmd/audio/audioctl/
H A Daudioctl.c609 int lval, rval; in set_device_control() local
636 lval = atoi(lstr); in set_device_control()
641 lval = atoi(lstr); in set_device_control()
642 rval = lval; in set_device_control()
645 cval.value = AUDIO_CTRL_STEREO_VAL(lval, rval); in set_device_control()
/titanic_41/usr/src/uts/common/io/audio/drv/audiopci/
H A Daudiopci.c740 uint8_t lval, rval; in audiopci_stereo() local
747 lval = (val & 0xff00) >> 8; in audiopci_stereo()
750 lmute = lval ? 0 : CODEC_ATT_MUTE; in audiopci_stereo()
754 lval = ((((100U - lval) * CODEC_ATT_MAX) / 100) & 0xff) | lmute; in audiopci_stereo()
757 audiopci_ak_write(dev, lreg, lval); in audiopci_stereo()
/titanic_41/usr/src/cmd/rpcbind/
H A Drpcbind.c834 long lval; in convert_int() local
839 lval = strtol(str, &str, 10); in convert_int()
840 if (*str != '\0' || lval > INT_MAX) in convert_int()
843 *val = (int)lval; in convert_int()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c1970 uint_t lval; in interpret_default() local
2058 lval = get4(comdata); in interpret_default()
2064 "%s = 0x%.8x", label, lval); in interpret_default()
2067 " %s=0x%x", label, lval); in interpret_default()
/titanic_41/usr/src/common/bzip2/
H A Ddecompress.c74 #define GET_MTF_VAL(label1,label2,lval) \ argument
101 lval = gPerm[zvec - gBase[zn]]; \

12