Lines Matching defs:count

166             Py_ssize_t count, block;
167 count = *(set++);
178 set += count * (256/SRE_CODE_BITS);
205 SRE(count)(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount)
513 Py_ssize_t count;
864 ret = SRE(count)(state, pattern+3, pattern[2]);
867 ctx->count = ret;
868 ptr += ctx->count;
870 /* when we arrive here, count contains the number of
875 if (ctx->count < (Py_ssize_t) pattern[1])
896 while (ctx->count >= (Py_ssize_t) pattern[1] &&
899 ctx->count--;
901 if (ctx->count < (Py_ssize_t) pattern[1])
917 ctx->count--;
923 while (ctx->count >= (Py_ssize_t) pattern[1]) {
938 ctx->count--;
964 ctx->count = 0;
966 /* count using pattern min as the maximum */
967 ret = SRE(count)(state, pattern+3, pattern[1]);
974 ctx->count = ret;
975 ptr += ctx->count;
994 || ctx->count <= (Py_ssize_t)pattern[2]) {
1009 ret = SRE(count)(state, pattern+3, 1);
1016 ctx->count++;
1044 ret = SRE(count)(state, pattern + 3, pattern[2]);
1047 ctx->count = ret;
1048 ptr += ctx->count;
1050 /* when we arrive here, count contains the number of
1056 if (ctx->count < (Py_ssize_t) pattern[1]) {
1093 ctx->u.rep->count = -1;
1123 ctx->count = ctx->u.rep->count+1;
1126 ptr, ctx->count));
1128 if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
1130 ctx->u.rep->count = ctx->count;
1137 ctx->u.rep->count = ctx->count-1;
1142 if ((ctx->count < (Py_ssize_t) ctx->u.rep->pattern[2] ||
1147 ctx->u.rep->count = ctx->count;
1163 ctx->u.rep->count = ctx->count-1;
1187 ctx->count = ctx->u.rep->count+1;
1190 ptr, ctx->count, ctx->u.rep->pattern));
1192 if (ctx->count < (Py_ssize_t) ctx->u.rep->pattern[1]) {
1194 ctx->u.rep->count = ctx->count;
1201 ctx->u.rep->count = ctx->count-1;
1229 if ((ctx->count >= (Py_ssize_t) ctx->u.rep->pattern[2]
1234 ctx->u.rep->count = ctx->count;
1245 ctx->u.rep->count = ctx->count-1;
1261 ctx->count = 0;
1264 while (ctx->count < (Py_ssize_t)pattern[1]) {
1270 ctx->count++;
1285 while ((ctx->count < (Py_ssize_t)pattern[2] ||
1325 /* Success, increment the count. */
1326 ctx->count++;