Searched defs:subn (Results 1 - 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dre.py81 subn Same as sub, but also return the number of substitutions made.
113 __all__ = [ "match", "search", "sub", "subn", "split", "findall",
157 def subn(pattern, repl, string, count=0, flags=0): function
166 return _compile(pattern, flags).subn(repl, string, count)
285 # internal: pattern.sub/subn implementation helper
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dre.py81 subn Same as sub, but also return the number of substitutions made.
109 __all__ = [ "match", "search", "sub", "subn", "split", "findall",
153 def subn(pattern, repl, string, count=0, flags=0): function
162 return _compile(pattern, flags).subn(repl, string, count)
271 # internal: pattern.sub/subn implementation helper
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
H A D_sre.c28 * 2001-10-21 fl added sub/subn primitive
30 * 2001-12-07 fl fixed memory leak in sub/subn (Guido van Rossum)
31 * 2002-11-09 fl fixed empty sub/subn return type
2292 Py_ssize_t count, Py_ssize_t subn)
2308 /* sub/subn takes either a function or a template */
2463 if (subn)
2497 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|n:subn", kwlist,
2584 "subn(repl, string[, count = 0]) --> (newstring, number of subs)\n\
2598 {"subn", (PyCFunction) pattern_subn, METH_VARARGS|METH_KEYWORDS,
2291 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, Py_ssize_t count, Py_ssize_t subn) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
H A D_sre.c29 * 2001-10-21 fl added sub/subn primitive
31 * 2001-12-07 fl fixed memory leak in sub/subn (Guido van Rossum)
32 * 2002-11-09 fl fixed empty sub/subn return type
2371 Py_ssize_t count, Py_ssize_t subn)
2387 /* sub/subn takes either a function or a template */
2542 if (subn)
2576 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|n:subn", kwlist,
2663 "subn(repl, string[, count = 0]) --> (newstring, number of subs)\n\
2677 {"subn", (PyCFunction) pattern_subn, METH_VARARGS|METH_KEYWORDS,
2370 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, Py_ssize_t count, Py_ssize_t subn) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A D_sre.c28 * 2001-10-21 fl added sub/subn primitive
30 * 2001-12-07 fl fixed memory leak in sub/subn (Guido van Rossum)
31 * 2002-11-09 fl fixed empty sub/subn return type
2292 Py_ssize_t count, Py_ssize_t subn)
2308 /* sub/subn takes either a function or a template */
2463 if (subn)
2497 if (!PyArg_ParseTupleAndKeywords(args, kw, "OO|n:subn", kwlist,
2584 "subn(repl, string[, count = 0]) --> (newstring, number of subs)\n\
2598 {"subn", (PyCFunction) pattern_subn, METH_VARARGS|METH_KEYWORDS,
2291 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, Py_ssize_t count, Py_ssize_t subn) argument

Completed in 53 milliseconds