Searched refs:string_size (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddryrun.c203 int string_size; local
206 string_size = strlen(string) + 1;
208 string_size = 0;
210 if (write(fd, &string_size, sizeof (string_size)) == -1) {
215 if (string_size > 0) {
216 if (write(fd, string, string_size) == -1) {
228 size_t string_size; local
230 if (read(fd, &(string_size), sizeof (string_size))
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c1394 int string_size; local
1426 string_size = 0;
1428 if (strlen(cond_okay) >= string_size)
1429 string_size = 1 + strlen(cond_okay);
1431 if (strlen(cond_failed) >= string_size)
1432 string_size = 1 + strlen(cond_failed);
1436 fru_to_size[i] = string_size;
1441 string_size = 0;
1442 fixstate(ENVMON_LED_OFF, gettext("off"), &string_size);
1443 fixstate(ENVMON_LED_ON, gettext("on"), &string_size);
[all...]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_writer.c730 size_t string_size, record_size; local
739 string_size = strlen(string); /* excludes terminating NUL */
740 if (string_size > TNF_STRING_LIMIT)
741 string_size = TNF_STRING_LIMIT;
743 record_size = sizeof (*bufhdr) + TNF_STRING_ROUNDUP(string_size + 1);
753 string_size);
755 (void) memcpy((char *)bufhdr + sizeof (*bufhdr), string, string_size);
758 ((char *)bufhdr + sizeof (*bufhdr))[string_size] = '\0';
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_pcu.c508 int string_size; local
574 string_size = 0;
584 string_size += strlen(cdi->cd_info->sh_filename) + 1;
600 name_pool = sdbc_get_anon_list(string_size);
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c1031 size_t string_size; local
1032 string_size = strlen(state->new_sec_string) + 1;
1048 dst_shdr.sh_size = string_size + 1;
1060 elf_data->d_size = string_size + 1;
1062 calloc(1, string_size + 1)) == NULL) {
1068 state->new_sec_string, string_size);
1070 new_offset += string_size + 1;

Completed in 126 milliseconds