/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/across_abc_test/ |
H A D | database.js | 30 updateData(oldData, newData) { 31 console.log('updateData: ', oldData, '->', newData);
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/ |
H A D | ets_to_string_cache.cpp | 108 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 D | bit_vector.h | 623 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 D | ecma_string_table.cpp | 575 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 D | object_factory.cpp | 224 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 D | aot_file_manager.h | 192 static bool RewriteDataSection(uintptr_t dataSec, size_t size, uintptr_t newData, size_t newSize);
|
H A D | aot_file_manager.cpp | 501 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 D | ecma_test_common.h | 212 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 D | heap_dump_test.cpp | 774 auto newData = ecmaVm_->GetNativeAreaAllocator()->AllocateBuffer(8); local 775 factory->NewJSNativePointer(newData);
|