Searched refs:byte_array (Results 1 – 12 of 12) sorted by relevance
/art/runtime/native/ |
D | java_lang_StringFactory.cc | 41 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()
|
D | java_lang_String.cc | 95 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/ |
D | ti_class_definition.cc | 103 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/ |
D | jni_test.cc | 633 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/ |
D | quick_alloc_entrypoints.cc | 104 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/ |
D | var_handle.cc | 1844 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/ |
D | unstarted_runtime.cc | 1329 ObjPtr<mirror::ByteArray> byte_array = array->AsByteArray(); in UnstartedMemoryPeekArray() local 1331 byte_array->SetWithoutChecks<true>(i + offset, *address); in UnstartedMemoryPeekArray()
|
/art/compiler/optimizing/ |
D | intrinsics_x86.cc | 1347 Register byte_array = locations->InAt(0).AsRegister<Register>(); in VisitStringNewStringFromBytes() local 1348 __ testl(byte_array, byte_array); in VisitStringNewStringFromBytes()
|
D | intrinsics_x86_64.cc | 1505 CpuRegister byte_array = locations->InAt(0).AsRegister<CpuRegister>(); in VisitStringNewStringFromBytes() local 1506 __ testl(byte_array, byte_array); in VisitStringNewStringFromBytes()
|
D | intrinsics_riscv64.cc | 969 XRegister byte_array = locations->InAt(0).AsRegister<XRegister>(); in VisitStringNewStringFromBytes() local 974 __ Beqz(byte_array, slow_path->GetEntryLabel()); in VisitStringNewStringFromBytes()
|
D | intrinsics_arm_vixl.cc | 1140 vixl32::Register byte_array = InputRegisterAt(invoke, 0); in VisitStringNewStringFromBytes() local 1141 __ Cmp(byte_array, 0); in VisitStringNewStringFromBytes()
|
D | intrinsics_arm64.cc | 2344 Register byte_array = WRegisterFrom(locations->InAt(0)); in VisitStringNewStringFromBytes() local 2345 __ Cmp(byte_array, 0); in VisitStringNewStringFromBytes()
|