Home
last modified time | relevance | path

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

/art/libartbase/base/
Dleb128_test.cc99 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); in TEST()
101 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
103 if (j < builder.GetData().size()) { in TEST()
138 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
149 EXPECT_EQ(builder.GetData().size(), in TEST()
150 static_cast<size_t>(encoded_data_ptr - &builder.GetData()[0])); in TEST()
180 EXPECT_EQ(SignedLeb128Size(sleb128_tests[i].decoded), builder.GetData().size()); in TEST()
182 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
184 if (j < builder.GetData().size()) { in TEST()
219 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST()
[all …]
Dleb128.h347 const Vector& GetData() const { in GetData() function
/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()
242 const int8_t* array = stack_frame->GetData(); in GetReturnValue()
266 int8_t* array = stack_frame->GetData(); in SetReturnValue()
Dstring-alloc-inl.h70 const uint8_t* const src = reinterpret_cast<uint8_t*>(src_array_->GetData()) + offset_; in operator()
104 const uint16_t* const src = src_array_->GetData() + offset_; in operator()
216 const uint8_t* const src = reinterpret_cast<uint8_t*>(array->GetData()) + offset; in AllocFromByteArray()
234 String::AllASCII<uint16_t>(array->GetData() + offset, count); in AllocFromCharArray()
Darray.h170 const T* GetData() const ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { in GetData() function
174 T* GetData() ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { in GetData() function
182 return GetData()[i]; in GetWithoutChecks()
Dstring.cc328 uint16_t* dest = result->GetData(); in ToCharArray()
333 memcpy(result->GetData(), h_this->GetValue(), h_this->GetLength() * sizeof(uint16_t)); in ToCharArray()
342 uint16_t* data = array->GetData() + index; in GetChars()
Darray-alloc-inl.h177 memcpy(arr->GetData(), data, sizeof(T) * length); in AllocateAndFill()
Darray-inl.h102 GetData()[i] = value; in SetWithoutChecks()
Dvar_handle.cc1034 return &primitive_array->GetData()[target_element]; in GetElementAddress()
1817 int8_t* const data = byte_array->GetData(); in Access()
1933 data = heap_byte_array->GetData(); in Access()
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc93 memcpy(result->GetData(), string->GetValueCompressed() + offset, length); in charsToBytes()
99 std::transform(src, src + length, result->GetData(), clamp); in charsToBytes()
178 memcpy(result->GetData(), string->GetValueCompressed() + offset, length); in CharsetUtils_toUtf8Bytes()
180 int8_t* data = result->GetData(); in CharsetUtils_toUtf8Bytes()
Djava_lang_StringFactory.cc169 jbyte* d = byte_array->GetData(); in StringFactory_newStringFromUtf8Bytes()
/art/runtime/
Dquicken_info.h54 uint16_t GetData(size_t index) const { in GetData() function
Dclass_linker_test.cc1102 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F()
1107 data_offset = reinterpret_cast<uintptr_t>(double_array->GetData()); in TEST_F()
1112 data_offset = reinterpret_cast<uintptr_t>(int_array->GetData()); in TEST_F()
1117 data_offset = reinterpret_cast<uintptr_t>(char_array->GetData()); in TEST_F()
1122 data_offset = reinterpret_cast<uintptr_t>(short_array->GetData()); in TEST_F()
/art/openjdkjvmti/
Dti_class_definition.cc159 memcpy(dex_data->data(), orig_dex_bytes->GetData(), dex_data->size()); in GetDexDataForRetransformation()
320 memcpy(dex_data_memory_.data(), orig_dex->GetData(), dex_data_memory_.size()); in Init()
/art/tools/hiddenapi/
Dhiddenapi.cc125 const uint8_t* GetData() const { return dex_file_.GetClassData(GetClassDef()); } in GetData() function in art::hiddenapi::DexClass
635 const std::vector<uint8_t>& GetData() const { in GetData() function in art::hiddenapi::HiddenapiClassDataBuilder
1002 if (boot_class.GetData() != nullptr) { in EncodeAccessFlags()
1021 DexFileEditor dex_editor(input_dex, builder.GetData()); in EncodeAccessFlags()
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc279 uint16_t* dst = array->GetData() + index; in MterpStringGetCharsNoCheck()
Dunstarted_runtime_test.cc344 memcpy(buf, h_char_array->GetData(), kBaseLen * sizeof(uint16_t)); in TEST_F()
348 uint16_t* data = h_char_array->GetData(); in TEST_F()
Dunstarted_runtime.cc573 memcpy(h_array->GetData(), mem_map.Begin(), map_size); in GetResourceAsStream()
/art/compiler/optimizing/
Doptimizing_compiler.cc88 uint8_t* GetData() { return memory_.data(); } in GetData() function in art::CodeVectorAllocator
1381 codegen->EmitJitRoots(code_allocator.GetData(), roots_data, &roots); in JitCompile()
/art/runtime/jni/
Djni_internal.cc2820 memcpy(data, array->GetData(), size); in GetPrimitiveArray()
2826 return reinterpret_cast<ElementT*>(array->GetData()); in GetPrimitiveArray()
2896 ElementT* data = array->GetData(); in GetPrimitiveArrayRegion()
2914 ElementT* data = array->GetData(); in SetPrimitiveArrayRegion()