/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fru_access_impl.h | 130 uint16_t length; /* segment length */ member 137 int length; /* segment length */ member 197 unsigned char compute_crc8(unsigned char *bytes, int length); 198 long compute_crc32(unsigned char *bytes, int length); 199 long compute_checksum32(unsigned char *bytes, int length);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access_impl.h | 134 uint16_t length; /* segment length */ member 141 int length; /* segment length */ member 201 unsigned char compute_crc8(unsigned char *bytes, int length); 202 long compute_crc32(unsigned char *bytes, int length); 203 long compute_checksum32(unsigned char *bytes, int length);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | import_sec_context.c | 54 for (p = krb5_gss_oid_array; p->length; p++) { 55 if ((oid->length == p->length) && 56 (memcmp(oid->elements, p->elements, p->length) == 0)) { 119 blen = (size_t) interprocess_token->length;
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 263 ap->ctx_handle.length = 0; 311 if (call_arg.length != 0) { 338 if (ap->ctx_handle.length == 0) { 350 if (call_res.token.length != 0) { 467 if (ap->ctx_handle.length > 0) 470 ag_creds.ctx_handle.length = 0; 520 in_buf.length = xdr_getpos(xdrs); 530 verf.oa_length = out_buf.length; 624 tok_buf.length = verf->oa_length; 671 ap->ctx_handle.length = 0; [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 307 n[c].val[i].length = val[c].val[i].length; in cloneValue() 319 n[c].val[i].length); in cloneValue() 942 v1->val[i1].length, in explodeValues() 946 v1->val[i1].length, in explodeValues() 950 v2->val[i2].length, in explodeValues() 954 v2->val[i2].length, in explodeValues() 968 v1->val[i1].length, in explodeValues() 972 v1->val[i1].length, in explodeValues() 976 v2->val[i2].length, in explodeValues() 980 v2->val[i2].length, in explodeValues() [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceType.java | 94 return (type2.length() > 0); in isAbstractType() 105 return (na.length() <= 0); in isNADefault() 139 return "service:" + type1 + (na.length() > 0 ? ("." + na):""); in getAbstractTypeName() 172 int i, n = name.length(); in validateTypeComponentInternal() 230 (na.length() > 0 ? ("." + na) : "") + in toString() 231 (type2.length() > 0 ? (":" + type2) : ""); in toString()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostbyname_r.c | 71 _switch_gethostbyaddr_r(const char *addr, int length, int type, 84 _uncached_gethostbyaddr_r(const char *addr, int length, int type, in _uncached_gethostbyaddr_r() argument 87 return (_switch_gethostbyaddr_r(addr, length, type, in _uncached_gethostbyaddr_r() 98 gethostbyaddr_r(const char *addr, int length, int type, 145 gethostbyaddr_r(const char *addr, int length, int type, in gethostbyaddr_r() argument 169 nssin.arg.nss.host.len = length; in gethostbyaddr_r()
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | check.c | 45 ssize_t length; in fail_check() local 48 if ((length = (ssize_t)wcstombs(NULL, L->l_data.wp, 0)) < 0) in fail_check() 54 line = alloca(length + 1); in fail_check() 56 line[length] = '\0'; in fail_check() 59 length = L->l_data_length; in fail_check() 64 (void) write(fileno(stderr), line, length); in fail_check() 70 (void) write(fileno(stderr), line, length); in fail_check()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_smb.c | 896 int length; in output_trans2_querypath() local 902 xsz -= length; in output_trans2_querypath() 925 int length; in output_trans2_queryfile() local 930 xsz -= length; in output_trans2_queryfile() 950 int length; in output_trans2_setfile() local 955 xsz -= length; in output_trans2_setfile() 975 int length; in output_trans2_findfirst() local 982 xsz -= length; in output_trans2_findfirst() 1013 int length; in output_trans2_findnext() local 1020 xsz -= length; in output_trans2_findnext() [all …]
|
H A D | snoop_pppoe.c | 144 interpret_tags(uint8_t *payload, uint16_t length) in interpret_tags() argument 152 while (length >= POET_HDRLEN) { in interpret_tags() 167 length -= POET_HDRLEN; in interpret_tags() 168 if (tag_length > length) { in interpret_tags() 184 length -= tag_length; in interpret_tags() 375 print_hexdata(char *line, uint8_t *data, uint16_t length) in print_hexdata() argument 381 while (index < length) { in print_hexdata() 387 print_utf8string(char *firstline, char *string, uint16_t length) in print_utf8string() argument 389 (void) sprintf(firstline, "%.*s", length, string); in print_utf8string()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | md5.c | 90 static unsigned int length; variable 148 length = 0; in md5_init() 154 int buflen = length & 63; in md5_update() 155 length += inputlen; in md5_update() 180 int i, buflen = length & 63; in md5_final() 191 *(UINT4 *) (buffer + 56) = cpu_to_le32 (8 * length); in md5_final() 245 length = 0; in md5_password() 261 length = 0; in md5_password() 330 length = 0; in md5()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | hexdump.c | 46 hexdump(const void *ptr, int length, const char *hdr, int flags) in hexdump() argument 64 for (i = 0; i < length; i += cols) { in hexdump() 74 if (k < length) in hexdump() 85 if (k >= length) in hexdump()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsiAuthClient.c | 71 unsigned int length; in iscsiAuthClientCheckString() local 77 for (length = 0; length < maxLength; length++) { in iscsiAuthClientCheckString() 99 if (--length == 0) { in iscsiAuthClientStringCopy() 119 if (--length == 0) { in iscsiAuthClientStringAppend() 129 if (--length == 0) { in iscsiAuthClientStringAppend() 648 unsigned int length; in iscsiAuthClientSetKeyValue() local 668 length += 1; in iscsiAuthClientSetKeyValue() 709 int length; in iscsiAuthClientCheckKey() local 720 length = 0; in iscsiAuthClientCheckKey() 820 int length; in iscsiAuthClientCheckChapAlgorithmKey() local [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vops2.c | 954 int length, width; local 992 length = 0; 1118 length = 1; 1147 length = 1; 1165 length = 1; 1193 gcursor += length; 1361 length = 1; 1380 length = 1; 1395 length = 1; 1430 length = 1; [all …]
|
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 1757 int length; in pcicfg_bridge_assign() local 2012 int length; in pcicfg_device_assign() local 2207 int length; in pcicfg_device_assign_readonly() local 2425 length); in pcicfg_get_mem() 2462 length); in pcicfg_get_pf_mem() 2477 int length; in pcicfg_sum_resources() local 2631 length = 0; in pcicfg_free_bridge_resources() 2689 if (length) in pcicfg_free_bridge_resources() 2718 int length; in pcicfg_free_device_resources() local 2905 int length; in pcicfg_match_dev() local [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 121 data->mechanism.length = gd32.mechanism.length; in gss_clnt_loadinfo() 136 if (data->mechanism.length >= MINAUTHLEN && in gss_clnt_loadinfo() 137 data->mechanism.length <= MAXAUTHLEN) { in gss_clnt_loadinfo() 140 data->mechanism.length))) { in gss_clnt_loadinfo() 145 kmem_free(elements, data->mechanism.length); in gss_clnt_loadinfo() 414 gss_data->mechanism.length); in sec_clnt_freeinfo() 738 mech->length = mech32.length; in sec_clnt_revoke() 747 if (mech->length < MINAUTHLEN || in sec_clnt_revoke() 748 mech->length > MAXAUTHLEN) { in sec_clnt_revoke() 755 kmem_free(elements, mech->length); in sec_clnt_revoke() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pbkdf2.c | 87 if (out->length > 0 && in krb5int_pbkdf2_hmac_sha1() 96 outlen = (CK_ULONG)out->length; in krb5int_pbkdf2_hmac_sha1() 104 params.ulSaltSourceDataLen = salt->length; in krb5int_pbkdf2_hmac_sha1() 111 passlen = (CK_ULONG)pass->length; in krb5int_pbkdf2_hmac_sha1() 123 tmpl[0].ulValueLen = out->length; in krb5int_pbkdf2_hmac_sha1()
|
/illumos-gate/usr/src/cmd/dtrace/demo/tcp/ |
H A D | tcpioflags.d | 37 this->length = args[2]->ip_plength - args[4]->tcp_offset; 40 args[2]->ip_daddr, args[4]->tcp_dport, this->length); 45 this->length = args[2]->ip_plength - args[4]->tcp_offset; 48 args[2]->ip_saddr, args[4]->tcp_sport, this->length);
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Utility.java | 69 if (root != null && root.length() > 0) { in loadLibrary() 71 String[] npaths = new String[paths.length * 2]; in loadLibrary() 72 for (int i = 0; i < paths.length; i++) { in loadLibrary() 74 npaths[i + paths.length] = paths[i]; in loadLibrary()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | sha2_mod.c | 326 offset, length); in sha2_digest_update_uio() 330 length -= cur_len; in sha2_digest_update_uio() 417 size_t length = digest_len; in sha2_digest_final_uio() local 425 offset, length); in sha2_digest_final_uio() 430 length -= cur_len; in sha2_digest_final_uio() 481 length -= cur_len; in sha2_digest_update_mblk() 554 size_t length = digest_len; in sha2_digest_final_mblk() local 564 length -= cur_len; in sha2_digest_final_mblk() 1482 offset, length); in sha2_mac_verify_atomic() 1491 length -= cur_len; in sha2_mac_verify_atomic() [all …]
|
H A D | arcfour.c | 317 size_t length = input->cd_length; in rc4_crypt_update() local 340 cur_len = MIN(iovp->iov_len - offset, length); in rc4_crypt_update() 346 length -= cur_len; in rc4_crypt_update() 434 size_t length = input->cd_length; in rc4_crypt_update() local 456 cur_len = MIN(iovp->iov_len - offset, length); in rc4_crypt_update() 464 length -= cur_len; in rc4_crypt_update() 470 if (vec_idx == uiop->uio_iovcnt && length > 0) { in rc4_crypt_update() 536 int length) in crypto_arcfour_crypt() argument 550 arcfour_crypt(key, in, start, length); in crypto_arcfour_crypt() 572 left = length; in crypto_arcfour_crypt() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_lmr_create.c | 54 IN DAT_VLEN length, 82 IN DAT_VLEN length, in dapl_lmr_create_virtual() argument 100 reg_desc, length, (DAT_PZ_HANDLE) pz, privileges); in dapl_lmr_create_virtual() 110 length, privileges); in dapl_lmr_create_virtual() 113 length, shm_cookie, privileges); in dapl_lmr_create_virtual() 305 IN DAT_VLEN length, in dapl_lmr_create() argument 322 if (length == 0) { in dapl_lmr_create() 345 length, NULL, pz, privileges, in dapl_lmr_create() 369 length, in dapl_lmr_create()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_creds.c | 121 if (!in_creds->second_ticket.length) { in krb5_get_credentials_core() 314 if (in_creds.server->realm.length < in_creds.client->realm.length) in krb5_validate_or_renew_creds() 317 in_creds.client->realm.length)) == NULL) { in krb5_validate_or_renew_creds() 322 in_creds.server->realm.length = in_creds.client->realm.length; in krb5_validate_or_renew_creds() 324 in_creds.client->realm.length); in krb5_validate_or_renew_creds() 327 in_creds.client->realm.length, in krb5_validate_or_renew_creds() 331 in_creds.client->realm.length, in krb5_validate_or_renew_creds()
|
H A D | mk_priv.c | 68 scratch1->length, &enclen))) in krb5_mk_priv_basic() 71 privmsg.enc_part.ciphertext.length = enclen; in krb5_mk_priv_basic() 73 malloc(privmsg.enc_part.ciphertext.length))) { in krb5_mk_priv_basic() 84 ivdata.length = blocksize; in krb5_mk_priv_basic() 103 privmsg.enc_part.ciphertext.length); in krb5_mk_priv_basic() 105 privmsg.enc_part.ciphertext.length = 0; in krb5_mk_priv_basic() 109 memset(scratch1->data, 0, scratch1->length); in krb5_mk_priv_basic()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | read2.cc | 360 length -= 2; in normalize_name() 363 length--; in normalize_name() 368 while (length > 0) { in normalize_name() 377 length -= 2; in normalize_name() 380 if ((length > 1) && in normalize_name() 384 length--; in normalize_name() 388 length--; in normalize_name() 421 length -= 3; in normalize_name() 424 length--; in normalize_name() 427 length--; in normalize_name() [all …]
|