/titanic_41/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 68 int num_args, i, str_len, name_len; in tnf_probe_debug() local 81 str_len = sprintf(buf_p, "probe %.*s; ", attr_len, attr_start); in tnf_probe_debug() 82 buf_p += str_len; in tnf_probe_debug() 89 str_len = sprintf(buf_p, "sunw%%debug \"%.*s\"; ", in tnf_probe_debug() 91 buf_p += str_len; in tnf_probe_debug() 117 str_len = sprintf(buf_p, "%.*s=", name_len, name_start); in tnf_probe_debug() 118 buf_p += str_len; in tnf_probe_debug() 126 str_len = sprintf(buf_p, "<unknown>; "); in tnf_probe_debug() 127 buf_p += str_len; in tnf_probe_debug() 130 str_len = sprintf(buf_p, "%ld; ", in tnf_probe_debug() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | svc_auth_loopb.c | 62 uint_t str_len, gid_len; in __svcauth_loopback() local 78 str_len = IXDR_GET_U_INT32(buf); in __svcauth_loopback() 79 if (str_len > MAX_MACHINE_NAME) in __svcauth_loopback() 81 if (str_len > auth_len) in __svcauth_loopback() 83 (void) memcpy(aup->aup_machname, buf, str_len); in __svcauth_loopback() 84 aup->aup_machname[str_len] = 0; in __svcauth_loopback() 85 str_len = RNDUP(str_len); in __svcauth_loopback() 86 buf += str_len / sizeof (int); in __svcauth_loopback() 96 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) in __svcauth_loopback()
|
H A D | svc_auth_sys.c | 76 uint_t str_len, gid_len; in __svcauth_sys() local 92 str_len = IXDR_GET_U_INT32(buf); in __svcauth_sys() 93 if (str_len > MAX_MACHINE_NAME) in __svcauth_sys() 95 (void) memcpy(aup->aup_machname, buf, str_len); in __svcauth_sys() 96 aup->aup_machname[str_len] = 0; in __svcauth_sys() 97 str_len = RNDUP(str_len); in __svcauth_sys() 98 buf += str_len / (int)sizeof (int32_t); in __svcauth_sys() 112 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) in __svcauth_sys()
|
/titanic_41/usr/src/uts/common/rpc/sec/ |
H A D | svc_authu.c | 82 uint_t str_len, gid_len; in _svcauth_unix() local 99 str_len = IXDR_GET_U_INT32(buf); in _svcauth_unix() 100 if (str_len > MAX_MACHINE_NAME) in _svcauth_unix() 102 bcopy((caddr_t)buf, aup->aup_machname, str_len); in _svcauth_unix() 103 aup->aup_machname[str_len] = 0; in _svcauth_unix() 104 str_len = RNDUP(str_len); in _svcauth_unix() 105 buf += str_len / sizeof (int32_t); in _svcauth_unix() 119 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) in _svcauth_unix()
|
/titanic_41/usr/src/lib/nsswitch/ldap/common/ |
H A D | getpwnam.c | 73 unsigned long str_len = 0L; in _nss_ldap_passwd2str() local 116 str_len = strlen(uid_v[0]) + strlen(uidn_v[0]) + strlen(gidn_v[0]); in _nss_ldap_passwd2str() 117 if (str_len > buflen) { in _nss_ldap_passwd2str() 126 str_len += strlen(gecos_v[0]); in _nss_ldap_passwd2str() 132 str_len += strlen(homedir_v[0]); in _nss_ldap_passwd2str() 138 str_len += strlen(shell_v[0]); in _nss_ldap_passwd2str() 140 if (str_len > buflen) { in _nss_ldap_passwd2str() 146 be->buflen = str_len + 8; in _nss_ldap_passwd2str() 158 (void) snprintf(argp->buf.buffer, (str_len + 8), in _nss_ldap_passwd2str()
|
/titanic_41/usr/src/cmd/msgfmt/ |
H A D | gnu_msgs.c | 65 size_t id_len, str_len, id_off, str_off, ids_top, strs_top; in output_all_gnu_mo_files() local 124 str_len = 0; in output_all_gnu_mo_files() 127 str_len += m[i].str_len; in output_all_gnu_mo_files() 130 strs = (char *)Xmalloc(str_len); in output_all_gnu_mo_files() 151 str_tbl[i].len = m[i].str_len - 1; in output_all_gnu_mo_files() 155 (void) memcpy(strs + str_off, m[i].str, m[i].str_len); in output_all_gnu_mo_files() 157 str_off += m[i].str_len; in output_all_gnu_mo_files() 183 (void) fwrite(strs, str_len, 1, out); in output_all_gnu_mo_files()
|
H A D | gnu_msgs_rev.c | 75 size_t id_len, str_len, id_off, str_off, ids_top, strs_top; in output_all_gnu_mo_files() local 129 str_len = 0; in output_all_gnu_mo_files() 132 str_len += m[i].str_len; in output_all_gnu_mo_files() 135 strs = (char *)Xmalloc(str_len); in output_all_gnu_mo_files() 156 str_tbl[i].len = doswap(m[i].str_len - 1); in output_all_gnu_mo_files() 160 (void) memcpy(strs + str_off, m[i].str, m[i].str_len); in output_all_gnu_mo_files() 162 str_off += m[i].str_len; in output_all_gnu_mo_files() 188 (void) fwrite(strs, str_len, 1, out); in output_all_gnu_mo_files()
|
H A D | gnu_check.c | 292 size_t str_len, str_num; in check_format() local 317 str_len = str->len; in check_format() 332 str_e_newline = (msgstr[str_len - 1 - 1] == '\n'); in check_format() 426 nsz = str_len * 2; in check_format()
|
H A D | gnu_msgfmt.h | 87 size_t str_len; /* length of str */ member
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 45 size_t str_len; /* Length of string */ member 52 size_t left = sd->str_base + sd->str_len - sd->str_ptr; in strio_read() 81 nptr = sd->str_base + sd->str_len + offset; in strio_seek() 87 if (nptr < sd->str_base || nptr > sd->str_ptr + sd->str_len) in strio_seek() 137 sd->str_len = strlen(s) + 1; in mdb_strio_create() 138 sd->str_base = strndup(s, sd->str_len); in mdb_strio_create()
|
/titanic_41/usr/src/lib/libtsol/common/ |
H A D | btos.c | 59 return_string(char **string, int str_len, char *val) in return_string() argument 67 } else if (val_len > str_len) { in return_string() 145 bsltos(const bslabel_t *label, char **string, size_t str_len, in bsltos() argument 174 rval = return_string(string, str_len, slret.slabel); in bsltos() 191 return (return_string(string, str_len, ADMIN_LOW)); in bsltos() 193 return (return_string(string, str_len, ADMIN_HIGH)); in bsltos() 240 bcleartos(const bclear_t *clearance, char **string, size_t str_len, in bcleartos() argument 268 rval = return_string(string, str_len, clrret.cslabel); in bcleartos() 285 return (return_string(string, str_len, ADMIN_LOW)); in bcleartos() 287 return (return_string(string, str_len, ADMIN_HIGH)); in bcleartos()
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.c | 161 uint16_t str_len; in npi_espc_model_str_get() local 166 str_len = (uint8_t)val; in npi_espc_model_str_get() 168 if (str_len > MAX_MOD_STR_LEN) { in npi_espc_model_str_get() 172 str_len, MAX_MOD_STR_LEN)); in npi_espc_model_str_get() 180 for (i = 0, j = 0; i < str_len; j++) { in npi_espc_model_str_get() 188 data[str_len] = '\0'; in npi_espc_model_str_get() 197 uint16_t str_len; in npi_espc_bd_model_str_get() local 202 str_len = (uint8_t)val; in npi_espc_bd_model_str_get() 204 if (str_len > MAX_BD_MOD_STR_LEN) { in npi_espc_bd_model_str_get() 209 str_len, MAX_BD_MOD_STR_LEN)); in npi_espc_bd_model_str_get() [all …]
|
/titanic_41/usr/src/cmd/tnf/prex/ |
H A D | list.c | 231 int str_len; in list_getattrs() local 244 str_len = sprintf(buf_p, "enable %s; trace %s; ", in list_getattrs() 247 buf_p += str_len; in list_getattrs() 249 str_len = strlen(p_state.obj_name); in list_getattrs() 250 if (buf_p + str_len < buf_end) { in list_getattrs() 251 str_len = sprintf(buf_p, "object %s; ", in list_getattrs() 253 buf_p += str_len; in list_getattrs() 256 str_len = sprintf(buf_p, "funcs"); in list_getattrs() 257 buf_p += str_len; in list_getattrs()
|
/titanic_41/usr/src/cmd/latencytop/common/ |
H A D | klog.c | 188 int str_len; in lt_klog_log() local 213 str_len = strlen(stack) + 20; in lt_klog_log() 214 str = lt_malloc(str_len); in lt_klog_log() 215 (void) snprintf(str, str_len, "%ld, \"%s\"", pid, stack); in lt_klog_log()
|
/titanic_41/usr/src/cmd/acpi/acpidump/ |
H A D | osunixdir.c | 139 int str_len; in AcpiOsGetNextFilename() local 153 str_len = strlen (dir_entry->d_name) + in AcpiOsGetNextFilename() 156 temp_str = calloc (str_len, 1); in AcpiOsGetNextFilename()
|
/titanic_41/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 354 int str_len; in convertBinaryToDecimal() local 358 str_len = strlen(ptr); in convertBinaryToDecimal() 361 while (str_len >= 1) { in convertBinaryToDecimal() 362 str_len -= 1; in convertBinaryToDecimal() 363 if (data[str_len] == '0') { in convertBinaryToDecimal() 366 if (data[str_len] == '1') { in convertBinaryToDecimal()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | dr_mem.c | 630 size_t str_len; in dr_mem_res_array_fini() local 635 str_len = strlen(res[idx].string) + 1; in dr_mem_res_array_fini() 636 kmem_free(res[idx].string, str_len); in dr_mem_res_array_fini() 658 size_t str_len; in dr_mem_pack_response() local 706 str_len = strlen(res[idx].string) + 1; in dr_mem_pack_response() 707 bcopy(res[idx].string, curr_str, str_len); in dr_mem_pack_response() 710 curr_off += str_len; in dr_mem_pack_response() 711 curr_str += str_len; in dr_mem_pack_response()
|
H A D | dr_cpu.c | 600 size_t str_len; in dr_cpu_res_array_fini() local 605 str_len = strlen(res[idx].string) + 1; in dr_cpu_res_array_fini() 607 __func__, (void *)(res[idx].string), str_len); in dr_cpu_res_array_fini() 608 kmem_free(res[idx].string, str_len); in dr_cpu_res_array_fini() 632 size_t str_len; in dr_cpu_pack_response() local 684 str_len = strlen(res[idx].string) + 1; in dr_cpu_pack_response() 685 bcopy(res[idx].string, curr_str, str_len); in dr_cpu_pack_response() 688 curr_off += str_len; in dr_cpu_pack_response() 689 curr_str += str_len; in dr_cpu_pack_response()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_nvram.c | 458 int idx, str_len; in pmcs_validate_vpd() local 574 str_len = snprintf(tbuf, 80, "VPD: %c%c = <", in pmcs_validate_vpd() 579 tbuf[str_len + idx] = vkvp->value[idx]; in pmcs_validate_vpd() 583 str_len += kv_len; in pmcs_validate_vpd() 584 tbuf[str_len] = '>'; in pmcs_validate_vpd() 585 tbuf[str_len + 1] = 0; in pmcs_validate_vpd()
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | strtab.h | 42 size_t str_len; /* length in bytes of this string */ member
|
H A D | strtab.c | 184 hp->str_len = len; in strtab_insert() 244 for (len = hp->str_len; len != 0; len -= n) { in strtab_print()
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.h | 42 size_t str_len; /* length in bytes of this string */ member
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 448 CK_ULONG * str_len, in ber_encode_OCTET_STRING() argument 473 *str_len = len; in ber_encode_OCTET_STRING() 487 *str_len = len; in ber_encode_OCTET_STRING() 499 *str_len = len; in ber_encode_OCTET_STRING() 512 *str_len = len; in ber_encode_OCTET_STRING() 526 *str_len = len; in ber_encode_OCTET_STRING()
|
/titanic_41/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 1601 size_t str_len; in cfga_list_ext() local 1618 str_len = strlen((*ap_id_list)->ap_type); in cfga_list_ext() 1628 (void) strlcpy((*ap_id_list)->ap_type + str_len, str_p, in cfga_list_ext() 1629 sizeof ((*ap_id_list)->ap_type) - str_len); in cfga_list_ext() 1631 (void) strlcpy((*ap_id_list)->ap_type + str_len, "kbd", in cfga_list_ext() 1632 sizeof ((*ap_id_list)->ap_type) - str_len); in cfga_list_ext()
|
/titanic_41/usr/src/lib/udapl/libdat/common/ |
H A D | udat_sr_parser.c | 1288 DAT_OS_SIZE str_len; in dat_sr_read_quoted_str() local 1295 str_len = token_len - 2; /* minus 2 " characters */ in dat_sr_read_quoted_str() 1301 token->value_len = sizeof (char) * (str_len - num_escape_seq + 1); in dat_sr_read_quoted_str() 1314 for (i = 0, j = 0; i < str_len; i++) { in dat_sr_read_quoted_str()
|