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_CANNOT_RETURN_NULL PARROT_WARN_UNUSED_RESULT STRING *ascii_get_graphemes(PARROT_INTERP, NOTNULL(STRING *source_string), UINTVAL offset, UINTVAL count)

RT#48260: Not yet documented!!!

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

RT#48260: 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))

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

PARROT_CANNOT_RETURN_NULL PARROT_WARN_UNUSED_RESULT static STRING *string_from_codepoint(PARROT_INTERP, UINTVAL codepoint)

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

PARROT_CANNOT_RETURN_NULL const CHARSET *Parrot_charset_ascii_init(PARROT_INTERP)

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!

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

RT#48260: Not yet documented!!!


parrot