Searched refs:pszPattern (Results 1 - 15 of 15) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A Dsimplepattern.cpp37 RTDECL(bool) RTStrSimplePatternMatch(const char *pszPattern, const char *pszString) argument
40 return RTStrSimplePatternNMatch(pszPattern, RTSTR_MAX, pszString, RTSTR_MAX);
45 char chPat = *pszPattern;
56 while ((chPat = *++pszPattern) == '*' || chPat == '?')
68 && RTStrSimplePatternMatch(pszPattern + 1, pszString))
86 pszPattern++;
93 RTDECL(bool) RTStrSimplePatternNMatch(const char *pszPattern, size_t cchPattern, argument
99 char chPat = cchPattern ? *pszPattern : '\0';
117 chPat = *++pszPattern;
129 && RTStrSimplePatternNMatch(pszPattern
[all...]
/vbox/include/iprt/linux/
H A Dsysfs.h221 * @param pszPattern The expected path format of the device node, either
227 const char *pszPattern, va_list va);
241 * @param pszPattern The expected path format of the device node, either
247 const char *pszPattern, ...);
/vbox/src/VBox/Runtime/r3/linux/
H A Dsysfs.cpp416 size_t cchBuf, const char *pszPattern,
426 if (pszPattern)
432 pszPattern, va);
460 size_t cchBuf, const char *pszPattern,
464 va_start(va, pszPattern);
466 pszPattern, va);
415 RTLinuxCheckDevicePathV(dev_t DevNum, RTFMODE fMode, char *pszBuf, size_t cchBuf, const char *pszPattern, va_list va) argument
459 RTLinuxCheckDevicePath(dev_t DevNum, RTFMODE fMode, char *pszBuf, size_t cchBuf, const char *pszPattern, ...) argument
/vbox/src/bldprogs/
H A Dscm.h174 char *pszPattern; member in struct:SCMPATRNOPTPAIR
H A Dscm.cpp594 RTStrFree(pSettings->paPairs[i].pszPattern);
596 pSettings->paPairs[i].pszPattern = NULL;
652 pSettings->paPairs[iPair].pszPattern = RTStrDupN(pchLine, cchPattern);
655 if ( pSettings->paPairs[iPair].pszPattern
664 RTStrFree(pSettings->paPairs[iPair].pszPattern);
928 if ( RTStrSimplePatternMultiMatch(pCur->paPairs[i].pszPattern, RTSTR_MAX,
930 || RTStrSimplePatternMultiMatch(pCur->paPairs[i].pszPattern, RTSTR_MAX,
/vbox/src/VBox/HostDrivers/VBoxUSB/
H A DUSBFilter.cpp650 * @param pszPattern The pattern to match against.
653 static bool usbfilterMatchStringPattern(const char *pszPattern, const char *psz) argument
656 while ((ch = *pszPattern++))
672 while ( (ch = *pszPattern) == '*'
674 pszPattern++;
681 while ( (ch = pszPattern[cchMatch]) != '\0'
694 return memcmp(psz + cch, pszPattern, cchMatch) == 0;
706 ch = *pszPattern;
712 && !strncmp(psz, pszPattern, cchMatch))
721 pszPattern
1326 USBFilterSetStringPattern(PUSBFILTER pFilter, USBFILTERIDX enmFieldIdx, const char *pszPattern, bool fMustBePresent) argument
[all...]
/vbox/src/VBox/Debugger/
H A DDBGCCommands.cpp761 const char *pszPattern = paArgs[iArg].u.pszString; local
764 if ( !strcmp(pszPattern, "commands")
765 || !strcmp(pszPattern, "cmds") )
767 else if ( !strcmp(pszPattern, "functions")
768 || !strcmp(pszPattern, "funcs") )
770 else if ( !strcmp(pszPattern, "operators")
771 || !strcmp(pszPattern, "ops") )
773 else if (!strcmp(pszPattern, "all"))
775 else if (!strcmp(pszPattern, "summary"))
785 if (RTStrSimplePatternMatch(pszPattern, aFixedCmd
[all...]
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_dns.c383 || ( pDNSMapingEntry->pszPattern
384 && RTStrSimplePatternMultiMatch(pDNSMapingEntry->pszPattern, RTSTR_MAX, pcszString, RTSTR_MAX, NULL)));
424 pDnsMapping->pszCName ? pDnsMapping->pszCName : pDnsMapping->pszPattern,
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageDebugVM.cpp575 const char *pszPattern = NULL; /* all */ local
598 if (pszPattern)
600 pszPattern = ValueUnion.psz;
618 com::Bstr bstrPattern(pszPattern);
/vbox/include/VBox/
H A Dusbfilter.h234 USBLIB_DECL(int) USBFilterSetStringPattern(PUSBFILTER pFilter, USBFILTERIDX enmFieldIdx, const char *pszPattern, bool fMustBePresent);
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibVideo.cpp317 const char *pszPattern = VIDEO_PROP_PREFIX"*"; local
325 rc = VbglR3GuestPropEnum(u32ClientId, &pszPattern, 1, &pHandle,
/vbox/src/VBox/HostServices/GuestProperties/
H A Dservice.cpp379 int getOldNotificationInternal(const char *pszPattern,
813 const char *pszPattern; /**< The pattern to match properties against. */ member in struct:guestProp::ENUMDATA
828 if (!pProp->Matches(pEnum->pszPattern))
924 EnumData.pszPattern = szPatterns;
/vbox/src/VBox/Devices/Network/slirp/
H A Dslirp_state.h61 * @note If pszCName isn't null pszPattern won't be used (see alias_dns.c for
66 char *pszPattern; member in struct:DNSMAPPINGENTRY
H A Dslirp.c1957 pDnsMapping->pszPattern = RTStrDup(pszHostNamePattern);
1959 && !pDnsMapping->pszPattern)
1968 pDnsMapping->pszCName ? pDnsMapping->pszCName : pDnsMapping->pszPattern,
/vbox/include/iprt/
H A Dstring.h2533 * @param pszPattern The pattern. Special chars are '*' and '?', where the
2538 RTDECL(bool) RTStrSimplePatternMatch(const char *pszPattern, const char *pszString);
2549 * @param pszPattern The pattern. Special chars are '*' and '?', where the
2558 RTDECL(bool) RTStrSimplePatternNMatch(const char *pszPattern, size_t cchPattern,

Completed in 95 milliseconds