Searched defs:re (Results 1 - 25 of 87) sorted by relevance

1234

/vbox/src/libs/libxml2-2.6.31/python/tests/
H A Dregexp.py7 re = libxml2.regexpCompile("a|b") variable
8 if re.regexpExec("a") != 1:
11 if re.regexpExec("b") != 1:
14 if re.regexpExec("ab") != 0:
17 if re.regexpExec("") != 0:
20 if re.regexpIsDeterminist() != 1:
23 del re
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dgendiffcode.py63 import re namespace
67 if re.match("#", line):
71 m = re.match("\+(.*)", line)
78 m = re.match("-(.*)", line)
84 m = re.match(">(.*)", line)
87 if re.search("}", line):
90 if re.search("{", line):
96 m = re.search("%target=(\w*)", line)
99 m = re.search("%current=(\w*)", line)
102 m = re
[all...]
H A Dstate_isenabled.py6 import sys, re, string namespace
10 line_re = re.compile(r'^(\S+)\s+(GL_\S+)\s+(.*)\s*$')
11 extensions_line_re = re.compile(r'^(\S+)\s+(GL_\S+)\s(\S+)\s+(.*)\s*$')
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Ddebug_opcodes.py9 import re; namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/
H A DMetaDataParser.py18 import re namespace
214 ReIsCopyrightRe = re.compile(r"""(^|\s)COPYRIGHT *\(""", re.DOTALL)
H A DFileProfile.py19 import re namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/
H A DInfDepexSectionParser.py20 import re namespace
87 ReFormatComment = re.compile(r"""#(?:\s*)\[(.*?)\](?:.*)""", re.DOTALL)
H A DInfDefineSectionParser.py21 import re namespace
42 ValidateAcrhPatten = re.compile(r"^\s*#\s*VALID_ARCHITECTURES\s*=\s*.*$", re.DOTALL)
49 ArchList = re.split('\s+', TempArch)
H A DInfParserMisc.py22 import re namespace
114 gQuotedMacro = re.compile(".*\".*\$\(%s\).*\".*"%(Macro))
135 ReIsSourcesSection = re.compile("^\s*\[Sources.*\]\s.*$", re.IGNORECASE)
136 ReIsBinarySection = re.compile("^\s*\[Binaries.*\]\s.*$", re.IGNORECASE)
160 ReIsLibInstance = re.compile("^\s*##\s*@LIB_INSTANCES\s*$")
176 ReIsAsBuildInstance = re.compile("^\s*##\s*@AsBuilt\s*$")
H A DInfAsBuiltProcess.py20 import re namespace
63 ReFindFileGuidPattern = re.compile("^\s*FILE_GUID\s*=.*$")
64 ReFindVerStringPattern = re.compile("^\s*VERSION_STRING\s*=.*$")
96 RePackageHeader = re.compile('^\s*\[Packages.*\].*$')
97 ReDefineHeader = re.compile('^\s*\[Defines].*$')
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/
H A Dunpack_header.py10 import re; namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DToolDefClassObject.py18 import re namespace
28 gMacroRefPattern = re.compile('(DEF\([^\(\)]+\))')
29 gEnvRefPattern = re.compile('(ENV\([^\(\)]+\))')
30 gMacroDefPattern = re.compile("DEFINE\s+([^\s]+)")
H A DVpdInfoFile.py19 import re namespace
H A DGlobalData.py13 import re namespace
43 gMacroRefPattern = re.compile("\$\(([A-Z][_A-Z0-9]*)\)", re.UNICODE)
44 gMacroDefPattern = re.compile("^(DEFINE|EDK_GLOBAL)[ \t]+")
45 gMacroNamePattern = re.compile("^[A-Z][A-Z0-9_]*$")
47 gWideStringPattern = re.compile('(\W|\A)L"')
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/
H A DFileProfile.py19 import re namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/PatchPcdValue/
H A DPatchPcdValue.py19 import re namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Library/Xml/
H A DXmlRoutines.py24 import re namespace
152 gRemovePrettyRe = re.compile(r"""(?:(\n *) )(.*)\1""", re.DOTALL)
153 HelpStr = re.sub(gRemovePrettyRe, r"\2", HelpStr)
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_dispatch.py6 import sys, string, re namespace
50 m = re.search( r"^(Color|Normal)([1234])(ub|b|us|s|ui|i|f|d)$", func_name )
55 m = re.search( r"^(SecondaryColor)(3)(ub|b|us|s|ui|i|f|d)(EXT)$", func_name )
60 m = re.search( r"^(TexCoord)([1234])(ub|b|us|s|ui|i|f|d)$", func_name )
66 m = re.search( r"^(MultiTexCoord)([1234])(ub|b|us|s|ui|i|f|d)ARB$", func_name )
73 m = re.match( r"^(Index)(ub|b|us|s|ui|i|f|d)$", func_name )
78 m = re.match( r"^(EdgeFlag)$", func_name )
83 m = re.match( r"^(FogCoord)(f|d)(EXT)$", func_name)
90 m = re.search( r"^(VertexAttrib)([1234])(s|i|f|d)ARB$", func_name )
/vbox/src/VBox/HostServices/SharedOpenGL/dlm/
H A Ddlm_generated.py2 import sys, cPickle, re namespace
142 m = re.match(pattern, functionName)
H A Ddlm_header.py2 import sys, cPickle, re, os namespace
86 /* Indicates whether we're currently involved in playback or not */
218 # We're interested in intercepting all calls that:
/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dopcodes.py11 import re; namespace
53 print >> sys.stderr, "this even if you're doing a 'make -k.'"
H A Dpacker.py8 import sys, string, re namespace
43 m = re.search( r"^(Color|Normal)([1234])(ub|b|us|s|ui|i|f|d)$", func_name )
51 m = re.search( r"^(SecondaryColor)(3)(ub|b|us|s|ui|i|f|d)EXT$", func_name )
59 m = re.search( r"^(TexCoord)([1234])(ub|b|us|s|ui|i|f|d)$", func_name )
67 m = re.search( r"^(MultiTexCoord)([1234])(ub|b|us|s|ui|i|f|d)ARB$", func_name )
75 m = re.match( r"^(Index)(ub|b|us|s|ui|i|f|d)$", func_name )
83 m = re.match( r"^(EdgeFlag)$", func_name )
91 m = re.match( r"^(FogCoord)(f|d)EXT$", func_name )
100 m = re.search( r"^(VertexAttrib)([1234])N?(ub|b|s|f|d)(NV|ARB)$", func_name )
193 # if we're convertin
[all...]
/vbox/src/VBox/ValidationKit/testmanager/db/
H A Dgen-sql-comments.py30 import re; namespace
88 # The first list may have a @table, @type or similar that we're interested in.
170 and re.search("^(as|al|bm|c|enm|f|i|l|s|ts|uid|uuid)[A-Z][a-zA-Z0-9]*$", asWords[0]) is not None:
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/
H A Dcreate-release.py17 import re namespace
71 revision_re = re.compile('^Revision\:\s*(\d+)$', re.MULTILINE)
78 newline_re = re.compile(r'(\n|\r\n|\r(?!\n))', re.MULTILINE)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/BPDG/
H A DGenVpd.py20 import re namespace
348 ValueRe = re.compile(r'\s*L?\".*\|.*\"\s*$')
354 line = re.sub(ValueRe, '', line)

Completed in 166 milliseconds

1234