Home
last modified time | relevance | path

Searched refs:in_text_end (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/imgui/
H A Dimgui_internal.h143 IMGUI_API int ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end); // return output UTF-8 bytes count
144 IMGUI_API int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end); // read one character. return input UTF-8 bytes count
145 IMGUI_API int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, const char** in_remaining = NULL); // return input UTF-8 bytes count
146 IMGUI_API int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end); // return number of UTF-8 code-points (NOT bytes count)
147 IMGUI_API int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end); // return number of bytes to express one char in UTF-8
148 IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end); // return number of bytes to express string in UTF-8
H A Dimgui.cpp1575 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, const char** in_text_remaining) in ImTextStrFromUtf8() argument
1637 while (buf_out < buf_end-1 && (!in_text_end || in_text < in_text_end) in ImTextStrFromUtf8()
1652 ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end) ImTextCountCharsFromUtf8() argument
1706 ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end) ImTextCountUtf8BytesFromChar() argument
1721 ImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end) ImTextStrToUtf8() argument
1737 ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end) ImTextCountUtf8BytesFromStr() argument
[all...]
/third_party/skia/third_party/externals/imgui/
H A Dimgui_internal.h331 IMGUI_API int ImTextStrToUtf8(char* out_buf, int out_buf_size, const ImWchar* in_text, const ImWchar* in_text_end); // return output UTF-8 bytes count
332 IMGUI_API int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end); // read one character. return input UTF-8 bytes count
333 IMGUI_API int ImTextStrFromUtf8(ImWchar* out_buf, int out_buf_size, const char* in_text, const char* in_text_end, const char** in_remaining = NULL); // return input UTF-8 bytes count
334 IMGUI_API int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end); // return number of UTF-8 code-points (NOT bytes count)
335 IMGUI_API int ImTextCountUtf8BytesFromChar(const char* in_text, const char* in_text_end); // return number of bytes to express one char in UTF-8
336 IMGUI_API int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end); // return number of bytes to express string in UTF-8
H A Dimgui.cpp1652 int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end) in ImTextCharFromUtf8() argument
1662 if (in_text_end == NULL) in ImTextCharFromUtf8()
1663 in_text_end = in_text + wanted; // Max length, nulls will be taken into account. in ImTextCharFromUtf8()
1665 // Copy at most 'len' bytes, stop copying at 0 or past in_text_end. Branch predictor does a good job here, in ImTextCharFromUtf8()
1668 s[0] = in_text + 0 < in_text_end ? in_text[0] : 0; in ImTextCharFromUtf8()
1669 s[1] = in_text + 1 < in_text_end ? in_text[1] : 0; in ImTextCharFromUtf8()
1670 s[2] = in_text + 2 < in_text_end ? in_text[2] : 0; in ImTextCharFromUtf8()
1671 s[3] = in_text + 3 < in_text_end ? in_text[3] : 0; in ImTextCharFromUtf8()
1693 // No bytes are consumed when *in_text == 0 || in_text == in_text_end. in ImTextCharFromUtf8()
1704 int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, cons
[all...]

Completed in 31 milliseconds