Home
last modified time | relevance | path

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

/art/runtime/mirror/
Demulated_stack_frame-inl.h42 inline ObjPtr<mirror::ByteArray> EmulatedStackFrame::GetStackFrame() { in GetStackFrame()
43 return GetFieldObject<mirror::ByteArray>( in GetStackFrame()
Demulated_stack_frame.cc79 Handle<mirror::ByteArray> stack_frame, in EmulatedStackFrameAccessor()
137 Handle<mirror::ByteArray> stack_frame_;
182 Handle<ByteArray> stack_frame(hs.NewHandle(ByteArray::Alloc(self, frame_size))); in CreateFromShadowFrameAndArgs()
223 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in WriteToShadowFrame()
241 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in GetReturnValue()
265 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in SetReturnValue()
Demulated_stack_frame.h69 ObjPtr<mirror::ByteArray> GetStackFrame() REQUIRES_SHARED(Locks::mutator_lock_);
89 HeapReference<mirror::ByteArray> stack_frame_;
Dstring-alloc-inl.h58 SetStringCountAndBytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset, in SetStringCountAndBytesVisitor()
86 Handle<ByteArray> src_array_;
212 Handle<ByteArray> array, in AllocFromByteArray()
Dvar_handle.h298 ObjPtr<ByteArray> heap_byte_array,
Dstring.h126 Handle<ByteArray> array,
Dobject.h53 typedef PrimitiveArray<int8_t> ByteArray; typedef
213 ObjPtr<ByteArray> AsByteArray() REQUIRES_SHARED(Locks::mutator_lock_);
Dobject-inl.h224 inline ObjPtr<ByteArray> Object::AsByteArray() { in AsByteArray()
226 return ObjPtr<ByteArray>::DownCast(this); in AsByteArray()
Dvar_handle.cc1806 ObjPtr<ByteArray> byte_array(raw_byte_array->AsByteArray()); in Access()
1931 ObjPtr<ByteArray> heap_byte_array = byte_buffer->GetFieldObject<ByteArray>( in Access()
Dobject_test.cc241 TestPrimitiveArray<ByteArray>(class_linker_); in TEST_F()
Dvar_handle_test.cc98 Handle<Class> byte_array_class(hs.NewHandle(GetClassRoot<mirror::ByteArray>())); in CreateByteArrayViewVarHandle()
/art/runtime/native/
Djava_lang_StringFactory.cc41 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromBytes()
112 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf8Bytes()
Dlibcore_util_CharsetUtils.cc85 ObjPtr<mirror::ByteArray> result = mirror::ByteArray::Alloc(soa.Self(), length); in charsToBytes()
171 ObjPtr<mirror::ByteArray> result = in CharsetUtils_toUtf8Bytes()
172 mirror::ByteArray::Alloc(soa.Self(), dchecked_integral_cast<int32_t>(utf8_length)); in CharsetUtils_toUtf8Bytes()
Djava_lang_System.cc105 ObjPtr<mirror::ByteArray>::DownCast(dstArray)->Memmove( in System_arraycopy()
106 dstPos, ObjPtr<mirror::ByteArray>::DownCast(srcArray), srcPos, count); in System_arraycopy()
197 System_arraycopyTUnchecked<mirror::ByteArray, Primitive::kPrimByte>(env, javaSrc, srcPos, in System_arraycopyByteUnchecked()
Dsun_misc_Unsafe.cc370 copyToArray(srcAddr, ObjPtr<mirror::ByteArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
405 copyFromArray(dstAddr, ObjPtr<mirror::ByteArray>::DownCast(src), src_offset, sz); in Unsafe_copyMemoryFromPrimitiveArray()
/art/runtime/
Dreference_table_test.cc299 Handle<mirror::ByteArray> b1_1 = hs.NewHandle(mirror::ByteArray::Alloc(soa.Self(), 1)); in TEST_F()
301 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F()
303 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F()
304 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 1)); in TEST_F()
305 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F()
Druntime.h76 typedef PrimitiveArray<int8_t> ByteArray; typedef
Dtransaction_test.cc390 Handle<mirror::ByteArray> byteArray = in TEST_F()
/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/openjdkjvmti/
Dti_class_definition.cc157 art::Handle<art::mirror::ByteArray> orig_dex_bytes(hs.NewHandle(orig_dex->AsByteArray())); in GetDexDataForRetransformation()
317 art::ObjPtr<art::mirror::ByteArray> orig_dex( in Init()
Dti_class.cc242 arr.Assign(art::mirror::ByteArray::AllocateAndFill( in ClassPreDefine()
Dti_redefine.cc780 return art::mirror::ByteArray::AllocateAndFill( in AllocateOrGetOriginalDexFile()
/art/runtime/interpreter/
Dunstarted_runtime.cc567 Handle<mirror::ByteArray> h_array(hs.NewHandle(mirror::ByteArray::Alloc(self, map_size))); in GetResourceAsStream()
1246 ObjPtr<mirror::ByteArray> byte_array = array->AsByteArray(); in UnstartedMemoryPeekArray()
Dinterpreter_switch_impl-inl.h848 return HandleAGet<mirror::ByteArray>(&InstructionHandler::SetVReg); in AGET_BYTE()
876 return HandleAPut<mirror::ByteArray>(GetVReg(A())); in APUT_BYTE()
/art/runtime/jni/
Djni_internal.cc2189 return NewPrimitiveArray<jbyteArray, mirror::ByteArray>(env, length); in NewByteArray()
2311 return GetPrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, is_copy); in GetByteArrayElements()
2345 ReleasePrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, elements, mode); in ReleaseByteArrayElements()
2383 GetPrimitiveArrayRegion<jbyteArray, jbyte, mirror::ByteArray>(env, array, start, length, buf); in GetByteArrayRegion()
2427 SetPrimitiveArrayRegion<jbyteArray, jbyte, mirror::ByteArray>(env, array, start, length, buf); in SetByteArrayRegion()