/external/protobuf/src/google/protobuf/compiler/php/ |
D | php_generator.cc | 345 int lastindex = proto_file.find_last_of("."); in GeneratedMetadataFileName() local 349 file_no_suffix = proto_file.substr(0, lastindex); in GeneratedMetadataFileName() 1047 int lastindex = filename.find_last_of("."); in FilenameToClassname() local 1048 std::string result = filename.substr(0, lastindex); in FilenameToClassname() 1068 int lastindex = fullname.find_last_of("\\"); in GenerateMetadataFile() local 1070 if (lastindex != string::npos) { in GenerateMetadataFile() 1073 "name", fullname.substr(0, lastindex)); in GenerateMetadataFile() 1078 "name", fullname.substr(lastindex + 1)); in GenerateMetadataFile() 1141 int lastindex = fullname.find_last_of("\\"); in GenerateEnumFile() local 1143 if (lastindex != string::npos) { in GenerateEnumFile() [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 | 347 state->lastindex = -1; in state_reset() 411 state->lastindex = -1; in state_init() 2270 if (self->lastindex >= 0) in match_lastindex_get() 2271 return PyLong_FromSsize_t(self->lastindex); in match_lastindex_get() 2279 self->lastindex >= 0 && in match_lastgroup_get() 2280 self->lastindex < PyTuple_GET_SIZE(self->pattern->indexgroup)) in match_lastgroup_get() 2283 self->lastindex); in match_lastgroup_get() 2362 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/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/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/rust/crates/grpcio-sys/grpc/tools/distrib/ |
D | check_include_guards.py | 94 if match.lastindex is None: 114 if match.lastindex is None:
|
/external/llvm-project/llvm/utils/UpdateTestChecks/ |
D | common.py | 241 return match.group(1) + match.group(match.lastindex) 244 return match.group(1) + match.group(match.lastindex) 245 return match.group(1) + match.group(2) + match.group(match.lastindex) 350 for i in range(first_nameless_group_in_ir_value_match, match.lastindex): 413 return match.group(1) + rv + match.group(match.lastindex)
|
/external/clang/tools/scan-build-py/tests/functional/cases/ |
D | __init__.py | 51 if match and match.lastindex == 1:
|
/external/llvm-project/clang/tools/scan-build-py/tests/functional/cases/ |
D | __init__.py | 50 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 | 71 int lastindex = proto_file.find_last_of("."); in GetRequireName() local 72 return proto_file.substr(0, lastindex) + "_pb"; in GetRequireName()
|
/external/python/cpython2/Lib/ |
D | re.py | 333 action = self.lexicon[m.lastindex-1][1]
|
/external/python/cpython3/Lib/ |
D | re.py | 377 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/pycparser/pycparser/ply/ |
D | lex.py | 330 i = m.lastindex
|
/external/python/cpython3/Lib/test/ |
D | test_re.py | 1203 self.assertIsNone(re.match(r'(a)?a','a').lastindex) 1204 self.assertEqual(re.match(r'(a)(b)?b','ab').lastindex, 1) 1207 self.assertEqual(re.match(r"((a))", "a").lastindex, 1)
|
/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/Doc/library/ |
D | re.rst | 1304 .. attribute:: Match.lastindex 1308 ``((ab))`` will have ``lastindex == 1`` if applied to the string ``'ab'``, while 1309 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
|