Searched refs:UTF8_insert_char_at (Results 1 – 4 of 4) sorted by relevance
/dports/games/ufoai/ufoai-2.5-source/src/tests/ |
H A D | test_generic.cpp | 543 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, sizeof(buf), 1, (int)'n'), 1); in testStringFunctions() 547 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, sizeof(buf), 5, 0x0403), 2); in testStringFunctions() 551 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, sizeof(buf), -1, 0x0404), 2); in testStringFunctions() 555 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, sizeof(buf), 999, 0x0405), 2); in testStringFunctions() 561 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, 8, 0, 0x0405), 0); in testStringFunctions() 565 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, 7, 0, (int)'o'), 0); in testStringFunctions() 569 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, 9, 1, 0x0406), 2); in testStringFunctions() 573 CU_ASSERT_EQUAL(UTF8_insert_char_at(buf, 10, 1, (int)'s'), 1); in testStringFunctions()
|
/dports/games/ufoai/ufoai-2.5-source/src/client/ui/node/ |
H A D | ui_node_textentry.cpp | 220 …int insertedLength = UTF8_insert_char_at(buffer, sizeof(buffer), EXTRADATA(node).cursorPosition, u… in UI_TextEntryNodeEdit() 330 UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_ON); in draw() 332 UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_OFF); in draw()
|
/dports/games/ufoai/ufoai-2.5-source/src/shared/ |
H A D | utf8.h | 38 int UTF8_insert_char_at(char* s, int n, int pos, int codepoint);
|
H A D | utf8.cpp | 63 int UTF8_insert_char_at (char* s, int n, int pos, int c) in UTF8_insert_char_at() function
|