Lines Matching refs:csm
729 UCaseMap *csm; in TestUCaseMap() local
736 csm=ucasemap_open("tur", 0xa5, &errorCode); in TestUCaseMap()
741 locale=ucasemap_getLocale(csm); in TestUCaseMap()
746 ucasemap_setLocale(csm, "I-kLInGOn-the-quick-brown-fox-jumps-over-the-lazy-dog", &errorCode); in TestUCaseMap()
747 locale=ucasemap_getLocale(csm); in TestUCaseMap()
753 options=ucasemap_getOptions(csm); in TestUCaseMap()
757 ucasemap_setOptions(csm, 0x333333, &errorCode); in TestUCaseMap()
758 options=ucasemap_getOptions(csm); in TestUCaseMap()
767 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
775 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
783 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, utf8Out+1, 2, &errorCode); in TestUCaseMap()
791 length=ucasemap_utf8ToUpper(csm, utf8Out+1, 2, utf8Out, 2, &errorCode); in TestUCaseMap()
799 length=ucasemap_utf8ToLower(csm, NULL, (int32_t)sizeof(utf8Out), aBc, -1, &errorCode); in TestUCaseMap()
807 length=ucasemap_utf8ToLower(csm, utf8Out, -2, aBc, -1, &errorCode); in TestUCaseMap()
815 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), NULL, -1, &errorCode); in TestUCaseMap()
823 length=ucasemap_utf8ToLower(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, -2, &errorCode); in TestUCaseMap()
831 length=ucasemap_utf8ToUpper(csm, utf8Out, 2, aBc, 3, &errorCode); in TestUCaseMap()
839 length=ucasemap_utf8ToUpper(csm, utf8Out, 3, aBc, 3, &errorCode); in TestUCaseMap()
847 length=ucasemap_utf8FoldCase(csm, utf8Out, (int32_t)sizeof(utf8Out), aBc, 3, &errorCode); in TestUCaseMap()
852 ucasemap_close(csm); in TestUCaseMap()
874 UCaseMap *csm; in TestUCaseMapToTitle() local
881 csm=ucasemap_open("", 0, &errorCode); in TestUCaseMapToTitle()
887 iter=ucasemap_getBreakIterator(csm); in TestUCaseMapToTitle()
893 …length=ucasemap_toTitle(csm, buffer, UPRV_LENGTHOF(buffer), beforeTitle, UPRV_LENGTHOF(beforeTitle… in TestUCaseMapToTitle()
902 iter=ucasemap_getBreakIterator(csm); in TestUCaseMapToTitle()
909 ucasemap_setOptions(csm, U_TITLECASE_NO_BREAK_ADJUSTMENT, &errorCode); in TestUCaseMapToTitle()
915 …length=ucasemap_toTitle(csm, buffer, UPRV_LENGTHOF(buffer), beforeTitle, UPRV_LENGTHOF(beforeTitle… in TestUCaseMapToTitle()
929 ucasemap_close(csm); in TestUCaseMapToTitle()
932 ucasemap_setBreakIterator(csm, sentenceIter, &errorCode); in TestUCaseMapToTitle()
936 ucasemap_close(csm); in TestUCaseMapToTitle()
939 iter=ucasemap_getBreakIterator(csm); in TestUCaseMapToTitle()
944 ucasemap_setOptions(csm, U_TITLECASE_NO_LOWERCASE, &errorCode); in TestUCaseMapToTitle()
951 length=ucasemap_toTitle(csm, NULL, 0, beforeTitle, UPRV_LENGTHOF(beforeTitle), &errorCode); in TestUCaseMapToTitle()
960 …length=ucasemap_toTitle(csm, buffer, UPRV_LENGTHOF(buffer), beforeTitle, UPRV_LENGTHOF(beforeTitle… in TestUCaseMapToTitle()
978 …length=ucasemap_utf8ToTitle(csm, utf8, (int32_t)sizeof(utf8), utf8BeforeTitle, utf8BeforeTitleLeng… in TestUCaseMapToTitle()
988 ucasemap_close(csm); in TestUCaseMapToTitle()