Home
last modified time | relevance | path

Searched refs:l (Results 1 – 10 of 10) sorted by relevance

/string/
A Dbug-strtok1.c11 char *l; in do_test() local
31 token = strtok_r (cp, "ab", &l); in do_test()
33 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test()
34 token = strtok_r(0, "ab", &l); in do_test()
35 result |= token != NULL || l != cp + len; in do_test()
36 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test()
37 token = strtok_r(0, "a", &l); in do_test()
38 result |= token != NULL || l != cp + len; in do_test()
39 printf ("token: %s, next = %p (%d)\n", token ? token : "NULL", l, result); in do_test()
A Dtst-strxfrm.c16 size_t l; in test() local
34 l = strlen (buf); in test()
35 if (r != l) in test()
38 locale, r, l); in test()
45 l = strlen (buf); in test()
46 if (r != l) in test()
49 locale, r, l); in test()
A Dtst-strerror.c52 locale_t l = xnewlocale (LC_ALL_MASK, "pt_BR.UTF-8", NULL); in do_test() local
54 TEST_COMPARE_STRING (strerror_l (EINVAL, l), "Argumento inv\303\241lido"); in do_test()
55 TEST_COMPARE_STRING (strerror_l (-1, l), "Erro desconhecido -1"); in do_test()
57 xuselocale (l); in do_test()
74 freelocale (l); in do_test()
A Dtest-strcasestr.c95 for (size_t l = len2; l > 0; l = l > dl ? l - dl : 0) in do_test() local
97 size_t t = l > dl ? dl : l; in do_test()
105 for (size_t l = len1; l > 0; l = l > dl ? l - dl : 0) in do_test() local
107 size_t t = l > dl ? dl : l; in do_test()
A Dtest-strstr.c95 for (size_t l = len2; l > 0; l = l > dl ? l - dl : 0) in do_test() local
97 size_t t = l > dl ? dl : l; in do_test()
105 for (size_t l = len1; l > 0; l = l > dl ? l - dl : 0) in do_test() local
107 size_t t = l > dl ? dl : l; in do_test()
A Dtest-strerror-errno.c58 locale_t l = xnewlocale (LC_ALL_MASK, "C", NULL); in do_test() local
59 msg = strerror_l (-3, l); in do_test()
A Dstrcasestr.c46 #define CMP_FUNC(p1, p2, l) \ argument
47 __strncasecmp ((const char *) (p1), (const char *) (p2), l)
A Dtester.c703 size_t l; in test_memrchr() local
707 l = strlen (one) + 1; in test_memrchr()
708 check (memrchr (one, 'c', l) == one+2, 2); /* Basic test. */ in test_memrchr()
709 check (memrchr (one, 'd', l) == one+3, 3); /* End of string. */ in test_memrchr()
710 check (memrchr (one, 'a', l) == one, 4); /* Beginning. */ in test_memrchr()
711 check (memrchr (one, '\0', l) == one+4, 5); /* Finding NUL. */ in test_memrchr()
713 l = strlen (one) + 1; in test_memrchr()
714 check (memrchr (one, 'b', l) == one+3, 6); /* Finding last. */ in test_memrchr()
716 l = strlen (one) + 1; in test_memrchr()
717 check (memrchr (one, 'b', l) == NULL, 7); /* Empty string. */ in test_memrchr()
[all …]
A Dstrcoll_l.c257 STRCOLL (const STRING_TYPE *s1, const STRING_TYPE *s2, locale_t l) in STRCOLL() argument
259 struct __locale_data *current = l->__locales[LC_COLLATE]; in STRCOLL()
A Dstrxfrm_l.c667 STRXFRM (STRING_TYPE *dest, const STRING_TYPE *src, size_t n, locale_t l) in STRXFRM() argument
670 struct __locale_data *current = l->__locales[LC_COLLATE]; in STRXFRM()

Completed in 20 milliseconds