Home
last modified time | relevance | path

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

/glibc-2.36/locale/
Dsetlocale.c409 const char *newname[1] = { locale }; in setlocale() local
415 &newname[0]); in setlocale()
429 if (newname[0] != _nl_C_name) in setlocale()
431 newname[0] = __strdup (newname[0]); in setlocale()
432 if (newname[0] == NULL) in setlocale()
437 composite = new_composite_name (category, newname); in setlocale()
440 if (newname[0] != _nl_C_name) in setlocale()
441 free ((char *) newname[0]); in setlocale()
445 newname[0] = NULL; in setlocale()
452 setname (category, newname[0]); in setlocale()
[all …]
Dloadarchive.c183 char *newname = alloca (p - name + normlen + restlen); in _nl_load_locale_from_archive() local
184 memcpy (__mempcpy (__mempcpy (newname, name, p - name), in _nl_load_locale_from_archive()
187 name = newname; in _nl_load_locale_from_archive()
/glibc-2.36/elf/
Ddl-object.c85 struct libname_list *newname; in _dl_new_object() local
94 + sizeof (*newname) + libname_len, 1); in _dl_new_object()
102 new->l_libname = newname in _dl_new_object()
104 newname->name = (char *) memcpy (newname + 1, libname, libname_len); in _dl_new_object()
106 newname->dont_free = 1; in _dl_new_object()
125 new->l_name = (char *) newname->name + libname_len - 1; in _dl_new_object()
Ddl-load.c421 struct libname_list *newname; in add_name_to_object() local
430 newname = (struct libname_list *) malloc (sizeof *newname + name_len); in add_name_to_object()
431 if (newname == NULL) in add_name_to_object()
440 newname->name = memcpy (newname + 1, name, name_len); in add_name_to_object()
441 newname->next = NULL; in add_name_to_object()
442 newname->dont_free = 0; in add_name_to_object()
459 atomic_store_release (&lastp->next, newname); in add_name_to_object()
Drtld.c1692 static struct libname_list newname; in dl_main() local
1693 newname.name = ((char *) D_PTR (&GL(dl_rtld_map), l_info[DT_STRTAB]) in dl_main()
1695 newname.next = NULL; in dl_main()
1696 newname.dont_free = 1; in dl_main()
1699 GL(dl_rtld_map).l_libname->next = &newname; in dl_main()
/glibc-2.36/sysdeps/mach/hurd/
Drename.c27 const char *oldname, *newname; in rename() local
32 newdir = __directory_name_split (new, (char **) &newname); in rename()
39 err = __dir_rename (olddir, oldname, newdir, newname, 0); in rename()
Drenameat2.c30 const char *oldname, *newname; in __renameat2() local
43 newdir = __directory_name_split_at (newfd, new, (char **) &newname); in __renameat2()
50 err = __dir_rename (olddir, oldname, newdir, newname, excl); in __renameat2()
/glibc-2.36/support/
Dtemp_file.c59 char *newname = strdup (name); in add_temp_file_internal() local
60 if (newname != NULL) in add_temp_file_internal()
62 newp->name = newname; in add_temp_file_internal()
/glibc-2.36/nis/
Dnis_table.c188 char *newname = strsep (tableptr, ":"); in __follow_path() local
189 if (newname[0] == '\0') in __follow_path()
194 newname = strdup (newname); in __follow_path()
195 if (newname == NULL) in __follow_path()
199 ibreq->ibr_name = newname; in __follow_path()
/glibc-2.36/manual/
Dfilesys.texi1191 @deftypefun int link (const char *@var{oldname}, const char *@var{newname})
1195 @var{oldname}, under the new name @var{newname}.
1199 (@pxref{File Name Errors}) for both @var{oldname} and @var{newname}, the
1212 There is already a file named @var{newname}. If you want to replace
1239 The directory specified in @var{newname} is on a different file system
1247 @deftypefun int linkat (int oldfd, const char *@var{oldname}, int newfd, const char *@var{newname},…
1326 @deftypefun int symlink (const char *@var{oldname}, const char *@var{newname})
1330 @var{newname}.
1339 There is already an existing file named @var{newname}.
1342 The file @var{newname} would exist on a read-only file system.
[all …]
/glibc-2.36/locale/programs/
Dld-collate.c3007 const char *newname = arg->val.str.startmb; in collate_read() local
3016 free ((char *) newname); in collate_read()
3023 if (newname == NULL) in collate_read()
3030 free ((char *) newname); in collate_read()
3053 newname, newname_len, symval) < 0) in collate_read()