Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/runtime/tests/
Dstring_test.cpp261 static constexpr char f_string[f_string_length + 1] = "Hello, w"; in TEST_F() local
266 …String *second_string = String::CreateFromMUtf8(reinterpret_cast<const uint8_t *>(f_string), f_str… in TEST_F()
395 char *f_string = new char[string_length + 1]; in TEST_F() local
414 f_string[i] = val1; in TEST_F()
419 f_string[string_length - 2] = uint8_t(0x80); in TEST_F()
421 f_string[string_length - 1] = uint8_t(0x01); in TEST_F()
423 f_string[string_length] = '\0'; in TEST_F()
426 …String *first_utf16_string = String::CreateFromMUtf8(reinterpret_cast<const uint8_t *>(f_string), … in TEST_F()
443 …ASSERT_EQ(String::StringsAreEqual(first_utf16_string, second_utf16_string), strcmp(f_string, s_str… in TEST_F()
451 delete[] f_string; in TEST_F()
[all …]