/external/python/cpython3/Lib/ |
D | csv.py | 233 groupindex = regexp.groupindex 235 n = groupindex['quote'] - 1 240 n = groupindex['delim'] - 1 247 n = groupindex['space'] - 1
|
D | sre_compile.py | 775 groupindex = p.pattern.groupdict 777 for k, i in groupindex.items(): 783 groupindex, tuple(indexgroup)
|
D | sre_parse.py | 968 groupindex = pattern.groupindex 983 index = groupindex[name]
|
/external/python/cpython3/Modules/ |
D | _sre.c | 558 Py_XDECREF(self->groupindex); in pattern_dealloc() 1317 if (self->groupindex == NULL) in pattern_groupindex() 1319 return PyDictProxy_New(self->groupindex); in pattern_groupindex() 1338 PyObject *code, Py_ssize_t groups, PyObject *groupindex, in _sre_compile_impl() argument 1354 self->groupindex = NULL; in _sre_compile_impl() 1399 if (PyDict_GET_SIZE(groupindex) > 0) { in _sre_compile_impl() 1400 Py_INCREF(groupindex); in _sre_compile_impl() 1401 self->groupindex = groupindex; in _sre_compile_impl() 1955 if (self->pattern->groupindex) { in match_getindex() 1956 index = PyDict_GetItem(self->pattern->groupindex, index); in match_getindex() [all …]
|
D | sre.h | 30 PyObject* groupindex; /* dict */ member
|
/external/python/cpython2/Lib/ |
D | csv.py | 234 n = regexp.groupindex['quote'] - 1 239 n = regexp.groupindex['delim'] - 1 246 n = regexp.groupindex['space'] - 1
|
D | sre_compile.py | 587 groupindex = p.pattern.groupdict 589 for k, i in groupindex.items(): 595 groupindex, indexgroup
|
D | sre_parse.py | 803 index = pattern.groupindex[name]
|
/external/python/cpython3/Modules/clinic/ |
D | _sre.c.h | 491 PyObject *code, Py_ssize_t groups, PyObject *groupindex, 504 PyObject *groupindex; in _sre_compile() local 508 …&pattern, &flags, &PyList_Type, &code, &groups, &PyDict_Type, &groupindex, &PyTuple_Type, &indexgr… in _sre_compile() 511 return_value = _sre_compile_impl(module, pattern, flags, code, groups, groupindex, indexgroup); in _sre_compile()
|
/external/python/cpython2/Modules/ |
D | sre.h | 37 PyObject* groupindex; member
|
D | _sre.c | 1884 Py_XDECREF(self->groupindex); in pattern_dealloc() 2608 Py_XINCREF(self->groupindex); in pattern_copy() 2633 if (!deepcopy(©->groupindex, memo) || in pattern_deepcopy() 2710 {"groupindex", T_OBJECT, PAT_OFF(groupindex), READONLY}, 2759 PyObject* groupindex = NULL; in _compile() local 2763 &groupindex, &indexgroup)) in _compile() 2773 self->groupindex = NULL; in _compile() 2809 Py_XINCREF(groupindex); in _compile() 2810 self->groupindex = groupindex; in _compile() 3335 if (self->pattern->groupindex) { in match_getindex() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_re.py | 628 self.assertEqual(re.compile("(?i)(a)(b)").groupindex, {}) 629 self.assertEqual(re.compile("(?i)(?P<first>a)(?P<other>b)").groupindex, 640 self.assertEqual(sorted(p.groupindex), ['first', 'other']) 641 self.assertEqual(p.groupindex['other'], 2) 643 p.groupindex['other'] = 0 644 self.assertEqual(p.groupindex['other'], 2) 2218 for i in result.re.groupindex.keys():
|
/external/libchrome/third_party/ply/ |
D | lex.py | 489 lexindexfunc = [ None ] * (max(lexre.groupindex.values())+1) 492 for f,i in lexre.groupindex.items():
|
/external/ply/ply/ply/ |
D | lex.py | 501 lexindexfunc = [None] * (max(lexre.groupindex.values()) + 1) 504 for f, i in lexre.groupindex.items():
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 501 lexindexfunc = [None] * (max(lexre.groupindex.values()) + 1) 504 for f, i in lexre.groupindex.items():
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a3.rst | 65 The groupindex attribute of regular expression pattern object now is
|
/external/python/cpython2/Parser/ |
D | spark.py | 44 for name, number in self.re.groupindex.items():
|
/external/python/cpython2/Lib/test/ |
D | test_re.py | 1256 for i in result.re.groupindex.keys():
|
/external/python/cpython2/Doc/library/ |
D | re.rst | 833 .. attribute:: RegexObject.groupindex
|
/external/python/cpython3/Doc/library/ |
D | re.rst | 1103 .. attribute:: Pattern.groupindex
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1716 groupindex dictionary of {group name: group number} in pattern
|