Searched refs:STRING_BUFFER_LENGTH (Results 1 – 1 of 1) sorted by relevance
49 #define STRING_BUFFER_LENGTH 1024 macro83 char loclstr[STRING_BUFFER_LENGTH*3+1]; // UTF-8 encoding is max 3 bytes per UCS2 char. in utf16_to_utf8()87 size_t convmax = STRING_BUFFER_LENGTH*3; in utf16_to_utf8()96 loclstr[STRING_BUFFER_LENGTH*3] = '\0'; in utf16_to_utf8()116 char unicstr[(STRING_BUFFER_LENGTH+1)*2]; // UCS2 encoding is 2 bytes per UTF-8 char. in utf8_to_utf16()120 size_t convmax = STRING_BUFFER_LENGTH*2; in utf8_to_utf16()134 unicstr[STRING_BUFFER_LENGTH*2] = '\0'; in utf8_to_utf16()135 unicstr[STRING_BUFFER_LENGTH*2+1] = '\0'; in utf8_to_utf16()