Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 21 of 21) sorted by relevance

/glibc-2.36/nis/
Dnis_subr.c110 size_t name_len = strlen (name); in nis_getnames() local
124 if (name[name_len - 1] == '.') in nis_getnames()
147 cp2 = &name[name_len - 1]; in nis_getnames()
169 getnames[0] = malloc (name_len + 2); in nis_getnames()
206 tmp = malloc (strlen (cptr) + local_domain_len + name_len + 2); in nis_getnames()
236 tmp = malloc (cplen + local_domain_len + name_len + 2); in nis_getnames()
252 tmp = malloc (cplen + name_len + 3); in nis_getnames()
256 p = __mempcpy (tmp, name, name_len); in nis_getnames()
284 name, name[name_len - 1] == '.' ? "" : ".", in nis_getnames()
/glibc-2.36/nptl/
Dpthread_setname.c38 size_t name_len = strlen (name); in __pthread_setname_np() local
39 if (name_len >= TASK_COMM_LEN) in __pthread_setname_np()
54 ssize_t n = TEMP_FAILURE_RETRY (__write_nocancel (fd, name, name_len)); in __pthread_setname_np()
57 else if (n != name_len) in __pthread_setname_np()
/glibc-2.36/string/
Denvz.c99 size_t name_len = strlen (name); in libc_hidden_def() local
102 size_t new_envz_len = old_envz_len + name_len + 1 + value_len + 1; in libc_hidden_def()
107 memcpy (new_envz + old_envz_len, name, name_len); in libc_hidden_def()
108 new_envz[old_envz_len + name_len] = SEP; in libc_hidden_def()
109 memcpy (new_envz + old_envz_len + name_len + 1, value, value_len); in libc_hidden_def()
/glibc-2.36/io/
Dtst-fcntl.c46 size_t name_len; in do_prepare() local
48 name_len = strlen (test_dir); in do_prepare()
49 name = xmalloc (name_len + sizeof ("/fcntlXXXXXX")); in do_prepare()
50 mempcpy (mempcpy (name, test_dir, name_len), in do_prepare()
Dtest-lfs.c49 size_t name_len; in do_prepare() local
52 name_len = strlen (test_dir); in do_prepare()
53 name = xmalloc (name_len + sizeof ("/lfsXXXXXX")); in do_prepare()
54 mempcpy (mempcpy (name, test_dir, name_len), in do_prepare()
/glibc-2.36/rt/
Dtst-aio.c47 size_t name_len; in do_prepare() local
49 name_len = strlen (test_dir); in do_prepare()
50 name = xmalloc (name_len + sizeof ("/aioXXXXXX")); in do_prepare()
51 mempcpy (mempcpy (name, test_dir, name_len), in do_prepare()
Dtst-aio64.c48 size_t name_len; in do_prepare() local
50 name_len = strlen (test_dir); in do_prepare()
51 name = xmalloc (name_len + sizeof ("/aioXXXXXX")); in do_prepare()
52 mempcpy (mempcpy (name, test_dir, name_len), in do_prepare()
/glibc-2.36/login/
Dtst-utmp.c59 size_t name_len; in do_prepare() local
61 name_len = strlen (test_dir); in do_prepare()
62 name = xmalloc (name_len + sizeof ("/utmpXXXXXX")); in do_prepare()
63 mempcpy (mempcpy (name, test_dir, name_len), in do_prepare()
Dgetlogin_r.c26 __getlogin_r (char *name, size_t name_len) in __getlogin_r() argument
/glibc-2.36/sysdeps/mach/hurd/
Dgetlogin_r.c28 __getlogin_r (char *name, size_t name_len) in __getlogin_r() argument
37 if (len > name_len) in __getlogin_r()
/glibc-2.36/sysdeps/unix/
Dgetlogin_r.c37 __getlogin_r (char *name, size_t name_len) in __getlogin_r() argument
84 if (needed > name_len) in __getlogin_r()
/glibc-2.36/elf/
Dsotruss-lib.c138 match_file (const char *list, const char *name, size_t name_len, in match_file() argument
147 if (strncmp (cp, name, name_len) == 0 in match_file()
148 && (cp[name_len] == ':' || cp[name_len] == '\0')) in match_file()
Drtld.c2717 size_t name_len = strlen (debug_output); in process_envvars() local
2718 char buf[name_len + 12]; in process_envvars()
2721 buf[name_len + 11] = '\0'; in process_envvars()
2722 startp = _itoa (__getpid (), &buf[name_len + 11], 10, 0); in process_envvars()
2724 startp = memcpy (startp - name_len, debug_output, name_len); in process_envvars()
Ddl-load.c422 size_t name_len; in add_name_to_object() local
429 name_len = strlen (name) + 1; in add_name_to_object()
430 newname = (struct libname_list *) malloc (sizeof *newname + name_len); in add_name_to_object()
440 newname->name = memcpy (newname + 1, name, name_len); in add_name_to_object()
/glibc-2.36/locale/programs/
Dlocaledef.c183 static char *normalize_codeset (const char *codeset, size_t name_len);
572 normalize_codeset (const char *codeset, size_t name_len) in normalize_codeset() argument
581 for (cnt = 0; cnt < name_len; ++cnt) in normalize_codeset()
600 for (cnt = 0; cnt < name_len; ++cnt) in normalize_codeset()
Dlocarchive.c706 const char *name, size_t name_len, bool replace) in insert_name() argument
715 uint32_t hval = archive_hashval (name, name_len); in insert_name()
771 const size_t name_len = strlen (alias); in add_alias() local
781 if (GET (head->string_used) + name_len + 1 > GET (head->string_size) in add_alias()
802 alias, name_len + 1); in add_alias()
805 INC (head->string_used, name_len + 1); in add_alias()
844 size_t name_len = strlen (name); in add_locale() local
978 namehashent = insert_name (ah, name, name_len, replace); in add_locale()
987 || (GET (head->string_used) + name_len + 1 in add_locale()
1082 name, name_len + 1); in add_locale()
[all …]
/glibc-2.36/intl/
Dl10nflist.c299 _nl_normalize_codeset (const char *codeset, size_t name_len) in _nl_normalize_codeset() argument
312 for (cnt = 0; cnt < name_len; ++cnt) in _nl_normalize_codeset()
330 for (cnt = 0; cnt < name_len; ++cnt) in _nl_normalize_codeset()
Dloadinfo.h76 size_t name_len);
/glibc-2.36/posix/
Dregcomp.c2823 size_t name_len = strlen ((const char *) name); in build_collating_symbol() local
2824 if (__glibc_unlikely (name_len != 1)) in build_collating_symbol()
2842 seek_collating_symbol_entry (const unsigned char *name, size_t name_len, in seek_collating_symbol_entry() argument
2855 name_len == extra[idx] in seek_collating_symbol_entry()
2857 && memcmp (name, &extra[idx + 1], name_len) == 0) in seek_collating_symbol_entry()
3037 size_t name_len = strlen ((const char *) name); in build_collating_symbol() local
3040 elem = seek_collating_symbol_entry (name, name_len, symb_table, in build_collating_symbol()
3049 else if (name_len == 1) in build_collating_symbol()
3080 if (__glibc_unlikely (name_len != 1)) in build_collating_symbol()
Dregexec.c164 size_t name_len);
/glibc-2.36/ChangeLog.old/
DChangeLog.1714086 * io/test-lfs.c (do_prepare): Give name_len type size_t.