| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/ |
| D | index.test.ts | 16 import { store } from './index'; 23 describe('Redux Store Configuration', () => { 25 const state = store.getState(); 35 store.dispatch(setTheme('dark')); 36 expect(store.getState().appState.theme).toBe('dark'); 40 store.dispatch(setOptionsLoading(true)); 41 expect(store.getState().options.isLoading).toBe(true); 44 store.dispatch(setOptionsResponse(mockOptions)); 45 expect(store.getState().options.options).toEqual(mockOptions); 49 store.dispatch(setSyntaxLoading(true)); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/pgo_napi1/ |
| D | pgo_napi1.ts | 26 // load store load store load load 30 obj.x = 1; // store: fast 32 obj.y = 2; // store: fast 40 // store store load load load 43 obj.x = 1; // store: fast 44 obj.y = 1; // store: fast 57 obj.__proto__ = objproto; // store: slow 58 objproto.x = 1; // store: slow 59 objproto.y = 1; // store: slow 72 obj.x = 1; // store: fast [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/store/actions/ |
| D | appState.test.ts | 16 import { store, RootState } from '../index'; 21 describe('Redux store structure and functionality', () => { 23 const initialState: RootState = store.getState(); 30 store.dispatch(setTheme('dark')); 31 const state = store.getState(); 36 store.dispatch(setOptionsLoading(true)); 37 const state = store.getState(); 42 store.dispatch(setSyntaxLoading(true)); 43 const state = store.getState();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/controlPanel/ |
| D | ControlPanel.test.tsx | 20 import configureMockStore from 'redux-mock-store'; 21 import { AppDispatch } from '../../store'; 26 let store: ReturnType<typeof mockStore>; 29 store = mockStore({ 35 store.dispatch = jest.fn(); 39 return render(<Provider store={store}>{component}</Provider>); 53 expect(store.dispatch).toHaveBeenCalled(); 60 expect(store.dispatch).toHaveBeenCalled(); 67 expect(store.dispatch).toHaveBeenCalled(); 78 store = mockStore({ [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_dataview_stub_builder.cpp | 125 Store(VariableType::INT8(), glue, pointer, offset, TruncInt32ToInt8(b0)); in SetValueInBufferForInt32() 126 … Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(1)), TruncInt32ToInt8(b1)); in SetValueInBufferForInt32() 127 …Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::TWO)), TruncInt32To… in SetValueInBufferForInt32() 128 …Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::THREE)), TruncInt32… in SetValueInBufferForInt32() 133 Store(VariableType::INT8(), glue, pointer, offset, TruncInt32ToInt8(b3)); in SetValueInBufferForInt32() 134 … Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(1)), TruncInt32ToInt8(b2)); in SetValueInBufferForInt32() 135 …Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::TWO)), TruncInt32To… in SetValueInBufferForInt32() 136 …Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(OffsetIndex::THREE)), TruncInt32… in SetValueInBufferForInt32() 169 Store(VariableType::INT8(), glue, pointer, offset, TruncInt32ToInt8(b0)); in SetValueInBufferForInt64() 170 … Store(VariableType::INT8(), glue, pointer, Int32Add(offset, Int32(1)), TruncInt32ToInt8(b1)); in SetValueInBufferForInt64() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/atomics/ |
| D | base_operator_bigint.ets | 34 Atomics.store(ta, j, 0n) 43 Atomics.store(ta, j, 3n) 53 Atomics.store(ta, j, 0n) 62 Atomics.store(ta, j, 7n) 71 Atomics.store(ta, j, 0n) 88 Atomics.store(ta, j, 0n) 97 Atomics.store(ta, j, 12n) 104 Atomics.store(ta, j, 0n) 113 Atomics.store(ta, j, 2n) 123 Atomics.store(ta, j, 0n) [all …]
|
| D | base_operator_biguint.ets | 34 Atomics.store(ta, j, 0n) 43 Atomics.store(ta, j, 3n) 53 Atomics.store(ta, j, 0n) 62 Atomics.store(ta, j, 7n) 71 Atomics.store(ta, j, 0n) 88 Atomics.store(ta, j, 0n) 97 Atomics.store(ta, j, 12n) 104 Atomics.store(ta, j, 0n) 113 Atomics.store(ta, j, 2n) 123 Atomics.store(ta, j, 0n) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/pages/codeEditor/ |
| D | ArkTSEditor.test.tsx | 20 import configureMockStore from 'redux-mock-store'; 22 import { AppDispatch } from '../../store'; 24 jest.mock('../../store/actions/code', () => ({ 39 let store: ReturnType<typeof mockStore>; 42 store = mockStore({ 49 store.dispatch = jest.fn(); 54 <Provider store={store}>
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | gc_barrier.h | 32 …BARRIER_POSITION_PRE = 0x1, // Should be inserted before each store/load when reference stored/l… 33 …BARRIER_POSITION_POST = 0x0, // Should be inserted after each store/load when reference stored/lo… 37 * Indicates if barrier for store or load 40 WRITE_BARRIER = 0x1, // Should be used around store 71 … * load obj.field -> pre_val // note: if store volatile - we need to have volatile load here 76 * store obj.field <- new_val // STORE for which barrier generated 80 * STORE_IN_BUFF_TO_MARK_FUNC - address of function to store replaced reference 87 * store obj.field <- new_val // STORE for which barrier generated 92 * store card_addr <- DIRTY_VAL 100 … * Note if store if to expensive on the architecture(for example in multithreading environment) - [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | stobj.v.obj.yaml | 72 title: Store register content into object field 74 Store register content into object field by field_id. 84 description: Store register content into object field by field_id. 419 # store into object field 444 # store into object array field 472 # store into i32[] array field 494 # store into panda.Object field 535 # store into panda.Object[] field 598 # store into object field 632 # store into object array field [all …]
|
| D | ststatic.obj.yaml | 92 title: Store to static field 94 Store accumulator content into static field by field_id. 104 description: Store accumulator content into static field by field_id. 246 # store into object type field 277 # store into object array type field 315 # store into i32[] array field 340 # store into panda.Object field 379 # store into panda.Object[] field 439 # store into object type field 475 # store into object array type field [all …]
|
| D | stobj.obj.yaml | 92 title: Store accumulator content into object field 94 Store accumulator content into object field by field_id. 104 description: Store accumulator content into object field by field_id. 367 # store into object field 398 # store into object array field 436 # store into i32[] array field 461 # store into panda.Object field 500 # store into panda.Object[] field 562 # store into object field 598 # store into object array field [all …]
|
| /arkcompiler/ets_runtime/test/aottest/pgo_inherited_function_operation/ |
| D | pgo_inherited_function_operation.ts | 21 this.c = 0 // store: this.c --> type: MONO_STORE_PROPERTY 22 this.x = 1 // store: this.x --> type: MONO_STORE_PROPERTY 24 …Base.prototype.add = () => { print("add") } // store: Base.prototype.add --> type: MONO_STORE_PROP… 27 this.y = 2 // store: this.y --> type: MONO_STORE_PROPERTY 31 p.z = 3 // store: p.z --> type: MONO_STORE_PROPERTY 36 …Derived.prototype.sub = () => { print("sub") } // store: Derived.prototype.sub --> type: MONO_STOR… 38 obj.w = "w" // store: obj.w --> type: MONO_STORE_PROPERTY 39 obj.x = 4 // store: obj.x --> type: MONO_STORE_PROPERTY 85 this.w = 1 // store: this.x --> type: MONO_STORE_PROPERTY * 2 87 …Base.prototype.add = () => { print("add") } // store: Base.prototype.add --> type: MONO_STORE_PROP… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/theme/ |
| D | ThemeContext.test.tsx | 20 import configureMockStore from 'redux-mock-store'; 21 import { AppDispatch } from '../../store'; 38 let store: ReturnType<typeof mockStore>; 42 store = mockStore({}); 43 store.dispatch = jest.fn(); 50 <Provider store={store}> 88 expect(store.dispatch).toHaveBeenCalled(); 101 expect(store.dispatch).toHaveBeenCalled();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/pages/disasmView/ |
| D | DisasmCode.test.tsx | 20 import configureMockStore from 'redux-mock-store'; 22 import { AppDispatch } from '../../store'; 30 let store: ReturnType<typeof mockStore>; 33 store = mockStore({ 40 store.dispatch = jest.fn(); 45 <Provider store={store}> 67 store = mockStore({ 78 store = mockStore({ 90 store = mockStore({
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | gc_barrier.h | 30 …BARRIER_POSITION_PRE = 0x1, // Should be inserted before each store/load when reference stored/l… 31 …BARRIER_POSITION_POST = 0x0, // Should be inserted after each store/load when reference stored/lo… 34 /// Indicates if barrier for store or load 36 WRITE_BARRIER = 0x1, // Should be used around store 67 … * load obj.field -> pre_val // note: if store volatile - we need to have volatile load here 72 * store obj.field <- new_val // STORE for which barrier generated 77 * STORE_IN_BUFF_TO_MARK_FUNC - address of function to store replaced reference 84 * store obj.field <- new_val // STORE for which barrier generated 89 * store card_addr <- DIRTY_VAL 97 … * Note if store if to expensive on the architecture(for example in multithreading environment) - [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/pages/compileOptions/ |
| D | CompileOptions.test.tsx | 20 import configureMockStore from 'redux-mock-store'; 22 import {AppDispatch} from '../../store'; 28 let store: ReturnType<typeof mockStore>; 38 store = mockStore({ 43 store.dispatch = jest.fn(); 48 <Provider store={store}> 85 expect(store.dispatch).toHaveBeenCalled();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/components/header/ |
| D | Header.test.tsx | 20 import configureMockStore from 'redux-mock-store'; 22 import { AppDispatch } from '../../store'; 27 let store: ReturnType<typeof mockStore>; 30 store = mockStore({ 34 store.dispatch = jest.fn(); 39 <Provider store={store}>
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | lse.h | 29 * Load Store Elimination (Lse) optimization is aimed to eliminate redundant 30 * loads and store. It uses Alias Analysis to determine which memory 36 * 1) delete stores that attempt to store the same values that already have 37 * been been stored by a previous store 43 * - if the instruction is a store and a stored value is equal to value from 44 * heap for this store then this store can be eliminated. 45 * - if the instruction is a store and a value from heap for this store is 47 * into heap. The values of memory instructions that MUST_ALIAS this store are 48 * updated as well. All values in the heap that MAY_ALIAS this store 83 * candidate is a store, we do nothing. If among aliased accesses only loads,
|
| /arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/across_abc_test/ |
| D | across_abc_test.js | 20 function getData(store, userInput) { argument 23 let result = store.querySql(sql); 28 let store = db.getDatabaseInstance(); 30 getData(store, userInput);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/ |
| D | App.tsx | 22 import {store} from './store'; 27 <Provider store={store}>
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ani/docs/ |
| D | ani.md | 36 - result: A pointer to store the retrieved static method. 52 - result: A pointer to store the retrieved method. 144 - result: A pointer to store the retrieved static method. 161 - result: A pointer to store the retrieved method. 217 - result: A pointer to store the unhandled error. 269 - result: A pointer to store the created global reference. 299 - result: A pointer to store the created global reference. 314 - result: A pointer to store the created weak reference. 338 - result: A pointer to store the boolean result (true if the object is an instance of the type, fal… 350 - result: A pointer to store the retrieved type. [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | stobj.v.obj.yaml | 44 title: Store register content into object field 46 Store register content into object field by field_id. 55 description: Store register content into object field by field_id. 253 # store into object field 278 # store into object array field 306 # store into i32[] array field 328 # store into panda.Object field 369 # store into panda.Object[] field 441 description: Store register content into object field by field_id. 466 # store null into Q type field [all …]
|
| D | ststatic.obj.yaml | 49 title: Store to static field 51 Store accumulator content into static field by field_id. 60 description: Store accumulator content into static field by field_id. 175 # store into object type field 206 # store into object array type field 244 # store into i32[] array field 269 # store into panda.Object field 308 # store into panda.Object[] field 354 description: Store accumulator content into static field by field_id. 372 # store null into Q type field [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/object_ops/ |
| D | ani_gtest_object_ops.h | 31 * @param className Pointer to store the class name. 32 * @param methodName Pointer to store the method Name. 33 * @param signature Pointer to store the method signature. 34 * @param objectResult Pointer to store the allocated ani_object. 35 * @param methodResult Pointer to store the retrieved ani_method.
|