Searched refs:STRING_BUFFER_LENGTH (Results 1 – 1 of 1) sorted by relevance
48 #define STRING_BUFFER_LENGTH 1024 macro82 char loclstr[STRING_BUFFER_LENGTH*3+1]; // UTF-8 encoding is max 3 bytes per UCS2 char. in utf16_to_utf8()86 size_t convmax = STRING_BUFFER_LENGTH*3; in utf16_to_utf8()95 loclstr[STRING_BUFFER_LENGTH*3] = '\0'; in utf16_to_utf8()115 char unicstr[(STRING_BUFFER_LENGTH+1)*2]; // UCS2 encoding is 2 bytes per UTF-8 char. in utf8_to_utf16()119 size_t convmax = STRING_BUFFER_LENGTH*2; in utf8_to_utf16()133 unicstr[STRING_BUFFER_LENGTH*2] = '\0'; in utf8_to_utf16()134 unicstr[STRING_BUFFER_LENGTH*2+1] = '\0'; in utf8_to_utf16()