Home
last modified time | relevance | path

Searched refs:lastindex (Results 1 – 14 of 14) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc346 int lastindex = proto_file.find_last_of("."); in GeneratedMetadataFileName() local
350 file_no_suffix = proto_file.substr(0, lastindex); in GeneratedMetadataFileName()
1181 int lastindex = filename.find_last_of("."); in FilenameToClassname() local
1182 std::string result = filename.substr(0, lastindex); in FilenameToClassname()
1204 int lastindex = fullname.find_last_of("\\"); in GenerateMetadataFile() local
1206 if (lastindex != string::npos) { in GenerateMetadataFile()
1209 "name", fullname.substr(0, lastindex)); in GenerateMetadataFile()
1214 "name", fullname.substr(lastindex + 1)); in GenerateMetadataFile()
1278 int lastindex = fullname.find_last_of("\\"); in GenerateEnumFile() local
1280 if (lastindex != string::npos) { in GenerateEnumFile()
[all …]
/third_party/python/Modules/
Dsre.h50 Py_ssize_t lastindex; /* last index marker seen by the engine (-1 if none) */ member
75 Py_ssize_t lastindex; member
Dsre_lib.h395 ctx->lastindex = state->lastindex; \
400 state->lastindex = ctx->lastindex; \
537 Py_ssize_t lastindex; member
597 state->lastindex = i/2 + 1; in SRE()
1366 do { state->lastmark = state->lastindex = -1; } while (0)
D_sre.c363 state->lastindex = -1; in state_reset()
427 state->lastindex = -1; in state_init()
2369 if (self->lastindex >= 0) in match_lastindex_get()
2370 return PyLong_FromSsize_t(self->lastindex); in match_lastindex_get()
2378 self->lastindex >= 0 && in match_lastgroup_get()
2379 self->lastindex < PyTuple_GET_SIZE(self->pattern->indexgroup)) in match_lastgroup_get()
2382 self->lastindex); in match_lastgroup_get()
2465 match->lastindex = state->lastindex; in pattern_new_match()
/third_party/ffmpeg/libavfilter/
Dvf_signature.c192 fs->index = sc->lastindex++; in filter_frame()
495 uint32_t numofsegments = (sc->lastindex + 44)/45; in binary_export()
501 sc->lastindex * (2 + 32 + 6*8 + 608)) / 8; in binary_export()
523 put_bits32(&buf, sc->lastindex); /* NumOfFrames */ in binary_export()
670 sc->lastindex = 0; in init()
Dsignature.h122 uint32_t lastindex; /* helper to store amount of frames */ member
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc110 int lastindex = proto_file.find_last_of("."); in StripDotProto() local
111 return proto_file.substr(0, lastindex); in StripDotProto()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc71 int lastindex = proto_file.find_last_of("."); in GetRequireName() local
72 return proto_file.substr(0, lastindex) + "_pb"; in GetRequireName()
/third_party/python/Lib/
Dre.py376 action = self.lexicon[m.lastindex-1][1]
/third_party/python/Lib/test/
Dtest_re.py1204 self.assertIsNone(re.match(r'(a)?a','a').lastindex)
1205 self.assertEqual(re.match(r'(a)(b)?b','ab').lastindex, 1)
1208 self.assertEqual(re.match(r"((a))", "a").lastindex, 1)
/third_party/littlefs/scripts/
Dbench.py113 if m.lastindex <= 1:
Dtest.py116 if m.lastindex <= 1:
/third_party/python/Doc/library/
Dre.rst1314 .. attribute:: Match.lastindex
1318 ``((ab))`` will have ``lastindex == 1`` if applied to the string ``'ab'``, while
1319 the expression ``(a)(b)`` will have ``lastindex == 2``, if applied to the same
/third_party/python/Misc/
DHISTORY22758 lastindex/lastgroup match attributes in similar cases. For example,
22759 when running the expression r'(a)(b)?b' over 'ab', lastindex must be