Lines Matching refs:pWild
47 sal_uInt16 WildCard::ImpMatch( const char *pWild, const char *pStr ) const in ImpMatch() argument
52 while ( *pWild || flag ) in ImpMatch()
54 switch (*pWild) in ImpMatch()
62 if ( (*pWild == '\\') && ((*(pWild+1)=='?') || (*(pWild+1) == '*')) ) in ImpMatch()
63 pWild++; in ImpMatch()
64 if ( *pWild != *pStr ) in ImpMatch()
68 pWild += pos; in ImpMatch()
73 while ( *pWild == '*' ) in ImpMatch()
74 pWild++; in ImpMatch()
75 if ( *pWild == '\0' ) in ImpMatch()
80 return ( *pWild == '\0' ); in ImpMatch()
81 while ( *pStr && *pStr != *pWild ) in ImpMatch()
83 if ( *pWild == '?' ) { in ImpMatch()
84 pWild++; in ImpMatch()
85 while ( *pWild == '*' ) in ImpMatch()
86 pWild++; in ImpMatch()
90 return ( *pWild == '\0' ); in ImpMatch()
94 if ( *pWild != '\0' ) in ImpMatch()
95 pWild++; in ImpMatch()
103 return ( *pStr == '\0' ) && ( *pWild == '\0' ); in ImpMatch()