Lines Matching defs:second
388 @param second Second string.
395 TRIO_ARGS2((first, second),
397 TRIO_CONST char *second)
400 assert(second);
402 if ((first != NULL) && (second != NULL))
405 return (0 == strcasecmp(first, second));
407 while ((*first != NIL) && (*second != NIL))
409 if (trio_to_upper(*first) != trio_to_upper(*second))
414 second++;
416 return ((*first == NIL) && (*second == NIL));
427 @param second Second string.
434 TRIO_ARGS2((first, second),
436 TRIO_CONST char *second)
439 assert(second);
441 if ((first != NULL) && (second != NULL))
443 return (0 == strcmp(first, second));
455 @param second Second string.
462 TRIO_ARGS3((first, max, second),
465 TRIO_CONST char *second)
468 assert(second);
470 if ((first != NULL) && (second != NULL))
472 return (0 == strncmp(first, second, max));
483 @param second Second string.
490 TRIO_ARGS2((first, second),
492 TRIO_CONST char *second)
495 assert(second);
498 return (strcoll(first, second) == 0);
500 return trio_equal(first, second);
510 @param second Second string.
517 TRIO_ARGS3((first, max, second),
520 TRIO_CONST char *second)
523 assert(second);
525 if ((first != NULL) && (second != NULL))
528 return (0 == strncasecmp(first, second, max));
532 while ((*first != NIL) && (*second != NIL) && (cnt <= max))
534 if (trio_to_upper(*first) != trio_to_upper(*second))
539 second++;
542 return ((cnt == max) || ((*first == NIL) && (*second == NIL)));
1523 Append the second string to the first.
1608 Search for the first occurrence of second parameter in the first.