Searched refs:match (Results 1 - 25 of 67) sorted by relevance

123

/haiku/src/apps/poorman/libhttpd/
H A Dmatch.h0 /* match.h - simple shell-style filename patcher
38 extern int match( const char* pattern, const char* string );
H A Dmatch.c0 /* match.c - simple shell-style filename matcher
33 #include "match.h"
38 match( const char* pattern, const char* string ) function
/haiku/3rdparty/mmu_man/irc/Haiku/
H A Dgen_err_list.py16 match = re.match(r'#\s?define\s+(?P<define>\w+)\s+(?P<expr>.+)', line) variable
17 if match:
18 define = match.groupdict().get("define")
19 expr = match.groupdict().get("expr")
31 m = re.match(r"B_TO_POSIX_ERROR\((?P<expr>.*)\)", expr)
37 m = re.match(r"B_FROM_POSIX_ERROR\((?P<expr>.*)\)", expr)
43 m = re.match(r"\((?P<expr>.*)\)", expr)
49 m = re.match(r"(?P<expr>\w+)$", expr)
57 m = re.match(
94 match = re.match(r'\\t*case (?P<define>\\w+):', line) variable
98 match = re.match(r'\\t*//\\s+(?P<define>\\w+):*$', line) variable
103 match = re.match(r'\\t*return "(?P<str>.+)";', line) variable
[all...]
/haiku/src/kits/tracker/
H A DTrackerString.cpp169 // (Makes it possible to match a '[' with the expression '[[]').
180 bool match = false; local
188 while (!match && *pattern != ']' && *pattern != '\0') {
205 match = start <= testChar && testChar <= stop;
216 match = UTF8CharsAreEqual(string, pattern);
218 match = CharsAreEqual(testChar, *pattern, caseSensitivity);
222 if (!match) {
234 return (match ^ inverse) != 0;
280 bool match = false; local
286 while (!match
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ageq.h55 struct ieee80211_node *match);
H A Dieee80211_ageq.c196 struct ieee80211_node *match)
206 if (match != NULL && m->m_pkthdr.rcvif != (void *) match) {
195 ieee80211_ageq_remove(struct ieee80211_ageq *aq, struct ieee80211_node *match) argument
/haiku/src/tools/checkstyle/
H A Dcheckstyle.py11 for match in matches:
12 printMatch(name, match, text)
13 highlights.append((match.start(), match.end(), name))
H A Dutils.py13 # prints match to stdout
14 def printMatch(name, match, source):
15 start = match.start()
16 end = match.end()
20 + "): '" + match.group().replace('\n','\\n') + "'")
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_if_media.c174 struct ifmedia_entry *match; local
176 match = ifmedia_match(ifm, target, ifm->ifm_mask);
178 if (match == NULL) {
179 TRACE("ifmedia_set: no match for 0x%x/0x%x\n",
183 ifm->ifm_cur = match;
203 struct ifmedia_entry *match; local
221 match = ifmedia_match(ifm, newmedia, ifm->ifm_mask);
222 if (match == NULL) {
232 * Similarly, if best match changed (kernel debugger?).
236 (match
363 struct ifmedia_entry *match, *next; local
[all...]
/haiku/headers/private/file_systems/
H A DQueryParserUtils.h26 enum match { enum in namespace:QueryParser
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9287_olc.c111 HAL_BOOL match; local
121 match = ath_ee_getLowerUpperIndex(
125 if (match) {
/haiku/build/scripts/
H A Ddetermine_haiku_revision32 revision=`git describe --dirty --tags --match=hrev* --abbrev=1`
/haiku/src/tests/kits/net/service/
H A Dtestserver.py170 match = MULTIPART_FORM_BOUNDARY_RE.match(
172 if match is not None:
173 boundary_id_value = match.group(1)
210 match = AUTH_PATH_RE.match(self.path)
211 if match is None:
214 strategy = match.group('strategy')
215 expected_username = match.group('username')
216 expected_password = match
[all...]
/haiku/src/tests/kits/net/netservices2/
H A Dtestserver.py170 match = MULTIPART_FORM_BOUNDARY_RE.match(
172 if match is not None:
173 boundary_id_value = match.group(1)
210 match = AUTH_PATH_RE.match(self.path)
211 if match is None:
214 strategy = match.group('strategy')
215 expected_username = match.group('username')
216 expected_password = match
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug_builtin_commands.cpp239 bool match; local
241 match = strstr(line, pattern) != NULL;
243 match = false;
249 match = true;
255 if (match != inverseMatch) {
393 "match the given pattern, otherwise only those that do match. When\n"
/haiku/src/add-ons/kernel/generic/smbios/
H A Dsmbios.cpp103 bool match = true;
105 match = strcmp(vendor, sHardwareVendor) == 0;
106 if (match && product != NULL && sHardwareProduct != NULL)
107 match = strcmp(product, sHardwareProduct) == 0;
108 return match;
/haiku/src/bin/unzip/
H A Dmatch.c11 match.c
13 The match() routine recursively compares a string to a "pattern" (regular
14 expression), returning TRUE if a match is found or FALSE if not. This
15 version is specifically for use with unzip.c: as did the previous match()
22 GRR: reversed order of text, pattern in matche() (now same as match());
45 match(string, pattern, ignore_case);
60 side or outside a [..] construct, and match the character exactly, precede
78 #ifndef THEOS /* the Theos port defines its own variant of match() */
108 #define match(s,p,ic) (recmatch((ZCONST uch *)p,(ZCONST uch *)s,ic) == 1)
117 /* match() i
119 int match(string, pattern, ignore_case) function
[all...]
/haiku/src/system/boot/loader/file_systems/fat/
H A DDirectory.h52 uint8 mask = FAT_VOLUME, uint8 match = 0);
/haiku/src/bin/locale/
H A Dcollectcatkeys.cpp209 BString match; local
211 match.SetTo(start, end-start+1);
214 match.SetTo(start, 40);
217 match.String());
/haiku/src/tools/locale/
H A Dcollectcatkeys.cpp215 BString match; local
217 match.SetTo(start, end-start+1);
220 match.SetTo(start, 40);
223 match.String());
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DImageFunctionsView.cpp149 void SetFilterMatch(const RegExp::MatchResult& match) argument
151 fFilterMatch = match;
226 const RegExp::MatchResult& match = node->FilterMatch(); local
227 if (!match.HasMatched())
233 fField.String(), match.StartOffset());
235 + match.StartOffset(), match.EndOffset()
236 - match.StartOffset());
595 RegExp::MatchResult& match)
604 functionNode->SetFilterMatch(match);
593 _AddFunctionNode(SourcePathComponentNode* parent, FunctionInstance* function, LocatableFile* file, RegExp::MatchResult& match) argument
[all...]
/haiku/src/servers/keystore/
H A DKeyring.cpp323 // We didn't find an exact match.
368 bool match = true;
374 match = subkeyType == type;
377 if (match && purpose != B_KEY_PURPOSE_ANY) {
384 match = subkeyPurpose == purpose;
387 if (match) {
440 // We require an exact match.
/haiku/src/bin/
H A Dleak_analyser.sh38 Exclude allocations that match a regular expression. The
40 allocation, so can match in the header line as well as any
/haiku/src/servers/registrar/
H A DRecentEntries.cpp156 match the given filter criterion, only the most recent instance is
193 bool match = false; local
196 match = true;
200 if (!match)
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DDriver.cpp337 if (info.class_base != sSupportedDevices[i].match.class_base)
339 if (info.class_sub != sSupportedDevices[i].match.class_sub)
341 if (info.class_api != sSupportedDevices[i].match.class_api)
343 if (sSupportedDevices[i].match.vendor_id != PCI_INVAL
344 && info.vendor_id != sSupportedDevices[i].match.vendor_id)
346 if (sSupportedDevices[i].match.device_id != PCI_INVAL
347 && info.device_id != sSupportedDevices[i].match.device_id)

Completed in 331 milliseconds

123