|
| _Bool | __python_char_isalpha (int c) |
| long | __python_str_hash (const char *s) |
| size_t | __python_strnlen_bounded (const char *s, size_t max_len) |
| _Bool | __python_str_isalpha (const char *s) |
| static void | __python_str_normalize_range (int *start, int *end, size_t len_s) |
| _Bool | __python_char_isdigit (int c) |
| _Bool | __python_str_isdigit (const char *s) |
| _Bool | __python_str_isalnum (const char *s) |
| _Bool | __python_str_isspace (const char *s) |
| const char * | __python_str_lstrip (const char *s) |
| const char * | __python_str_rstrip (const char *s) |
| const char * | __python_str_strip (const char *s) |
| const char * | __python_str_strip_chars (const char *s, const char *chars) |
| const char * | __python_str_lstrip_chars (const char *s, const char *chars) |
| const char * | __python_str_rstrip_chars (const char *s, const char *chars) |
| _Bool | __python_char_islower (int c) |
| _Bool | __python_str_islower (const char *s) |
| _Bool | __python_str_isupper (const char *s) |
| int | __python_char_lower (int c) |
| int | __python_char_upper (int c) |
| char * | __python_str_lower (const char *s) |
| char * | __python_str_upper (const char *s) |
| char * | __python_str_swapcase (const char *s) |
| char * | __python_str_capitalize (const char *s) |
| char * | __python_str_title (const char *s) |
| size_t | __python_str_count (const char *s, const char *sub) |
| int | __python_str_find (const char *s1, const char *s2) |
| int | __python_str_find_range (const char *s1, const char *s2, int start, int end) |
| int | __python_str_rfind (const char *s1, const char *s2) |
| int | __python_str_rfind_range (const char *s1, const char *s2, int start, int end) |
| char * | __python_str_replace (const char *s, const char *old_sub, const char *new_sub, int count) |
| static _Bool | __python_str_split_isspace (char c) |
| static void | __python_str_split_emit (PyObject *items, size_t *count, const char *str, size_t start, size_t end) |
| struct __ESBMC_PyListObj * | __python_str_split (const char *str, const char *sep, long long maxsplit) |
| static int | __python_digit_value (unsigned char c) |
| | Value of c as an alphanumeric digit (0-9, a-z, A-Z), or -1 when it is not one.
|
| static _Bool | __python_is_space (char c) |
| static const char * | __python_skip_space (const char *s) |
| static _Bool | __python_has_prefix (const char *s, char lower) |
| | Whether s starts with 0 and the prefix letter lower in either case.
|
| static _Bool | __python_takes_prefix (const char *s, int *base, int prefix_base) |
| | Whether s starts with the prefix of prefix_base, which then becomes *base if it was still 0.
|
| static const char * | __python_base_prefix (const char *s, int *base) |
| | Resolves base 0 from the literal's prefix and skips a prefix that matches *base; returns the first character after it.
|
| static int | __python_parse_digits (const char **sp, int base, _Bool prefix_consumed, long long *result) |
| | Folds the digits at *sp into *result, advancing *sp past them and any trailing whitespace; returns the parse status (see __python_int).
|
| static long long | __python_int_parse (const char *s, int base, int *status) |
| long long | __python_int (const char *s, int base) |
| _Bool | __python_str_is_int (const char *s, int base) |
| static int | __python_scan_digit_run (const char *s, size_t len, size_t *i, double *value) |
| | Scan a run of decimal digits starting at s[*i], folding them into *value and advancing *i past the run.
|
| static _Bool | __python_parse_float (const char *s, double *out) |
| double | __python_str_to_float (const char *s) |
| _Bool | __python_str_is_float (const char *s) |
| char * | __python_chr (int codepoint) |
| char * | __python_str_repr (const char *s) |
| int | __python_ord (const char *s) |
| char * | __python_str_concat (const char *s1, const char *s2) |
| char * | __python_str_join (const char *sep, struct __ESBMC_PyListObj *list, size_t int_type_id, size_t float_type_id, size_t bool_type_id) |
| char * | __python_str_repeat (const char *s, long long count) |
| char * | __python_str_slice (const char *s, long long start, long long end, long long step) |
| char * | __python_int_to_str (long long v) |
| char * | __python_int_to_bin (long long v) |
| char * | __python_int_to_hex (long long v) |
| char * | __python_int_to_oct (long long v) |
| char * | __python_bool_to_str (_Bool b) |
| char * | __python_float_to_str (double v) |
| char * | __python_float_to_fixed_str (double v, long long prec) |