/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | compress.c | 151 /* Check if the decompressed sub-block was not full-length. */ 170 u16 lg, pt, length, max_non_overlap; local 213 /* Now calculate the length of the byte sequence. */ 214 length = (pt & (0xfff >> lg)) + 3; 216 if (dest + length > dest_sb_end) 220 if (length <= max_non_overlap) { 222 memcpy(dest, dest_back_addr, length); 224 dest += length; 235 length -= max_non_overlap; 236 while (length [all...] |
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | samr_clnt.c | 609 size_t length; local 620 length = smb_wcequiv_strlen(domain_name); 622 length += sizeof (smb_wchar_t); 624 arg.domain_name.length = length; 625 arg.domain_name.allosize = length; 692 size_t length; local 710 length = smb_wcequiv_strlen(name); 712 length += sizeof (smb_wchar_t); 714 arg.name.length [all...] |
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | device.h | 81 PedSector length; /**< device length (LBA) */ member in struct:_PedDevice
|
/osnet-11/usr/src/lib/libparted/common/libparted/cs/ |
H A D | geom.c | 33 * - <tt>start + length - 1 == end</tt> 34 * - <tt>length > 0</tt> 36 * - <tt>end < dev->length</tt> 58 PedSector start, PedSector length) 64 return ped_geometry_set (geom, start, length); 69 * size of \p length sectors. 74 ped_geometry_new (const PedDevice* dev, PedSector start, PedSector length) argument 83 if (!ped_geometry_init (geom, dev, start, length)) 107 return ped_geometry_new (geom->dev, geom->start, geom->length); 148 * Assign a new \p start, \p end (implicitly) and \p length t 57 ped_geometry_init(PedGeometry* geom, const PedDevice* dev, PedSector start, PedSector length) argument 153 ped_geometry_set(PedGeometry* geom, PedSector start, PedSector length) argument [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | clstdup.c | 68 read_marked_fragments (FatOpContext* ctx, FatFragment length) argument 76 ctx->buffer_offset, length); 85 for (i = 0; i < length; i++) {
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ntfs/ |
H A D | ntfs.c | 401 if (fs->geom->length > geom->length) { 404 else if (fs->geom->length < geom->length) { 430 geom->length * geom->dev->sector_size, partpath); 444 geom->length * geom->dev->sector_size, partpath); 499 * return the minimum resize size in blocks, fs->geom->length on error. 504 PedSector max_length = fs->geom->length; 505 PedSector length; local 517 length [all...] |
/osnet-11/usr/src/lib/libfru/libfru/ |
H A D | PayloadReader.cc | 117 size_t length, int index, 126 return (length * tail); 127 return (length * index); 135 return (length * head); 136 return (length * tail); 141 return (length * ((head + index) % iterPoss)); 147 return (length * abs); 201 int length = ((path->def->payloadLen - ITER_CONT_BYTE_LEN) local 206 length, path->iterIndex, err); 235 // zzz altering the length thing 114 calcOffset(int iterType, uint8_t head, uint8_t tail, uint8_t iterThere, uint8_t iterPoss, size_t length, int index, fru_errno_t *err) argument [all...] |
/osnet-11/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 255 convert_packet(fru_tag_t *tag, uint8_t *payload, size_t length, void *args) argument 267 ((payload_length = get_payload_length(tag)) != length)) { 271 unknown->payloadLen = length; 280 get_tag_dense(tag), payload_length, length); 290 unknown->payloadLen = length;
|
/osnet-11/usr/src/lib/libgss/ |
H A D | g_glue.c | 44 * length, decode the length updating the buffer to point to the character 46 * bytes that made up the DER encoding of the length originally pointed to 55 int length, new_length; local 65 * If the High order bit is not set then the length is just the value 70 return (*p); /* return the length */ 75 * the number of bytes that contain the DER encoding of the length. 81 /* See if the supplied buffer contains enough bytes for the length. */ 86 * Calculate a multibyte length. The length i 127 gssint_put_der_length(unsigned int length, unsigned char **buf, unsigned int max_len) argument 196 int length; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | old_api_glue.c | 52 ivecd.length = blocksize; 56 /* size is the length of the input cleartext data */ 57 inputd.length = size; 66 outputd.ciphertext.length = outlen; 87 ivecd.length = blocksize; 91 /* size is the length of the input ciphertext data */ 93 inputd.ciphertext.length = size; 100 outputd.length = size; 137 data.length = keyblock->length; 184 krb5_encrypt_size(size_t length, krb5_enctype crypto) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_encode.c | 37 unsigned int length = 0; local 46 length = partlen; 47 retval = asn1_make_tag(buf, UNIVERSAL, PRIMITIVE, ASN1_BOOLEAN, length, &partlen); 49 length += partlen; 51 *retlen = length; 60 unsigned int length = 0; local 69 length++; 76 length++; 80 length++; 84 *retlen = length; 92 unsigned int length = 0; local 132 unsigned int length = 0; local 166 unsigned int length; local 290 unsigned int length; local 367 int length = get_nullterm_sequence_len(val, type); local 408 unsigned int length, sum = 0; local 448 unsigned int length; local 460 unsigned int length; local 505 unsigned int length; local 523 unsigned int length; local 575 unsigned int length; local 597 unsigned int length; local 637 unsigned int length; local 643 unsigned int length; local 663 unsigned int length; local 673 unsigned int length; local 686 unsigned int length; local [all...] |
H A D | asn1buf.c | 102 buf->bound = code->data + code->length - 1; 107 asn1buf_imbed(asn1buf *subbuf, const asn1buf *buf, const unsigned int length, const int indef) argument 112 if (length > (size_t)(buf->bound + 1 - buf->next)) return ASN1_OVERRUN; 113 subbuf->bound = subbuf->base + length - 1; 122 unsigned int length, int indef, int seqindef) 127 /* sequence was encoded as definite length */ 130 retval = asn1buf_skiptail(subbuf, length, indef); 141 asn1buf_skiptail(asn1buf *buf, const unsigned int length, const int indef) argument 149 if (length <= (size_t)(buf->bound - buf->next + 1)) 150 buf->next += length; 120 asn1buf_sync(asn1buf *buf, asn1buf *subbuf, asn1_class asn1class, asn1_tagnum lasttag, unsigned int length, int indef, int seqindef) argument 202 unsigned int length; local 320 unsigned int length = asn1buf_len(buf); local 348 unsigned int length = asn1buf_len(buf); local [all...] |
H A D | ldap_key_seq.c | 150 buflen = t.length; 151 ret = asn1buf_imbed(&subbuf, &tmp, t.length, 0); checkerr; 176 buflen = t.length; 177 ret = asn1buf_imbed(&subbuf, &tmp, t.length, 0); checkerr; 206 buflen = t.length; 207 ret = asn1buf_imbed(&subbuf, &tmp, t.length, 0); checkerr; 223 unsigned int length; local 231 ret = asn1_get_sequence(buf, &length, &seqindef); checkerr; 232 full_buflen = length; 233 ret = asn1buf_imbed(&subbuf, buf, length, seqinde 313 unsigned int length; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | copy_auth.c | 69 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) { 73 memcpy(tmpad->contents, inad->contents, inad->length); 154 data.length = container->length; 182 ad_datum.length = data->length; 198 size_t length; member in struct:find_authdata_context 206 if (fctx->length == fctx->space) { 220 fctx->out[fctx->length+1] = NULL; 222 &fctx->out[fctx->length]); [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | utf8.c | 80 size_t krb5int_utf8c_chars(const char *p, size_t length) argument 84 const char *end = p + length; 99 * Returns length indicated by first byte. 216 /* Just return length, don't convert */ 270 * Ignores length of multibyte character, instead rely on 297 * Ignores length of multibyte character, instead rely on 321 * Ignores length of multibyte character, instead rely on
|
/osnet-11/usr/src/lib/libadt_jni/common/ |
H A D | adt_jni.c | 276 size_t length; local 283 length = adt_export_session_data(state, (adt_export_data_t **)&buffer); 285 if ((jbuf = (*env)->NewByteArray(env, length)) == NULL) { 289 (*env)->SetByteArrayRegion(env, jbuf, 0, length, buffer);
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | loadenv.c | 182 /* Used to maintain a variable length of blocklists internally. */ 187 unsigned length; member in struct:blocklist 230 total_length += p->length; 246 for (p = blocklists, index = 0; p; index += p->length, p = p->next) 251 p->offset, p->length, blockbuf)) 254 if (grub_memcmp (buf + index, blockbuf, p->length) != 0) 276 for (p = blocklists; p; index += p->length, p = p->next) 279 p->offset, p->length, buf + index)) 298 unsigned length); 300 unsigned offset, unsigned length) 299 read_hook(grub_disk_addr_t sector, unsigned offset, unsigned length) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | luks.c | 310 grub_size_t length; local 382 length = (keysize * grub_be_to_cpu32 (header.keyblock[i].stripes)); 388 length, split_key); 395 gcry_err = grub_cryptodisk_decrypt (dev, split_key, length, 0);
|
H A D | usbms.c | 39 grub_uint8_t length; member in struct:grub_usbms_cbw 259 cbw.length = cmdsize; 266 cbw.flags, cbw.lun, cbw.length);
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | fshelp.c | 230 unsigned length), 227 grub_fshelp_read_file(grub_disk_t disk, grub_fshelp_node_t node, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf, grub_disk_addr_t (*get_block) (grub_fshelp_node_t node, grub_disk_addr_t block), grub_off_t filesize, int log2blocksize) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/gettext/ |
H A D | gettext.c | 88 grub_uint32_t length, char *translation) 90 grub_gettext_pread (fd_mo, translation, length, offset); 91 translation[length] = '\0'; 99 grub_uint32_t length, offset; local 106 grub_gettext_pread (fd_mo, (char *) &length, 4, internal_position); 107 length = grub_cpu_to_le32 (length); 112 translation = grub_malloc (length + 1); 113 grub_gettext_getstring_from_offset (offset, length, translation); 122 int length, offse local 87 grub_gettext_getstring_from_offset(grub_uint32_t offset, grub_uint32_t length, char *translation) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | sha1.c | 235 * of INBUF with length INLEN. 366 _gcry_sha1_hash_buffer (void *outbuf, const void *buffer, size_t length) argument 371 sha1_write (&hd, buffer, length);
|
H A D | whirlpool.c | 60 unsigned char length[32]; 1352 carry += context->length[32 - i] + (buffer_size & 0xFF); 1353 context->length[32 - i] = carry; 1390 /* Add length of message. */ 1391 memcpy (context->buffer + context->count, context->length, 32); 59 unsigned char length[32]; member in struct:__anon546
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | whirlpool.c | 60 unsigned char length[32]; 1352 carry += context->length[32 - i] + (buffer_size & 0xFF); 1353 context->length[32 - i] = carry; 1390 /* Add length of message. */ 1391 memcpy (context->buffer + context->count, context->length, 32); 59 unsigned char length[32]; member in struct:__anon590
|
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/ |
H A D | biosdisk.h | 102 grub_uint8_t length; member in struct:grub_biosdisk_dap
|