/external/toolchain-utils/llvm_tools/ |
D | update_chromeos_llvm_hash.py | 254 new_symlink, is_changed = re.subn( 293 new_ebuild, is_changed = re.subn( 301 new_ebuild, is_changed = re.subn(
|
D | update_chromeos_llvm_hash_unittest.py | 261 new_ebuild, _is_changed = re.subn( 305 new_ebuild, _is_changed = re.subn(
|
/external/python/cpython2/Lib/ |
D | re.py | 157 def subn(pattern, repl, string, count=0, flags=0): function 166 return _compile(pattern, flags).subn(repl, string, count)
|
D | cookielib.py | 403 non_junk, nr_junk_chars = re.subn("^[=\s;]*", "", text)
|
/external/skqp/tools/lua/ |
D | find_ngrams_on_ct | 33 new_contents, subd = re.subn(NGRAMS_LUA_SUBSTITUTION_STR,
|
/external/python/cpython3/Lib/ |
D | re.py | 212 def subn(pattern, repl, string, count=0, flags=0): function 221 return _compile(pattern, flags).subn(repl, string, count)
|
/external/python/cpython2/Lib/test/ |
D | test_re.py | 220 self.assertEqual(re.subn("(?i)b+", "x", "bbbb BBBB"), ('x x', 2)) 221 self.assertEqual(re.subn("b+", "x", "bbbb BBBB"), ('x BBBB', 1)) 222 self.assertEqual(re.subn("b+", "x", "xyz"), ('xyz', 0)) 223 self.assertEqual(re.subn("b*", "x", "xyz"), ('xxxyxzx', 4)) 224 self.assertEqual(re.subn("b*", "x", "xyz", 2), ('xxxyz', 2)) 1048 r, n = re.subn('', '', s)
|
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/ |
D | firmware_Cr50ConsoleCommands.py | 163 output, n = re.subn('%s\s*' % regexp, '', output, 1)
|
/external/google-fruit/extras/scripts/ |
D | analyze_template_instantiations_clang_diagnostics.py | 309 element, _ = re.subn(strings_to_remove, '', element)
|
/external/python/cpython3/Lib/test/ |
D | test_re.py | 286 self.assertEqual(re.subn("(?i)b+", "x", "bbbb BBBB"), ('x x', 2)) 287 self.assertEqual(re.subn("b+", "x", "bbbb BBBB"), ('x BBBB', 1)) 288 self.assertEqual(re.subn("b+", "x", "xyz"), ('xyz', 0)) 289 self.assertEqual(re.subn("b*", "x", "xyz"), ('xxxyxzx', 4)) 290 self.assertEqual(re.subn("b*", "x", "xyz", 2), ('xxxyz', 2)) 291 self.assertEqual(re.subn("b*", "x", "xyz", count=2), ('xxxyz', 2)) 1701 r, n = re.subn('', '', s)
|
D | test_functools.py | 1827 subn = decimal.Subnormal("Exponent < Emin") 1829 self.assertEqual(g(subn), ("Exponent < Emin",)) 1834 self.assertEqual(g(subn), "Too small to care.")
|
/external/llvm-project/llvm/utils/UpdateTestChecks/ |
D | common.py | 429 (lines[i], changed) = IR_VALUE_RE.subn(transform_line_vars, lines[i], count=1)
|
/external/python/cpython3/Modules/ |
D | _sre.c | 979 Py_ssize_t count, Py_ssize_t subn) in pattern_subx() argument 1145 if (subn) in pattern_subx()
|
/external/python/cpython2/Doc/howto/ |
D | regex.rst | 1050 | ``subn()`` | Does the same thing as :meth:`sub`, but | 1138 The :meth:`subn` method does the same work, but returns a 2-tuple containing the 1142 >>> p.subn('colour', 'blue socks and red shoes') 1144 >>> p.subn('colour', 'no colours at all')
|
/external/python/cpython3/Doc/howto/ |
D | regex.rst | 1072 | ``subn()`` | Does the same thing as :meth:`!sub`, but | 1159 The :meth:`~re.Pattern.subn` method does the same work, but returns a 2-tuple containing the 1163 >>> p.subn('colour', 'blue socks and red shoes') 1165 >>> p.subn('colour', 'no colours at all')
|
/external/python/cpython3/Doc/library/ |
D | re.rst | 916 .. function:: subn(pattern, repl, string, count=0, flags=0) 946 and :func:`subn`, only backslashes should be escaped. For example:: 1095 .. method:: Pattern.subn(repl, string, count=0) 1097 Identical to the :func:`subn` function, using the compiled pattern.
|
/external/python/cpython2/Doc/library/ |
D | re.rst | 699 .. function:: subn(pattern, repl, string, count=0, flags=0) 817 .. method:: RegexObject.subn(repl, string, count=0) 819 Identical to the :func:`subn` function, using the compiled pattern.
|
/external/python/cpython2/Modules/ |
D | _sre.c | 2381 Py_ssize_t count, Py_ssize_t subn) in pattern_subx() argument 2554 if (subn) in pattern_subx()
|
/external/python/cpython3/Lib/http/ |
D | cookiejar.py | 418 non_junk, nr_junk_chars = re.subn(r"^[=\s;]*", "", text)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.1.rst | 302 * The :func:`re.sub`, :func:`re.subn` and :func:`re.split` functions now
|
D | 3.5.rst | 1601 The :func:`~re.sub` and :func:`~re.subn` functions now replace unmatched
|
D | 2.7.rst | 1458 * The :mod:`re` module's :func:`~re.split`, :func:`~re.sub`, and :func:`~re.subn`
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1704 subn(pattern, 1751 subn(repl, 1752 string[, Identical to the subn() function, using the compiled pattern.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 1865 re.subn().
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 1411 The re.sub(), re.subn() and re.split() functions now accept a flags
|