NAME ^

src/charset/ascii.c

DESCRIPTION ^

This file implements the charset functions for ascii data and common charset functionality for similar charsets like iso-8859-1.

PARROT_WARN_UNUSED_RESULT STRING *ascii_get_graphemes(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)

TODO: Not yet documented!!!

static void set_graphemes(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL replace_count, NOTNULL(STRING *insert_string))

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT PARROT_CANNOT_RETURN_NULL STRING *ascii_get_graphemes_inplace(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count, NOTNULL(STRING *dest_string))

TODO: Not yet documented!!!

static STRING *to_ascii(PARROT_INTERP, NOTNULL(STRING *src), NULLOK(STRING *dest))

TODO: Not yet documented!!!

static STRING *to_unicode(PARROT_INTERP, NOTNULL(STRING *src), NULLOK(STRING *dest))

TODO: Not yet documented!!!

static STRING *to_charset(PARROT_INTERP, NOTNULL(STRING *src), NULLOK(STRING *dest))

TODO: Not yet documented!!!

static STRING *compose(PARROT_INTERP, NOTNULL(STRING *src))

TODO: Not yet documented!!!

static STRING *decompose(PARROT_INTERP, NOTNULL(STRING *src))

TODO: Not yet documented!!!

static void upcase(PARROT_INTERP, NOTNULL(STRING *source_string))

TODO: Not yet documented!!!

static void downcase(PARROT_INTERP, NOTNULL(STRING *source_string))

TODO: Not yet documented!!!

static void titlecase(PARROT_INTERP, NOTNULL(STRING *source_string))

TODO: Not yet documented!!!

static void upcase_first(PARROT_INTERP, NOTNULL(STRING *source_string))

TODO: Not yet documented!!!

static void downcase_first(PARROT_INTERP, NOTNULL(STRING *source_string))

TODO: Not yet documented!!!

static void titlecase_first(PARROT_INTERP, NOTNULL(STRING *source_string))

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT INTVAL ascii_compare(PARROT_INTERP, NOTNULL(const STRING *lhs), NOTNULL(const STRING *rhs))

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT INTVAL mixed_cs_index(PARROT_INTERP, NOTNULL(STRING *src), NOTNULL(STRING *search), UINTVAL offs)

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT INTVAL ascii_cs_index(PARROT_INTERP, NOTNULL(STRING *source_string), NOTNULL(STRING *search_string), UINTVAL offset)

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT INTVAL ascii_cs_rindex(PARROT_INTERP, NOTNULL(STRING *source_string), NOTNULL(STRING *search_string), UINTVAL offset)

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT static UINTVAL validate(PARROT_INTERP, NOTNULL(STRING *src))

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT static STRING *string_from_codepoint(PARROT_INTERP, UINTVAL codepoint)

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT static INTVAL is_cclass(PARROT_INTERP, INTVAL flags, NOTNULL(STRING *source_string), UINTVAL offset)

TODO: Not yet documented!!!

PARROT_WARN_UNUSED_RESULT static INTVAL find_cclass(PARROT_INTERP, INTVAL flags, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)

TODO: Not yet documented!!!

static INTVAL find_not_cclass(PARROT_INTERP, INTVAL flags, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)

TODO: Not yet documented!!!

PARROT_PURE_FUNCTION size_t ascii_compute_hash(SHIM_INTERP, NOTNULL(const STRING *source_string), size_t seed)

TODO: Not yet documented!!!

PARROT_CANNOT_RETURN_NULL const CHARSET *Parrot_charset_ascii_init(PARROT_INTERP)

TODO: Not yet documented!!!

STRING *charset_cvt_ascii_to_binary(PARROT_INTERP, NOTNULL(STRING *src), NULLOK(STRING *dest))

TODO: Not yet documented!!!

STRING *charset_cvt_ascii_to_iso_8859_1(PARROT_INTERP, NOTNULL(STRING *src), NULLOK(STRING *dest))

TODO: Not yet documented!!!


parrot