Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/krb5/src/plugins/tls/k5tls/
H A Dopenssl.c179 int name_length; in check_cert_address() local
217 name_length = get_cert_cn(x, buf, sizeof(buf)); in check_cert_address()
218 if (name_length >= 0) { in check_cert_address()
220 return strlen(text) == (size_t)name_length && in check_cert_address()
221 strncmp(text, buf, name_length) == 0; in check_cert_address()
237 int name_length, n_sans, i; in check_cert_servername() local
249 name_length = ASN1_STRING_to_UTF8(&dnsname, san->d.dNSName); in check_cert_servername()
252 matched = domain_match((char *)dnsname, name_length, expected); in check_cert_servername()
266 name_length = get_cert_cn(x, buf, sizeof(buf)); in check_cert_servername()
267 if (name_length >= 0) in check_cert_servername()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h435 unsigned short name_offset, name_length; in readlink() local
438 name_length = symlink.SubstituteNameLength; in readlink()
441 name_length = symlink.PrintNameLength; in readlink()
444 if (path_buf_offset + name_offset + name_length > out) { in readlink()
448 if (name_length / sizeof(wchar_t) > bufsize) { in readlink()
452 memcpy(ret_buf, &symlink.PathBuffer[name_offset / sizeof(wchar_t)], name_length); in readlink()
453 return name_length / sizeof(wchar_t); in readlink()
/freebsd/contrib/tcsh/
H A Dsh.file.c508 size_t name_length; in tsearch() local
531 name_length = Strlen(name); in tsearch()
539 if (name_length == 0 && item[0] == '.' && in tsearch()
547 else if (recognize(&extended_name, item, name_length, ++items.len)) in tsearch()
624 recognize(Char **extended_name, Char *item, size_t name_length, in recognize() argument
636 if (len == name_length) /* Ambiguous to prefix? */ in recognize()
H A Dtw.parse.c874 recognize(struct Strbuf *exp_name, const Char *item, size_t name_length, in recognize() argument
910 len == name_length) /* Ambiguous to prefix? */ in recognize()
934 size_t name_length = Strlen(target); /* Length of prefix (file name) */ in tw_collect_items() local
996 if (name_length == 0 && item.s[0] == '.' && showdots == DOT_NONE) in tw_collect_items()
1045 if (name_length == 0) {/* zero-length word can't be misspelled */ in tw_collect_items()
1185 if (recognize(exp_name, item.s, name_length, ++numitems, in tw_collect_items()
1189 if (enhanced && exp_name->len < name_length) { in tw_collect_items()
/freebsd/sys/dev/cfe/
H A Dcfe_api.c169 xiocb.plist.xiocb_envbuf.name_length = namelen; in cfe_enumenv()
192 xiocb.plist.xiocb_envbuf.name_length = namelen; in cfe_enumdev()
302 xiocb.plist.xiocb_envbuf.name_length = cfe_strlen(name); in cfe_getenv()
505 xiocb.plist.xiocb_envbuf.name_length = cfe_strlen(name); in cfe_setenv()
H A Dcfe_api_int.h110 cfe_xint_t name_length; /* size of name buffer */ member
/freebsd/sys/dev/liquidio/base/
H A Dlio_console.c296 uint32_t name_length = in cvmx_bootmem_phy_named_block_find() local
315 char *name_tmp = malloc(name_length + 1, in cvmx_bootmem_phy_named_block_find()
323 name_length); in cvmx_bootmem_phy_named_block_find()
325 if (!strncmp(name, name_tmp, name_length)) { in cvmx_bootmem_phy_named_block_find()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c1891 size_t line_length, value_length, name_length; in header_pax_extension() local
2013 name_length = p - name_start; in header_pax_extension()
2017 archive_strncpy(&attr_name, name_start, name_length); in header_pax_extension()
2157 const char *name, size_t name_length, const char *value, size_t value_length) in pax_attribute_LIBARCHIVE_xattr() argument
2163 if (name_length < 1) in pax_attribute_LIBARCHIVE_xattr()
2167 name_decoded = url_decode(name, name_length); in pax_attribute_LIBARCHIVE_xattr()
2188 const char *name, size_t name_length, const char *value, size_t value_length) in pax_attribute_SCHILY_xattr() argument
2190 if (name_length < 1 || name_length > 128) { in pax_attribute_SCHILY_xattr()
2194 char * null_terminated_name = malloc(name_length + 1); in pax_attribute_SCHILY_xattr()
2196 memcpy(null_terminated_name, name, name_length); in pax_attribute_SCHILY_xattr()
[all …]
H A Darchive_read_disk_posix.c2070 tree_append(struct tree *t, const char *name, size_t name_length) in tree_append() argument
2077 while (name_length > 1 && name[name_length - 1] == '/') in tree_append()
2078 name_length--; in tree_append()
2081 size_needed = name_length + t->dirname_length + 2; in tree_append()
2087 archive_strncat(&t->path, name, name_length); in tree_append()
H A Darchive_write_set_format_pax.c866 size_t name_length; local
870 name_length = strlen(oname);
871 name = malloc(name_length + 3);
886 memmove(name + 2, name, name_length + 1);
H A Darchive_read_support_format_zip.c4131 rsrc_basename(const char *name, size_t name_length) in rsrc_basename() argument
4137 s = memchr(s, '/', name_length - (s - name)); in rsrc_basename()
4146 expose_parent_dirs(struct zip *zip, const char *name, size_t name_length) in expose_parent_dirs() argument
4153 archive_strncpy(&str, name, name_length); in expose_parent_dirs()