Home
last modified time | relevance | path

Searched refs:data_ptr (Results 1 – 7 of 7) sorted by relevance

/art/libartbase/base/
Dleb128_test.cc100 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST() local
104 EXPECT_EQ(data_ptr[j], encoded_data_ptr[j]) << " i = " << i << " j = " << j; in TEST()
106 EXPECT_EQ(data_ptr[j], 0U) << " i = " << i << " j = " << j; in TEST()
109 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
120 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST() local
123 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j; in TEST()
125 EXPECT_EQ(data_ptr[j], 0U) << " i = " << i << " j = " << j; in TEST()
128 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
140 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST() local
142 EXPECT_EQ(data_ptr[j], encoded_data_ptr[j]) << " i = " << i << " j = " << j; in TEST()
[all …]
/art/runtime/
Doat.cc442 char* data_ptr = reinterpret_cast<char*>(&key_value_store_); in Flatten() local
447 strlcpy(data_ptr, it->first.c_str(), it->first.length() + 1); in Flatten()
448 data_ptr += it->first.length() + 1; in Flatten()
449 strlcpy(data_ptr, it->second.c_str(), it->second.length() + 1); in Flatten()
450 data_ptr += it->second.length() + 1; in Flatten()
453 key_value_store_size_ = data_ptr - reinterpret_cast<char*>(&key_value_store_); in Flatten()
/art/openjdkjvmti/
Dti_thread.h107 static jvmtiError GetThreadLocalStorage(jvmtiEnv* env, jthread thread, void** data_ptr);
Dti_thread.cc727 void** data_ptr) { in GetThreadLocalStorage() argument
728 if (data_ptr == nullptr) { in GetThreadLocalStorage()
743 *data_ptr = nullptr; in GetThreadLocalStorage()
748 *data_ptr = const_cast<void*>(it->second); in GetThreadLocalStorage()
750 *data_ptr = nullptr; in GetThreadLocalStorage()
DOpenjdkJvmTi.cc253 static jvmtiError GetThreadLocalStorage(jvmtiEnv* env, jthread thread, void** data_ptr) { in GetThreadLocalStorage() argument
255 return ThreadUtil::GetThreadLocalStorage(env, thread, data_ptr); in GetThreadLocalStorage()
1292 static jvmtiError GetEnvironmentLocalStorage(jvmtiEnv* env, void** data_ptr) { in GetEnvironmentLocalStorage() argument
1294 *data_ptr = reinterpret_cast<ArtJvmTiEnv*>(env)->local_data; in GetEnvironmentLocalStorage()
/art/test/ti-agent/
Dsuspend_event_helper.cc338 void* data_ptr; in SetupTestData() local
343 jvmti_env->Allocate(sizeof(TestData), reinterpret_cast<uint8_t**>(&data_ptr)))) { in SetupTestData()
346 data = new (data_ptr) TestData(jvmti_env, in SetupTestData()
/art/openjdkjvmti/include/
Djvmti.h1529 void** data_ptr);
1743 void** data_ptr);
1878 void** data_ptr) { in GetThreadLocalStorage()
1879 return functions->GetThreadLocalStorage(this, thread, data_ptr); in GetThreadLocalStorage()
2503 jvmtiError GetEnvironmentLocalStorage(void** data_ptr) { in GetEnvironmentLocalStorage()
2504 return functions->GetEnvironmentLocalStorage(this, data_ptr); in GetEnvironmentLocalStorage()