/freebsd-10.2-release/contrib/unbound/ldns/ |
H A D | wire2str.h | 116 * the str_len you need for the entire packet. It does not include 118 * @param str_len: the size of the string buffer. If more is needed, it'll 121 * Is larger than str_len if output was truncated. 124 size_t str_len); 133 * @param str_len: the size of the string buffer. 136 * so it may return a value larger than str_len. 138 * On exit the data, data_len, str and str_len values are adjusted to move them 141 * output string is reached, *str_len is set to 0. The output string is null 146 size_t* str_len); 154 * @param str_len [all...] |
H A D | wire2str.c | 233 size_t str_len, uint16_t rrtype) 236 return sldns_wire2str_rdata_scan(&rdata, &rdata_len, &str, &str_len, 1909 size_t* str_len, uint8_t* pkt, size_t pktlen) 1914 w += sldns_str_print(str, str_len, "; EDNS:"); 1919 data, data_len, str, str_len); 1922 data, data_len, str, str_len); 1930 data, data_len, str, str_len); 1940 w += sldns_str_print(str, str_len, " version: %u;", 1942 w += sldns_str_print(str, str_len, " flags:"); 1944 w += sldns_str_print(str, str_len, " d 232 sldns_wire2str_rdata_buf(uint8_t* rdata, size_t rdata_len, char* str, size_t str_len, uint16_t rrtype) argument 1908 sldns_wire2str_edns_scan(uint8_t** data, size_t* data_len, char** str, size_t* str_len, uint8_t* pkt, size_t pktlen) argument [all...] |
/freebsd-10.2-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-10.2-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-10.2-release/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 250 size_t str_len) 257 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); 260 dev->manufacturer = os_malloc(str_len + 1); 263 os_memcpy(dev->manufacturer, str, str_len); 264 dev->manufacturer[str_len] = '\0'; 271 size_t str_len) 278 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); 281 dev->model_name = os_malloc(str_len + 1); 284 os_memcpy(dev->model_name, str, str_len); 285 dev->model_name[str_len] 249 wps_process_manufacturer(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 270 wps_process_model_name(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 291 wps_process_model_number(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 312 wps_process_serial_number(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 333 wps_process_dev_name(struct wps_device_data *dev, const u8 *str, size_t str_len) argument [all...] |
/freebsd-10.2-release/sys/cam/ |
H A D | cam.c | 218 cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len) argument 221 while (*pattern != '\0'&& str_len > 0) { 232 str_len--; 234 while (str_len > 0 && *str == ' ') { 236 str_len--; 238 if (str_len > 0 && *str == 0) 239 str_len = 0; 241 return (str_len); 280 cam_error_string(union ccb *ccb, char *str, int str_len, argument 286 int str_len, cam_error_string_flag [all...] |
H A D | cam.h | 386 int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len); 390 char * cam_error_string(union ccb *ccb, char *str, int str_len, 399 int str_len, cam_error_string_flags flags,
|
H A D | cam_xpt.h | 100 size_t str_len);
|
/freebsd-10.2-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-10.2-release/sys/cam/ctl/ |
H A D | ctl_scsi_all.h | 50 int str_len);
|
H A D | ctl_scsi_all.c | 154 int str_len) 158 sbuf_new(&sb, str, str_len, 0); 152 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 | 105 char *ctl_io_string(union ctl_io *io, char *str, int str_len); 108 int str_len);
|
/freebsd-10.2-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-10.2-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-10.2-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-10.2-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-10.2-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | StringList.h | 43 AppendString (const char *str, size_t str_len);
|
/freebsd-10.2-release/contrib/libucl/src/ |
H A D | ucl_parser.c | 1286 int str_len; local 1312 str_len = chunk->pos - c - 2; 1314 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, &obj->trash_stack[UCL_TRASH_VALUE], 1315 &obj->value.sv, str_len, need_unescape, false, var_expand)) == -1) { 1318 obj->len = str_len; 1372 if ((str_len = ucl_parse_multiline_string (parser, chunk, c, 1378 if ((str_len = ucl_copy_or_store_ptr (parser, c, &obj->trash_stack[UCL_TRASH_VALUE], 1379 &obj->value.sv, str_len - 1, false, false, var_expand)) == -1) { 1382 obj->len = str_len; 1417 str_len [all...] |
/freebsd-10.2-release/contrib/apr-util/buckets/ |
H A D | apr_brigade.c | 234 apr_size_t str_len; local 237 status = apr_bucket_read(b, &str, &str_len, APR_BLOCK_READ); 243 if (str_len + actual > *len) { 244 str_len = *len - actual; 252 memcpy(c, str, str_len); 254 c += str_len; 255 actual += str_len;
|
/freebsd-10.2-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-10.2-release/usr.bin/systat/ |
H A D | ifstat.c | 349 int str_len = 0, pad_len = 0; local 356 str_len = strlen(ifp->if_mib.ifmd_name)+1; 357 pad_len = IF_NAMESIZE-(str_len); 363 str_len); local
|
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | StringList.cpp | 65 StringList::AppendString (const char *str, size_t str_len) argument 68 m_strings.push_back (std::string (str, str_len));
|
/freebsd-10.2-release/usr.sbin/ctladm/ |
H A D | ctladm.c | 231 static void cctl_cfi_mt_statusstr(cfi_mt_status status, char *str, int str_len); 232 static void cctl_cfi_bbr_statusstr(cfi_bbrread_status, char *str, int str_len); 1345 cctl_cfi_mt_statusstr(cfi_mt_status status, char *str, int str_len) argument 1349 snprintf(str, str_len, "Port Offline"); 1352 snprintf(str, str_len, "Error"); 1355 snprintf(str, str_len, "Success"); 1358 snprintf(str, str_len, "None??"); 1361 snprintf(str, str_len, "Unknown status: %d", status); 1367 cctl_cfi_bbr_statusstr(cfi_bbrread_status status, char *str, int str_len) argument 1371 snprintf(str, str_len, "Succes [all...] |