parrotcode: src/charset/unicode.c | |
Contents | C |
src/charset/unicode.c
This file implements the charset functions for unicode data
static void set_graphemes(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL replace_count, NOTNULL(STRING *insert_string))
PARROT_CANNOT_RETURN_NULL static STRING *get_graphemes(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)
PARROT_CANNOT_RETURN_NULL static STRING *get_graphemes_inplace(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count, NOTNULL(STRING *dest_string))
PARROT_CANNOT_RETURN_NULL static STRING *to_charset(PARROT_INTERP, NOTNULL(STRING *src), NOTNULL(STRING *dest))
PARROT_CANNOT_RETURN_NULL static STRING *compose(PARROT_INTERP, NOTNULL(STRING *src))
PARROT_CANNOT_RETURN_NULL static STRING *decompose(PARROT_INTERP, SHIM(STRING *src))
static void upcase(PARROT_INTERP, NOTNULL(STRING *src))
static void downcase(PARROT_INTERP, NOTNULL(STRING *src))
static void titlecase(PARROT_INTERP, NOTNULL(STRING *src))
static void upcase_first(PARROT_INTERP, NOTNULL(STRING *source_string))
static void downcase_first(PARROT_INTERP, NOTNULL(STRING *source_string))
static void titlecase_first(PARROT_INTERP, NOTNULL(STRING *source_string))
static INTVAL compare(PARROT_INTERP, ARGIN(const STRING *lhs), ARGIN(const STRING *rhs))
static INTVAL cs_rindex(PARROT_INTERP, NOTNULL(STRING *source_string), SHIM(STRING *search_string), UINTVAL offset)
static UINTVAL validate(PARROT_INTERP, NOTNULL(STRING *src))
static int u_iscclass(PARROT_INTERP, UINTVAL codepoint, INTVAL flags)
static INTVAL is_cclass(PARROT_INTERP, INTVAL flags, NOTNULL(STRING *source_string), UINTVAL offset)
static INTVAL find_cclass(PARROT_INTERP, INTVAL flags, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)
static INTVAL find_not_cclass(PARROT_INTERP, INTVAL flags, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)
PARROT_CANNOT_RETURN_NULL static STRING *string_from_codepoint(PARROT_INTERP, UINTVAL codepoint)
static size_t compute_hash(PARROT_INTERP, ARGIN(const STRING *src), size_t seed)
PARROT_CANNOT_RETURN_NULL const CHARSET *Parrot_charset_unicode_init(PARROT_INTERP)
|