/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | inet_aton.c | 107 unsigned int parts[4]; in inet_aton() local 108 register unsigned int *pp = parts; in inet_aton() 145 if (pp >= parts + 3) in inet_aton() 161 n = pp - parts + 1; in inet_aton() 171 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton() 173 val |= parts[0] << 24; in inet_aton() 177 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton() 179 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton() 183 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton() 185 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
|
/titanic_50/usr/src/lib/libbc/libc/inet/ |
H A D | inet_addr.c | 47 u_long parts[4], *pp = parts; local 84 if (pp >= parts + 4) 99 n = pp - parts; 103 val = parts[0]; 107 val = (parts[0] << 24) | (parts[1] & 0xffffff); 111 val = (parts[0] << 24) | ((parts[1] & 0xff) << 16) | 112 (parts[2] & 0xffff); 116 val = (parts[0] << 24) | ((parts[1] & 0xff) << 16) | 117 ((parts[2] & 0xff) << 8) | (parts[3] & 0xff);
|
H A D | inet_network.c | 44 u_long parts[4], *pp = parts; local 70 if (pp >= parts + 4 || val > 0xff) 79 n = pp - parts; 82 val |= parts[i];
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | inet_ntoa.c | 167 unsigned int parts[4]; in inet_aton() local 168 unsigned int *pp = parts; in inet_aton() 206 if (pp >= parts + 3) in inet_aton() 222 n = pp - parts + 1; in inet_aton() 232 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton() 234 val |= parts[0] << 24; in inet_aton() 238 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton() 240 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton() 244 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || in inet_aton() 245 (parts[2] > 0xff)) in inet_aton() [all …]
|
/titanic_50/usr/src/cmd/ipf/lib/common/ |
H A D | inet_addr.c | 105 u_int parts[4]; local 106 register u_int *pp = parts; 143 if (pp >= parts + 3) 159 n = pp - parts + 1; 171 val |= parts[0] << 24; 177 val |= (parts[0] << 24) | (parts[1] << 16); 183 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
|
/titanic_50/usr/src/cmd/format/ |
H A D | partition.c | 362 register struct partition_info *parts; in get_partition() local 368 parts = cur_dtype->dtype_plist; in get_partition() 369 if (parts == NULL) { in get_partition() 379 for (pptr = parts; pptr != NULL; pptr = pptr->pinfo_next) { in get_partition() 398 cur_parts->pinfo_name = parts->pinfo_name; in get_partition() 412 register struct partition_info *pptr, *parts; in make_partition() local 424 parts = cur_dtype->dtype_plist; in make_partition() 425 if (parts == NULL) { in make_partition() 428 while (parts->pinfo_next != NULL) { in make_partition() 429 parts = parts->pinfo_next; in make_partition() [all …]
|
H A D | main.c | 87 struct partition_info *parts; in main() local 261 for (parts = disk->disk_type->dtype_plist; parts != NULL; in main() 262 parts = parts->pinfo_next) in main() 263 if (strcmp(option_p, parts->pinfo_name) == 0) in main() 268 if (parts == NULL) { in main() 276 disk->disk_parts = parts; in main()
|
H A D | menu_command.c | 1862 struct partition_info *parts, *plist; in c_backup() local 1981 for (parts = dtype->dtype_plist; parts != NULL; in c_backup() 1982 parts = parts->pinfo_next) in c_backup() 1983 if (parts_match(&label, parts)) in c_backup() 1990 if (parts == NULL) { in c_backup() 1991 parts = (struct partition_info *) in c_backup() 1995 dtype->dtype_plist = parts; in c_backup() 1999 plist->pinfo_next = parts; in c_backup() 2001 parts->pinfo_name = alloc_string("original"); in c_backup() 2005 parts->pinfo_map[i] = label.dkl_map[i]; in c_backup() [all …]
|
H A D | menu_partition.c | 198 struct partition_info *pptr, *parts; in p_select() local 206 parts = cur_dtype->dtype_plist; in p_select() 211 if (parts == NULL) { in p_select() 221 for (i = 0, pptr = parts; pptr != NULL; pptr = pptr->pinfo_next) { in p_select() 238 for (i = 0, pptr = parts; i < index; i++, pptr = pptr->pinfo_next) in p_select()
|
H A D | menu_fdisk.c | 428 register struct partition_info *parts; in update_cur_parts() local 467 parts = cur_dtype->dtype_plist; in update_cur_parts() 470 parts->pinfo_name = cur_parts->pinfo_name; in update_cur_parts() 525 bootptr = &boot_sec.parts[ipc]; 745 bootptr = &mboot.parts[ipc]; 870 bootptr = &mboot.parts[ipc];
|
H A D | startup.c | 940 struct partition_info *pinfo, *parts; in sup_setpart() local 1274 parts = dtype->dtype_plist; in sup_setpart() 1275 if (parts == NULL) in sup_setpart() 1278 while (parts->pinfo_next != NULL) in sup_setpart() 1279 parts = parts->pinfo_next; in sup_setpart() 1280 parts->pinfo_next = pinfo; in sup_setpart() 1589 struct partition_info *parts; in add_device_to_disklist() local 2133 parts = search_dtype->dtype_plist; in add_device_to_disklist() 2134 if (parts == NULL) in add_device_to_disklist() 2137 while (parts->pinfo_next != NULL) in add_device_to_disklist() [all …]
|
H A D | partition.h | 62 void delete_partition(struct partition_info *parts);
|
/titanic_50/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AttributePattern.java | 55 private Vector parts = new Vector(); field in AttributePattern 88 parts.addElement(new PatternPart(false, cstring)); in AttributePattern() 122 parts.addElement(new PatternPart(wc, middle)); in AttributePattern() 128 return (parts.size() > 1); in isWildcarded() 138 int i = 0, n = parts.size(); in match() 144 PatternPart p = (PatternPart)parts.elementAt(i); in match() 179 p = (PatternPart)parts.elementAt(i+1); in match()
|
/titanic_50/usr/src/lib/libsocket/inet/ |
H A D | inet_network.c | 58 in_addr_t parts[4], *pp = parts; in inet_network() local 84 if (pp >= parts + 4 || val > 0xff) in inet_network() 93 n = pp - parts; in inet_network() 96 val |= parts[i]; in inet_network()
|
/titanic_50/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_network.c | 58 u_long parts[4], *pp = parts; local 87 if (pp >= parts + 4 || val > 0xffU) 96 n = pp - parts; 101 val |= parts[i] & 0xff;
|
/titanic_50/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 642 _process_value(char *string, char ***parts) in _process_value() argument 676 list_append(parts, regvalue(matches[j], string)); in _process_value() 680 list_append(parts, string); in _process_value() 687 papi_attribute_value_type_t dtype, char **parts) in _add_attribute_value() argument 693 value->string = strdup(parts[0]); in _add_attribute_value() 698 if ((strcasecmp(parts[0], "false") == 0) || in _add_attribute_value() 699 (strcasecmp(parts[0], "no") == 0)) in _add_attribute_value() 704 value->integer = atoi(parts[0]); in _add_attribute_value() 709 if (atoi(parts[0]) < 0) { in _add_attribute_value() 716 value->range.upper = 0 - (atoi(parts[0])); in _add_attribute_value() [all …]
|
/titanic_50/usr/src/lib/libast/common/sfio/ |
H A D | sfstrtof.h | 216 S2F_part_t parts[16]; local 398 if (n >= ((~((S2F_batch)0)) / 10) && part < elementsof(parts)) 400 parts[part].batch = n; 402 parts[part].digits = digits; 426 if (n && part < elementsof(parts)) 428 parts[part].batch = n; 429 parts[part].digits = digits; 482 else if ((m = parts[part-1].digits - digits) > 0) 493 p = parts[part].batch; 494 c = digits - parts[part].digits;
|
/titanic_50/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 608 (void) memcpy(iparts, bootblk.parts, ISIZE); in get_parts() 672 iparts[j].bootid = log_drv->parts[0].bootid; in get_parts() 673 iparts[j].beghead = log_drv->parts[0].beghead; in get_parts() 674 iparts[j].begsect = log_drv->parts[0].begsect; in get_parts() 675 iparts[j].begcyl = log_drv->parts[0].begcyl; in get_parts() 676 iparts[j].systid = log_drv->parts[0].systid; in get_parts() 677 iparts[j].endhead = log_drv->parts[0].endhead; in get_parts() 678 iparts[j].endsect = log_drv->parts[0].endsect; in get_parts() 679 iparts[j].endcyl = log_drv->parts[0].endcyl; in get_parts() 681 lel(log_drv->parts[0].relsect) + epp->ext_beg_sec); in get_parts() [all …]
|
/titanic_50/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 1197 part = (struct ipart *)&boot_sec->parts[i * in get_fdisk() 1331 struct ipart parts[FD_NUMPART]; in write_default_label() local 1372 (void) memset(&parts, 0, sizeof (parts)); in write_default_label() 1375 parts[i].systid = UNUSED; in write_default_label() 1376 parts[i].numsect = lel(UNUSED); in write_default_label() 1377 parts[i].relsect = lel(UNUSED); in write_default_label() 1378 parts[i].bootid = 0; in write_default_label() 1385 parts[0].bootid = ACTIVE; in write_default_label() 1386 parts[0].begsect = 1; in write_default_label() 1390 parts[0].relsect = lel(nhead * nsect); in write_default_label() [all …]
|
/titanic_50/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 1126 uint32_t parts[4], *pp = parts; in inet_addr() local 1165 if ((pp >= parts + 3) || (val > 0xff)) { in inet_addr() 1182 n = pp - parts; in inet_addr() 1186 val = parts[0]; in inet_addr() 1190 if (parts[1] > 0xffffff) in inet_addr() 1192 val = (parts[0] << 24) | (parts[1] & 0xffffff); in inet_addr() 1196 if (parts[2] > 0xffff) in inet_addr() 1198 val = (parts[0] << 24) | ((parts[1] & 0xff) << 16) | in inet_addr() 1199 (parts[2] & 0xffff); in inet_addr() 1203 if (parts[3] > 0xff) in inet_addr() [all …]
|
/titanic_50/usr/src/lib/libast/common/tm/ |
H A D | tmxfmt.c | 112 int parts; in tmxfmt() local 158 parts = 0; in tmxfmt() 174 if (!parts) in tmxfmt() 189 switch (parts) in tmxfmt() 192 parts++; in tmxfmt() 203 if (!parts++) in tmxfmt() 204 parts++; in tmxfmt() 448 if (parts > 1) in tmxfmt()
|
/titanic_50/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 366 if (fdisk_is_solaris_part(LE_8(temp->parts[0].systid))) { in fdisk_get_solaris_part() 368 if ((temp->parts[0].systid == SUNIXOS) && in fdisk_get_solaris_part() 400 *sysid = LE_8(temp->parts[0].systid); in fdisk_get_part_info() 698 temp->parts[0] = *ext_fdp; in fdisk_read_extpart() 700 temp->parts[1] = *ext_fdp; in fdisk_read_extpart() 864 temp->parts[0].systid = LE_8(partid); in fdisk_change_logical_drive_id() 900 part = &temp->parts[0]; in fdisk_add_logical_drive() 937 part = &pre->parts[1]; in fdisk_add_logical_drive() 997 cur->parts[0].relsect = in fdisk_delete_logical_drive() 998 LE_32(LE_32(cur->parts[0].relsect) + in fdisk_delete_logical_drive() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | options.c | 1836 u_char parts[3], *pp = parts; local 1875 if ((pp >= parts + 3) || (val > 0xff)) { 1891 n = pp - parts; 1898 val |= parts[0] << 24; 1903 val |= (parts[0] << 24) | (parts[1] << 16); 1908 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.getf.ksh | 47 * We can potentially read parts of our cred, but we can't dereference
|
/titanic_50/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 1596 part = (struct ipart *)BootCod.parts; in mboot_read() 2058 if (temp->parts[0].systid == id && in load() 2059 temp->parts[0].bootid == act && in load() 2060 temp->parts[0].beghead == bhead && in load() 2061 temp->parts[0].begsect == ((bsect & 0x3f) | in load() 2063 temp->parts[0].begcyl == (uchar_t)(bcyl & 0xff) && in load() 2064 temp->parts[0].endhead == ehead && in load() 2065 temp->parts[0].endsect == ((esect & 0x3f) | in load() 2067 temp->parts[0].endcyl == (uchar_t)(ecyl & 0xff) && in load() 2069 temp->parts[0].numsect == LE_32(numsect)) { in load() [all …]
|