Home
last modified time | relevance | path

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

12

/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_;
174 Handle<ByteArray> stack_frame(hs.NewHandle(ByteArray::Alloc(self, frame_size))); in CreateFromShadowFrameAndArgs()
203 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in WriteToShadowFrame()
220 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in GetReturnValue()
244 Handle<ByteArray> stack_frame(hs.NewHandle(GetStackFrame())); in SetReturnValue()
Demulated_stack_frame.h70 ObjPtr<mirror::ByteArray> GetStackFrame() REQUIRES_SHARED(Locks::mutator_lock_);
85 HeapReference<mirror::ByteArray> stack_frame_;
Dstring-alloc-inl.h59 SetStringCountAndBytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset, in SetStringCountAndBytesVisitor()
87 Handle<ByteArray> src_array_;
95 SetStringCountAndUtf16BytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset) in SetStringCountAndUtf16BytesVisitor()
123 Handle<ByteArray> src_array_;
248 Handle<ByteArray> array, in AllocFromByteArray()
266 Handle<ByteArray> array, in AllocFromUtf16ByteArray()
Dstring.h139 Handle<ByteArray> array,
148 Handle<ByteArray> array,
234 void FillBytesLatin1(Handle<ByteArray> array, int32_t index)
237 void FillBytesUTF16(Handle<ByteArray> array, int32_t index)
Dstring.cc412 void String::FillBytesLatin1(Handle<ByteArray> array, int32_t index) { in FillBytesLatin1()
428 void String::FillBytesUTF16(Handle<ByteArray> array, int32_t index) { in FillBytesUTF16()
Dvar_handle.h346 ObjPtr<ByteArray> heap_byte_array,
Dobject.h54 using ByteArray = PrimitiveArray<int8_t>; variable
220 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.cc1844 ObjPtr<ByteArray> byte_array(raw_byte_array->AsByteArray()); in Access()
1970 ObjPtr<ByteArray> heap_byte_array = byte_buffer->GetFieldObject<ByteArray>( in Access()
/art/runtime/native/
Djava_lang_StringFactory.cc41 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromBytes()
67 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf16Bytes()
142 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(java_data))); in StringFactory_newStringFromUtf8Bytes()
Dlibcore_util_CharsetUtils.cc67 ObjPtr<mirror::ByteArray> result = mirror::ByteArray::Alloc(soa.Self(), length); in charsToBytes()
121 ObjPtr<mirror::ByteArray> result = in CharsetUtils_toUtf8Bytes()
122 mirror::ByteArray::Alloc(soa.Self(), dchecked_integral_cast<int32_t>(utf8_length)); in CharsetUtils_toUtf8Bytes()
Djava_lang_String.cc95 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(buffer))); in String_fillBytesLatin1()
103 Handle<mirror::ByteArray> byte_array(hs.NewHandle(soa.Decode<mirror::ByteArray>(buffer))); in String_fillBytesUTF16()
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.cc374 copyToArray(srcAddr, ObjPtr<mirror::ByteArray>::DownCast(dst), dst_offset, sz); in Unsafe_copyMemoryToPrimitiveArray()
409 copyFromArray(dstAddr, ObjPtr<mirror::ByteArray>::DownCast(src), src_offset, sz); in Unsafe_copyMemoryFromPrimitiveArray()
/art/runtime/
Dreference_table_test.cc298 Handle<mirror::ByteArray> b1_1 = hs.NewHandle(mirror::ByteArray::Alloc(soa.Self(), 1)); in TEST_F()
300 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F()
302 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F()
303 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 1)); in TEST_F()
304 rt.Add(mirror::ByteArray::Alloc(soa.Self(), 2)); in TEST_F()
Ddebugger.cc192 Handle<mirror::ByteArray> data_array = in DdmHandleChunk()
193 hs.NewHandle(mirror::ByteArray::Alloc(soa.Self(), data.size())); in DdmHandleChunk()
227 ObjPtr<mirror::ByteArray> reply_data = ObjPtr<mirror::ByteArray>::DownCast( in DdmHandleChunk()
Druntime.h82 using ByteArray = PrimitiveArray<int8_t>; variable
Druntime_image.cc1155 Handle<mirror::ByteArray> header_data = handles.NewHandle( in WriteObjects()
1156 mirror::ByteArray::Alloc(soa.Self(), oat_header->GetHeaderSize() + checksums_size)); in WriteObjects()
Dtransaction_test.cc441 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.cc103 art::ObjPtr<art::mirror::ByteArray> byte_array(orig_dex->AsByteArray()); in Init()
/art/runtime/interpreter/
Dunstarted_runtime.cc616 Handle<mirror::ByteArray> h_array(hs.NewHandle(mirror::ByteArray::Alloc(self, map_size))); in GetResourceAsStream()
1329 ObjPtr<mirror::ByteArray> byte_array = array->AsByteArray(); in UnstartedMemoryPeekArray()
1423 Handle<mirror::ByteArray> h_byte_array( in UnstartedStringFactoryNewStringFromBytes()
2032 Handle<mirror::ByteArray> h_buffer(hs.NewHandle( in UnstartedJNIStringFillBytesLatin1()
2033 reinterpret_cast<mirror::ByteArray*>(args[0])->AsByteArray())); in UnstartedJNIStringFillBytesLatin1()
2046 Handle<mirror::ByteArray> h_buffer(hs.NewHandle( in UnstartedJNIStringFillBytesUTF16()
2047 reinterpret_cast<mirror::ByteArray*>(args[0])->AsByteArray())); in UnstartedJNIStringFillBytesUTF16()
Dinterpreter_switch_impl-inl.h1025 return HandleAGet<mirror::ByteArray>(&InstructionHandler::SetVReg); in AGET_BYTE()
1053 return HandleAPut<mirror::ByteArray>(GetVReg(A())); in APUT_BYTE()
/art/runtime/jni/
Djni_internal.cc2286 return NewPrimitiveArray<jbyteArray, mirror::ByteArray>(env, length); in NewByteArray()
2410 return GetPrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, is_copy); in GetByteArrayElements()
2444 ReleasePrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, elements, mode); in ReleaseByteArrayElements()
2482 GetPrimitiveArrayRegion<jbyteArray, jbyte, mirror::ByteArray>(env, array, start, length, buf); in GetByteArrayRegion()
2526 SetPrimitiveArrayRegion<jbyteArray, jbyte, mirror::ByteArray>(env, array, start, length, buf); in SetByteArrayRegion()

12