/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | ser_sctx.c | 92 size_t remain; local 95 remain = *lenremain; 98 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) 107 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) { 118 oid->length, &bp, &remain)) { 125 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) { 138 *lenremain = remain; 196 size_t remain; local 200 remain = *lenremain; 203 if (krb5_ser_unpack_int32(&ibuf, &bp, &remain)) [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | ser_actx.c | 204 size_t remain; in krb5_auth_context_externalize() local 210 remain = *lenremain; in krb5_auth_context_externalize() 217 (required <= remain)) { in krb5_auth_context_externalize() 220 (void) krb5_ser_pack_int32(KV5M_AUTH_CONTEXT, &bp, &remain); in krb5_auth_context_externalize() 222 &bp, &remain); in krb5_auth_context_externalize() 224 &bp, &remain); in krb5_auth_context_externalize() 226 &bp, &remain); in krb5_auth_context_externalize() 228 &bp, &remain); in krb5_auth_context_externalize() 230 &bp, &remain); in krb5_auth_context_externalize() 248 (void) krb5_ser_pack_int32(obuf32, &bp, &remain); in krb5_auth_context_externalize() [all …]
|
H A D | ser_ctx.c | 174 size_t remain; in krb5_context_externalize() local 179 remain = *lenremain; in krb5_context_externalize() 188 if (required > remain) in krb5_context_externalize() 192 kret = krb5_ser_pack_int32(KV5M_CONTEXT, &bp, &remain); in krb5_context_externalize() 199 &bp, &remain); in krb5_context_externalize() 207 &bp, &remain); in krb5_context_externalize() 214 &bp, &remain); in krb5_context_externalize() 221 &bp, &remain); in krb5_context_externalize() 228 &bp, &remain); in krb5_context_externalize() 235 &bp, &remain); in krb5_context_externalize() [all …]
|
H A D | ser_auth.c | 132 size_t remain; in krb5_authenticator_externalize() local 137 remain = *lenremain; in krb5_authenticator_externalize() 144 (required <= remain)) { in krb5_authenticator_externalize() 146 (void) krb5_ser_pack_int32(KV5M_AUTHENTICATOR, &bp, &remain); in krb5_authenticator_externalize() 150 &bp, &remain); in krb5_authenticator_externalize() 154 &bp, &remain); in krb5_authenticator_externalize() 158 &bp, &remain); in krb5_authenticator_externalize() 167 &remain); in krb5_authenticator_externalize() 178 &remain); in krb5_authenticator_externalize() 187 &remain); in krb5_authenticator_externalize() [all …]
|
H A D | ser_adata.c | 98 size_t remain; in krb5_authdata_externalize() local 102 remain = *lenremain; in krb5_authdata_externalize() 109 (required <= remain)) { in krb5_authdata_externalize() 111 (void) krb5_ser_pack_int32(KV5M_AUTHDATA, &bp, &remain); in krb5_authdata_externalize() 115 &bp, &remain); in krb5_authdata_externalize() 119 &bp, &remain); in krb5_authdata_externalize() 124 &bp, &remain); in krb5_authdata_externalize() 127 (void) krb5_ser_pack_int32(KV5M_AUTHDATA, &bp, &remain); in krb5_authdata_externalize() 130 *lenremain = remain; in krb5_authdata_externalize() 147 size_t remain; in krb5_authdata_internalize() local [all …]
|
H A D | ser_key.c | 96 size_t remain; in krb5_keyblock_externalize() local 100 remain = *lenremain; in krb5_keyblock_externalize() 107 (required <= remain)) { in krb5_keyblock_externalize() 109 (void) krb5_ser_pack_int32(KV5M_KEYBLOCK, &bp, &remain); in krb5_keyblock_externalize() 113 &bp, &remain); in krb5_keyblock_externalize() 117 &bp, &remain); in krb5_keyblock_externalize() 122 &bp, &remain); in krb5_keyblock_externalize() 125 (void) krb5_ser_pack_int32(KV5M_KEYBLOCK, &bp, &remain); in krb5_keyblock_externalize() 129 *lenremain = remain; in krb5_keyblock_externalize() 147 size_t remain; in krb5_keyblock_internalize() local [all …]
|
H A D | ser_addr.c | 98 size_t remain; in krb5_address_externalize() local 102 remain = *lenremain; in krb5_address_externalize() 109 (required <= remain)) { in krb5_address_externalize() 111 (void) krb5_ser_pack_int32(KV5M_ADDRESS, &bp, &remain); in krb5_address_externalize() 115 &bp, &remain); in krb5_address_externalize() 119 &bp, &remain); in krb5_address_externalize() 124 &bp, &remain); in krb5_address_externalize() 127 (void) krb5_ser_pack_int32(KV5M_ADDRESS, &bp, &remain); in krb5_address_externalize() 131 *lenremain = remain; in krb5_address_externalize() 149 size_t remain; in krb5_address_internalize() local [all …]
|
H A D | ser_cksum.c | 98 size_t remain; in krb5_checksum_externalize() local 102 remain = *lenremain; in krb5_checksum_externalize() 109 (required <= remain)) { in krb5_checksum_externalize() 111 (void) krb5_ser_pack_int32(KV5M_CHECKSUM, &bp, &remain); in krb5_checksum_externalize() 115 &bp, &remain); in krb5_checksum_externalize() 119 &bp, &remain); in krb5_checksum_externalize() 124 &bp, &remain); in krb5_checksum_externalize() 127 (void) krb5_ser_pack_int32(KV5M_CHECKSUM, &bp, &remain); in krb5_checksum_externalize() 131 *lenremain = remain; in krb5_checksum_externalize() 148 size_t remain; in krb5_checksum_internalize() local [all …]
|
H A D | ser_princ.c | 101 size_t remain; in krb5_principal_externalize() local 106 remain = *lenremain; in krb5_principal_externalize() 113 (required <= remain)) { in krb5_principal_externalize() 116 (void) krb5_ser_pack_int32(KV5M_PRINCIPAL, &bp, &remain); in krb5_principal_externalize() 118 &bp, &remain); in krb5_principal_externalize() 120 strlen(fname), &bp, &remain); in krb5_principal_externalize() 121 (void) krb5_ser_pack_int32(KV5M_PRINCIPAL, &bp, &remain); in krb5_principal_externalize() 123 *lenremain = remain; in krb5_principal_externalize() 143 size_t remain; in krb5_principal_internalize() local 148 remain = *lenremain; in krb5_principal_internalize() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ser_cc.c | 103 size_t remain; in krb5_ccache_externalize() local 110 remain = *lenremain; in krb5_ccache_externalize() 115 (required <= remain)) { in krb5_ccache_externalize() 117 (void) krb5_ser_pack_int32(KV5M_CCACHE, &bp, &remain); in krb5_ccache_externalize() 134 &bp, &remain); in krb5_ccache_externalize() 139 &bp, &remain); in krb5_ccache_externalize() 142 (void) krb5_ser_pack_int32(KV5M_CCACHE, &bp, &remain); in krb5_ccache_externalize() 145 *lenremain = remain; in krb5_ccache_externalize() 163 size_t remain; in krb5_ccache_internalize() local 167 remain = *lenremain; in krb5_ccache_internalize() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | ser_rc.c | 109 size_t remain; in krb5_rcache_externalize() local 116 remain = *lenremain; in krb5_rcache_externalize() 122 (required <= remain)) { in krb5_rcache_externalize() 124 (void) krb5_ser_pack_int32(KV5M_RCACHE, &bp, &remain); in krb5_rcache_externalize() 141 &bp, &remain); in krb5_rcache_externalize() 146 &bp, &remain); in krb5_rcache_externalize() 149 (void) krb5_ser_pack_int32(KV5M_RCACHE, &bp, &remain); in krb5_rcache_externalize() 152 *lenremain = remain; in krb5_rcache_externalize() 170 size_t remain; in krb5_rcache_internalize() local 174 remain = *lenremain; in krb5_rcache_internalize() [all …]
|
/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | AudioPipe.cc | 108 size_t remain; // number of bytes remaining in ReadData() local 112 remain = len; in ReadData() 118 err = AudioUnixfile::ReadData((void*)tbuf, remain, pos); in ReadData() 123 if (remain == 0) in ReadData() 125 cnt += remain; in ReadData() 126 tbuf += remain; in ReadData() 127 remain = len - cnt; in ReadData() 129 } while (!err && (remain > 0) && GetBlocking()); in ReadData()
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAESCrypt.c | 169 CK_ULONG remain; in soft_aes_encrypt_common() local 269 remain = total_len % AES_BLOCK_LEN; in soft_aes_encrypt_common() 275 out_len = total_len - remain; in soft_aes_encrypt_common() 336 if (remain != 0) in soft_aes_encrypt_common() 338 (ulDataLen - remain), remain); in soft_aes_encrypt_common() 339 soft_aes_ctx->remain_len = remain; in soft_aes_encrypt_common() 371 if (remain != 0) in soft_aes_encrypt_common() 373 (ulDataLen - remain), remain); in soft_aes_encrypt_common() 374 soft_aes_ctx->remain_len = remain; in soft_aes_encrypt_common() 507 CK_ULONG remain; in soft_aes_decrypt_common() local [all …]
|
H A D | softBlowfishCrypt.c | 154 CK_ULONG remain; in soft_blowfish_encrypt_common() local 219 remain = total_len % BLOWFISH_BLOCK_LEN; in soft_blowfish_encrypt_common() 225 out_len = total_len - remain; in soft_blowfish_encrypt_common() 284 if (remain != 0) in soft_blowfish_encrypt_common() 286 (ulDataLen - remain), remain); in soft_blowfish_encrypt_common() 288 soft_blowfish_ctx->remain_len = remain; in soft_blowfish_encrypt_common() 330 CK_ULONG remain; in soft_blowfish_decrypt_common() local 386 remain = total_len % BLOWFISH_BLOCK_LEN; in soft_blowfish_decrypt_common() 392 out_len = total_len - remain; in soft_blowfish_decrypt_common() 451 if (remain != 0) in soft_blowfish_decrypt_common() [all …]
|
H A D | softDESCrypt.c | 190 CK_ULONG remain; in soft_des_encrypt_common() local 289 remain = total_len % DES_BLOCK_LEN; in soft_des_encrypt_common() 295 out_len = total_len - remain; in soft_des_encrypt_common() 362 if (remain != 0) in soft_des_encrypt_common() 364 (ulDataLen - remain), remain); in soft_des_encrypt_common() 365 soft_des_ctx->remain_len = remain; in soft_des_encrypt_common() 398 if (remain != 0) in soft_des_encrypt_common() 400 (ulDataLen - remain), remain); in soft_des_encrypt_common() 401 soft_des_ctx->remain_len = remain; in soft_des_encrypt_common() 506 CK_ULONG remain; in soft_des_decrypt_common() local [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_init.c | 295 size_t remain; in profile_ser_externalize() local 301 remain = *remainp; in profile_ser_externalize() 306 if (required <= remain) { in profile_ser_externalize() 310 pack_int32(PROF_MAGIC_PROFILE, &bp, &remain); in profile_ser_externalize() 311 pack_int32(fcount, &bp, &remain); in profile_ser_externalize() 314 pack_int32(slen, &bp, &remain); in profile_ser_externalize() 318 remain -= (size_t) slen; in profile_ser_externalize() 321 pack_int32(PROF_MAGIC_PROFILE, &bp, &remain); in profile_ser_externalize() 324 *remainp = remain; in profile_ser_externalize() 352 size_t remain; in profile_ser_internalize() local [all …]
|
/titanic_41/usr/src/cmd/rmdir/ |
H A D | rmdir.c | 53 char *ptr, *remain, *msg, *path; in main() local 94 (remain = (char *)malloc(pathlen + 4)) == NULL) { in main() 105 if (((rc = rmdirp(path, remain)) != 0) && !sflag) { in main() 126 prog, ptr, remain, msg); in main() 129 free(remain); in main()
|
/titanic_41/usr/src/uts/intel/io/acpica/ |
H A D | master_ops.c | 164 size_t remain; in mf_lex() local 183 remain = size - 1; in mf_lex() 200 remain++; in mf_lex() 207 remain = size - 1; in mf_lex() 215 if (--remain == 0) { in mf_lex() 227 if (--remain == 0) { in mf_lex() 240 remain++; in mf_lex()
|
/titanic_41/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 52 unsigned long remain = 0; in main() local 119 remain++; in main() 135 while (remain != 0) { in main() 181 remain--; in main()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 606 size_t remain; in krb5_ktf_keytab_externalize() local 616 remain = *lenremain; in krb5_ktf_keytab_externalize() 621 (required <= remain)) { in krb5_ktf_keytab_externalize() 623 (void) krb5_ser_pack_int32(KV5M_KEYTAB, &bp, &remain); in krb5_ktf_keytab_externalize() 667 &bp, &remain); in krb5_ktf_keytab_externalize() 672 &bp, &remain); in krb5_ktf_keytab_externalize() 675 (void) krb5_ser_pack_int32(file_is_open, &bp, &remain); in krb5_ktf_keytab_externalize() 678 (void) krb5_ser_pack_int64(file_pos, &bp, &remain); in krb5_ktf_keytab_externalize() 683 &bp, &remain); in krb5_ktf_keytab_externalize() 686 (void) krb5_ser_pack_int32(KV5M_KEYTAB, &bp, &remain); in krb5_ktf_keytab_externalize() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 593 int remain; in print_ipoptions() local 608 remain = get_line_remain(); in print_ipoptions() 613 (void) strlcpy(line, " - End of option list", remain); in print_ipoptions() 616 (void) strlcpy(line, " - No op", remain); in print_ipoptions() 620 (void) snprintf(line, remain, in print_ipoptions() 625 (void) snprintf(line, remain, in print_ipoptions() 629 (void) snprintf(line, remain, " - RIPSO (%d bytes%s)", in print_ipoptions() 634 (void) snprintf(line, remain, " - CIPSO (%d bytes%s)", in print_ipoptions() 639 (void) snprintf(line, remain, in print_ipoptions() 645 (void) snprintf(line, remain, in print_ipoptions() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1buf.c | 243 int remain; in asn1buf_remains() local 245 remain = buf->bound - buf->next +1; in asn1buf_remains() 246 if (remain <= 0) return remain; in asn1buf_remains() 250 if (indef && remain >= 2 && !*(buf->next) && !*(buf->next + 1)) in asn1buf_remains() 252 else return remain; in asn1buf_remains()
|
/titanic_41/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_form.c | 102 int remain = 0; in dwarf_uncompress_integer_block() local 125 remain = input_length_in_bytes; in dwarf_uncompress_integer_block() 127 while (remain > 0) { in dwarf_uncompress_integer_block() 132 remain -= len; in dwarf_uncompress_integer_block() 136 if (remain != 0) { in dwarf_uncompress_integer_block() 155 remain = input_length_in_bytes; in dwarf_uncompress_integer_block() 157 for (i=0; i<output_length_in_units && remain>0; i++) { in dwarf_uncompress_integer_block() 162 remain -= len; in dwarf_uncompress_integer_block() 166 if (remain != 0) { in dwarf_uncompress_integer_block()
|
/titanic_41/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 194 size_t remain; in lex() local 205 remain = size - 1; in lex() 240 if (--remain == 0) { in lex() 254 remain++; in lex() 262 remain = size - 1; in lex() 271 if (--remain == 0) { in lex() 297 if (--remain == 0) { in lex() 318 if (--remain == 0) { in lex() 325 remain++; in lex() 331 if (--remain == 0) { in lex() [all …]
|
/titanic_41/usr/src/common/mapfiles/common/ |
H A D | map.noexdata | 26 # Table (PLT) that must remain executable. 48 $error SPARC Procedure Linkage Table (PLT) must remain executable
|