Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/contrib/unbound/sldns/
H A Dwire2str.h128 size_t str_len);
150 size_t* str_len);
165 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop);
180 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop);
195 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop);
209 int sldns_wire2str_rr_comment_print(char** str, size_t* str_len, uint8_t* rr,
222 size_t* str_len);
240 size_t* str_len, uint16_t rrtype, uint8_t* pkt, size_t pktlen,
253 char** str, size_t* str_len);
274 size_t* str_len, uint8_t* pkt, size_t pktlen, int* comprloop);
[all …]
H A Dwire2str.c335 size_t str_len, uint16_t rrtype) in sldns_wire2str_rdata_buf() argument
338 return sldns_wire2str_rdata_scan(&rdata, &rdata_len, &str, &str_len, in sldns_wire2str_rdata_buf()
1137 uint8_t i, str_len = *dp++; in sldns_wire2str_svcparam_alpn2str() local
1139 if (str_len > --data_len) in sldns_wire2str_svcparam_alpn2str()
1142 for (i = 0; i < str_len; i++) { in sldns_wire2str_svcparam_alpn2str()
1155 dp += str_len; in sldns_wire2str_svcparam_alpn2str()
1156 if ((data_len -= str_len)) in sldns_wire2str_svcparam_alpn2str()
2404 size_t* str_len, uint8_t* pkt, size_t pktlen) in sldns_wire2str_edns_scan() argument
2409 w += sldns_str_print(str, str_len, "; EDNS:"); in sldns_wire2str_edns_scan()
2414 data, data_len, str, str_len); in sldns_wire2str_edns_scan()
[all …]
/freebsd/lib/libc/rpc/
H A Dsvc_auth_unix.c66 size_t str_len, gid_len; in _svcauth_unix() local
81 str_len = (size_t)IXDR_GET_U_INT32(buf); in _svcauth_unix()
82 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
86 memmove(aup->aup_machname, buf, str_len); in _svcauth_unix()
87 aup->aup_machname[str_len] = 0; in _svcauth_unix()
88 str_len = RNDUP(str_len); in _svcauth_unix()
89 buf += str_len / sizeof (int32_t); in _svcauth_unix()
105 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
107 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
/freebsd/sys/rpc/
H A Dsvc_auth_unix.c68 size_t str_len, gid_len; in _svcauth_unix() local
78 str_len = (size_t)IXDR_GET_UINT32(buf); in _svcauth_unix()
79 if (str_len > MAX_MACHINE_NAME) { in _svcauth_unix()
83 str_len = RNDUP(str_len); in _svcauth_unix()
84 buf += str_len / sizeof (int32_t); in _svcauth_unix()
107 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix()
109 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
/freebsd/contrib/wpa/src/wps/
H A Dwps_dev_attr.c261 size_t str_len) in wps_process_manufacturer() argument
268 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer()
271 dev->manufacturer = dup_binstr(str, str_len); in wps_process_manufacturer()
280 size_t str_len) in wps_process_model_name() argument
287 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name()
290 dev->model_name = dup_binstr(str, str_len); in wps_process_model_name()
299 size_t str_len) in wps_process_model_number() argument
306 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Number", str, str_len); in wps_process_model_number()
309 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number()
318 const u8 *str, size_t str_len) in wps_process_serial_number() argument
[all …]
/freebsd/sys/cam/
H A Dcam.c205 cam_strmatch(const uint8_t *str, const uint8_t *pattern, int str_len) in cam_strmatch() argument
208 while (*pattern != '\0' && str_len > 0) { in cam_strmatch()
214 if (cam_strmatch(str, pattern, str_len) == 0) in cam_strmatch()
217 str_len--; in cam_strmatch()
218 } while (str_len > 0); in cam_strmatch()
227 str_len--; in cam_strmatch()
253 str_len--; in cam_strmatch()
259 str_len--; in cam_strmatch()
273 while (str_len > 0 && *str == ' ') { in cam_strmatch()
275 str_len--; in cam_strmatch()
[all …]
H A Dcam.h392 int cam_strmatch(const uint8_t *str, const uint8_t *pattern, int str_len);
396 char * cam_error_string(union ccb *ccb, char *str, int str_len,
405 int str_len, cam_error_string_flags flags,
/freebsd/contrib/bmake/
H A Dstr.c123 size_t str_len; in Substring_Words() local
137 str_len = strlen(str); in Substring_Words()
138 words_buf = bmake_malloc(str_len + 1); in Substring_Words()
140 words_cap = str_len / 5 > 50 ? str_len / 5 : 50; in Substring_Words()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Ddump_fts.c228 int dump_lid(char *str, int str_len, int lid, int valid, in dump_lid() argument
250 return snprintf(str, str_len, in dump_lid()
254 return snprintf(str, str_len, in dump_lid()
259 return snprintf(str, str_len, in dump_lid()
269 return snprintf(str, str_len, ": (illegal port)"); in dump_lid()
275 return snprintf(str, str_len, ": (node info not available fabric scan)"); in dump_lid()
294 rc = snprintf(str, str_len, ": (%s portguid %s: '%s')", in dump_lid()
/freebsd/crypto/heimdal/appl/login/
H A Dlogin_access.c232 int str_len; in from_match() local
248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/freebsd/crypto/heimdal/appl/rsh/
H A Dlogin_access.c232 int str_len; in from_match() local
248 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/freebsd/contrib/libucl/src/
H A Ducl_parser.c1676 ssize_t str_len; in ucl_parse_value() local
1709 str_len = chunk->pos - c - 2; in ucl_parse_value()
1711 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, in ucl_parse_value()
1713 &obj->value.sv, str_len, need_unescape, false, in ucl_parse_value()
1718 obj->len = str_len; in ucl_parse_value()
1735 str_len = chunk->pos - c - 2; in ucl_parse_value()
1739 if ((str_len = ucl_copy_or_store_ptr (parser, c + 1, in ucl_parse_value()
1741 &obj->value.sv, str_len, need_unescape, false, in ucl_parse_value()
1746 obj->len = str_len; in ucl_parse_value()
1822 if ((str_len = ucl_parse_multiline_string (parser, chunk, c, in ucl_parse_value()
[all …]
/freebsd/lib/libpam/modules/pam_login_access/
H A Dlogin_access.c248 int str_len; in from_match() local
264 if ((str_len = strlen(string)) > (tok_len = strlen(tok)) in from_match()
265 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
/freebsd/sys/cam/ctl/
H A Dctl_scsi_all.c152 int str_len) in ctl_scsi_sense_string() argument
156 sbuf_new(&sb, str, str_len, 0); in ctl_scsi_sense_string()
H A Dctl_util.h108 char *ctl_io_string(union ctl_io *io, char *str, int str_len);
111 int str_len);
H A Dctl_scsi_all.h49 int str_len);
/freebsd/crypto/heimdal/lib/kafs/
H A Dafssys.c140 size_t str_len = strlen (str); in map_syscall_name_to_number() local
149 if (strncmp (str, buf, str_len) == 0) { in map_syscall_name_to_number()
150 char *begptr = buf + str_len; in map_syscall_name_to_number()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_printf.cpp342 uptr str_len = internal_strlen(str); in Append() local
343 buffer_.resize(prev_len + str_len + 1); in Append()
344 internal_memcpy(buffer_.data() + prev_len, str, str_len + 1); in Append()
/freebsd/crypto/openssl/apps/
H A Denc.c440 size_t str_len = strlen(str); in enc_main() local
500 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main()
513 (unsigned char *)str, str_len, in enc_main()
526 OPENSSL_cleanse(str, str_len); in enc_main()
/freebsd/tools/build/cross-build/include/linux/
H A Dstring.h55 char *strnstr(const char *str, const char *find, size_t str_len);
/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/
H A Docsd_c_api_types.h95 … void (* FnDefLoggerPrintStrCB)(const void *p_context, const char *psz_msg_str, const int str_len);
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.h42 size_t str_len; /* length in bytes of this string */ member
H A Dstrtab.c184 hp->str_len = len; in strtab_insert()
244 for (len = hp->str_len; len != 0; len -= n) { in strtab_print()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.h42 size_t str_len; /* length in bytes of this string */ member
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStringList.cpp49 void StringList::AppendString(const char *str, size_t str_len) { in AppendString() argument
51 m_strings.push_back(std::string(str, str_len)); in AppendString()

123