/titanic_50/usr/src/cmd/sgs/mcs/common/ |
H A D | utils.c | 422 size_t str_size; in compress() local 427 str_size = o_size+1; in compress() 428 strings = malloc(str_size); in compress() 448 if (next_str >= str_size) { in compress() 449 str_size *= 2; in compress() 451 realloc(strings, str_size)) == NULL) { in compress() 460 if (next_str >= str_size) { in compress() 461 str_size *= 2; in compress() 463 realloc(strings, str_size)) == NULL) { in compress()
|
H A D | mcs.h | 152 size_t str_size; /* size of string to be appended */ member
|
H A D | main.c | 116 cmd_info->str_size += strlen(optarg) + 1; in main()
|
/titanic_50/usr/src/cmd/tic/ |
H A D | tic_read.c | 158 header.str_size = swap(header.str_size); 210 pst = malloc((unsigned)header.str_size); 270 numread = read(fd, pst, header.str_size); 272 if (numread != header.str_size)
|
H A D | tic_parse.c | 696 header.str_size = swap(l_next_free); 703 header.str_size = l_next_free;
|
/titanic_50/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 194 if (einfo->str_off + einfo->str_size > bufsize) { in print_einfo() 225 einfo->str_size); in print_einfo() 311 einfo->str_size = strlen(infostr); in prepare_and_write_einfo() 313 if (einfo->str_off + einfo->str_size > maxsize) { in prepare_and_write_einfo() 320 (void) memcpy(data, infostr, einfo->str_size); in prepare_and_write_einfo() 321 *used_space = einfo->str_off + einfo->str_size; in prepare_and_write_einfo()
|
H A D | bblk_einfo.h | 48 uint16_t str_size; member
|
/titanic_50/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 84 int type_size, str_size, total_size, type_flag; in add_tlb_props() local 95 str_size = strlen((char *)type + total_size) + 1; in add_tlb_props() 102 total_size += str_size; in add_tlb_props() 138 int type_size, str_size, total_size, type_flag; in add_cache_props() local 153 str_size = strlen((char *)type + total_size) + 1; in add_cache_props() 160 total_size += str_size; in add_cache_props()
|
/titanic_50/usr/src/tools/ctf/cvt/ |
H A D | strtab.c | 60 sp->str_size = 1; in strtab_create() 183 hp->str_off = sp->str_size; in strtab_insert() 195 sp->str_size += len + 1; in strtab_insert() 203 return (sp->str_size); in strtab_size() 224 if (total == 0 && sp->str_size != 0) in strtab_write()
|
H A D | strtab.h | 54 size_t str_size; /* total size of strings in bytes */ member
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.c | 85 sp->str_size = 1; in dt_strtab_create() 248 hp->str_off = sp->str_size; in dt_strtab_insert() 260 sp->str_size += len + 1; in dt_strtab_insert() 269 return (sp->str_size); in dt_strtab_size() 289 if (total == 0 && sp->str_size != 0) in dt_strtab_write()
|
H A D | dt_strtab.h | 54 size_t str_size; /* total size of strings in bytes */ member
|
/titanic_50/usr/src/cmd/svr4pkg/pkgproto/ |
H A D | main.c | 376 size_t str_size; in scan_raw_ln() local 385 str_size = ((ptrdiff_t)next_dir - (ptrdiff_t)this_dir); in scan_raw_ln() 392 if (strncmp(this_dir, link_name, str_size) == 0) { in scan_raw_ln() 396 targ_ptr = (char *)(targ_ptr+str_size); in scan_raw_ln() 398 link_name = (char *)(link_name+str_size); in scan_raw_ln()
|
/titanic_50/usr/src/uts/sun4u/starcat/io/ |
H A D | gptwo_pci.c | 440 int i, str_size; in gptwo_get_probe_string() local 470 str_size = strlen(temp); in gptwo_get_probe_string() 472 if (str_size == 0) in gptwo_get_probe_string() 475 probe = kmem_zalloc(str_size + 1, KM_SLEEP); in gptwo_get_probe_string()
|
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | setup.c | 159 short str_size; member 186 (header.str_size = getnum(fd)) < 0) { in __m_read_terminfo() 233 if ((tp->_str_table = (char *) malloc(header.str_size)) == NULL) in __m_read_terminfo() 256 if (read(fd, tp->_str_table, header.str_size) != header.str_size) in __m_read_terminfo()
|
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | setup.c | 364 derive_devstr(const caddr_t dev, caddr_t devstr, size_t str_size) in derive_devstr() argument 381 if (!(check_mnttab(dev, devstr, str_size) || in derive_devstr() 382 check_vfstab(dev, devstr, str_size))) { in derive_devstr() 391 (void) strlcpy(devstr, dev, str_size); in derive_devstr() 395 (void) strlcpy(devstr, unrawname(dev), str_size); in derive_devstr() 434 check_mount_state(caddr_t devstr, size_t str_size) in check_mount_state() argument 451 if ((mountedfs = mounted(devstr, devstr, str_size)) != M_NOMNT) { in check_mount_state() 475 (void) strlcpy(devstr, rawname(devstr), str_size); in check_mount_state()
|
H A D | utilities.c | 1051 mounted(caddr_t name, caddr_t devstr, size_t str_size) in mounted() argument 1056 mntent = search_mnttab(NULL, unrawname(name), devstr, str_size); in mounted() 1076 if (devstr != NULL && str_size > 0) in mounted() 1077 (void) strlcpy(devstr, mntent->mnt_special, str_size); in mounted() 1519 check_vfstab(caddr_t name, caddr_t devstr, size_t str_size) in check_vfstab() argument 1521 return (NULL != search_vfstab(name, NULL, devstr, str_size)); in check_vfstab() 1530 check_mnttab(caddr_t name, caddr_t devstr, size_t str_size) in check_mnttab() argument 1532 return (NULL != search_mnttab(name, NULL, devstr, str_size)); in check_mnttab() 1563 if (devstr != NULL && str_size > 0 && \ 1566 str_size); \ [all …]
|
/titanic_50/usr/src/lib/libcurses/screen/ |
H A D | object.h | 128 short str_size; /* Size of string table */ member
|
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | setup.c | 143 || (header.str_size = getnum(fd)) < 0) 192 if ((tp->_str_table = (char *) malloc(header.str_size)) == (char *) 0) 217 if (read(fd, tp->_str_table, header.str_size) != header.str_size)
|
/titanic_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | cap.c | 213 Elf_cap_entry(Lm_list *lml, Cap *cap, int ndx, const char *str, size_t str_size, in Elf_cap_entry() argument 227 if (str && (cap->c_un.c_ptr < str_size)) { in Elf_cap_entry()
|
/titanic_50/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | phdr.c | 519 Word str_size; /* Size of new interp string + NULL */ in cmd_body_set_interp() local 565 str_size = strlen(argstate->argv[0]) + 1; in cmd_body_set_interp() 583 (str_size <= strsec->sec_shdr->sh_size)) { in cmd_body_set_interp() 602 EC_WORD(str_size), in cmd_body_set_interp() 640 interp.phdr->p_filesz = str_size; in cmd_body_set_interp()
|
H A D | cap.c | 391 size_t str_size; in print_cap() local 418 str_size = 0; in print_cap() 421 str_size = argstate->str.sec->sec_data->d_size; in print_cap() 464 Elf_cap_entry(NULL, cap, ndx, str, str_size, in print_cap()
|
/titanic_50/usr/src/head/ |
H A D | nss_dbdefs.h | 379 #define NSS_XbyY_ALLOC(bufpp, str_size, buf_size) (\ argument 381 ? (*bufpp) = _nss_XbyY_buf_alloc(str_size, buf_size) \
|
/titanic_50/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 256 header.str_size = swap(next_free); 263 header.str_size = next_free;
|
/titanic_50/usr/src/lib/libdwarf/common/ |
H A D | dwarf_alloc.c | 888 Dwarf_Word str_size = ialp->ia_struct_size; in _dwarf_setup_debug() local 890 Dwarf_Word rnded_size = ROUND_SIZE_WITH_POINTER(str_size); in _dwarf_setup_debug()
|