Searched refs:prefix_len (Results 1 – 6 of 6) sorted by relevance
/glibc-2.36/stdlib/ |
D | canonicalize.c | 220 idx_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); in realpath_stk() local 237 prefix_len = FILE_SYSTEM_PREFIX_LEN (rname); in realpath_stk() 241 dest = __mempcpy (rname, name, prefix_len); in realpath_stk() 245 if (prefix_len == 0 /* implies ISSLASH (name[0]) */ in realpath_stk() 250 start = name + prefix_len; in realpath_stk() 274 if (dest > rname + prefix_len + 1) in realpath_stk() 278 && dest == rname + 1 && !prefix_len in realpath_stk() 359 prefix_len = pfxlen; in realpath_stk() 365 if (dest > rname + prefix_len + 1) in realpath_stk() 369 && ISSLASH (*dest) && !ISSLASH (dest[1]) && !prefix_len) in realpath_stk() [all …]
|
/glibc-2.36/locale/programs/ |
D | repertoire.c | 392 int prefix_len, len1, len2; in repertoire_new_char() local 434 prefix_len = (cp - from) + 1; in repertoire_new_char() 436 if (cp == &from[len1 - 1] || strncmp (from, to, prefix_len) != 0) in repertoire_new_char() 440 from_nr = strtoul (&from[prefix_len], &from_end, decimal_ellipsis ? 10 : 16); in repertoire_new_char() 442 || ((to_nr = strtoul (&to[prefix_len], &to_end, in repertoire_new_char() 463 prefix_len, from, len1 - prefix_len, cnt); in repertoire_new_char()
|
D | charmap.c | 944 int prefix_len, len1, len2; in charmap_new_char() local 1015 prefix_len = (cp - from) + 1; in charmap_new_char() 1017 if (cp == &from[len1 - 1] || strncmp (from, to, prefix_len) != 0) in charmap_new_char() 1021 from_nr = strtoul (&from[prefix_len], &from_end, decimal_ellipsis ? 10 : 16); in charmap_new_char() 1023 || ((to_nr = strtoul (&to[prefix_len], &to_end, in charmap_new_char() 1042 prefix_len, from, len1 - prefix_len, cnt); in charmap_new_char()
|
D | locarchive.c | 341 size_t prefix_len = output_prefix ? strlen (output_prefix) : 0; in enlarge_archive() local 342 char archivefname[prefix_len + sizeof (ARCHIVE_NAME)]; in enlarge_archive() 343 char fname[prefix_len + sizeof (ARCHIVE_NAME) + sizeof (".XXXXXX") - 1]; in enlarge_archive() 346 memcpy (archivefname, output_prefix, prefix_len); in enlarge_archive() 347 strcpy (archivefname + prefix_len, ARCHIVE_NAME); in enlarge_archive() 564 size_t prefix_len = output_prefix ? strlen (output_prefix) : 0; in open_archive() local 565 char default_fname[prefix_len + sizeof (ARCHIVE_NAME)]; in open_archive() 573 memcpy (default_fname, output_prefix, prefix_len); in open_archive() 574 strcpy (default_fname + prefix_len, ARCHIVE_NAME); in open_archive()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-ttyname.c | 61 size_t prefix_len = strlen (prefix); in trim_prefix() local 62 if (str_len > prefix_len && memcmp (str, prefix, prefix_len) == 0) in trim_prefix() 64 memmove (str, str + prefix_len, str_len - prefix_len); in trim_prefix() 65 return str_len - prefix_len; in trim_prefix()
|
/glibc-2.36/iconv/ |
D | iconvconfig.c | 168 static size_t prefix_len; variable 356 prefix_len = strlen (prefix); in parse_opt() 1015 char finalname[prefix_len + sizeof GCONV_MODULES_CACHE]; in write_output() 1023 strcpy (stpcpy (mempcpy (tmpfname, prefix, prefix_len), in write_output() 1026 strcpy (mempcpy (finalname, prefix, prefix_len), GCONV_MODULES_CACHE); in write_output()
|