Lines Matching refs:pattern
718 @param pattern Pattern, including wildcards, to search for.
729 TRIO_ARGS2((string, pattern),
731 TRIO_CONST char *pattern)
734 assert(pattern);
736 for (; ('*' != *pattern); ++pattern, ++string)
740 return (NIL == *pattern);
742 if ((trio_to_upper((int)*string) != trio_to_upper((int)*pattern))
743 && ('?' != *pattern))
749 while ('*' == pattern[1])
750 pattern++;
754 if ( trio_match(string, &pattern[1]) )
771 @param pattern Pattern, including wildcards, to search for.
782 TRIO_ARGS2((string, pattern),
784 TRIO_CONST char *pattern)
787 assert(pattern);
789 for (; ('*' != *pattern); ++pattern, ++string)
793 return (NIL == *pattern);
795 if ((*string != *pattern)
796 && ('?' != *pattern))
802 while ('*' == pattern[1])
803 pattern++;
807 if ( trio_match_case(string, &pattern[1]) )