Lines Matching +defs:string +defs:match

191     Otherwise, it generates "'%s' does not match expected result" message."""
195 "returned unexpected" if exe else "does not match expected",
206 """Helper function to return the line number of the first matched string."""
210 # Found our match.
272 :param children: A list of ValueChecks that need to match the children
275 list. The number of checks has to match the number of
290 of this ValueCheck. If a match failed, the given TestBase will
332 Checks that the children of a SBValue match a certain structure and
1298 if re.match("mips", arch):
1305 if re.match("powerpc64le", arch):
1313 if not re.match(".*-.*-linux", triple):
1409 """Returns a string that represents the compiler version.
1435 Use compiler_version[0] to specify the operator used to determine if a match has occurred.
1446 """Returns True iff any element of compilers is a sub-string of the current compiler."""
1450 """Returns True iff any element of archs is a sub-string of the current architecture."""
1846 string/pattern matching on the output of such command execution. The
1847 expect method also provides a mode to peform string/pattern matching
2061 matched = thread_line_pattern.match(line)
2065 def match(
2068 """run command in str, and match the result against regexp in patterns returning the match object for the first matching pattern
2121 :param str_input: The input that should be completed. The completion happens at the end of the string.
2124 string that LLDB should generate and the second element the description.
2126 should match the order of the match_desc_pairs pairs.
2197 where patterns could be a single pattern-string or a list of
2206 # And should be either a string or list of strings. Check for list type
2207 # below, if not, make a list out of the singleton string. If patterns
2208 # is not a string or not a list of strings, there'll be runtime errors
2325 string,
2357 client is expecting the output of the command not to match the golden
2360 Finally, the required argument 'string' represents the lldb command to be
2362 set to False, the 'string' is treated as a string to be matched/not-matched
2368 # The `msg` parameter is used only when a failed match occurs. A failed
2369 # match can only occur when one of `patterns`, `startstr`, `endstr`, or
2386 string,
2400 "Command '" + string + "' is expected to fail!",
2403 # No execution required, just compare string against the golden input.
2404 if isinstance(string, lldb.SBCommandReturnObject):
2405 output = string.GetOutput()
2407 output = string
2418 "{}:".format("Ran command" if exe else "Checking string"),
2419 '"{}"'.format(string),
2427 # Assume that we start matched if we want a match
2436 '{} start string: "{}" ({})'.format(
2444 '{} end string: "{}" ({})'.format(
2456 '{} sub string: "{}" ({})'.format(
2476 # Convert to bool because match objects
2502 :param expr: The expression as a string.
2549 :param var_path: The variable path as a string.