Home
last modified time | relevance | path

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

/glibc-2.36/string/
Dargz-replace.c27 str_append (char **to, size_t *to_len, const char *buf, const size_t buf_len) in str_append() argument
29 size_t new_len = *to_len + buf_len; in str_append()
34 *((char *) __mempcpy (new_to + *to_len, buf, buf_len)) = '\0'; in str_append()
36 *to_len = new_len; in str_append()
70 size_t to_len = match - arg; in __argz_replace() local
71 char *to = __strndup (arg, to_len); in __argz_replace()
75 str_append (&to, &to_len, with, with_len); in __argz_replace()
81 str_append (&to, &to_len, from, match - from); in __argz_replace()
86 str_append (&to, &to_len, from, strlen (from)); in __argz_replace()
/glibc-2.36/locale/programs/
Dld-ctype.c3857 size_t from_len, to_len; in allocate_arrays() local
3913 from_len = to_len = 0; in allocate_arrays()
3921 to_len += wcslen ((const wchar_t *) srunp->str) + 1; in allocate_arrays()
3926 ++to_len; in allocate_arrays()
3933 ctype->translit_to_tbl = xmalloc (to_len * sizeof (uint32_t)); in allocate_arrays()
3936 to_len = 0; in allocate_arrays()
3943 ctype->translit_to_idx[cnt] = to_len; in allocate_arrays()
3950 ctype->translit_to_idx[cnt] = to_len; in allocate_arrays()
3955 wmemcpy ((wchar_t *) &ctype->translit_to_tbl[to_len], in allocate_arrays()
3957 to_len += len; in allocate_arrays()
[all …]