/external/python/cpython2/Modules/ |
D | sre.h | 56 Py_ssize_t lastindex; /* last index marker seen by the engine (-1 if none) */ member 85 Py_ssize_t lastindex; member
|
D | _sre.c | 664 ctx->lastindex = state->lastindex; \ 669 state->lastindex = ctx->lastindex; \ 802 Py_ssize_t lastindex; member 861 state->lastindex = i/2 + 1; in SRE_MATCH() 1690 state->lastindex = -1; in state_reset() 1776 state->lastindex = -1; in state_init() 3705 if (self->lastindex >= 0) in match_lastindex_get() 3706 return PyInt_FromSsize_t(self->lastindex); in match_lastindex_get() 3714 if (self->pattern->indexgroup && self->lastindex >= 0) { in match_lastgroup_get() 3716 self->pattern->indexgroup, self->lastindex in match_lastgroup_get() [all …]
|
/external/python/cpython3/Modules/ |
D | sre.h | 50 Py_ssize_t lastindex; /* last index marker seen by the engine (-1 if none) */ member 75 Py_ssize_t lastindex; member
|
D | _sre.c | 354 state->lastindex = -1; in state_reset() 418 state->lastindex = -1; in state_init() 2284 if (self->lastindex >= 0) in match_lastindex_get() 2285 return PyLong_FromSsize_t(self->lastindex); in match_lastindex_get() 2293 self->lastindex >= 0 && in match_lastgroup_get() 2294 self->lastindex < PyTuple_GET_SIZE(self->pattern->indexgroup)) in match_lastgroup_get() 2297 self->lastindex); in match_lastgroup_get() 2376 match->lastindex = state->lastindex; in pattern_new_match()
|
D | sre_lib.h | 395 ctx->lastindex = state->lastindex; \ 400 state->lastindex = ctx->lastindex; \ 538 Py_ssize_t lastindex; member 599 state->lastindex = i/2 + 1; in SRE() 1368 do { state->lastmark = state->lastindex = -1; } while (0)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
D | rcssmin.py | 219 if match.lastindex: 242 if match.lastindex: 325 idx, group = match.lastindex, match.group
|
/external/grpc-grpc/tools/distrib/ |
D | check_include_guards.py | 90 if match.lastindex is None: 110 if match.lastindex is None:
|
/external/clang/tools/scan-build-py/tests/functional/cases/ |
D | __init__.py | 51 if match and match.lastindex == 1:
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.cc | 110 int lastindex = proto_file.find_last_of("."); in StripDotProto() local 111 return proto_file.substr(0, lastindex); in StripDotProto()
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 74 int lastindex = proto_file.find_last_of("."); in StripDotProto() local 75 return proto_file.substr(0, lastindex); in StripDotProto()
|
/external/python/cpython2/Lib/ |
D | re.py | 333 action = self.lexicon[m.lastindex-1][1]
|
/external/python/cpython3/Lib/ |
D | re.py | 359 action = self.lexicon[m.lastindex-1][1]
|
/external/python/cpython2/Lib/test/ |
D | test_re.py | 777 self.assertIsNone(re.match(r'(a)?a','a').lastindex) 778 self.assertEqual(re.match(r'(a)(b)?b','ab').lastindex, 1) 781 self.assertEqual(re.match("((a))", "a").lastindex, 1)
|
/external/libchrome/third_party/ply/ |
D | lex.py | 328 i = m.lastindex
|
/external/ply/ply/ply/ |
D | lex.py | 330 i = m.lastindex
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 330 i = m.lastindex
|
/external/python/cpython2/Doc/library/ |
D | re.rst | 1006 .. attribute:: MatchObject.lastindex 1010 ``((ab))`` will have ``lastindex == 1`` if applied to the string ``'ab'``, while 1011 the expression ``(a)(b)`` will have ``lastindex == 2``, if applied to the same
|
/external/python/cpython3/Lib/test/ |
D | test_re.py | 1167 self.assertIsNone(re.match(r'(a)?a','a').lastindex) 1168 self.assertEqual(re.match(r'(a)(b)?b','ab').lastindex, 1) 1171 self.assertEqual(re.match(r"((a))", "a").lastindex, 1)
|
/external/python/cpython3/Doc/library/ |
D | re.rst | 1295 .. attribute:: Match.lastindex 1299 ``((ab))`` will have ``lastindex == 1`` if applied to the string ``'ab'``, while 1300 the expression ``(a)(b)`` will have ``lastindex == 2``, if applied to the same
|
/external/python/cpython2/Misc/ |
D | HISTORY | 5374 lastindex/lastgroup match attributes in similar cases. For example, 5375 when running the expression r'(a)(b)?b' over 'ab', lastindex must be
|
/external/python/cpython3/Misc/ |
D | HISTORY | 22758 lastindex/lastgroup match attributes in similar cases. For example, 22759 when running the expression r'(a)(b)?b' over 'ab', lastindex must be
|