/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | endian.c | 23 htole16(uint16_t in) in htole16() argument 25 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in htole16() 29 htole32(uint32_t in) in htole32() argument 31 return (((in & 0xffUL) << 24) | in htole32() 32 (in & 0xff00UL) << 8 | in htole32() 33 (in & 0xff0000UL) >> 8 | in htole32() 34 ((in & 0xff000000UL) >> 24)); in htole32() 38 htole64(uint64_t in) in htole64() argument 40 return (((in & 0xffULL) << 56) | in htole64() 41 ((in & 0xff00ULL) << 40) | in htole64() [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | endian.c | 23 htole16(uint16_t in) in htole16() argument 25 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in htole16() 29 htole32(uint32_t in) in htole32() argument 31 return (((in & 0xffUL) << 24) | in htole32() 32 (in & 0xff00UL) << 8 | in htole32() 33 (in & 0xff0000UL) >> 8 | in htole32() 34 ((in & 0xff000000UL) >> 24)); in htole32() 38 htole64(uint64_t in) in htole64() argument 40 return (((in & 0xffULL) << 56) | in htole64() 41 ((in & 0xff00ULL) << 40) | in htole64() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_lib.c | 113 free_krb5_pa_pk_as_req(krb5_pa_pk_as_req **in) in free_krb5_pa_pk_as_req() argument 115 if (*in == NULL) return; in free_krb5_pa_pk_as_req() 116 if ((*in)->signedAuthPack.data != NULL) in free_krb5_pa_pk_as_req() 117 free((*in)->signedAuthPack.data); in free_krb5_pa_pk_as_req() 118 if ((*in)->trustedCertifiers != NULL) in free_krb5_pa_pk_as_req() 119 free_krb5_external_principal_identifier(&(*in)->trustedCertifiers); in free_krb5_pa_pk_as_req() 120 if ((*in)->kdcPkId.data != NULL) in free_krb5_pa_pk_as_req() 121 free((*in)->kdcPkId.data); in free_krb5_pa_pk_as_req() 122 free(*in); in free_krb5_pa_pk_as_req() 126 free_krb5_pa_pk_as_req_draft9(krb5_pa_pk_as_req_draft9 **in) in free_krb5_pa_pk_as_req_draft9() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_node.c | 136 ieee80211_ref_node(ieee80211_node_t *in) in ieee80211_ref_node() argument 138 ieee80211_node_incref(in); in ieee80211_ref_node() 139 return (in); in ieee80211_ref_node() 146 ieee80211_unref_node(ieee80211_node_t **in) in ieee80211_unref_node() argument 148 ieee80211_node_decref(*in); in ieee80211_unref_node() 149 *in = NULL; /* guard against use */ in ieee80211_unref_node() 157 ieee80211_node_authorize(ieee80211_node_t *in) in ieee80211_node_authorize() argument 159 ieee80211_impl_t *im = in->in_ic->ic_private; in ieee80211_node_authorize() 161 in->in_flags |= IEEE80211_NODE_AUTH; in ieee80211_node_authorize() 162 in->in_inact_reload = im->im_inact_run; in ieee80211_node_authorize() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/crypto/ |
H A D | md5.c | 54 static void Transform (UINT4 *buf, UINT4 *in); 123 UINT4 in[16]; in MD5Update() local 138 mdContext->in[mdi++] = *inBuf++; in MD5Update() 143 in[i] = (((UINT4)mdContext->in[ii+3]) << 24) | in MD5Update() 144 (((UINT4)mdContext->in[ii+2]) << 16) | in MD5Update() 145 (((UINT4)mdContext->in[ii+1]) << 8) | in MD5Update() 146 ((UINT4)mdContext->in[ii]); in MD5Update() 147 Transform (mdContext->buf, in); in MD5Update() 159 UINT4 in[16]; in MD5Final() local 165 in[14] = mdContext->i[0]; in MD5Final() [all …]
|
/illumos-gate/usr/src/stand/lib/xdr/ |
H A D | byteorder.c | 44 htonll(uint64_t in) in htonll() argument 46 return ((uint64_t)htonl((in >> 32) & 0xffffffff) | in htonll() 47 ((uint64_t)htonl(in & 0xffffffff) << 32)); in htonll() 51 ntohll(uint64_t in) in ntohll() argument 53 return ((uint64_t)ntohl((in >> 32) & 0xffffffff) | in ntohll() 54 ((uint64_t)ntohl(in & 0xffffffff) << 32)); in ntohll() 58 htonl(uint32_t in) in htonl() argument 62 i = (uint32_t)((in & (uint32_t)0xff000000) >> 24) + in htonl() 63 (uint32_t)((in & (uint32_t)0x00ff0000) >> 8) + in htonl() 64 (uint32_t)((in & (uint32_t)0x0000ff00) << 8) + in htonl() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/md4/ |
H A D | md4.c | 100 krb5_ui_4 in[16]; in krb5_MD4Update() local 115 mdContext->in[mdi++] = *inBuf++; in krb5_MD4Update() 120 in[i] = (((krb5_ui_4)mdContext->in[ii+3]) << 24) | in krb5_MD4Update() 121 (((krb5_ui_4)mdContext->in[ii+2]) << 16) | in krb5_MD4Update() 122 (((krb5_ui_4)mdContext->in[ii+1]) << 8) | in krb5_MD4Update() 123 ((krb5_ui_4)mdContext->in[ii]); in krb5_MD4Update() 124 Transform (mdContext->buf, in); in krb5_MD4Update() 133 krb5_ui_4 in[16]; in krb5_MD4Final() local 139 in[14] = mdContext->i[0]; in krb5_MD4Final() 140 in[15] = mdContext->i[1]; in krb5_MD4Final() [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | lib | 18 #define _dat__tzname 1 /* _tzname in default lib(s) */ 19 #define _dat_tzname 1 /* tzname in default lib(s) */ 20 #define _lib__cleanup 1 /* _cleanup() in default lib(s) */ 21 #define _lib_atexit 1 /* atexit() in default lib(s) */ 22 #define _lib_bcopy 1 /* bcopy() in default lib(s) */ 23 #define _lib_bzero 1 /* bzero() in default lib(s) */ 24 #define _lib_catclose 1 /* catclose() in default lib(s) */ 25 #define _lib_catgets 1 /* catgets() in default lib(s) */ 26 #define _lib_catopen 1 /* catopen() in default lib(s) */ 27 #define _lib_confstr 1 /* confstr() in default lib(s) */ [all …]
|
H A D | uwin | 5 #define _lib_a64l 1 /* a64l() in default lib(s) */ 6 #define _lib_acosh 1 /* acosh() in default lib(s) */ 7 #define _lib_asinh 1 /* asinh() in default lib(s) */ 8 #define _lib_atanh 1 /* atanh() in default lib(s) */ 9 #define _lib_cbrt 1 /* cbrt() in default lib(s) */ 10 #define _lib_ceil 1 /* ceil() in default lib(s) */ 11 #define _lib_crypt 1 /* crypt() in default lib(s) */ 12 #define _lib_erf 1 /* erf() in default lib(s) */ 13 #define _lib_exp 1 /* exp() in default lib(s) */ 14 #define _lib_expm1 1 /* expm1() in default lib(s) */ [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | md5.c | 50 unsigned char in[64]; member 83 static void MD5Transform(uint32 buf[4], const uint32 in[16]){ in MD5Transform() 91 MD5STEP(F1, a, b, c, d, in[ 0]+0xd76aa478, 7); in MD5Transform() 92 MD5STEP(F1, d, a, b, c, in[ 1]+0xe8c7b756, 12); in MD5Transform() 93 MD5STEP(F1, c, d, a, b, in[ 2]+0x242070db, 17); in MD5Transform() 94 MD5STEP(F1, b, c, d, a, in[ 3]+0xc1bdceee, 22); in MD5Transform() 95 MD5STEP(F1, a, b, c, d, in[ 4]+0xf57c0faf, 7); in MD5Transform() 96 MD5STEP(F1, d, a, b, c, in[ 5]+0x4787c62a, 12); in MD5Transform() 97 MD5STEP(F1, c, d, a, b, in[ 6]+0xa8304613, 17); in MD5Transform() 98 MD5STEP(F1, b, c, d, a, in[ 7]+0xfd469501, 22); in MD5Transform() [all …]
|
/illumos-gate/usr/src/cmd/picl/picld/ |
H A D | picld.c | 161 picld_fini(picl_service_t *in) in picld_fini() argument 165 ret.cnum = in->req_fini.cnum; in picld_fini() 172 picld_ping(picl_service_t *in) in picld_ping() argument 176 ret.cnum = in->req_ping.cnum; in picld_ping() 256 picld_wait(picl_service_t *in) in picld_wait() argument 263 ret.cnum = in->req_wait.cnum; in picld_wait() 271 err = xptree_refresh_notify(in->req_wait.secs); in picld_wait() 285 picld_getroot(picl_service_t *in) in picld_getroot() argument 293 picld_return_error(in->in.cnum, err); in picld_getroot() 303 picld_get_attrval(picl_service_t *in) in picld_get_attrval() argument [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | lib | 18 #define _dat__tzname 1 /* _tzname in default lib(s) */ 19 #define _dat_tzname 1 /* tzname in default lib(s) */ 20 #define _lib__cleanup 1 /* _cleanup() in default lib(s) */ 21 #define _lib_atexit 1 /* atexit() in default lib(s) */ 22 #define _lib_bcopy 1 /* bcopy() in default lib(s) */ 23 #define _lib_bzero 1 /* bzero() in default lib(s) */ 24 #define _lib_catclose 1 /* catclose() in default lib(s) */ 25 #define _lib_catgets 1 /* catgets() in default lib(s) */ 26 #define _lib_catopen 1 /* catopen() in default lib(s) */ 27 #define _lib_confstr 1 /* confstr() in default lib(s) */ [all …]
|
H A D | uwin | 5 #define _lib_a64l 1 /* a64l() in default lib(s) */ 6 #define _lib_acosh 1 /* acosh() in default lib(s) */ 7 #define _lib_asinh 1 /* asinh() in default lib(s) */ 8 #define _lib_atanh 1 /* atanh() in default lib(s) */ 9 #define _lib_cbrt 1 /* cbrt() in default lib(s) */ 10 #define _lib_ceil 1 /* ceil() in default lib(s) */ 11 #define _lib_crypt 1 /* crypt() in default lib(s) */ 12 #define _lib_erf 1 /* erf() in default lib(s) */ 13 #define _lib_exp 1 /* exp() in default lib(s) */ 14 #define _lib_expm1 1 /* expm1() in default lib(s) */ [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | lib | 18 #define _dat__tzname 1 /* _tzname in default lib(s) */ 19 #define _dat_tzname 1 /* tzname in default lib(s) */ 20 #define _lib__cleanup 1 /* _cleanup() in default lib(s) */ 21 #define _lib_atexit 1 /* atexit() in default lib(s) */ 22 #define _lib_bcopy 1 /* bcopy() in default lib(s) */ 23 #define _lib_bzero 1 /* bzero() in default lib(s) */ 24 #define _lib_catclose 1 /* catclose() in default lib(s) */ 25 #define _lib_catgets 1 /* catgets() in default lib(s) */ 26 #define _lib_catopen 1 /* catopen() in default lib(s) */ 27 #define _lib_confstr 1 /* confstr() in default lib(s) */ [all …]
|
H A D | uwin | 5 #define _lib_a64l 1 /* a64l() in default lib(s) */ 6 #define _lib_acosh 1 /* acosh() in default lib(s) */ 7 #define _lib_asinh 1 /* asinh() in default lib(s) */ 8 #define _lib_atanh 1 /* atanh() in default lib(s) */ 9 #define _lib_cbrt 1 /* cbrt() in default lib(s) */ 10 #define _lib_ceil 1 /* ceil() in default lib(s) */ 11 #define _lib_crypt 1 /* crypt() in default lib(s) */ 12 #define _lib_erf 1 /* erf() in default lib(s) */ 13 #define _lib_exp 1 /* exp() in default lib(s) */ 14 #define _lib_expm1 1 /* expm1() in default lib(s) */ [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | lib | 18 #define _dat__tzname 1 /* _tzname in default lib(s) */ 19 #define _dat_tzname 1 /* tzname in default lib(s) */ 20 #define _lib__cleanup 1 /* _cleanup() in default lib(s) */ 21 #define _lib_atexit 1 /* atexit() in default lib(s) */ 22 #define _lib_bcopy 1 /* bcopy() in default lib(s) */ 23 #define _lib_bzero 1 /* bzero() in default lib(s) */ 24 #define _lib_catclose 1 /* catclose() in default lib(s) */ 25 #define _lib_catgets 1 /* catgets() in default lib(s) */ 26 #define _lib_catopen 1 /* catopen() in default lib(s) */ 27 #define _lib_confstr 1 /* confstr() in default lib(s) */ [all …]
|
H A D | uwin | 5 #define _lib_a64l 1 /* a64l() in default lib(s) */ 6 #define _lib_acosh 1 /* acosh() in default lib(s) */ 7 #define _lib_asinh 1 /* asinh() in default lib(s) */ 8 #define _lib_atanh 1 /* atanh() in default lib(s) */ 9 #define _lib_cbrt 1 /* cbrt() in default lib(s) */ 10 #define _lib_ceil 1 /* ceil() in default lib(s) */ 11 #define _lib_crypt 1 /* crypt() in default lib(s) */ 12 #define _lib_erf 1 /* erf() in default lib(s) */ 13 #define _lib_exp 1 /* exp() in default lib(s) */ 14 #define _lib_expm1 1 /* expm1() in default lib(s) */ [all …]
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | byteorder64.c | 40 htonll(uint64_t in) in htonll() argument 42 return (htonl(in >> 32) | ((uint64_t)htonl(in) << 32)); in htonll() 46 ntohll(uint64_t in) in ntohll() argument 48 return (ntohl(in >> 32) | (uint64_t)ntohl(in) << 32); in ntohll() 52 htobe64(uint64_t in) in htobe64() argument 54 return (htonl(in >> 32) | ((uint64_t)htonl(in) << 32)); in htobe64() 58 htole64(uint64_t in) in htole64() argument 60 return (in); in htole64() 64 betoh64(uint64_t in) in betoh64() argument 66 return (ntohl(in >> 32) | (uint64_t)ntohl(in) << 32); in betoh64() [all …]
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | endian.c | 23 htole16(uint16_t in) in htole16() argument 25 return (in); in htole16() 29 htole32(uint32_t in) in htole32() argument 31 return (in); in htole32() 35 htole64(uint64_t in) in htole64() argument 37 return (in); in htole64() 41 letoh16(uint16_t in) in letoh16() argument 43 return (in); in letoh16() 47 le16toh(uint16_t in) in le16toh() argument 49 return (in); in le16toh() [all …]
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_cmd.c | 646 mlxcx_cmd_in_header_init(mlxcx_cmd_t *cmd, mlxcx_cmd_in_t *in, in mlxcx_cmd_in_header_init() argument 650 in->mci_opcode = to_be16(op); in mlxcx_cmd_in_header_init() 651 in->mci_op_mod = to_be16(mod); in mlxcx_cmd_in_header_init() 732 const void *in = cmd->mlcmd_in; in mlxcx_cmd_prep_input() local 738 bcopy(in, ent->mce_input, copy); in mlxcx_cmd_prep_input() 741 in += copy; in mlxcx_cmd_prep_input() 758 bcopy(in, mp->mlxb_data, copy); in mlxcx_cmd_prep_input() 760 in += copy; in mlxcx_cmd_prep_input() 991 mlxcx_cmd_send(mlxcx_t *mlxp, mlxcx_cmd_t *cmd, const void *in, uint32_t inlen, in mlxcx_cmd_send() argument 1033 cmd->mlcmd_in = in; in mlxcx_cmd_send() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | pp.probe | 15 for f in $ppdef $ppkey $ppsym 34 for i in stdinclude usrinclude 37 case $v in 42 for x in $v 43 do case $x in 45 case $x in 58 for d in $r 59 do case $d in 61 *) case $g in 62 '') case $p in [all …]
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | ChangeLog | 4 Changes in 1.2.12 (27 Mar 2022) 8 - Fix bug when window full in deflate_stored() 10 - Avoid a conversion error in gzseek when off_t type too small 12 - Avoid some conversion warnings in gzread.c and gzwrite.c 15 - Return an error if the gzputs string length can't fit in an int 16 - Add address checking in clang to -w option of configure 20 - Avoid an undefined behavior of memcpy() in gzappend() 21 - Avoid undefined behaviors of memcpy() in gz*printf() 22 - Avoid an undefined behavior of memcpy() in _tr_stored_block() 23 - Make the names in functions declarations identical to definitions [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | terminfo.c | 55 ti_unescape_memory (const char *in, const char *end) in ti_unescape_memory() argument 64 c = *(in++); in ti_unescape_memory() 68 if (*in >= 'A' && *in <= 'Z') in ti_unescape_memory() 70 *out = (*in) - 'A'; in ti_unescape_memory() 71 in++; in ti_unescape_memory() 79 c = *(in++); in ti_unescape_memory() 87 c = *(in++); in ti_unescape_memory() 94 in--; in ti_unescape_memory() 145 while (in <= end); in ti_unescape_memory() 151 ti_unescape_string (const char *in) in ti_unescape_string() argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | mamexec | 12 # NOTE: variables defined in this script may conflict with 33 do case $# in 36 case $1 in 40 -*) case $1 in 44 *) case $1 in 47 case $1 in 50 case $1 in 53 case $1 in 56 case $1 in 69 do case $# in [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_dis.c | 41 dt_dis_log(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_log() argument 44 DIF_INSTR_R1(in), DIF_INSTR_R2(in), DIF_INSTR_RD(in)); in dt_dis_log() 50 dif_instr_t in, FILE *fp) in dt_dis_branch() argument 52 (void) fprintf(fp, "%-4s %u", name, DIF_INSTR_LABEL(in)); in dt_dis_branch() 57 dt_dis_load(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_load() argument 60 DIF_INSTR_R1(in), DIF_INSTR_RD(in)); in dt_dis_load() 66 dif_instr_t in, FILE *fp) in dt_dis_store() argument 69 DIF_INSTR_R1(in), DIF_INSTR_RD(in)); in dt_dis_store() 74 dt_dis_str(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_str() argument 81 dt_dis_r1rd(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_r1rd() argument [all …]
|