Home
last modified time | relevance | path

Searched refs:length (Results 126 – 150 of 1614) sorted by relevance

12345678910>>...65

/illumos-gate/usr/src/common/crypto/modes/
H A Dcbc.c55 size_t remainder = length; in cbc_encrypt_contiguous_blocks()
70 length); in cbc_encrypt_contiguous_blocks()
71 ctx->cbc_remainder_len += length; in cbc_encrypt_contiguous_blocks()
192 size_t remainder = length; in cbc_decrypt_contiguous_blocks()
207 length); in cbc_decrypt_contiguous_blocks()
208 ctx->cbc_remainder_len += length; in cbc_decrypt_contiguous_blocks()
423 size_t length = cbc_ctx->cbc_remainder_len; in cmac_mode_final() local
427 if (length > block_size) in cmac_mode_final()
446 if (length == block_size) { in cmac_mode_final()
456 M_last[length] = 0x80; in cmac_mode_final()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpr_to_salt.c47 ret->length = 0; in krb5_principal2salt_internal()
55 size += krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal()
58 size += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal()
60 ret->length = size; in krb5_principal2salt_internal()
65 offset = krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal()
71 krb5_princ_component(context, pr, i)->length); in krb5_principal2salt_internal()
72 offset += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeMux.cc71 Double length; in Convert() local
87 length = inbuf->GetLength(); in Convert()
91 length = multibuf[0]->GetLength(); in Convert()
106 if (Undefined(length)) in Convert()
110 nsamps = (size_t)inhdr.Time_to_Samples(length); in Convert()
123 multibuf[i] = new AudioBuffer(length, in Convert()
155 multibuf[i]->SetLength(length); in Convert()
168 outbuf = new AudioBuffer(length, in Convert()
210 outbuf->SetLength(length); in Convert()
222 outbuf->SetLength(length); in Convert()
H A DAudioTypeG72X.cc101 Double length; in Convert() local
110 length = inbuf->GetLength(); in Convert()
112 if (Undefined(length)) { in Convert()
137 outbuf = new AudioBuffer(length + pad, "(G72x conversion buffer)"); in Convert()
148 nbytes = (size_t)inhdr.Time_to_Bytes(length); in Convert()
165 length = outhdr.Bytes_to_Time(cnt); in Convert()
175 length = outhdr.Bytes_to_Time(cnt); in Convert()
193 length = outhdr.Samples_to_Time(cnt); in Convert()
211 length = outhdr.Samples_to_Time(cnt); in Convert()
231 outbuf->SetLength(length); in Convert()
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_clnt_stubs.c640 mech_type->length : 0);
689 output_token->length = 0;
713 output_token->length =
925 src_name->length = 0;
953 output_token->length =
992 (*mech_type)->length =
1310 msg_token->length = 0;
1324 msg_token->length);
1902 name_type->length);
2020 mech_type->length : 0);
[all …]
H A Dgssd_proc.c386 external_name.length);
398 name_type->length);
439 length);
509 length);
723 length);
930 name_type->length);
1355 mech_type->length);
2322 name_type->length);
2338 length);
2422 mech_type->length =
[all …]
/illumos-gate/usr/src/common/ficl/softcore/
H A Dficl.fr40 : strdup ( c-addr length -- c-addr2 length2 ior )
41 0 locals| addr2 length c-addr | end-locals
42 length 1 + allocate
45 c-addr addr2 length move
46 addr2 length 0
53 0 locals| b-length b-u b-addr a-u a-addr | end-locals
54 b-u to b-length
55 b-addr a-addr a-u + b-length move
56 a-addr a-u b-length +
/illumos-gate/usr/src/cmd/bhyve/
H A De820.c143 entry->length = element->end - element->base; in e820_get_fwcfg_item()
346 end - base < length || end - length == 0) { in e820_alloc_highest()
350 address = rounddown2(end - length, alignment); in e820_alloc_highest()
352 if (e820_add_entry(address, address + length, type) != 0) { in e820_alloc_highest()
380 end - base < length || base == 0) { in e820_alloc_lowest()
384 if (e820_add_entry(base, base + length, type) != 0) { in e820_alloc_lowest()
395 e820_alloc(const uint64_t address, const uint64_t length, in e820_alloc() argument
408 return (e820_alloc_lowest(0, length, alignment, type)); in e820_alloc()
410 return (e820_alloc_lowest(address, length, alignment, type)); in e820_alloc()
412 return (e820_alloc_highest(address, length, alignment, type)); in e820_alloc()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_hash.c163 __in_ecount(length) uint8_t const *input, in efx_hash_bytes()
164 __in size_t length, in efx_hash_bytes() argument
172 a = b = c = EFX_HASH_INITIAL_VALUE + (uint32_t)length + init; in efx_hash_bytes()
175 while (length > 12) { in efx_hash_bytes()
189 length -= 12; in efx_hash_bytes()
194 switch (length) { in efx_hash_bytes()
246 __in_ecount(length) uint8_t const *input, in efx_hash_bytes()
247 __in size_t length, in efx_hash_bytes() argument
258 while (length > 12) { in efx_hash_bytes()
272 length -= 12; in efx_hash_bytes()
[all …]
H A Defx_lic.c74 __in uint32_t length
84 __in uint32_t length,
99 __in uint32_t length,
110 __in uint32_t length,
258 __in uint32_t length
268 __in uint32_t length,
525 __in uint32_t length in efx_lic_v1v2_validate_key() argument
593 *lengthp = length; in efx_lic_v1v2_read_key()
630 *lengthp = length; in efx_lic_v1v2_write_key()
662 *deltap = length; in efx_lic_v1v2_delete_key()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dmd4_mod.c238 size_t length = data->cd_length; in md4_digest_update_uio() local
267 offset, length); in md4_digest_update_uio()
272 length -= cur_len; in md4_digest_update_uio()
354 size_t length = digest_len; in md4_digest_final_uio() local
361 offset, length); in md4_digest_final_uio()
366 length -= cur_len; in md4_digest_final_uio()
393 size_t length = data->cd_length; in md4_digest_update_mblk() local
417 length -= cur_len; in md4_digest_update_mblk()
422 if (mp == NULL && length > 0) { in md4_digest_update_mblk()
487 size_t length = digest_len; in md4_digest_final_mblk() local
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c252 if (length > maxsize) { in create_cache_file_ch()
258 length = maxsize; in create_cache_file_ch()
262 maxsize = length; in create_cache_file_ch()
307 length = ch->length; in create_cache_file_ch()
336 ch->length = length; in create_cache_file_ch()
486 oldsize = ch->length; in remap_cache_file_ch()
527 ch->length = newsize; in remap_cache_file_ch()
810 public->length == cd->public.length && in find_cache_item()
967 cd->public.length); in copy_cl_item()
971 skck->secret.length); in copy_cl_item()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dsortbib.c120 length = offset - lastoffset; /* measure rec len */ in sortbib()
121 if (length > BUF*8) { in sortbib()
124 "(%d)\n"), recno, BUF*8, length); in sortbib()
130 i, lastoffset, length, in sortbib()
146 if (length > BUF*8) { in sortbib()
149 recno, BUF*8, length); in sortbib()
155 i, lastoffset, length, fld[0], fld[1], fld[2], fld[3]); in sortbib()
170 int i, length; in deliver() local
181 if (sscanf(str, "%d %d %d :", &i, &offset, &length) != 3) in deliver()
189 if (fread(buff, sizeof (*buff), length, fp[i]) == 0) { in deliver()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_copychunk.c30 uint32_t length; member
272 &cc->length, /* l */ in smb2_fsctl_copychunk_decode()
274 if (rc != 0 || cc->length == 0 || in smb2_fsctl_copychunk_decode()
277 total_len += cc->length; in smb2_fsctl_copychunk_decode()
314 save_len = cc->length; in smb2_fsctl_copychunk_array()
324 copied = save_len - cc->length; in smb2_fsctl_copychunk_array()
326 if (cc->length != 0) { in smb2_fsctl_copychunk_array()
384 cc->length = xfer; in smb2_fsctl_copychunk_aapl()
388 if (cc->length != 0) { in smb2_fsctl_copychunk_aapl()
478 if (cc->length > args->bufsize) in smb2_fsctl_copychunk_1()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c31 v2.iov_len = output->length; in k5_ef_hash()
35 d2.cd_length = output->length; in k5_ef_hash()
56 v1.iov_len = input[i].length; in k5_ef_hash()
57 d1.cd_length = input[i].length; in k5_ef_hash()
104 v2.iov_len = output->length; in k5_ef_mac()
111 d2.cd_length = output->length; in k5_ef_mac()
123 mech.cm_param_len = ivec->length; in k5_ef_mac()
126 v1.iov_len = input->length; in k5_ef_mac()
130 d1.cd_length = input->length; in k5_ef_mac()
/illumos-gate/usr/src/lib/libgss/
H A Dg_imp_name.c197 expName.length = unionName->external_name->length;
200 if (expName.length < curLength)
213 if (expName.length < curLength)
230 mechOid.length = get_der_length(&buf,
231 (expName.length - curLength), &bytes);
238 if ((bytes + mechOid.length + 1) != mechOidLen)
241 buf += mechOid.length;
286 if (expName.length < curLength)
301 if (expName.length < curLength)
354 expName.length = nameLen;
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c188 out_buf.length, out_buf.length, (char *)out_buf.value)); in prot_ver_negotiate()
205 if (out_buf.length != in_buf.length || in prot_ver_negotiate()
220 ver_str_concat_sz = out_buf.length + in_buf.length + 1; in prot_ver_negotiate()
231 in_buf.length); in prot_ver_negotiate()
444 tok->length); in send_token()
483 tok->length = 0; in recv_token()
490 tok->length = 0; in recv_token()
494 tok->length = len; in recv_token()
1092 in_buf_mic.length = in_buf.length - sizeof (r_seq_num); in recv_record()
1207 in_buf.length = 0; in recv_record()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa.c809 *length = 0; in ibmf_sa_access()
858 if (length != NULL) in ibmf_sa_access()
859 *length = 0; in ibmf_sa_access()
944 if (length != NULL) in ibmf_saa_gid_to_pathrecords()
945 *length = 0; in ibmf_saa_gid_to_pathrecords()
955 ASSERT(length != NULL); in ibmf_saa_gid_to_pathrecords()
958 *length = 0; in ibmf_saa_gid_to_pathrecords()
1074 ASSERT(length != NULL); in ibmf_saa_paths_from_gid()
1170 ASSERT(length != NULL); in ibmf_saa_name_to_service_record()
1188 *length = 0; in ibmf_saa_name_to_service_record()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dzfs_lz4.c204 int length; in LZ4_uncompress_unknownOutputSize() local
212 length += s; in LZ4_uncompress_unknownOutputSize()
216 cpy = op + length; in LZ4_uncompress_unknownOutputSize()
221 (ip + length > iend - COPYLENGTH)) { in LZ4_uncompress_unknownOutputSize()
228 if (ip + length > iend) in LZ4_uncompress_unknownOutputSize()
234 memcpy(op, ip, length); in LZ4_uncompress_unknownOutputSize()
235 op += length; in LZ4_uncompress_unknownOutputSize()
236 ip += length; in LZ4_uncompress_unknownOutputSize()
258 if ((length = (token & ML_MASK)) == ML_MASK) { in LZ4_uncompress_unknownOutputSize()
261 length += s; in LZ4_uncompress_unknownOutputSize()
[all …]
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dtruncate.cc29 extern int truncate(const char *path, off_t length);
36 vroot_result= truncate(path, vroot_args.truncate.length); in truncate_thunk()
40 int truncate_vroot(char *path, int length, pathpt vroot_path, pathpt vroot_vroot) in truncate_vroot() argument
42 vroot_args.truncate.length= length; in truncate_vroot()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_clnt.c222 return_pa_data[0]->length = out_data->length;
238 return_pa_data[1]->length = 0;
306 auth_pack9->pkAuthenticator.kdcRealm.length = server->realm.length;
392 coded_auth_pack->length,
446 &req->kdcPkId.length);
464 &req9->kdcCert.length);
519 asRep.length = in_padata->length;
873 if ((cksum.length != key_pack->asChecksum.length) ||
875 cksum.length)) {
879 encoded_request->length);
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dprivs.awk120 tabs = (32 - length(priv) - 1)/8
122 privbytes += length(priv) - 4
142 setbytes += length($2) - 4
143 tabs = (32 - length($2) - 1)/8
264 if (len + length(sets[i]) > 80) {
269 len += length(sets[i]) + length(sep);
282 if (len + length(privs[i]) > 80) {
287 len += length(privs[i]) + length(sep);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c52 int length; member
139 for (i=q->start+q->length-1; i>after; i--) in queue_insert()
150 if (q->length == QSIZE(q)) { in queue_insert()
155 q->length++; in queue_insert()
173 q->length = 1; in g_order_init()
206 expected = (QELEM(q,q->start+q->length-1)+1) & q->mask; in g_order_check()
208 queue_insert(q, q->start+q->length-1, seqnum); in g_order_check()
214 queue_insert(q, q->start+q->length-1, seqnum); in g_order_check()
232 if (seqnum == QELEM(q,q->start+q->length-1)) in g_order_check()
235 for (i=q->start; i<q->start+q->length-1; i++) { in g_order_check()
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dsecdb.c55 for (i = 0; i < kva->length; i++) { in kva_match()
77 for (i = 0; i < kva->length; i++) { in _kva_free()
105 ctr = kva->length; in _kva_free_value()
179 nkva->length = 0; in _str2kva()
189 nkva->length++; in _str2kva()
218 for (i = 0; i < kva->length; i++) { in _kva2str()
242 for (i = 0; i < kva->length; i++) { in _insert2kva()
266 size = old_kva->length; in _kva_dup()
271 nkva->length = old_kva->length; in _kva_dup()
272 for (i = 0; i < nkva->length; i++) { in _kva_dup()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_util.h191 Dwarf_Byte_Ptr readend = source+length; \
201 sizeof(_ltmp) - length),source, length) ; \
214 #define SIGN_EXTEND(dest, length) \ argument
217 sizeof(dest) - length) < 0) { \
219 sizeof(dest) - length); \
226 Dwarf_Byte_Ptr readend = source+length; \
238 source, length) ; \
251 #define SIGN_EXTEND(dest, length) \ argument
253 if (*(Dwarf_Sbyte *)((char *)&dest + (length-1)) < 0) { \
254 memcpy((char *)&dest+length, \
[all …]

12345678910>>...65