Searched refs:utf_byte_count (Results 1 – 2 of 2) sorted by relevance
/art/test/906-iterate-heap/ |
D | iterate_heap.cc | 201 size_t utf_byte_count = ti::CountUtf8Bytes(value, value_length); in Java_art_Test906_iterateThroughHeapString() local 202 std::unique_ptr<char[]> mod_utf(new char[utf_byte_count + 1]); in Java_art_Test906_iterateThroughHeapString() 203 memset(mod_utf.get(), 0, utf_byte_count + 1); in Java_art_Test906_iterateThroughHeapString() 204 ti::ConvertUtf16ToModifiedUtf8(mod_utf.get(), utf_byte_count, value, value_length); in Java_art_Test906_iterateThroughHeapString()
|
/art/test/913-heaps/ |
D | heaps.cc | 581 size_t utf_byte_count = ti::CountUtf8Bytes(value, value_length); in Java_art_Test913_followReferencesString() local 582 std::unique_ptr<char[]> mod_utf(new char[utf_byte_count + 1]); in Java_art_Test913_followReferencesString() 583 memset(mod_utf.get(), 0, utf_byte_count + 1); in Java_art_Test913_followReferencesString() 584 ti::ConvertUtf16ToModifiedUtf8(mod_utf.get(), utf_byte_count, value, value_length); in Java_art_Test913_followReferencesString()
|