Home
last modified time | relevance | path

Searched refs:s_len (Results 1 – 5 of 5) sorted by relevance

/coreutils/src/
Dpwd.c99 file_name_prepend (struct file_name *p, char const *s, size_t s_len) in file_name_prepend() argument
102 if (n_free < 1 + s_len) in file_name_prepend()
104 size_t half = p->n_alloc + 1 + s_len; in file_name_prepend()
118 p->start -= 1 + s_len; in file_name_prepend()
120 memcpy (p->start + 1, s, s_len); in file_name_prepend()
Ddigest.c587 filename_unescape (char *s, size_t s_len) in filename_unescape() argument
591 for (size_t i = 0; i < s_len; i++) in filename_unescape()
596 if (i == s_len - 1) in filename_unescape()
628 if (dst < s + s_len) in filename_unescape()
680 bsd_split_3 (char *s, size_t s_len, in bsd_split_3() argument
684 if (s_len == 0) in bsd_split_3()
688 size_t i = s_len - 1; in bsd_split_3()
715 *d_len = s_len - i; in bsd_split_3()
764 split_3 (char *s, size_t s_len, in split_3() argument
837 return bsd_split_3 (s + i, s_len - i, in split_3()
[all …]
Dseq.c405 incr (char **s0, size_t *s_len) in incr() argument
408 char *endp = s + *s_len - 1; in incr()
418 ++*s_len; in incr()
Dsort.c1308 size_t s_len; in inittables() local
1313 s_len = strlen (s); in inittables()
1314 monthtab[i].name = name = xmalloc (s_len + 1); in inittables()
1317 for (j = k = 0; j < s_len; j++) in inittables()
Dls.c986 dired_outbuf (char const *s, size_t s_len) in dired_outbuf() argument
988 dired_pos += s_len; in dired_outbuf()
989 fwrite (s, sizeof *s, s_len, stdout); in dired_outbuf()