/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_manage.h | 42 u16 length, u16 offset, u8 *sum); 46 u8 *buffer, u16 length); 48 u8 e1000_calculate_checksum(u8 *buffer, u32 length); 49 s32 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length); 50 s32 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length);
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssdtest.c | 374 name.length = strlen(argv[0])+1; 553 name.length = strlen(argv[0])+1; 676 (inquire_mechs->elements->length+1)*4 826 name.length = strlen(argv[0])+1; 1843 expName.length = strlen(krb5_root_name); 1846 expName.length = strlen(argv[0]); 1851 newLen = expName.length/2; 1854 for (i = 0; i < expName.length; i += 2) { 1859 expName.length = newLen; 1904 gssBuf.length = strlen((char *)argv[0]); [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wgetstr.c | 68 char rownum[LENGTH], colnum[LENGTH], length[LENGTH]; in wgetnstr() local 120 total -= (i = length[cpos]); in wgetnstr() 159 length[cpos] = (char)scrw; in wgetnstr() 168 length[cpos] = 1; in wgetnstr() 171 length[cpos] = TABSIZE- in wgetnstr() 175 length[cpos] = 2; in wgetnstr() 176 total += length[cpos]; in wgetnstr()
|
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 204 size_t length; member 440 psaddr->length < newaddr->length)) in insert_addr() 517 psaddr->length = 0; in parse_suboptions() 623 newaddr->length = pmp->pr_size; in create_maplist() 633 newaddr->length = pmp->pr_size; in create_maplist() 688 psaddr->length, i) < 0)) { in apply_advice() 700 psaddr->length); in apply_advice() 759 clptr->length = 0; in create_choplist() 771 clptr->length = 0; in create_choplist() 797 clptr->addr + clptr->length) in create_choplist() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_file.c | 478 length--; in krb5_fcc_read_principal() 479 if (length < 0) in krb5_fcc_read_principal() 485 if (length) { in krb5_fcc_read_principal() 499 tmpprinc->length = length; in krb5_fcc_read_principal() 541 msize = length; in krb5_fcc_read_addrs() 543 if (msize == 0 || msize - 1 != length || length < 0) in krb5_fcc_read_addrs() 638 if (data->length != len || data->length + 1 == 0) in krb5_fcc_read_data() 819 msize = length; in krb5_fcc_read_authdata() 821 if (msize == 0 || msize - 1 != length || length < 0) in krb5_fcc_read_authdata() 988 length += 1; in krb5_fcc_store_addrs() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/ |
H A D | ibmf_saa.h | 77 size_t length, 357 size_t *length, 412 size_t *length, 454 size_t *length, 493 size_t *length, 532 size_t *length,
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_misc.c | 31 target->realm.length = source->realm.length; in asn1_krb5_realm_copy() 32 target->realm.data = (char*)malloc(target->realm.length); /* copy realm */ in asn1_krb5_realm_copy() 35 target->realm.length); in asn1_krb5_realm_copy()
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_netbios_util.c | 222 unsigned int length; in netbios_first_level_name_decode() local 229 if ((length = *cp++) != 0x20) { in netbios_first_level_name_decode() 234 while (length > 0) { in netbios_first_level_name_decode() 245 length -= 2; in netbios_first_level_name_decode() 251 if ((length = *cp++) != 0) in netbios_first_level_name_decode()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | lucid_context.c | 116 rep.length = sizeof(lctx); in gss_krb5int_export_lucid_sec_context() 261 if (!k5key || !k5key->contents || k5key->length == 0) in copy_keyblock_to_lucid_key() 267 if ((lkey->data = xmalloc(k5key->length)) == NULL) { in copy_keyblock_to_lucid_key() 270 memcpy(lkey->data, k5key->contents, k5key->length); in copy_keyblock_to_lucid_key() 271 lkey->length = k5key->length; in copy_keyblock_to_lucid_key() 284 if (key->data && key->length) { in free_lucid_key_data() 285 memset(key->data, 0, key->length); in free_lucid_key_data()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | IANACharCode.java | 196 if (b.length <= 4) { in escapeChar() 208 if (b.length > 1) { in escapeChar() 217 if (b.length > 3) { in escapeChar() 228 if (b.length > 1) { in escapeChar() 232 if (b.length > 2) { in escapeChar() 350 if (bytes.length >= 2) { in getUnicodeEndianess() 374 byte[] flaggedBytes = new byte[bytes.length + 2]; in addBigEndianFlag() 379 System.arraycopy(flaggedBytes, 2, bytes, 0, bytes.length); in addBigEndianFlag()
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioStream_inline.h | 55 length = len; in setlength() 65 length = len; in SetLength() 71 return (length); in GetLength() 77 return (hdr.Time_to_Bytes(length)); in GetByteCount()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_lock.c | 101 uint64_t length, in smb_unlock_range() argument 109 if (length > 1 && in smb_unlock_range() 110 (start + length) < start) in smb_unlock_range() 173 uint64_t length, in smb_lock_range() argument 187 if (length > 1 && in smb_lock_range() 357 uint64_t length, in smb_lock_range_access() argument 365 if (length == 0) in smb_lock_range_access() 676 if (length == 0) { in smb_lock_range_overlap() 953 uint64_t length, in smb_lock_range_ulckrules() argument 983 uint64_t length, in smb_lock_create() argument [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_idprom.c | 48 int length; in prom_getidprom() local 50 length = prom_getproplen(prom_rootnode(), OBP_IDPROM); in prom_getidprom() 51 if (length == -1) { in prom_getidprom() 56 if (length > size) { in prom_getidprom()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 574 int length; in scsi_format_time() local 661 int length; in scsi_ms_page1() local 737 if (length > 8) { in scsi_ms_page1() 821 int length; in scsi_ms_page2() local 955 int length; in scsi_ms_page3() local 1145 int length; in scsi_ms_page4() local 1294 int length; in scsi_ms_page8() local 1438 int length; in scsi_ms_page38() local 1728 hdr->length = BE_16(hdr->length); in scsi_read_defect_data() 1753 defects->length = BE_16(defects->length); in scsi_read_defect_data() [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | fastlz.h | 52 int fastlz_compress(const void *input, int length, void *output); 53 int fastlz_compress_level(int level, const void *input, int length, 55 int fastlz_decompress(const void *input, int length, void *output, int maxout); 71 unsigned long block_compress(const unsigned char *, unsigned long length,
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | checksum_length.c | 33 size_t *length) in krb5_c_checksum_length() argument 46 *length = krb5_cksumtypes_list[i].keyhash->hashsize; in krb5_c_checksum_length() 48 *length = krb5_cksumtypes_list[i].trunc_size; in krb5_c_checksum_length() 50 *length = krb5_cksumtypes_list[i].hash->hashsize; in krb5_c_checksum_length()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | implicit.cc | 172 (int) target_body->hash.length); in find_suffix_rule() 187 suffix.suffix->hash.length); in find_suffix_rule() 189 suffix.suffix->hash.length] = in find_suffix_rule() 230 tmpbuf = getmem(source->hash.length + 8); in find_suffix_rule() 532 suffix_length = suffix->name->hash.length; in find_ar_suffix_rule() 545 (int)(true_target->hash.length - in find_ar_suffix_rule() 734 (int) target_suffix->hash.length); in build_suffix_list() 743 hash.length + in build_suffix_list() 744 target_suffix->hash.length), in build_suffix_list() 1210 prefix_length = prefix->hash.length; in match_found_with_pattern() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 37 ep->length = 4, \ 120 l += 3 * ho->endpoint.length + 8; in mp_join_bundle() 244 ep->length = 6; 283 if (ep->class == EPD_NULL && ep->length == 0) 285 if (ep->class == EPD_IP && ep->length == 4) { 295 if (ep->class == EPD_MAC && ep->length == 6) 297 else if (ep->class == EPD_MAGIC && (ep->length % 4) == 0) 306 for (i = 0; i < ep->length && i < MAX_ENDP_LEN; ++i) { 352 ep->length = 0; 372 ep->length = 6; [all …]
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | dosys.cc | 154 int length; in doshell() local 182 if ((length = wcslen(command)) >= MAXPATHLEN) { in doshell() 183 tmp_mbs_buffer = getmem((length * MB_LEN_MAX) + 1); in doshell() 184 (void) wcstombs(tmp_mbs_buffer, command, (length * MB_LEN_MAX) + 1); in doshell() 318 int length; in doexec() local 345 if ((length = wcslen(command)) >= MAXPATHLEN) { in doexec() 346 tmp_mbs_buffer = getmem((length * MB_LEN_MAX) + 1); in doexec() 347 (void) wcstombs(tmp_mbs_buffer, command, (length * MB_LEN_MAX) + 1); in doexec() 376 if ((length = wcslen(q)) >= MAXPATHLEN) { in doexec() 377 tmp_mbs_buffer = getmem((length * MB_LEN_MAX) + 1); in doexec() [all …]
|
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | modes.c | 244 size_t length = len; in crypto_uio_data() local 267 if (vec_idx == uiop->uio_iovcnt && length > 0) { in crypto_uio_data() 275 while (vec_idx < uiop->uio_iovcnt && length > 0) { in crypto_uio_data() 277 offset, length); in crypto_uio_data() 303 length -= cur_len; in crypto_uio_data() 308 if (vec_idx == uiop->uio_iovcnt && length > 0) { in crypto_uio_data() 334 size_t length = len; in crypto_mblk_data() local 361 while (mp != NULL && length > 0) { in crypto_mblk_data() 362 cur_len = MIN(MBLKL(mp) - offset, length); in crypto_mblk_data() 387 length -= cur_len; in crypto_mblk_data() [all …]
|
H A D | ecb.c | 42 ecb_cipher_contiguous_blocks(ecb_ctx_t *ctx, char *data, size_t length, in ecb_cipher_contiguous_blocks() argument 46 size_t remainder = length; in ecb_cipher_contiguous_blocks() 57 if (length + ctx->ecb_remainder_len < block_size) { in ecb_cipher_contiguous_blocks() 61 length); in ecb_cipher_contiguous_blocks() 62 ctx->ecb_remainder_len += length; in ecb_cipher_contiguous_blocks() 122 remainder = (size_t)&data[length] - (size_t)datap; in ecb_cipher_contiguous_blocks()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 228 size_t length = input->cd_length; in crypto_update_uio() local 249 if (vec_idx == uiop->uio_iovcnt && length > 0) { in crypto_update_uio() 260 while (vec_idx < uiop->uio_iovcnt && length > 0) { in crypto_update_uio() 262 offset, length); in crypto_update_uio() 267 length -= cur_len; in crypto_update_uio() 272 if (vec_idx == uiop->uio_iovcnt && length > 0) { in crypto_update_uio() 292 size_t length = input->cd_length; in crypto_update_mp() local 318 while (mp != NULL && length > 0) { in crypto_update_mp() 319 cur_len = MIN(MBLKL(mp) - offset, length); in crypto_update_mp() 323 length -= cur_len; in crypto_update_mp() [all …]
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | options.c | 97 field_spec_has_modifiers(char *C, int length) in field_spec_has_modifiers() argument 101 if (p_nonmodifiers == length) in field_spec_has_modifiers() 118 parse_field_spec(field_t *F, char *C, int flags, int length) in parse_field_spec() argument 120 int p_period = MIN(length, strcspn(C, ".")); in parse_field_spec() 121 int p_modifiers = MIN(length, strspn(C, ".1234567890")); in parse_field_spec() 147 if (p_modifiers < length) { in parse_field_spec() 148 for (i = p_modifiers; i < length; i++) { in parse_field_spec() 204 int length = strlen(arg); in parse_new_field_spec() local 205 int p_comma = MIN(length, strcspn(arg, ",")); in parse_new_field_spec() 214 if (field_spec_has_modifiers(arg, length)) { in parse_new_field_spec() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | strngmem.c | 142 char *_new_StringMemString(StringMem *sm, size_t length) in _new_StringMemString() argument 151 if(length < 1) in _new_StringMemString() 152 length = 1; in _new_StringMemString() 156 if(length < SM_STRLEN) { in _new_StringMemString() 162 string = (char *) malloc(length+1); /* Leave room for the flag byte */ in _new_StringMemString()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | actions.c | 76 pri->length = 0; in report_sleeping() 87 pri->length >>= 3; in report_sleeping() 89 pri->length += 2; in report_sleeping() 92 for (; pri->length < 4; pri->length++) in report_sleeping() 99 pri->length = 0; in report_sleeping() 130 pri->length = 0; in requested() 170 pri->length = 0; in jobcontrol() 248 pri->length = 0; in signalled() 291 pri->length = 0; in faulted() 612 pri->length += in sysexit() [all …]
|