Searched refs:re (Results 1 - 25 of 133) sorted by relevance

123456

/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/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
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"')
H A DToolDefClassObject.py18 import re namespace
28 gMacroRefPattern = re.compile('(DEF\([^\(\)]+\))')
29 gEnvRefPattern = re.compile('(ENV\([^\(\)]+\))')
30 gMacroDefPattern = re.compile("DEFINE\s+([^\s]+)")
/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*$')
H A Ddump_gen.py5 import sys, re, string namespace
8 line_re = re.compile(r'^(\S+)\s+(GL_\S+)\s+(.*)\s*$')
9 extensions_line_re = re.compile(r'^(\S+)\s+(GL_\S+)\s(\S+)\s+(.*)\s*$')
H A Dstate_get.py6 import sys, re, string namespace
9 line_re = re.compile (r'^(\S+)\s+(GL_\S+)\s+(.*)\s*$')
10 extensions_line_re = re.compile(r'^(\S+)\s+(GL_\S+)\s+(GL_\S+)\s+(.*)\s*$')
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenPatchPcdTable/
H A DGenPatchPcdTable.py22 import re namespace
38 secRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\da-fA-F]+)[Hh]? +([.\w\$]+) +(\w+)', re.UNICODE)
39 symRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\.:\\\\\w\?@\$]+) +([\da-fA-F]+)', re.UNICODE)
78 m = re.match('^[\da-fA-FxhH]+ +__image_base__ += +([\da-fA-FhxH]+)', line)
82 m = re.match('^([\w_\.]+) +([\da-fA-Fx]+) +([\da-fA-Fx]+)', line)
86 m = re.match("^([\da-fA-Fx]+) +[_]+gPcd_BinaryPatch_([\w_\d]+)", line)
105 if re.match("^Start[' ']+Length[' ']+Name[' ']+Class", line):
108 if re
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Library/
H A DParserValidate.py19 import re namespace
128 ReIsValieFamily = re.compile(r"^[A-Z]+[A-Za-z0-9]{0,}$", re.DOTALL)
159 ReIsValieArch = re.compile(r"^[a-zA-Z]+[a-zA-Z0-9]{0,}$", re.DOTALL)
179 ReIsValidFamily = re.compile(r"^[A-Z]+[A-Za-z0-9]{0,}$", re.DOTALL)
197 ReIsValidBuildOption1 = re.compile(r"^\s*(\*)|([A-Z][a-zA-Z0-9]*)$")
198 ReIsValidBuildOption2 = re.compile(r"^\s*(\*)|([a-zA-Z][a-zA-Z0-9]*)$")
222 Match = re
[all...]
H A DExpressionValidate.py21 import re namespace
175 Match1 = re.compile(self.HEX_PATTERN).match(self.Token[self.Index:])
180 Match2 = re.compile(self.INT_PATTERN).match(self.Token[self.Index:])
185 Match3 = re.compile(self.MACRO_PATTERN).match(self.Token[self.Index:])
190 Match4 = re.compile(self.PCD_PATTERN).match(self.Token[self.Index:])
199 Match1 = re.compile(self.MACRO_PATTERN).match(self.Token[self.Index:])
204 Match2 = re.compile(self.PCD_PATTERN).match(self.Token[self.Index:])
209 Match3 = re.compile(self.QUOTED_PATTERN).\
350 re.compile(self.INT_PATTERN).match(self.Token[self.Index:])
352 re
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Trim/
H A DTrim.py19 import re namespace
34 gLineControlDirective = re.compile('^\s*#(?:line)?\s+([0-9]+)\s+"*([^"]*)"')
36 gTypedefPattern = re.compile("^\s*typedef\s+struct(\s+\w+)?\s*[{]*$", re.MULTILINE)
38 gPragmaPattern = re.compile("^\s*#pragma\s+pack", re.MULTILINE)
46 gHexNumberPattern = re.compile("(?<=[^a-zA-Z0-9_])(0[xX])([0-9a-fA-F]+)(U(?=$|[^a-zA-Z0-9_]))?")
48 gDecNumberPattern = re.compile("(?<=[^a-zA-Z0-9_])([0-9]+)U(?=$|[^a-zA-Z0-9_])")
50 gLongNumberPattern = re.compile("(?<=[^a-zA-Z0-9_])(0[xX][0-9a-fA-F]+|[0-9]+)U?LL(?=$|[^a-zA-Z0-9_])")
53 gAslIncludePattern = re
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Ddebug_opcodes.py9 import re; namespace
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/
H A Dunpack_header.py10 import re; namespace
/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/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/
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 DInfDepexSectionParser.py20 import re namespace
87 ReFormatComment = re.compile(r"""#(?:\s*)\[(.*?)\](?:.*)""", re.DOTALL)
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].*$')
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)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/
H A DFileProfile.py19 import re namespace
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/
H A DFileProfile.py19 import re namespace
/vbox/src/VBox/GuestHost/OpenGL/packer/
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/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/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/dlm/
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/Additions/common/crOpenGL/
H A Dstub_common.py14 import re; namespace
36 m = re.search( "VertexAttrib([1234](ub|b|us|s|ui|i|f|d|)v?)NV", glName )
240 temp_arg = re.sub("const ", "", arg)
280 m = re.search( r"^(SecondaryColor|Color|EdgeFlag|EvalCoord|Index|Normal|TexCoord|MultiTexCoord|Vertex|RasterPos|VertexAttrib|FogCoord|WindowPos|ProgramParameter)([1234]?)N?(ub|b|us|s|ui|i|f|d|)v(ARB|EXT|NV)?$", func_name )

Completed in 120 milliseconds

123456