Home
last modified time | relevance | path

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

/art/runtime/native/
Djava_lang_StringFactory.cc41 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromBytes() local
42 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromBytes()
52 byte_array, in StringFactory_newStringFromBytes()
67 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf16Bytes() local
68 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromUtf16Bytes()
83 byte_array, in StringFactory_newStringFromUtf16Bytes()
142 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf8Bytes() local
143 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromUtf8Bytes()
199 jbyte* d = byte_array->GetData(); in StringFactory_newStringFromUtf8Bytes()
Djava_lang_String.cc95 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(buffer))); in String_fillBytesLatin1() local
96 soa.Decode<mirror::String>(java_this)->FillBytesLatin1(byte_array, byteIndex); in String_fillBytesLatin1()
103 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(buffer))); in String_fillBytesUTF16() local
104 soa.Decode<mirror::String>(java_this)->FillBytesUTF16(byte_array, byteIndex); in String_fillBytesUTF16()
/art/openjdkjvmti/
Dti_class_definition.cc103 art::ObjPtr<art::mirror::ByteArray> byte_array(orig_dex->AsByteArray()); in Init() local
104 dex_data_memory_.resize(byte_array->GetLength()); in Init()
105 memcpy(dex_data_memory_.data(), byte_array->GetData(), dex_data_memory_.size()); in Init()
/art/test/004-JniTest/
Djni_test.cc633 jbyteArray byte_array = env->NewByteArray(byte_array_length); in Java_Main_testNewStringObject() local
634 …env->SetByteArrayRegion(byte_array, 0, byte_array_length, reinterpret_cast<const jbyte*>(test_arra… in Java_Main_testNewStringObject()
637 jstring s = reinterpret_cast<jstring>(env->NewObject(c, mid2, byte_array)); in Java_Main_testNewStringObject()
660 env->CallNonvirtualVoidMethod(s2, c, mid2, byte_array); in Java_Main_testNewStringObject()
679 env->CallNonvirtualVoidMethod(s6, c, mid2, byte_array); in Java_Main_testNewStringObject()
/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.cc104 mirror::ByteArray* byte_array, int32_t high, int32_t offset, int32_t byte_count, \
109 Handle<mirror::ByteArray> handle_array(hs.NewHandle(byte_array)); \
/art/runtime/mirror/
Dvar_handle.cc1844 ObjPtr<ByteArray> byte_array(raw_byte_array->AsByteArray()); in Access() local
1851 if (!CheckElementIndex(primitive_type, data_offset, byte_array->GetLength())) { in Access()
1855 int8_t* const data = byte_array->GetData(); in Access()
/art/runtime/interpreter/
Dunstarted_runtime.cc1329 ObjPtr<mirror::ByteArray> byte_array = array->AsByteArray(); in UnstartedMemoryPeekArray() local
1331 byte_array->SetWithoutChecks<true>(i + offset, *address); in UnstartedMemoryPeekArray()
/art/compiler/optimizing/
Dintrinsics_x86.cc1347 Register byte_array = locations->InAt(0).AsRegister<Register>(); in VisitStringNewStringFromBytes() local
1348 __ testl(byte_array, byte_array); in VisitStringNewStringFromBytes()
Dintrinsics_x86_64.cc1505 CpuRegister byte_array = locations->InAt(0).AsRegister<CpuRegister>(); in VisitStringNewStringFromBytes() local
1506 __ testl(byte_array, byte_array); in VisitStringNewStringFromBytes()
Dintrinsics_riscv64.cc969 XRegister byte_array = locations->InAt(0).AsRegister<XRegister>(); in VisitStringNewStringFromBytes() local
974 __ Beqz(byte_array, slow_path->GetEntryLabel()); in VisitStringNewStringFromBytes()
Dintrinsics_arm_vixl.cc1140 vixl32::Register byte_array = InputRegisterAt(invoke, 0); in VisitStringNewStringFromBytes() local
1141 __ Cmp(byte_array, 0); in VisitStringNewStringFromBytes()
Dintrinsics_arm64.cc2344 Register byte_array = WRegisterFrom(locations->InAt(0)); in VisitStringNewStringFromBytes() local
2345 __ Cmp(byte_array, 0); in VisitStringNewStringFromBytes()