/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __x_power.c | 55 int j, length = pbf->blength; in __multiply_base_two() local 58 for (j = 0; j < length; j++) { in __multiply_base_two() 76 int j, length = pbf->blength; in __multiply_base_ten() local 296 length[0] = pp[1] - pp[0]; in __big_float_times_power() 299 length[1] = pp[1] - pp[0]; in __big_float_times_power() 302 length[2] = pp[1] - pp[0]; in __big_float_times_power() 337 length[0] = pp[1] - pp[0]; in __big_float_times_power() 340 length[1] = pp[1] - pp[0]; in __big_float_times_power() 343 length[2] = pp[1] - pp[0]; in __big_float_times_power() 349 productsize += length[i]; in __big_float_times_power() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | oid.c | 41 if (oid1->length != oid2->length) in __OID_equal() 43 return (memcmp(oid1->elements, oid2->elements, oid1->length) == 0); in __OID_equal() 53 unsigned char *e = p + oid->length; in __OID_nel() 73 dest->length = 0; in __OID_copy_desc() 75 dest->elements = (void *)New(char, source->length); in __OID_copy_desc() 80 dest->length = source->length; in __OID_copy_desc() 83 memcpy(dest->elements, source->elements, dest->length); in __OID_copy_desc()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | Opaque.java | 84 String string = str.substring(OPAQUE_HEADER.length()); in unescapeByteArray() 89 int i, n = string.length(); in unescapeByteArray() 161 if (cbyte.length != bytes.length) { in equals() 170 for (i = 0; i < cbyte.length; i++) { in equals() 182 int i, n = bytes.length; in toString() 198 if (str.length() < 2) { in toString()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | verify_checksum.c | 57 indata.length = cksum->length; in krb5_c_verify_checksum() 71 if (cksum->length != hashsize) in krb5_c_verify_checksum() 74 computed.length = hashsize; in krb5_c_verify_checksum() 78 FREE(computed.contents, computed.length); in krb5_c_verify_checksum() 84 FREE(computed.contents, computed.length); in krb5_c_verify_checksum()
|
H A D | default_state.c | 45 new_state->length = 8; in krb5int_des_init_state() 49 (void) memset (new_state->data, 0, new_state->length); in krb5int_des_init_state() 53 (void) memcpy (new_state->data, key->contents, new_state->length); in krb5int_des_init_state() 66 FREE (state->data, state->length); in krb5int_default_free_state() 68 state->length = 0; in krb5int_default_free_state()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | set_realm.c | 36 size_t length; in krb5_set_principal_realm() local 42 length = strlen(realm); in krb5_set_principal_realm() 43 newrealm = malloc(length+1); /* Include room for the null */ in krb5_set_principal_realm() 50 krb5_princ_realm(context, principal)->length = length; in krb5_set_principal_realm()
|
H A D | init_keyblock.c | 38 size_t length, krb5_keyblock **out) in krb5_init_keyblock() argument 49 kb->length = length; in krb5_init_keyblock() 50 if(length) { in krb5_init_keyblock() 51 kb->contents = malloc (length); in krb5_init_keyblock()
|
/illumos-gate/usr/src/common/lz4/ |
H A D | lz4.c | 563 int len, length; in LZ4_compressCtx() local 609 length = ip - anchor; in LZ4_compressCtx() 614 (length >> 8) > oend) in LZ4_compressCtx() 619 len = length - RUN_MASK; in LZ4_compressCtx() 758 int len, length; in LZ4_compress64kCtx() local 802 length = ip - anchor; in LZ4_compress64kCtx() 987 size_t length; in LZ4_uncompress_unknownOutputSize() local 995 length += s; in LZ4_uncompress_unknownOutputSize() 999 cpy = op + length; in LZ4_uncompress_unknownOutputSize() 1015 op += length; in LZ4_uncompress_unknownOutputSize() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
H A D | f_cksum.c | 29 unsigned long length, krb5_keyblock *key, in mit_des_cbc_cksum() argument 38 input.length = length; in mit_des_cbc_cksum() 40 output.length = MIT_DES_BLOCK_LENGTH; in mit_des_cbc_cksum() 42 ivecdata.length = MIT_DES_BLOCK_LENGTH; in mit_des_cbc_cksum()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | ctl.c | 68 socklen_t length; in open_sockt() local 83 length = (socklen_t) sizeof (my_addr); in open_sockt() 85 if (getsockname(sockt, (struct sockaddr *)&my_addr, &length) == -1) { in open_sockt() 95 socklen_t length; in open_ctl() local 111 length = (socklen_t) sizeof (ctl_addr); in open_ctl() 112 if (getsockname(ctl_sockt, (struct sockaddr *)&ctl_addr, &length) in open_ctl()
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | ipp-support.c | 298 *size += length; in size_calculate() 299 return (length); in size_calculate() 304 build_chunk(void *fd, void *buffer, size_t length) in build_chunk() argument 308 memcpy(*s1, buffer, length); in build_chunk() 309 *s1 = *s1 + length; in build_chunk() 311 return (length); in build_chunk() 330 ssize_t rc, i = length; in ipp_request_read() 343 fd, buffer, length, rc); in ipp_request_read() 347 return (length); in ipp_request_read() 356 char length[32]; in ipp_send_initial_request_block() local [all …]
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | crcutils.c | 55 compute_crc8(unsigned char *bytes, int length) in compute_crc8() argument 73 for (i = 0; i < length; i++) { in compute_crc8() 83 compute_crc32(unsigned char *bytes, int length) in compute_crc32() argument 101 for (i = 0; i < length; i++) { in compute_crc32() 117 compute_checksum32(unsigned char *bytes, int length) in compute_checksum32() argument 125 for (i = 0; i < length-4; i += 4) { in compute_checksum32() 140 for (j = length-1, k = 3; j >= i; j--, k--) { in compute_checksum32()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | crcutils.c | 55 compute_crc8(unsigned char *bytes, int length) in compute_crc8() argument 73 for (i = 0; i < length; i++) { in compute_crc8() 83 compute_crc32(unsigned char *bytes, int length) in compute_crc32() argument 101 for (i = 0; i < length; i++) { in compute_crc32() 117 compute_checksum32(unsigned char *bytes, int length) in compute_checksum32() argument 125 for (i = 0; i < length-4; i += 4) { in compute_checksum32() 140 for (j = length-1, k = 3; j >= i; j--, k--) { in compute_checksum32()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | pfmt_print.c | 65 int length = 0; in __pfmt_print() local 108 length += status; in __pfmt_print() 111 length += status; in __pfmt_print() 146 length += status; in __pfmt_print() 149 length += status; in __pfmt_print() 158 length += status; in __pfmt_print() 162 return (length); in __pfmt_print()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_key.c | 55 from->length > 0) in krb5_copy_keyblock_data() 60 to->length = from->length; in krb5_copy_keyblock_data() 63 if (from->length > 0) in krb5_copy_keyblock_data() 64 (void) memcpy(to->contents, from->contents, from->length); in krb5_copy_keyblock_data() 100 if (!(new_key->contents = (krb5_octet *)MALLOC(from->length))) {
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 73 argc = this.args.length; in Getopt() 145 int len = optstring.length(); in parseshort() 198 il = optstring.length(); in parselong() 199 ol = opt.length(); in parselong() 342 if (optind + 1 < args.length) { in getopt() 344 args.length - (optind + 1)); in getopt() 345 args[args.length - 1] = tmp; in getopt() 384 if (args[optind].length() == ++_sp || longopt) { in getopt() 415 if (cp + 1 < optstring.length() && optstring.charAt(cp + 1) == ':') { in getopt() 417 if (!longopt && ((_sp + 1) < args[optind].length())) { in getopt() [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vput.c | 341 int length; in vshowmode() local 370 p += length; in vshowmode() 425 int length; in vgoto() local 432 length = 1; in vgoto() 1223 length = 1; 1226 length = 0; 1242 while(length--) 1249 for (length = WCOLS - destcol; length; length--) 1253 length = 0; 1328 if(length) { [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | changepw.c | 128 local_kaddr.length = sizeof(ss2sin(&local_addr)->sin_addr); in kpasswd_sendto_msg_callback() 139 local_kaddr.length = addrs[0]->length; in kpasswd_sendto_msg_callback() 140 local_kaddr.contents = malloc(addrs[0]->length); in kpasswd_sendto_msg_callback() 141 if (local_kaddr.contents == NULL && addrs[0]->length != 0) { in kpasswd_sendto_msg_callback() 146 memcpy(local_kaddr.contents, addrs[0]->contents, addrs[0]->length); in kpasswd_sendto_msg_callback() 178 message->length = output.length; in kpasswd_sendto_msg_callback() 263 remote_kaddr.length = sizeof(ss2sin(&remote_addr)->sin_addr); in krb5_change_set_password() 310 result_code_string->length = strlen(code_string); in krb5_change_set_password() 311 result_code_string->data = malloc(result_code_string->length); in krb5_change_set_password() 316 strncpy(result_code_string->data, code_string, result_code_string->length); in krb5_change_set_password() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | funstack.awk | 220 while (length(title) > 0) 517 for (k = min(maxlength,length(title)); k < length(title); ++k) 529 for (k = min(maxlength,length(title)) - 1; \ 533 k = length(title) # so must print entire string 539 k = length(title) 586 for (k = open_brace + 1; (level != 0) && (k <= length(s)); ++k) 597 if (substr(s,open_brace+1,length(control_word)+1) ~ \ 600 n = open_brace + 1 + length(control_word) 611 if (substr(s,open_brace - length(control_word),length(control_word)) ~ \ 620 n = open_brace - length(control_word) - 1 [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_dsp_name.c | 52 output_name_buffer->length = 0; in val_dsp_name_args() 123 malloc(union_name->external_name->length + 1)) == NULL) { 131 output_name_buffer->length = union_name->external_name->length; 134 union_name->external_name->length); 135 ((char *)output_name_buffer->value)[output_name_buffer->length] = '\0';
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/ |
H A D | descbc.c | 52 if (key->length != MIT_DES_KEYSIZE) in k5_descbc_hash() 54 if ((input->length%8) != 0) in k5_descbc_hash() 56 if (ivec && (ivec->length != MIT_DES_BLOCK_LENGTH)) in k5_descbc_hash() 58 if (output->length != MIT_DES_BLOCK_LENGTH) in k5_descbc_hash() 62 zero_ivec.length = sizeof(mit_des_zeroblock); in k5_descbc_hash()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_xdr.c | 45 key->length = strlen(princ_name)+1; 97 content->length += unparse_princ_size; 98 content->length += 2; 103 content->length += tl_data->tl_data_length; 104 content->length += 4; /* type, length */ 115 content->length += 4; /* Version, KVNO */ 118 content->length += 4; /* type + length */ 222 krb5_kdb_encode_int16(length, nextloc); 225 if (length) { 227 nextloc += length; [all …]
|
/illumos-gate/usr/src/common/ficl/ |
H A D | hash.c | 44 ficlUnsigned16 code = (ficlUnsigned16)s.length; in ficlHashCode() 47 if (s.length == 0) in ficlHashCode() 52 s.length && *trace; trace++, s.length--) { in ficlHashCode() 99 ficlUnsigned nCmp = name.length; in ficlHashLookup() 113 if ((word->length == name.length) && in ficlHashLookup()
|
H A D | dictionary.c | 158 ficlInteger length) in ficlDictionaryAppendData() argument 164 if (length == 0) { in ficlDictionaryAppendData() 169 while (length) { in ficlDictionaryAppendData() 171 length--; in ficlDictionaryAppendData() 197 if (length > FICL_NAME_LENGTH) in ficlDictionaryAppendString() 198 length = FICL_NAME_LENGTH; in ficlDictionaryAppendString() 361 word->length = length; in ficlDictionaryAppendWord() 558 if ((word->length <= 0) || (word->name[word->length] != '\0')) in ficlDictionaryIsAWord() 734 counted->length + 1) - 1; in ficlDictionarySee() 744 counted->length + 1) - 1; in ficlDictionarySee() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_rx.c | 444 uint16_t length; in e1000g_receive() local 526 length = current_desc->length; in e1000g_receive() 567 length, hw->mac.addr); in e1000g_receive() 569 length--; in e1000g_receive() 606 if (length > ETHERFCSL) { in e1000g_receive() 607 length -= ETHERFCSL; in e1000g_receive() 620 ETHERFCSL - length; in e1000g_receive() 622 ETHERFCSL - length; in e1000g_receive() 638 rx_buf->address, length, in e1000g_receive() 719 nmp->b_wptr += length; in e1000g_receive() [all …]
|