Home
last modified time | relevance | path

Searched refs:np (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_arraybuffer.cpp53 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Attach() local
55 allocator->IncreaseNativeMemoryUsage(MallocUsableSize(np->GetExternalPointer())); in Attach()
56 np->SetData(allocator); in Attach()
73 JSHandle<JSNativePointer> np(thread, arrayBufferData.GetTaggedObject()); in Detach() local
75 allocator->DecreaseNativeMemoryUsage(MallocUsableSize(np->GetExternalPointer())); in Detach()
76 np->SetData(nullptr); in Detach()
Djs_serializer.cpp694 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(bufferValue); in WriteJSRegExp() local
695 void *dynBuffer = np->GetExternalPointer(); in WriteJSRegExp()
831 JSHandle<JSNativePointer> np(thread_, arrayBuffer->GetArrayBufferData()); in WriteJSArrayBuffer() local
833 void *buffer = np->GetExternalPointer(); in WriteJSArrayBuffer()
841 if (!WriteJSNativePointer(np)) { in WriteJSArrayBuffer()
847 void *buffer = np->GetExternalPointer(); in WriteJSArrayBuffer()
1749 JSHandle<JSNativePointer> np = factory_->NewJSNativePointer(ToVoidPtr(externalPtr), in ReadJSNativePointer() local
1754 return JSHandle<JSTaggedValue>::Cast(np); in ReadJSNativePointer()
1782 JSHandle<JSTaggedValue> np = ReadJSNativePointer(); in ReadJSArrayBuffer() local
1783 if (np.IsEmpty()) { in ReadJSArrayBuffer()
[all …]
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_entry.py22 import numpy as np namespace
71 performance_config.BuildMode.DEBUG:[np.nan, np.nan, np.nan],
72 performance_config.BuildMode.RELEASE:[np.nan, np.nan, np.nan]
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DXMat4.js123 this.mat = np.dot(m4.mat, this.mat);
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp505 auto np = JSHandle<JSNativePointer>::Cast(bufferData); in JSArrayBufferTest() local
506 void *buffer = np->GetExternalPointer(); in JSArrayBufferTest()
537 auto np = JSHandle<JSNativePointer>::Cast(bufferData); in JSSharedArrayBufferTest() local
538 void *buffer = np->GetExternalPointer(); in JSSharedArrayBufferTest()
849 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(nativePtr); in TransferJSArrayBufferTest1() local
850 uintptr_t bufferAddr = reinterpret_cast<uintptr_t>(np->GetExternalPointer()); in TransferJSArrayBufferTest1()
868 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(nativePtr); in TransferJSArrayBufferTest2() local
869 uintptr_t bufferAddr = reinterpret_cast<uintptr_t>(np->GetExternalPointer()); in TransferJSArrayBufferTest2()
924 JSHandle<JSNativePointer> np = JSHandle<JSNativePointer>::Cast(nativePtr); in TransferJSArrayBufferTest4() local
925 uintptr_t bufferAddr = reinterpret_cast<uintptr_t>(np->GetExternalPointer()); in TransferJSArrayBufferTest4()
[all …]
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp264 JSHandle<ModuleNamespace> np = in HWTEST_F_L0() local
266 EXPECT_FALSE(np->IsExtensible()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.cpp814 JSHandle<ModuleNamespace> np = in GetModuleNamespace() local
816 moduleNamespace.Update(np.GetTaggedValue()); in GetModuleNamespace()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js25736 function np(t) { function
25766 const n = 2 * np(e);
25773 g = m < 0 ? np(-m) : -np(m);
25780 g = np(-m + t);
25781 y = np(m + t);
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2np(t.aliasSymbol))===e.emptyArray)return 1;if(void 0!==(le=fe(t.aliasTypeArguments,r.aliasTypeArgu… function