/freebsd-9.3-release/lib/libc/rpc/ |
H A D | svc_auth_unix.c | 73 size_t str_len, gid_len; local 88 str_len = (size_t)IXDR_GET_U_INT32(buf); 89 if (str_len > MAX_MACHINE_NAME) { 93 memmove(aup->aup_machname, buf, str_len); 94 aup->aup_machname[str_len] = 0; 95 str_len = RNDUP(str_len); 96 buf += str_len / sizeof (int32_t); 112 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { 114 (long)gid_len, (long)str_len, auth_le [all...] |
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 180 size_t str_len) 187 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); 190 dev->manufacturer = os_malloc(str_len + 1); 193 os_memcpy(dev->manufacturer, str, str_len); 194 dev->manufacturer[str_len] = '\0'; 201 size_t str_len) 208 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); 211 dev->model_name = os_malloc(str_len + 1); 214 os_memcpy(dev->model_name, str, str_len); 215 dev->model_name[str_len] 179 wps_process_manufacturer(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 200 wps_process_model_name(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 221 wps_process_model_number(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 242 wps_process_serial_number(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 263 wps_process_dev_name(struct wps_device_data *dev, const u8 *str, size_t str_len) argument [all...] |
/freebsd-9.3-release/sys/rpc/ |
H A D | svc_auth_unix.c | 72 size_t str_len, gid_len; local 82 str_len = (size_t)IXDR_GET_UINT32(buf); 83 if (str_len > MAX_MACHINE_NAME) { 87 str_len = RNDUP(str_len); 88 buf += str_len / sizeof (int32_t); 111 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { 113 (long)gid_len, (long)str_len, auth_len);
|
/freebsd-9.3-release/sys/cam/ |
H A D | cam.c | 168 cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len) argument 171 while (*pattern != '\0'&& str_len > 0) { 182 str_len--; 184 while (str_len > 0 && *str == ' ') { 186 str_len--; 188 if (str_len > 0 && *str == 0) 189 str_len = 0; 191 return (str_len); 230 cam_error_string(union ccb *ccb, char *str, int str_len, argument 236 int str_len, cam_error_string_flag [all...] |
H A D | cam.h | 248 int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len); 252 char * cam_error_string(union ccb *ccb, char *str, int str_len, 261 int str_len, cam_error_string_flags flags,
|
H A D | cam_xpt.h | 99 size_t str_len);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/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) {
|
/freebsd-9.3-release/sys/cam/ctl/ |
H A D | ctl_scsi_all.h | 50 int str_len);
|
H A D | ctl_scsi_all.c | 176 int str_len) 180 sbuf_new(&sb, str, str_len, 0); 174 ctl_scsi_sense_string(struct ctl_scsiio *ctsio, struct scsi_inquiry_data *inq_data, char *str, int str_len) argument
|
H A D | ctl_util.h | 102 int str_len);
|
H A D | ctl_util.c | 787 char *str, int str_len) 791 sbuf_new(&sb, str, str_len, SBUF_FIXEDLEN); 786 ctl_io_error_string(union ctl_io *io, struct scsi_inquiry_data *inq_data, char *str, int str_len) argument
|
/freebsd-9.3-release/cddl/contrib/opensolaris/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
|
H A D | dt_strtab.c | 249 hp->str_len = len;
|
/freebsd-9.3-release/crypto/heimdal/appl/login/ |
H A D | login_access.c | 232 int str_len; local 248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) 249 && strcasecmp(tok, string + str_len - tok_len) == 0)
|
/freebsd-9.3-release/crypto/heimdal/appl/rsh/ |
H A D | login_access.c | 232 int str_len; local 248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) 249 && strcasecmp(tok, string + str_len - tok_len) == 0)
|
/freebsd-9.3-release/lib/libpam/modules/pam_login_access/ |
H A D | login_access.c | 203 int str_len; local 219 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) 220 && strcasecmp(tok, string + str_len - tok_len) == 0)
|
/freebsd-9.3-release/contrib/libucl/src/ |
H A D | ucl_parser.c | 1270 int str_len; local 1296 str_len = chunk->pos - c - 2; 1298 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, &obj->trash_stack[UCL_TRASH_VALUE], 1299 &obj->value.sv, str_len, need_unescape, false, var_expand)) == -1) { 1302 obj->len = str_len; 1350 if ((str_len = ucl_parse_multiline_string (parser, chunk, c, 1356 if ((str_len = ucl_copy_or_store_ptr (parser, c, &obj->trash_stack[UCL_TRASH_VALUE], 1357 &obj->value.sv, str_len - 1, false, false, var_expand)) == -1) { 1360 obj->len = str_len; 1395 str_len [all...] |
/freebsd-9.3-release/usr.bin/systat/ |
H A D | ifstat.c | 312 int str_len = 0, pad_len = 0; 319 str_len = strlen(ifp->if_mib.ifmd_name)+1; 320 pad_len = IF_NAMESIZE-(str_len); 326 str_len); 311 int str_len = 0, pad_len = 0; local 325 str_len); local
|
/freebsd-9.3-release/crypto/heimdal/lib/kafs/ |
H A D | afssys.c | 140 size_t str_len = strlen (str); local 149 if (strncmp (str, buf, str_len) == 0) { 150 char *begptr = buf + str_len;
|
/freebsd-9.3-release/usr.sbin/ctladm/ |
H A D | ctladm.c | 221 static void cctl_cfi_mt_statusstr(cfi_mt_status status, char *str, int str_len); 222 static void cctl_cfi_bbr_statusstr(cfi_bbrread_status, char *str, int str_len); 1327 cctl_cfi_mt_statusstr(cfi_mt_status status, char *str, int str_len) argument 1331 snprintf(str, str_len, "Port Offline"); 1334 snprintf(str, str_len, "Error"); 1337 snprintf(str, str_len, "Success"); 1340 snprintf(str, str_len, "None??"); 1343 snprintf(str, str_len, "Unknown status: %d", status); 1349 cctl_cfi_bbr_statusstr(cfi_bbrread_status status, char *str, int str_len) argument 1353 snprintf(str, str_len, "Succes [all...] |
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | rrl.c | 770 add_log_str(isc_buffer_t *lb, const char *str, unsigned int str_len) { argument 774 if (str_len >= region.length) { 777 str_len = region.length; 779 memmove(region.base, str, str_len); 780 isc_buffer_add(lb, str_len);
|
/freebsd-9.3-release/contrib/libcxxrt/ |
H A D | libelftc_dem_gnu3.c | 649 size_t str_len; local 656 if ((str = vector_str_get_flat(v, &str_len)) == NULL) 659 rtn = cpp_demangle_push_subst(ddata, str, str_len);
|
/freebsd-9.3-release/sys/cam/scsi/ |
H A D | scsi_all.h | 2292 char *str, int str_len); 2304 char *str, int str_len);
|
H A D | scsi_all.c | 4918 scsi_sense_string(struct ccb_scsiio *csio, char *str, int str_len) argument 4922 char *str, int str_len) 4927 sbuf_new(&sb, str, str_len, 0);
|