Lines Matching refs:in_text_end
1575 int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end) in ImTextCharFromUtf8() argument
1588 if (in_text_end && in_text_end - (const char*)str < 2) return 1; in ImTextCharFromUtf8()
1599 if (in_text_end && in_text_end - (const char*)str < 3) return 1; in ImTextCharFromUtf8()
1613 if (in_text_end && in_text_end - (const char*)str < 4) return 1; in ImTextCharFromUtf8()
1633 int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, con… in ImTextStrFromUtf8() argument
1637 while (buf_out < buf_end-1 && (!in_text_end || in_text < in_text_end) && *in_text) in ImTextStrFromUtf8()
1640 in_text += ImTextCharFromUtf8(&c, in_text, in_text_end); in ImTextStrFromUtf8()
1652 int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end) in ImTextCountCharsFromUtf8() argument
1655 while ((!in_text_end || in_text < in_text_end) && *in_text) in ImTextCountCharsFromUtf8()
1658 in_text += ImTextCharFromUtf8(&c, in_text, in_text_end); in ImTextCountCharsFromUtf8()
1706 int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end) in ImTextCountUtf8BytesFromChar() argument
1709 return ImTextCharFromUtf8(&dummy, in_text, in_text_end); in ImTextCountUtf8BytesFromChar()
1721 int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end) in ImTextStrToUtf8() argument
1725 while (buf_out < buf_end-1 && (!in_text_end || in_text < in_text_end) && *in_text) in ImTextStrToUtf8()
1737 int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end) in ImTextCountUtf8BytesFromStr() argument
1740 while ((!in_text_end || in_text < in_text_end) && *in_text) in ImTextCountUtf8BytesFromStr()