Lines Matching full:strcasestr
1379 it = "strcasestr";
1380 check(strcasestr("abCd", "z") == NULL, 1); /* Not found. */
1381 check(strcasestr("AbcD", "abX") == NULL, 2); /* Dead end. */
1383 check(strcasestr(one, "c") == one+2, 3); /* Basic test. */
1384 check(strcasestr(one, "Bc") == one+1, 4); /* Multichar. */
1385 check(strcasestr(one, "d") == one+3, 5); /* End of string. */
1386 check(strcasestr(one, "Cd") == one+2, 6); /* Tail of string. */
1387 check(strcasestr(one, "aBc") == one, 7); /* Beginning. */
1388 check(strcasestr(one, "aBcd") == one, 8); /* Exact match. */
1389 check(strcasestr(one, "AbcDe") == NULL, 9); /* Too long. */
1390 check(strcasestr(one, "dE") == NULL, 10); /* Past end. */
1391 check(strcasestr(one, "") == one, 11); /* Finding empty. */
1393 check(strcasestr(one, "Ba") == one+1, 12); /* Finding first. */
1395 check(strcasestr(one, "b") == NULL, 13); /* Empty string. */
1396 check(strcasestr(one, "") == one, 14); /* Empty in empty string. */
1398 check(strcasestr(one, "bCa") == one+2, 15); /* False start. */
1400 check(strcasestr(one, "bbCa") == one+1, 16); /* With overlap. */