/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/ |
H A D | SimpleChat.java | 197 outSocket.send( new DatagramPacket( sendData, sendData.length, buddyAddr, buddyPort)); 229 protected Color getColorFor( byte[] chars, int length) argument 233 for ( int i=0; i < length && chars[i] != ':'; i++) 237 // for ( int i=0; i < length && chars[i] != ':'; i++)
|
/osnet-11/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 146 size_t length; local 173 length = sizeof (struct dk_gpt) + 176 if ((*vtoc = calloc(length, 1)) == NULL) 208 int length; local 212 length = (int) sizeof (struct dk_gpt) + 214 if ((*vtoc = calloc(length, 1)) == NULL) 223 length = (int) sizeof (struct dk_gpt) + 227 if ((tmp = realloc(*vtoc, length)) == NULL) { 529 * If the array the user passed in is too small, set the length
|
/osnet-11/usr/src/lib/libeti/menu/inc/ |
H A D | menu.h | 52 int length; member in struct:__anon1646
|
/osnet-11/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 271 { 0x1a, 0x00, "parameter list length error" }, 308 { 0x26, 0x0b, "inline data length exceeded" }, 363 { 0x33, 0x00, "tape length error" }, 790 * Get pointer to the next descriptor. The "additional length" 791 * field holds the length of the descriptor except for the 792 * "type" and "additional length" fields, so we need to add 2 to 793 * get the total length. 813 "Incorrect length indicator: ", 816 "Additional sense length: ", 878 "Additional sense length 1343 ushort_t length, bdesc_length; local [all...] |
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.h | 134 uint64_t length; member in struct:__anon992
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_memory.c | 350 * Space is allocated for the variable length fields in the 522 krb5int_random_string (krb5_context context, char *string, unsigned int length) argument 528 unsigned int bytecount = length - 1; 537 data.length = bytecount; 547 string[length - 1] = '\0';
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_name.c | 161 adr_name_strcpy(adr_name_t *name, int length, const char *domain) argument 163 if ((name->an_domain = zalloc(length)) == NULL) 167 char *end = name->an_domain + length; 198 int length = strlen(domain) + 1; local 199 length += adr_name_acopy(result, 0, n, k, v); 201 if (!adr_name_strcpy(result, length, domain)) { 216 int length = strlen(domain) + 1; local 219 length += adr_name_vcopy(result, 0, n, l); 222 if (!adr_name_strcpy(result, length, domain)) { 243 int length local 268 int length = strlen(name->an_domain) + 1; local 325 int length = strlen(str) + 1; local 466 int length = 2 + strlen(name->an_domain); local [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | acpi.h | 39 grub_uint32_t length; member in struct:grub_acpi_rsdp_v20 48 grub_uint32_t length; member in struct:grub_acpi_table_header
|
H A D | usbtrans.h | 150 grub_uint16_t length; 149 grub_uint16_t length; member in struct:grub_usb_packet_setup
|
/osnet-11/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 318 uint8_t num, length, type; local 360 length = (uint8_t)*rdata; 369 rdata += length; 370 rlen -= length; 371 } while ((length > 0 ) && (rlen > 0));
|
/osnet-11/usr/src/cmd/parted/ |
H A D | strlist.c | 356 int length = 1; local 363 length += strlen (tmp); 365 str = realloc (str, length); 368 pos = length - 1; 573 int length = 0; local 577 length++; 579 return length;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | hsearch.c | 132 static unsigned int length; /* Size of the hash table */ variable 133 static unsigned int m; /* Log base 2 of length */ 156 printf("Length = %u, m = %u\n", length, m); 220 local_m = 0; /* Log2 length */ 232 length = local_length; 249 for (i = 0; i < length; i++) { 313 i = (i + c) % length; /* Advance to next slot */ 326 if (count == (length - 1)) /* Table full? */ 351 pj = (p0 + j * c0) % length; /* New main branch index */ 355 pjk = (pj + k * cj) % length; [all...] |
/osnet-11/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_util.c | 99 jint length = (*env)->CallIntMethod( local 105 env, length, (*env)->FindClass(env, class), NULL); 312 jsize length = (*env)->GetArrayLength(env, array); local 313 char **result = (char **)calloc(length + 1, sizeof (char *)); 316 for (i = 0, n = 0; i < length; i++) {
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SrvLocHeader.java | 113 int length = 0; // packet length field in class:SrvLocHeader 125 int packetLength = 0; // length of packet. 276 // Set the packet length to the incoming value. 397 nbytes += ret.length + SHORT_SIZE; 402 // Parse a string with an initial length from the input stream. 414 // First get the length. 440 nbytes += bytes.length + SHORT_SIZE; 446 // Put a string with an initial length into the byte stream, converting 456 // Put out the string's length i [all...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_auth.c | 37 * Returns the length of dst in bytes. 40 smb_auth_qnd_unicode(smb_wchar_t *dst, const char *src, int length) argument 46 if ((count = oemtoucs(dst, src, length, OEM_CPG_1252)) == 0) { 47 for (i = 0; i < length; ++i) { 52 count = length; 148 int length; local 154 length = strlen(password); 156 malloc((length + 1) * sizeof (smb_wchar_t)); 161 length = smb_auth_qnd_unicode(unicode_password, password, length); [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 608 * Any ber element looks like this: tag length contents. 610 * can assume a single byte), return the length in len, 621 * read the tag and the length and as much of the rest as we can 635 * Next, read the length. The first byte contains the length 636 * of the length. If bit 8 is set, the length is the long 638 * length that's greater than what we can hold in an unsigned 975 int length; member in struct:byte_buffer 1026 if (bytes_to_read <= (b->length [all...] |
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 113 _uncached_getipnodebyaddr(const char *addr, int length, int type, argument 117 return (_switch_gethostbyaddr_r(addr, length, type, 120 return (_switch_getipnodebyaddr_r(addr, length, type,
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/ |
H A D | hfs.c | 77 (!!ped_geometry_write (geom, buf, geom->length - 2, 1)) & 78 (!!ped_geometry_write (geom, buf, geom->length - 1, 1)) & 182 if (!ped_geometry_init (&full_dev, dev, 0, dev->length - 1)) 190 fs->geom->length); 227 || geom->length > fs->geom->length 228 || geom->length < hgee + 2) { 253 to_free = ( fs->geom->length - geom->length 267 nblock = ( geom->length 428 PedSector abs_sect, length; local [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/linux_swap/ |
H A D | linux_swap.c | 88 PedSector length; local 118 length = fs_info->page_sectors * fs_info->page_count; 120 length = geom->length; 122 probed_geom = ped_geometry_new (geom->dev, geom->start, length); 182 fs_info->page_count = fs->geom->length / fs_info->page_sectors; 280 = PED_MIN (fs->geom->length / fs_info->page_sectors, 589 if (!ped_geometry_init (&full_dev, dev, 0, dev->length - 1)) 594 getpagesize() / 512, dev->length);
|
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | dvh.c | 66 Read sector, SECTOR_NUM (which has length DEV->sector_size) into malloc'd 240 PedSector length = PED_BE32_TO_CPU (pt->pt_nblks); local 245 start, start + length - 1); 262 int length = PED_BE32_TO_CPU (vd->vd_nbytes); local 265 start, start + length/512 - 1); 270 dvh_part_data->real_file_size = length; 435 pt->pt_nblks = PED_CPU_TO_BE32 (part->geom.length); 498 vh.vh_pt[PNUM_VOLUME].pt_nblks = PED_CPU_TO_BE32 (disk->dev->length); 544 dvh_part_data->real_file_size = part->geom.length * 512; 767 if (!ped_geometry_init (&max_geom, disk->dev, 1, disk->dev->length [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | wrefresh.c | 297 static int length; local 300 if (length < scrco) { 304 length = line ? scrco : 0; 793 * length: the length to be updated 801 _useidch(chtype *wcp, chtype *scp, int length, int maxi, int *id) argument 808 if ((match = _prefix(wcp, scp, length, length / 2, &idch)) > 0) 843 for (x1 = 0, x2 = idch; x2 < length; ++x1, ++x2) 845 for (; x1 < length; 949 _prefix(chtype *s1, chtype *s2, int length, int maxs, int *begm) argument [all...] |
/osnet-11/usr/src/lib/libfru/libfruraw/ |
H A D | fru_access_impl.h | 120 uint8_t headerlength; /* header length */ 130 uint16_t length; /* segment length */ member in struct:__anon1682 137 int length; /* segment length */ member in struct:__anon1683 197 unsigned char compute_crc8(unsigned char *bytes, int length); 198 long compute_crc32(unsigned char *bytes, int length); 199 long compute_checksum32(unsigned char *bytes, int length);
|
H A D | fruraw.c | 393 def->size = segment.length; 620 int (*function)(fru_tag_t *tag, uint8_t *payload, size_t length, 619 frt_for_each_packet(fru_seghdl_t node, int (*function)(fru_tag_t *tag, uint8_t *payload, size_t length, void *args), void *args) argument
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/dtrace/ |
H A D | kerberos_dtrace.c | 454 str = malloc(data->length + 1); 456 (void) memcpy(str, data->data, data->length); 457 str[data->length] = '\0'; 638 ki->message_length = data->length; 680 error->e_data.length > 0) { 777 kr->enc_key_length = encp->session->length; 835 encp->session->length; 900 encp->subkey->length; 964 ka->cksum_length = auth->checksum->length; 973 ka->subkey_length = auth->subkey->length; 1213 k5_trace_message_send(const int fd, char *data, const unsigned int length) argument 1218 k5_trace_message_recv(const int fd, char *data, const unsigned int length) argument [all...] |
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_matching.c | 100 size_t length; member in struct:keyword_desc 114 size_t length; member in struct:ku_desc 237 value += ku->length; 272 if (strncmp(*rule, kw->value, kw->length) == 0) { 275 *rule += kw->length; 276 *remaining -= kw->length; 308 if (strncmp(nk, nextkw->value, nextkw->length) == 0) {
|