Home
last modified time | relevance | path

Searched refs:subn (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dre.py153 def subn(pattern, repl, string, count=0, flags=0): function
162 return _compile(pattern, flags).subn(repl, string, count)
Dcookielib.py403 non_junk, nr_junk_chars = re.subn("^[=\s;]*", "", text)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dre.py157 def subn(pattern, repl, string, count=0, flags=0): function
166 return _compile(pattern, flags).subn(repl, string, count)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_re.py189 self.assertEqual(re.subn("(?i)b+", "x", "bbbb BBBB"), ('x x', 2))
190 self.assertEqual(re.subn("b+", "x", "bbbb BBBB"), ('x BBBB', 1))
191 self.assertEqual(re.subn("b+", "x", "xyz"), ('xyz', 0))
192 self.assertEqual(re.subn("b*", "x", "xyz"), ('xxxyxzx', 4))
193 self.assertEqual(re.subn("b*", "x", "xyz", 2), ('xxxyz', 2))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
D_sre.c2371 Py_ssize_t count, Py_ssize_t subn) in pattern_subx() argument
2542 if (subn) in pattern_subx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_sre.c2292 Py_ssize_t count, Py_ssize_t subn) in pattern_subx() argument
2463 if (subn) in pattern_subx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
D_sre.c2292 Py_ssize_t count, Py_ssize_t subn) in pattern_subx() argument
2463 if (subn) in pattern_subx()