/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | str.c | 22 #define IS_REF(s) ((s)->str_s != NULL && (s)->str_size == 0) 48 xfree(s->str_ops, s->str_s, s->str_size); in str_fini() 89 dest->str_size = len; in str_copy() 106 if ((amt > 0) && (s->str_len + amt <= s->str_size)) in str_reserve() 119 temp = xrealloc(s->str_ops, s->str_s, s->str_size, newsize); in str_reserve() 125 s->str_size = newsize; in str_reserve() 190 .str_size = 0 in str_insert() 278 sp->strp_r.str_len = sp->strp_r.str_size = 0; in str_pair_merge()
|
H A D | str.h | 33 size_t str_size; member
|
H A D | cxx.c | 2758 num.str_size = fd->max_demangled_size + 1; in parse_floating_literal() 2759 num.str_s = zalloc(db->cpp_ops, num.str_size); in parse_floating_literal()
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | utils.c | 425 size_t str_size; in compress() local 430 str_size = o_size+1; in compress() 431 strings = malloc(str_size); in compress() 451 if (next_str >= str_size) { in compress() 452 str_size *= 2; in compress() 454 realloc(strings, str_size)) == NULL) { in compress() 463 if (next_str >= str_size) { in compress() 464 str_size *= 2; in compress() 466 realloc(strings, str_size)) == NULL) { in compress()
|
H A D | mcs.h | 155 size_t str_size; /* size of string to be appended */ member
|
H A D | main.c | 119 cmd_info->str_size += strlen(optarg) + 1; in main()
|
H A D | file.c | 549 state->new_sec_string = calloc(1, cmd_info->str_size + 1); in traverse_file()
|
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_read.c | 164 header.str_size = swap(header.str_size); in read_entry() 216 pst = malloc((unsigned)header.str_size); in read_entry() 276 numread = read(fd, pst, header.str_size); in read_entry() 278 if (numread != header.str_size) in read_entry()
|
H A D | tic_parse.c | 706 header.str_size = swap(l_next_free); in write_object() 713 header.str_size = l_next_free; in write_object()
|
/illumos-gate/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 223 if (einfo->str_off + einfo->str_size > bufsize) { in print_einfo() 254 einfo->str_size); in print_einfo() 340 einfo->str_size = strlen(infostr); in prepare_and_write_einfo() 342 if (einfo->str_off + einfo->str_size > maxsize) { in prepare_and_write_einfo() 349 (void) memcpy(data, infostr, einfo->str_size); in prepare_and_write_einfo() 350 *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
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 82 int type_size, str_size, total_size, type_flag; in add_tlb_props() local 93 str_size = strlen((char *)type + total_size) + 1; in add_tlb_props() 100 total_size += str_size; in add_tlb_props() 136 int type_size, str_size, total_size, type_flag; in add_cache_props() local 151 str_size = strlen((char *)type + total_size) + 1; in add_cache_props() 158 total_size += str_size; in add_cache_props()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.c | 83 sp->str_size = 1; in dt_strtab_create() 246 hp->str_off = sp->str_size; in dt_strtab_insert() 258 sp->str_size += len + 1; in dt_strtab_insert() 267 return (sp->str_size); in dt_strtab_size() 287 if (total == 0 && sp->str_size != 0) in dt_strtab_write()
|
H A D | dt_strtab.h | 52 size_t str_size; /* total size of strings in bytes */ member
|
/illumos-gate/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()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | setup.c | 157 short str_size; member 184 (header.str_size = getnum(fd)) < 0) { in __m_read_terminfo() 231 if ((tp->_str_table = (char *) malloc(header.str_size)) == NULL) in __m_read_terminfo() 254 if (read(fd, tp->_str_table, header.str_size) != header.str_size) in __m_read_terminfo()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | setup.c | 374 derive_devstr(const caddr_t dev, caddr_t devstr, size_t str_size) in derive_devstr() argument 391 if (!(check_mnttab(dev, devstr, str_size) || in derive_devstr() 392 check_vfstab(dev, devstr, str_size))) { in derive_devstr() 401 (void) strlcpy(devstr, dev, str_size); in derive_devstr() 405 (void) strlcpy(devstr, unrawname(dev), str_size); in derive_devstr() 444 check_mount_state(caddr_t devstr, size_t str_size) in check_mount_state() argument 461 if ((mountedfs = mounted(devstr, devstr, str_size)) != M_NOMNT) { in check_mount_state() 485 (void) strlcpy(devstr, rawname(devstr), str_size); in check_mount_state()
|
H A D | utilities.c | 1058 mounted(caddr_t name, caddr_t devstr, size_t str_size) in mounted() argument 1063 mntent = search_mnttab(NULL, unrawname(name), devstr, str_size); in mounted() 1083 if (devstr != NULL && str_size > 0) in mounted() 1084 (void) strlcpy(devstr, mntent->mnt_special, str_size); in mounted() 1526 check_vfstab(caddr_t name, caddr_t devstr, size_t str_size) in check_vfstab() argument 1528 return (NULL != search_vfstab(name, NULL, devstr, str_size)); in check_vfstab() 1537 check_mnttab(caddr_t name, caddr_t devstr, size_t str_size) in check_mnttab() argument 1539 return (NULL != search_mnttab(name, NULL, devstr, str_size)); in check_mnttab() 1570 if (devstr != NULL && str_size > 0 && \ 1573 str_size); \ [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | setup.c | 141 || (header.str_size = getnum(fd)) < 0) 190 if ((tp->_str_table = (char *) malloc(header.str_size)) == (char *) 0) 215 if (read(fd, tp->_str_table, header.str_size) != header.str_size)
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | object.h | 126 short str_size; /* Size of string table */ member
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | cap.c | 224 Elf_cap_entry(Lm_list *lml, Cap *cap, int ndx, const char *str, size_t str_size, in Elf_cap_entry() argument 238 if (str && (cap->c_un.c_ptr < str_size)) { in Elf_cap_entry()
|
/illumos-gate/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 | 393 size_t str_size; in print_cap() local 420 str_size = 0; in print_cap() 423 str_size = argstate->str.sec->sec_data->d_size; in print_cap() 466 Elf_cap_entry(NULL, cap, ndx, str, str_size, in print_cap()
|
/illumos-gate/usr/src/head/ |
H A D | nss_dbdefs.h | 388 #define NSS_XbyY_ALLOC(bufpp, str_size, buf_size) (\ argument 390 ? (*bufpp) = _nss_XbyY_buf_alloc(str_size, buf_size) \
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 3678 size_t str_size = 0; in generate_value_list() local 3727 str_size = strlcat(values, "\" ", byte_count); in generate_value_list() 3728 assert(str_size < byte_count); in generate_value_list() 3730 if (str_size > 0) in generate_value_list() 3731 values[str_size - 1] = 0; /* get rid of trailing space */ in generate_value_list()
|