Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 23 of 23) sorted by relevance

/art/libartbase/base/
Dleb128_test.cc157 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); in TEST()
159 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
161 if (j < builder.GetData().size()) { in TEST()
216 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
227 EXPECT_EQ(builder.GetData().size(), in TEST()
228 static_cast<size_t>(encoded_data_ptr - &builder.GetData()[0])); in TEST()
281 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), builder.GetData().size()); in TEST()
283 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
285 if (j < builder.GetData().size()) { in TEST()
340 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
[all …]
Dleb128.h253 const Vector& GetData() const { in GetData() function
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc75 memcpy(result->GetData(), string->GetValueCompressed() + offset, length); in charsToBytes()
81 std::transform(src, src + length, result->GetData(), clamp); in charsToBytes()
128 memcpy(result->GetData(), string->GetValueCompressed() + offset, length); in CharsetUtils_toUtf8Bytes()
131 int8_t* data = result->GetData(); in CharsetUtils_toUtf8Bytes()
Djava_lang_StringFactory.cc199 jbyte* d = byte_array->GetData(); in StringFactory_newStringFromUtf8Bytes()
/art/runtime/mirror/
Demulated_stack_frame.cc94 int8_t* array = stack_frame_->GetData(); in Set()
102 int8_t* array = stack_frame_->GetData(); in SetLong()
114 const int8_t* array = stack_frame_->GetData(); in Get()
125 const int8_t* array = stack_frame_->GetData(); in GetLong()
221 const int8_t* array = stack_frame->GetData(); in GetReturnValue()
245 int8_t* array = stack_frame->GetData(); in SetReturnValue()
Dstring-alloc-inl.h71 const uint8_t* const src = reinterpret_cast<uint8_t*>(src_array_->GetData()) + offset_; in operator()
106 const uint8_t* const src = reinterpret_cast<uint8_t*>(src_array_->GetData()) + offset_; in operator()
140 const uint16_t* const src = src_array_->GetData() + offset_; in operator()
252 const uint8_t* const src = reinterpret_cast<uint8_t*>(array->GetData()) + offset; in AllocFromByteArray()
271 const uint8_t* const src = reinterpret_cast<uint8_t*>(array->GetData()) + offset; in AllocFromUtf16ByteArray()
296 String::AllASCII<uint16_t>(array->GetData() + offset, count); in AllocFromCharArray()
Dstring.cc384 uint16_t* dest = result->GetData(); in ToCharArray()
389 memcpy(result->GetData(), h_this->GetValue(), h_this->GetLength() * sizeof(uint16_t)); in ToCharArray()
398 uint16_t* data = array->GetData() + index; in GetChars()
413 int8_t* data = array->GetData() + index; in FillBytesLatin1()
429 int8_t* data = array->GetData() + index; in FillBytesUTF16()
Darray.h174 const T* GetData() const ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { in GetData() function
178 T* GetData() ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { in GetData() function
186 return GetData()[i]; in GetWithoutChecks()
Darray-alloc-inl.h177 memcpy(arr->GetData(), data, sizeof(T) * length); in AllocateAndFill()
Darray-inl.h106 GetData()[i] = value; in SetWithoutChecks()
Dvar_handle.cc1040 return &primitive_array->GetData()[target_element]; in GetElementAddress()
1855 int8_t* const data = byte_array->GetData(); in Access()
1972 data = heap_byte_array->GetData(); in Access()
/art/openjdkjvmti/
Dti_class_definition.cc105 memcpy(dex_data_memory_.data(), byte_array->GetData(), dex_data_memory_.size()); in Init()
/art/tools/hiddenapi/
Dhiddenapi.cc128 const uint8_t* GetData() const { return dex_file_.GetClassData(GetClassDef()); } in GetData() function in art::hiddenapi::DexClass
616 const std::vector<uint8_t>& GetData() const { in GetData() function in art::hiddenapi::HiddenapiClassDataBuilder
893 if (boot_class.GetData() != nullptr) { in EncodeAccessFlags()
920 dex_editor.Add(input_dex, std::move(builder.GetData())); in EncodeAccessFlags()
/art/runtime/
Dstring_builder_append.cc310 DCHECK(mirror::String::AllASCII(buffer->GetData(), length)); in ConvertFpArgs()
311 std::copy_n(buffer->GetData(), length, converted_fp_args_[fp_arg_index]); in ConvertFpArgs()
Ddebugger.cc199 memcpy(data_array->GetData(), data.data(), data.size()); in DdmHandleChunk()
252 memcpy(out_data->data(), reply_data->GetData() + offset, length); in DdmHandleChunk()
Dclass_linker_test.cc1115 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F()
1120 data_offset = reinterpret_cast<uintptr_t>(double_array->GetData()); in TEST_F()
1125 data_offset = reinterpret_cast<uintptr_t>(int_array->GetData()); in TEST_F()
1130 data_offset = reinterpret_cast<uintptr_t>(char_array->GetData()); in TEST_F()
1135 data_offset = reinterpret_cast<uintptr_t>(short_array->GetData()); in TEST_F()
Druntime_image.cc1165 memcpy(header_data->GetData(), oat_header.get(), oat_header->GetHeaderSize()); in WriteObjects()
1166 memcpy(header_data->GetData() + oat_header->GetHeaderSize(), checksums.data(), checksums_size); in WriteObjects()
Dclass_linker.cc2169 OatHeader* oat_header = reinterpret_cast<OatHeader*>(special_root->AsByteArray()->GetData()); in AddImageSpace()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc287 memcpy(buf, h_char_array->GetData(), kBaseLen * sizeof(uint16_t)); in TEST_F()
291 uint16_t* data = h_char_array->GetData(); in TEST_F()
Dunstarted_runtime.cc622 memcpy(h_array->GetData(), mem_map.Begin(), map_size); in GetResourceAsStream()
/art/runtime/jni/
Djni_internal.cc2964 memcpy(data, array->GetData(), size); in GetPrimitiveArray()
2970 return reinterpret_cast<ElementT*>(array->GetData()); in GetPrimitiveArray()
3040 ElementT* data = array->GetData(); in GetPrimitiveArrayRegion()
3058 ElementT* data = array->GetData(); in SetPrimitiveArrayRegion()
/art/compiler/utils/riscv64/
Dassembler_riscv64.h179 const uint8_t* GetData() const { return data_; } in GetData() function
200 const ArenaVector<Riscv64Label*>& GetData() const { return labels_; } in GetData() function
Dassembler_riscv64.cc7381 for (size_t cnt = table.GetData().size(), i = 0; i < cnt; ++i) { in ReserveJumpTableSpace()
7507 for (Riscv64Label* target : table.GetData()) { in EmitJumpTables()
7527 buffer_.Emit<uint8_t>(literal.GetData()[i]); in EmitLiterals()
7541 buffer_.Emit<uint8_t>(literal.GetData()[i]); in EmitLiterals()