Lines Matching refs:n
62 #define IMPL_RTL_STRNAME( n ) rtl_ustr_ ## n argument
64 #define IMPL_RTL_STRINGNAME( n ) rtl_uString_ ## n argument
460 sal_Int32 n; in rtl_uString_newFromCodePoints() local
474 n = codePointCount; in rtl_uString_newFromCodePoints()
478 ++n; in rtl_uString_newFromCodePoints()
485 if (n < 0) { in rtl_uString_newFromCodePoints()
489 *newString = rtl_uString_ImplAlloc(n); in rtl_uString_newFromCodePoints()
510 int n; in rtl_ImplGetFastUTF8UnicodeLen() local
514 n = 0; in rtl_ImplGetFastUTF8UnicodeLen()
535 n++; in rtl_ImplGetFastUTF8UnicodeLen()
538 return n; in rtl_ImplGetFastUTF8UnicodeLen()
883 sal_Int32 n; in rtl_uString_iterateCodePoints() local
887 n = *indexUtf16; in rtl_uString_iterateCodePoints()
888 OSL_ASSERT(n >= 0 && n <= string->length); in rtl_uString_iterateCodePoints()
890 OSL_ASSERT(n > 0); in rtl_uString_iterateCodePoints()
891 cu = string->buffer[--n]; in rtl_uString_iterateCodePoints()
892 if (SAL_RTL_IS_LOW_SURROGATE(cu) && n != 0 && in rtl_uString_iterateCodePoints()
893 SAL_RTL_IS_HIGH_SURROGATE(string->buffer[n - 1])) in rtl_uString_iterateCodePoints()
895 --n; in rtl_uString_iterateCodePoints()
899 OSL_ASSERT(n >= 0 && n < string->length); in rtl_uString_iterateCodePoints()
900 cu = string->buffer[n]; in rtl_uString_iterateCodePoints()
901 if (SAL_RTL_IS_HIGH_SURROGATE(cu) && string->length - n >= 2 && in rtl_uString_iterateCodePoints()
902 SAL_RTL_IS_LOW_SURROGATE(string->buffer[n + 1])) in rtl_uString_iterateCodePoints()
904 cp = SAL_RTL_COMBINE_SURROGATES(cu, string->buffer[n + 1]); in rtl_uString_iterateCodePoints()
909 OSL_ASSERT(n < string->length); in rtl_uString_iterateCodePoints()
910 cu = string->buffer[n++]; in rtl_uString_iterateCodePoints()
911 if (SAL_RTL_IS_HIGH_SURROGATE(cu) && n != string->length && in rtl_uString_iterateCodePoints()
912 SAL_RTL_IS_LOW_SURROGATE(string->buffer[n])) in rtl_uString_iterateCodePoints()
914 ++n; in rtl_uString_iterateCodePoints()
918 OSL_ASSERT(n >= 0 && n <= string->length); in rtl_uString_iterateCodePoints()
919 *indexUtf16 = n; in rtl_uString_iterateCodePoints()