/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 68 int num_args, i, str_len, name_len; local 81 str_len = sprintf(buf_p, "probe %.*s; ", attr_len, attr_start); 82 buf_p += str_len; 89 str_len = sprintf(buf_p, "sunw%%debug \"%.*s\"; ", 91 buf_p += str_len; 117 str_len = sprintf(buf_p, "%.*s=", name_len, name_start); 118 buf_p += str_len; 126 str_len = sprintf(buf_p, "<unknown>; "); 127 buf_p += str_len; 130 str_len [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_auth_loopb.c | 57 size_t str_len, gid_len; local 73 str_len = IXDR_GET_U_INT32(buf); 74 if (str_len > MAX_MACHINE_NAME) { 78 (void) memcpy(aup->aup_machname, buf, str_len); 79 aup->aup_machname[str_len] = 0; 80 str_len = RNDUP(str_len); 81 buf += str_len / sizeof (int); 97 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { 100 gid_len, str_len, auth_le [all...] |
H A D | svc_auth_sys.c | 71 uint_t str_len, gid_len; local 87 str_len = IXDR_GET_U_INT32(buf); 88 if (str_len > MAX_MACHINE_NAME) { 92 (void) memcpy(aup->aup_machname, buf, str_len); 93 aup->aup_machname[str_len] = 0; 94 str_len = RNDUP(str_len); 95 buf += str_len / (int)sizeof (int32_t); 111 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { 114 gid_len, str_len, auth_le [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | svc_authu.c | 84 u_int str_len, gid_len; local 98 str_len = IXDR_GET_U_INT32(buf); 99 if (str_len > MAX_MACHINE_NAME) { 103 bcopy((caddr_t)buf, aup->aup_machname, (u_int)str_len); 104 aup->aup_machname[str_len] = 0; 105 str_len = RNDUP(str_len); 106 buf += str_len / sizeof (int32_t); 122 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { 124 gid_len, str_len, auth_le [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_strio.c | 45 size_t str_len; /* Length of string */ member in struct:str_data 52 size_t left = sd->str_base + sd->str_len - sd->str_ptr; 81 nptr = sd->str_base + sd->str_len + offset; 87 if (nptr < sd->str_base || nptr > sd->str_ptr + sd->str_len) 137 sd->str_len = strlen(s) + 1; 138 sd->str_base = strndup(s, sd->str_len);
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | btos.c | 59 return_string(char **string, int str_len, char *val) argument 67 } else if (val_len > str_len) { 112 * str_len = Length of preallocated memory, else ignored. 145 bsltos(const bslabel_t *label, char **string, size_t str_len, argument 174 rval = return_string(string, str_len, slret.slabel); 191 return (return_string(string, str_len, ADMIN_LOW)); 193 return (return_string(string, str_len, ADMIN_HIGH)); 209 * str_len = Length of preallocated memory, else ignored. 240 bcleartos(const bclear_t *clearance, char **string, size_t str_len, argument 268 rval = return_string(string, str_len, clrre [all...] |
/illumos-gate/usr/src/cmd/acpi/acpidump/ |
H A D | osunixdir.c | 139 int str_len; local 153 str_len = strlen (dir_entry->d_name) + 156 temp_str = calloc (str_len, 1);
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | strtab.h | 42 size_t str_len; /* length in bytes of this string */ member in struct:strhash
|
H A D | strtab.c | 184 hp->str_len = len; 244 for (len = hp->str_len; len != 0; len -= n) {
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getpwnam.c | 73 unsigned long str_len = 0L; local 116 str_len = strlen(uid_v[0]) + strlen(uidn_v[0]) + strlen(gidn_v[0]); 117 if (str_len > buflen) { 126 str_len += strlen(gecos_v[0]); 132 str_len += strlen(homedir_v[0]); 138 str_len += strlen(shell_v[0]); 140 if (str_len > buflen) { 146 be->buflen = str_len + 8; 158 (void) snprintf(argp->buf.buffer, (str_len + 8),
|
/illumos-gate/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; local 124 str_len = 0; 127 str_len += m[i].str_len; 130 strs = (char *)Xmalloc(str_len); 151 str_tbl[i].len = m[i].str_len - 1; 155 (void) memcpy(strs + str_off, m[i].str, m[i].str_len); 157 str_off += m[i].str_len; 183 (void) fwrite(strs, str_len, 1, out);
|
H A D | gnu_msgs_rev.c | 75 size_t id_len, str_len, id_off, str_off, ids_top, strs_top; local 129 str_len = 0; 132 str_len += m[i].str_len; 135 strs = (char *)Xmalloc(str_len); 156 str_tbl[i].len = doswap(m[i].str_len - 1); 160 (void) memcpy(strs + str_off, m[i].str, m[i].str_len); 162 str_off += m[i].str_len; 188 (void) fwrite(strs, str_len, 1, out);
|
H A D | gnu_check.c | 292 size_t str_len, str_num; local 317 str_len = str->len; 332 str_e_newline = (msgstr[str_len - 1 - 1] == '\n'); 426 nsz = str_len * 2;
|
H A D | gnu_msgfmt.h | 87 size_t str_len; /* length of str */ member in struct:messages
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | list.c | 231 int str_len; local 244 str_len = sprintf(buf_p, "enable %s; trace %s; ", 247 buf_p += str_len; 249 str_len = strlen(p_state.obj_name); 250 if (buf_p + str_len < buf_end) { 251 str_len = sprintf(buf_p, "object %s; ", 253 buf_p += str_len; 256 str_len = sprintf(buf_p, "funcs"); 257 buf_p += str_len;
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.c | 161 uint16_t str_len; local 166 str_len = (uint8_t)val; 168 if (str_len > MAX_MOD_STR_LEN) { 172 str_len, MAX_MOD_STR_LEN)); 180 for (i = 0, j = 0; i < str_len; j++) { 188 data[str_len] = '\0'; 197 uint16_t str_len; local 202 str_len = (uint8_t)val; 204 if (str_len > MAX_BD_MOD_STR_LEN) { 209 str_len, MAX_BD_MOD_STR_LE [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.h | 42 size_t str_len; /* length in bytes of this string */ member in struct:dt_strhash
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | klog.c | 188 int str_len; local 213 str_len = strlen(stack) + 20; 214 str = lt_malloc(str_len); 215 (void) snprintf(str, str_len, "%ld, \"%s\"", pid, stack);
|
/illumos-gate/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 354 int str_len; local 358 str_len = strlen(ptr); 361 while (str_len >= 1) { 362 str_len -= 1; 363 if (data[str_len] == '0') { 366 if (data[str_len] == '1') {
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_internal.h | 93 const int str_len);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_cpu.c | 600 size_t str_len; local 605 str_len = strlen(res[idx].string) + 1; 607 __func__, (void *)(res[idx].string), str_len); 608 kmem_free(res[idx].string, str_len); 632 size_t str_len; local 684 str_len = strlen(res[idx].string) + 1; 685 bcopy(res[idx].string, curr_str, str_len); 688 curr_off += str_len; 689 curr_str += str_len;
|
H A D | dr_mem.c | 630 size_t str_len; local 635 str_len = strlen(res[idx].string) + 1; 636 kmem_free(res[idx].string, str_len); 658 size_t str_len; local 706 str_len = strlen(res[idx].string) + 1; 707 bcopy(res[idx].string, curr_str, str_len); 710 curr_off += str_len; 711 curr_str += str_len;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 448 CK_ULONG * str_len, 473 *str_len = len; 487 *str_len = len; 499 *str_len = len; 512 *str_len = len; 526 *str_len = len; 446 ber_encode_OCTET_STRING(CK_BBOOL length_only, CK_BYTE ** str, CK_ULONG * str_len, CK_BYTE * data, CK_ULONG data_len) argument
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 1601 size_t str_len; local 1618 str_len = strlen((*ap_id_list)->ap_type); 1628 (void) strlcpy((*ap_id_list)->ap_type + str_len, str_p, 1629 sizeof ((*ap_id_list)->ap_type) - str_len); 1631 (void) strlcpy((*ap_id_list)->ap_type + str_len, "kbd", 1632 sizeof ((*ap_id_list)->ap_type) - str_len);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_nvram.c | 458 int idx, str_len; local 574 str_len = snprintf(tbuf, 80, "VPD: %c%c = <", 579 tbuf[str_len + idx] = vkvp->value[idx]; 583 str_len += kv_len; 584 tbuf[str_len] = '>'; 585 tbuf[str_len + 1] = 0;
|