/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | posix_compat.h | 442 unsigned short name_offset, name_length; in readlink() 445 name_length = symlink.SubstituteNameLength; in readlink() 448 name_length = symlink.PrintNameLength; in readlink() 451 if (path_buf_offset + name_offset + name_length > out) { in readlink() 455 if (name_length / sizeof(wchar_t) > bufsize) { in readlink() 459 memcpy(ret_buf, &symlink.PathBuffer[name_offset / sizeof(wchar_t)], name_length); in readlink() 460 return name_length / sizeof(wchar_t); in readlink() 454 unsigned short name_offset, name_length; readlink() local
|
/freebsd/contrib/tcsh/ |
H A D | sh.file.c | 508 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 D | tw.parse.c | 874 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 D | cfe_api.c | 169 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 D | cfe_api_int.h | 110 cfe_xint_t name_length; /* size of name buffer */ member
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_console.c | 296 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 D | archive_read_support_format_tar.c | 1787 size_t line_length, value_length, name_length; in header_pax_extension() local 1902 name_length = p - name_start; in header_pax_extension() 1906 archive_strncpy(&attr_name, name_start, name_length); in header_pax_extension() 2031 const char *name, size_t name_length, const char *value, size_t value_length) in pax_attribute_LIBARCHIVE_xattr() argument 2037 if (name_length < 1) in pax_attribute_LIBARCHIVE_xattr() 2041 name_decoded = url_decode(name, name_length); in pax_attribute_LIBARCHIVE_xattr() 2062 const char *name, size_t name_length, const char *value, size_t value_length) in pax_attribute_SCHILY_xattr() argument 2064 if (name_length < 1 || name_length > 128) { in pax_attribute_SCHILY_xattr() 2068 char * null_terminated_name = malloc(name_length + 1); in pax_attribute_SCHILY_xattr() 2070 memcpy(null_terminated_name, name, name_length); in pax_attribute_SCHILY_xattr() [all …]
|
H A D | archive_read_disk_posix.c | 2158 tree_append(struct tree *t, const char *name, size_t name_length) in tree_append() argument 2165 while (name_length > 1 && name[name_length - 1] == '/') in tree_append() 2166 name_length--; in tree_append() 2169 size_needed = name_length + t->dirname_length + 2; in tree_append() 2175 archive_strncat(&t->path, name, name_length); in tree_append()
|
H A D | archive_write_set_format_pax.c | 762 size_t name_length; local 766 name_length = strlen(oname); 767 name = malloc(name_length + 3); 782 memmove(name + 2, name, name_length + 1);
|
H A D | archive_read_support_format_zip.c | 3847 rsrc_basename(const char *name, size_t name_length) in rsrc_basename() argument 3853 s = memchr(s, '/', name_length - (s - name)); in rsrc_basename() 3862 expose_parent_dirs(struct zip *zip, const char *name, size_t name_length) in expose_parent_dirs() argument 3869 archive_strncpy(&str, name, name_length); in expose_parent_dirs()
|