Searched defs:length (Results 151 - 175 of 259) sorted by relevance

1234567891011

/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dminix.c243 unsigned offset, unsigned length),
240 grub_minix_read_file(struct grub_minix_data *data, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_disk_addr_t len, char *buf) argument
H A Dsfs.c255 unsigned offset, unsigned length),
251 grub_sfs_read_file(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) argument
H A Dbfs.c211 unsigned length))
205 read_bfs_file(grub_disk_t disk, const struct grub_bfs_superblock *sb, const struct grub_bfs_inode *ino, grub_off_t off, void *buf, grub_size_t len, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length)) argument
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dieee1275.c130 const char *prop, grub_ssize_t *length)
137 grub_ieee1275_cell_t length;
144 args.length = (grub_ieee1275_cell_t) -1;
148 *length = args.length;
149 if (args.length == IEEE1275_CELL_INVALID)
128 grub_ieee1275_get_property_length(grub_ieee1275_phandle_t phandle, const char *prop, grub_ssize_t *length) argument
136 grub_ieee1275_cell_t length; member in struct:get_property_args
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Ddns.c133 int *length, char *set)
139 if (length)
140 *length = 0;
146 if (length && *length)
147 (*length)--;
172 if (length)
173 *length += *ptr + 1;
199 int length; local
202 if (!check_name_real (name_at, head, tail, NULL, &length, NUL
131 check_name_real(const grub_uint8_t *name_at, const grub_uint8_t *head, const grub_uint8_t *tail, const char *check_with, int *length, char *set) argument
288 grub_uint16_t length; local
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-setup.c176 unsigned length);
179 unsigned length);
183 unsigned length)
186 sector, offset, length);
188 if (offset != 0 || length != GRUB_DISK_SECTOR_SIZE)
196 unsigned length)
200 grub_util_info ("saving <%llu,%u,%u>", sector, offset, length);
222 last_length = length;
181 save_first_sector(grub_disk_addr_t sector, unsigned offset, unsigned length) argument
194 save_blocklists(grub_disk_addr_t sector, unsigned offset, unsigned length) argument
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dutils.c826 * @length: Number of bytes to display
836 void utils_dump_mem(void *buf, int start, int length, int flags) argument
842 e = (start + length + 15) & ~15; // round up
866 if (((off+i) >= start) && ((off+i) < (start+length)))
874 if (((off+i) < start) || ((off+i) >= (start+length)))
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigInt.pm542 my $diff = $e - CORE::length($$mfv);
1749 if (CORE::length($bin) <= $y)
1893 sub length subroutine
2021 $x->bround( $x->length()-$scale, $mode) if $scale > 0;
2033 my $len = $x->length();
2072 my $len = $x->length();
2074 # number length, but this would already limited by memory constraints), makes
2668 $x->length(); # return number of digits in number
2669 ($xl,$f) = $x->length(); # length o
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c136 * The input line parser uses the length of valid characters
170 /* "buflen" is the length of the buffer available for aliases */
400 * length - Length of key buffer component
424 nss_pack_key2str(void *buffer, size_t length, nss_XbyY_args_t *arg, argument
437 if (buffer == NULL || length == 0 || arg == NULL ||
447 if (len >= length)
454 if (len >= length)
461 if (len >= length)
468 if (len >= length)
479 if (len2 >= length)
779 nss_default_key2str(void *buffer, size_t length, nss_XbyY_args_t *arg, const char *dbname, int dbop, size_t *rlen) argument
802 nss_packed_set_status(void *buffer, size_t length, nss_status_t status, nss_XbyY_args_t *arg) argument
904 nss_upack_key2arg(void *buffer, size_t length, char **dbname, int *dbop, nss_XbyY_args_t *arg, int index) argument
1151 nss_packed_getkey(void *buffer, size_t length, char **dbname, int *dbop, nss_XbyY_args_t *arg) argument
1212 nss_packed_arg_init(void *buffer, size_t length, nss_db_root_t *db_root, nss_db_initf_t *initf, int *dbop, nss_XbyY_args_t *arg) argument
1287 nss_packed_context_init(void *buffer, size_t length, nss_db_root_t *db_root, nss_db_initf_t *initf, nss_getent_t **contextp, nss_XbyY_args_t *arg) argument
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c167 int length = strlen(errstr + 1); local
172 command = Malloc(length);
173 node = Malloc(length);
174 message = Malloc(length);
/osnet-11/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_scsi.h62 ushort_t length; member in struct:mode_header_10_struct
66 ushort_t bdesc_length; /* length of block descriptor(s), if any */
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c1464 sip_add_content_length(_sip_msg_t *_sip_msg, int length) argument
1469 if (_sip_msg == NULL || length < 0)
1478 sizeof (char) + SIP_SPACE_LEN + sip_num_of_digits(length) +
1487 "%s %c %u%s%s", SIP_CONTENT_LENGTH, SIP_HCOLON, length,
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dcertgetsetop.c1987 set_integer(KMF_DATA *data, void *value, int length) argument
1992 data->Data = malloc(length);
1996 data->Length = length;
1997 (void) memcpy((void *)data->Data, (const void *)value, length);
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c1807 _ns_gethostbyaddr(LDAP *ld, const char *addr, int length, int type, argument
1813 return (ld->ld_dns_gethostbyaddr_fn(addr, length, type,
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcrypto.c339 * been tampered with. Note if the password has zero length and the
722 ntfs_log_error("Key length for desx must be 16.\n");
1146 * that gcry_cipher_setiv() wants an iv of length 8 bytes but we give
1147 * it a length of 16 for AES256 so it does not like it.
1411 s64 bytes_read, offset, total, length; local
1437 length = NTFS_EFS_SECTOR_SIZE;
1438 if (offset + length > pos + count)
1439 length = pos + count - offset;
1440 if (offset + length > na->data_size)
1441 length
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dsun.c75 u_int32_t num_sectors; /* ...and it's length */
126 PedSector length; /* This is based on cyl - alt-cyl */ member in struct:_SunDiskData
207 PED_ASSERT (bios_geom->cylinders == (PedSector) (dev->length / cyl_size),
209 sun_specific->length = ped_round_down_to (dev->length, cyl_size);
224 label->ncyl = PED_CPU_TO_BE16 (dev->length / cyl_size);
234 PED_CPU_TO_BE32(sun_specific->length);
350 * dev->bios_geom.cylinders > dev->length) {
395 disk_data->length = block * disk->dev->bios_geom.cylinders;
497 PED_CPU_TO_BE32(disk_data->length);
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Ddstream.c157 int length; local
162 length = strlen(pds_header);
163 if (length > size)
175 if (length + (int)strlen(pds_header) > size)
177 (void) strncpy(buf + length, pds_header, strlen(pds_header));
178 buf[length + strlen(pds_header)] = '\0';
/osnet-11/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c315 * char **: an array of ITAB_FIELDS length which contains
468 * output: int: length of MAC address, or -1 for error
541 * uint16_t *: set to the length of the binary data returned
552 uint16_t length; local
585 * Maximum (worst-case) encoded length is one byte more than
611 * option length and code in the size of the packet we allocate
616 length = n_entries * type_size;
617 if (hlen + length > 0)
618 result = malloc(hlen + length);
632 (void) memcpy(optstart, value, length);
1056 inittab_decode_e(const dhcp_symbol_t *ie, const uchar_t *payload, uint16_t length, boolean_t just_payload, int *ierrnop) argument
1414 inittab_decode(const dhcp_symbol_t *ie, const uchar_t *payload, uint16_t length, boolean_t just_payload) argument
[all...]
/osnet-11/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c100 * picl like function which gets a string property with the proper length
696 /* get the length of the buffer required. */
1056 size_t length,
1054 fpt_for_each_packet(fru_treeseghdl_t treesegment, int (*function)(fru_tag_t *tag, uint8_t *payload, size_t length, void *args), void *args) argument
/osnet-11/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c104 * picl like function which gets a string property with the proper length
707 /* get the length of the buffer required. */
1071 size_t length,
1069 fpt_for_each_packet(fru_treeseghdl_t treesegment, int (*function)(fru_tag_t *tag, uint8_t *payload, size_t length, void *args), void *args) argument
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Draw_access.c410 seghdr->length = BE_16(seg_layout->length);
546 segment->length = seg_object->u.seg_obj->segment.length;
568 verify_header_crc8(headerrev_t head_ver, unsigned char *bytes, int length) argument
585 calc_crc8 = compute_crc8(bytes, length);
614 section->length = sec_obj->section.length;
792 get_packets(hash_obj_t *seg_hash, raw_list_t *rawlist, int offset, int length) argument
837 if (seg_limit > length) {
970 int length; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_encode.c43 * length: length of the most-recently produced encoding
44 * sum: cumulative length of the entire encoding
52 { unsigned int length; \
53 retval = asn1_make_sequence(buf,sum,&length); \
56 sum += length; }
65 { unsigned int length; \
66 retval = encoder(buf,value,&length); \
69 sum += length; \
70 retval = asn1_make_etag(buf,CONTEXT_SPECIFIC,tag,length,
1663 unsigned int length; local
1684 unsigned int length; local
1689 unsigned int length; local
1731 unsigned int length; local
1810 unsigned int length; local
1872 unsigned int length; local
1929 unsigned int length; local
2021 unsigned int length; local
2043 unsigned int length; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpac.c122 if (data->length % PAC_ALIGNMENT)
123 pad = PAC_ALIGNMENT - (data->length % PAC_ALIGNMENT);
126 pac->data.length + PAC_INFO_BUFFER_LENGTH + data->length + pad);
139 pac->data.length - header_len);
144 pac->pac->Buffers[i].cbBufferSize = data->length;
145 pac->pac->Buffers[i].Offset = pac->data.length + PAC_INFO_BUFFER_LENGTH;
150 memset(pac->data.data + pac->pac->Buffers[i].Offset, 0, data->length);
152 memcpy(pac->data.data + pac->pac->Buffers[i].Offset, data->data, data->length);
154 memset(pac->data.data + pac->pac->Buffers[i].Offset + data->length,
1333 int length; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c1160 make_addr (int type, size_t length, const void *contents) argument
1166 data = malloc (length);
1174 memcpy (data, contents, length);
1177 a->length = length;
1401 fprintf (stderr, "addrtype %2d, length %2d", addr[0][j]->addrtype,
1402 addr[0][j]->length);
1432 memcpy (addrp, addr[0][j]->contents, addr[0][j]->length);
1549 paddr[i]->length = hostrec->h_length;
1550 paddr[i]->contents = (unsigned char *)malloc(paddr[i]->length);
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/font/
H A Dfont.c91 grub_uint32_t length; member in struct:font_file_section
228 On success, the section name is stored in section->name and the length in
229 section->length, and 0 is returned. On failure, 1 is returned and
257 /* Read the big-endian 32-bit section length. */
271 /* Convert byte-order and store in *length. */
272 section->length = grub_be_to_cpu32 (raw_length);
283 section length for the CHIX section (i.e., at the start of the section
297 /* Sanity check: ensure section length is divisible by the entry size. */
301 "font file format error: character index length %d "
381 str = grub_malloc (section->length
[all...]

Completed in 128 milliseconds

1234567891011