Home
last modified time | relevance | path

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

/string/
A Dstrings.h48 extern char *index (char *__s, int __c)
50 extern const char *index (const char *__s, int __c)
55 index (char *__s, int __c) __THROW in index() function
61 index (const char *__s, int __c) __THROW in index() function
68 extern char *index (const char *__s, int __c)
A Dtst-memmove-overflow.c54 expected_value (size_t index) in expected_value() argument
56 uint32_t randomized = 0x9e3779b9 * index; /* Based on golden ratio. */ in expected_value()
67 check_one_index (size_t index, unsigned char actual, unsigned char expected) in check_one_index() argument
72 index, actual, expected); in check_one_index()
A Dstrchr.c182 # undef index
183 weak_alias (strchr, index)
A DVersions29 index;
A Dtester.c658 check (index ("abcd", 'z') == NULL, 1); /* Not found. */ in test_index()
660 check (index (one, 'c') == one+2, 2); /* Basic test. */ in test_index()
661 check (index (one, 'd') == one+3, 3); /* End of string. */ in test_index()
662 check (index (one, 'a') == one, 4); /* Beginning. */ in test_index()
663 check (index (one, '\0') == one+4, 5); /* Finding NUL. */ in test_index()
665 check (index (one, 'b') == one+1, 6); /* Finding first. */ in test_index()
667 check (index (one, 'b') == NULL, 7); /* Empty string. */ in test_index()
668 check (index (one, '\0') == one, 8); /* NUL in empty string. */ in test_index()

Completed in 10 milliseconds