Home
last modified time | relevance | path

Searched refs:name_end (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/stdlib/
Dputenv.c54 const char *const name_end = strchr (string, '='); in putenv() local
56 if (name_end != NULL) in putenv()
60 int use_malloc = !__libc_use_alloca (name_end - string + 1); in putenv()
63 name = __strndup (string, name_end - string); in putenv()
68 name = strndupa (string, name_end - string); in putenv()
71 name = malloc (name_end - string + 1); in putenv()
74 memcpy (name, string, name_end - string); in putenv()
75 name[name_end - string] = '\0'; in putenv()
/glibc-2.36/locale/programs/
Dcharmap.c1040 char *name_end; in charmap_new_char() local
1044 name_end = obstack_finish (ob); in charmap_new_char()
1049 newp->name = name_end; in charmap_new_char()
1052 if ((name_end[0] == 'U' || name_end[0] == 'P') in charmap_new_char()
1069 newp->ucs4 = strtoul (name_end + 1, &endp, 16); in charmap_new_char()
1070 if (endp - name_end != len1 in charmap_new_char()
1078 insert_entry (ht, name_end, len1, newp); in charmap_new_char()