Home
last modified time | relevance | path

Searched refs:cesu8_length (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-api-strings.cpp68 jerry_length_t cesu8_length, utf8_length; variable
128 cesu8_length = jerry_get_string_length (args[0]);
134 TEST_ASSERT (cesu8_length == 10 && utf8_length == 8);
183 cesu8_length = jerry_get_string_length (args[0]);
189 TEST_ASSERT (cesu8_length == 7 && utf8_length == 6);
198 cesu8_length = jerry_get_string_length (args[0]);
204 TEST_ASSERT (cesu8_length == utf8_length);
205 TEST_ASSERT (cesu8_length == 10);
263 cesu8_length = jerry_get_string_length (args[0]);
265 TEST_ASSERT (cesu8_length == 15);
[all …]
Dtest-api.cpp373 jerry_length_t cesu8_length; variable
1010 cesu8_length = jerry_get_string_length (args[0]);
1017 TEST_ASSERT (cesu8_length == 7);
1018 TEST_ASSERT (cesu8_length == cesu8_sz);
1031 cesu8_length = jerry_get_string_length (args[1]);
1038 TEST_ASSERT (cesu8_length == 2);