Lines Matching defs:count
228 count of a string is: s->ob_refcnt + (s->state ? 2 : 0)
922 #include "stringlib/count.h"
931 #include "stringlib/count.h"
941 #include "stringlib/count.h"
951 #include "stringlib/count.h"
961 #include "stringlib/count.h"
1734 /* Find the maximum code point and count the number of surrogate pairs so a
5289 character count */
6025 character count normally. Error handler will take care of
6337 int count;
6413 count = 2;
6419 count = 4;
6425 count = 8;
6428 for (ch = 0; count; ++s, --count) {
6743 int count;
6775 count = 4;
6779 count = 8;
6790 for (ch = 0; count; ++s, --count) {
9476 * @digits: Digits we're reading from. If count is non-NULL, this is unused.
9529 Py_ssize_t count = 0;
9573 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars;
9602 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars;
9611 return count;
11585 "S.count(sub[, start[, end]]) -> int\n\
11602 if (!parse_args_finds_unicode("count", args, &substring, &start, &end))
12811 count: Py_ssize_t = -1
12818 If the optional argument count is given, only the first count occurrences are
12824 Py_ssize_t count)
12829 return replace(self, old, new, count);
14170 {"count", (PyCFunction) unicode_count, METH_VARARGS, count__doc__},