Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
Dstrnlen.c29 strnlen (const char *string, size_t maxlen) in strnlen() argument
31 const char *end = memchr (string, '\0', maxlen); in strnlen()
32 return end ? (size_t) (end - string) : maxlen; in strnlen()
/ndk/sources/host-tools/make-3.81/
Dvpath.c36 unsigned int maxlen;/* Maximum length of any entry in the list. */ member
296 path->maxlen = maxvpath; in construct_vpath_list()
322 if (gpaths && (len <= gpaths->maxlen)) in gpath_search()
379 unsigned int maxvpath = path->maxlen; in selective_vpath_search()
Dfunction.c1675 unsigned int maxlen, i; in func_shell() local
1693 maxlen = 200; in func_shell()
1694 buffer = (char *) xmalloc (maxlen + 1); in func_shell()
1699 if (i == maxlen) in func_shell()
1701 maxlen += 512; in func_shell()
1702 buffer = (char *) xrealloc (buffer, maxlen + 1); in func_shell()
1705 EINTRLOOP (cc, read (pipedes[0], &buffer[i], maxlen - i)); in func_shell()
1778 unsigned int maxlen = 200, i; in func_shell() local
1822 buffer = xmalloc (maxlen); in func_shell()
1826 if (i == maxlen) in func_shell()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/src/support/android/
Dwchar_support.c191 size_t wcsnlen(const wchar_t *s, size_t maxlen) { in wcsnlen() argument
193 for (n = 0; n < maxlen; ++n) { in wcsnlen()