Home
last modified time | relevance | path

Searched refs:newData (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/across_abc_test/
H A Ddatabase.js30 updateData(oldData, newData) {
31 console.log('updateData: ', oldData, '->', newData);
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Dets_to_string_cache.cpp108 Data newData {string, oldData.flag + FLAG_MASK}; in TryStore()
119 !__atomic_compare_exchange(&data_, &oldData, &newData, true, __ATOMIC_ACQUIRE, __ATOMIC_RELAXED)) { // w1 in TryStore()
129 oldData = newData; in TryStore()
130 newData.flag++; in TryStore()
133 while (!__atomic_compare_exchange(&data_, &oldData, &newData, true, __ATOMIC_RELEASE, __ATOMIC_RELAXED)) { in TryStore()
/arkcompiler/runtime_core/static_core/verification/util/
H A Dbit_vector.h623 Word *newData = allocator.allocate(newSizeInWords);
624 ASSERT(newData != nullptr);
627 newData[pos] = data_[pos];
630 newData[pos] = 0;
633 data_ = newData;
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string_table.cpp575 JSMutableHandle<ByteArray> newData(vm->GetJSThread(), JSTaggedValue::Undefined()); in RelocateConstantData()
576 newData.Update(vm->GetFactory()->NewByteArray( in RelocateConstantData()
579 constantStr->SetRelocatedData(thread, newData.GetTaggedValue()); in RelocateConstantData()
580 constantStr->SetConstantData(static_cast<uint8_t *>(newData->GetData())); in RelocateConstantData()
H A Dobject_factory.cpp224 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(size); in NewJSArrayBufferData() local
226 if (memset_s(newData, length, 0, length) != EOK) { in NewJSArrayBufferData()
230 pointer->ResetExternalPointer(thread_, newData); in NewJSArrayBufferData()
236 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(size); in NewJSArrayBufferData() local
238 if (memset_s(newData, length, 0, length) != EOK) { in NewJSArrayBufferData()
242 JSHandle<JSNativePointer> pointer = NewJSNativePointer(newData, NativeAreaAllocator::FreeBufferFunc, in NewJSArrayBufferData()
261 auto newData = nativeAreaAllocator->AllocateBuffer(size); in NewJSSendableArrayBufferData() local
262 if (newData == nullptr) { in NewJSSendableArrayBufferData()
263 LOG_ECMA(FATAL) << "ObjectFactory::NewJSSendableArrayBufferData:newData is nullptr"; in NewJSSendableArrayBufferData()
265 if (memset_s(newData, lengt in NewJSSendableArrayBufferData()
275 auto newData = nativeAreaAllocator->AllocateBuffer(size); NewJSSendableArrayBufferData() local
330 void *newData = nullptr; NewJSSharedArrayBufferData() local
351 auto newData = vm_->GetNativeAreaAllocator()->AllocateBuffer(length); NewJSArrayBuffer() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Daot_file_manager.h192 static bool RewriteDataSection(uintptr_t dataSec, size_t size, uintptr_t newData, size_t newSize);
H A Daot_file_manager.cpp501 bool AOTFileManager::RewriteDataSection(uintptr_t dataSec, size_t size, uintptr_t newData, size_t newSize) in RewriteDataSection() argument
503 if (memcpy_s(reinterpret_cast<void *>(dataSec), size, reinterpret_cast<void *>(newData), newSize) != EOK) { in RewriteDataSection()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Decma_test_common.h212 auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * nums * nums); in GcCommonCase() local
214 newData, NativeAreaAllocator::FreeBufferFunc, nullptr, nonMovable, 1 * nums * nums); in GcCommonCase()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
H A Dheap_dump_test.cpp774 auto newData = ecmaVm_->GetNativeAreaAllocator()->AllocateBuffer(8); local
775 factory->NewJSNativePointer(newData);

Completed in 13 milliseconds