Home
last modified time | relevance | path

Searched full:operation (Results 1 – 25 of 736) sorted by relevance

12345678910>>...30

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/33.constant_expression/check_annotation/
Dconstant_bitwise_expression.params.yaml15 - { type: byte, value: 16, operation: '& 7' }
16 - { type: short, value: 300, operation: '& 7' }
17 - { type: char, value: c'p', operation: '& 7' }
18 - { type: int, value: 3000, operation: '& 7' }
19 - { type: long, value: 50000, operation: '& 7' }
20 - { type: float, value: 120.2f, operation: '& 7', asInt: ' as int' }
21 - { type: number, value: 5050.9, operation: '& 7', asInt: ' as int' }
23 - { type: byte, value: 16, operation: '| 7' }
24 - { type: short, value: 300, operation: '| 7' }
25 - { type: char, value: c'p', operation: '| 7', asChar: 'as char' }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/spec/expressions/
Dlist.compound_assignment_01.yaml18 operation: "*", op_name: "mult",
25 operation: "*", op_name: "mult",
31 operation: "*", op_name: "mult",
37 operation: "*", op_name: "mult",
44 operation: "*", op_name: "mult",
51 operation: "*", op_name: "mult",
58 operation: "*", op_name: "mult",
66 operation: "*", op_name: "mult",
73 operation: "*", op_name: "mult",
80 operation: "*", op_name: "mult",
[all …]
/arkcompiler/runtime_core/common_interfaces/objects/
Dfield.h29 // the interfaces fellow are only used in atomic operation.
33 static_assert(isAtomic, "this interface must be used in atomic operation");
41 static_assert(isAtomic, "this interface must be used in atomic operation");
49 static_assert(isAtomic, "this interface must be used in atomic operation");
55 static_assert(isAtomic, "this interface must be used in atomic operation");
61 static_assert(isAtomic, "this interface must be used in atomic operation");
67 static_assert(isAtomic, "this interface must be used in atomic operation");
73 static_assert(isAtomic, "this interface must be used in atomic operation");
/arkcompiler/runtime_core/assembler/tests/
Dlexer_test.cpp30 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
42 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
52 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
53 ASSERT_EQ(TokenTypeWhat(tok.first[1].type), "OPERATION") << "OPERATION expected"; in TEST()
56 ASSERT_EQ(TokenTypeWhat(tok.first[4].type), "OPERATION") << "OPERATION expected"; in TEST()
66 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
76 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
88 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
Dassembler_lexer_test.cpp41 EXPECT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected";
59 EXPECT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected";
76 EXPECT_EQ(TokenTypeWhat(tok.first[1].type), "OPERATION") << "OPERATION expected";
79 EXPECT_EQ(TokenTypeWhat(tok.first[4].type), "OPERATION") << "OPERATION expected";
95 EXPECT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected";
/arkcompiler/runtime_core/static_core/assembler/tests/
Dlexer_test.cpp33 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
45 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
55 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
56 ASSERT_EQ(TokenTypeWhat(tok.first[1].type), "OPERATION") << "OPERATION expected"; in TEST()
59 ASSERT_EQ(TokenTypeWhat(tok.first[4].type), "OPERATION") << "OPERATION expected"; in TEST()
69 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
79 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
91 ASSERT_EQ(TokenTypeWhat(tok.first[0].type), "OPERATION") << "OPERATION expected"; in TEST()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/generic_declarations/generic_functions/
Dfunction_generic_n.params.yaml16 - desc: Tests that when the generic is int of number type, not supporting + operation.
24 - desc: Tests that when the generic is int of number type, not supporting - operation.
33 - desc: Tests that when the generic is int of number type, not supporting * operation.
42 - desc: Tests that when the generic is int of number type, not supporting / operation.
51 - desc: Tests that when the generic is int of number type, not supporting % operation.
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/concurrency/
DAsyncLockManager.ets145 * Lock operation mode.
156 * Lock operation's options.
172 …* If the value is true and lockAsync cannot acquire the lock immediately, the operation is cancele…
177 …* The object used to abort the async operation. If signal.aborted is true, the callback will not b…
182 …* Lock operation timeout in milliseconds. If it is greater than zero, lockAsync will reject the re…
189 * Object used to abort an async operation.
195 * Set to true to abort an operation.
DAsyncLock.ets48 * Perform an operation with the acquired lock exclusively.
60 * Perform an operation with the acquired lock.
65 * @param { AsyncLockMode } mode - mode of the lock operation.
73 * Perform an operation with the acquired lock.
82 * @param { AsyncLockMode } mode - mode of the lock operation.
83 * @param { AsyncLockOptions<U> } options - lock operation options.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/
Dunion_type_narrowing_attribute.params.yaml87 return "Read operation";
89 return "write operation";
93 assertEQ(logMethod("GET"), "Read operation");
94 assertEQ(logMethod("POST"), "write operation");
95 assertEQ(logMethod("PUT"), "write operation");
/arkcompiler/runtime_core/static_core/docs/
Drationale-for-bytecode.md14 somewhere in memory and executes corresponding _operations_ on operation's arguments,
15 also known as operation's _operands_. Operands may be _registers_ (very fast "variables" located
45 One very important question is how an operation refers to its operands.
47 In _stack-based_ approach, operands are implicitly encoded in the operation, which results in
60 In _register-based approach_, operands are explicitly encoded in the operation, which results in
153 | operation code | vreg 1 | vreg 2 |
162 | operation code | vreg 1 | vreg 2 |
187 One option is to make the operation _statically typed_, i.e. specify explicitly that it works only
191 Another option is to make the operation _dynamically typed_, i.e. specify that `adda ...` handles
/arkcompiler/runtime_core/docs/
Drationale-for-bytecode.md14 somewhere in memory and executes corresponding _operations_ on operation's arguments,
15 also known as operation's _operands_. Operands may be _registers_ (very fast "variables" located
45 One very important question is how an operation refers to its operands.
47 In _stack-based_ approach, operands are implicitly encoded in the operation, which results in
60 In _register-based approach_, operands are explicitly encoded in the operation, which results in
153 | operation code | vreg 1 | vreg 2 |
162 | operation code | vreg 1 | vreg 2 |
187 One option is to make the operation _statically typed_, i.e. specify explicitly that it works only
191 Another option is to make the operation _dynamically typed_, i.e. specify that `adda ...` handles
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/15.literal_types/02.operations_on_literal_types/
Doperations_on_literal_types.ets19 The resulting operation type is the type specified for the operation in the supertype.
Doperations_on_literal_types1.ets19 The resulting operation type is the type specified for the operation in the supertype.
Doperations_on_literal_types2.ets19 The resulting operation type is the type specified for the operation in the supertype.
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/
DBlockingQueue.ets32 * pop() is remove operation and returns T.
40 …* The insert operation​. Return true upon success and false if no space is currently available,​ n…
49 * The poll operation. Pop one element and return it if the queue is not empty.
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/js_files/
Dheapdump.js120 // Simulated asynchronous operation
122 let success = false; // Simulated operation failed
124 resolve('operation success');
126 reject(new Error('operation failed'));
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dnop.yaml18 title: No operation
19 description: Perform an operation without behavior.
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dnop.yaml18 title: No operation
19 description: Perform an operation without behavior.
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DAtomics.ets94 * @returns { number } current value before the operation
123 * @returns { bigint } current value before the operation
144 * @returns { number } current value before the operation
173 * @returns { bigint } current value before the operation
189 * Performs a compare and swap operation with the location from the typed array
197 * @returns { number } current value before the operation
221 * Performs a compare and swap operation with the location from the typed array
229 * @returns { bigint } current value before the operation
245 * Performs an exchange operation with the location from the typed array
252 * @returns { number } current value before the operation
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dinvalid-left-hand-side-in-prefix-operation-expected.txt1 SyntaxError: Invalid left-hand side operator. [invalid-left-hand-side-in-prefix-operation.js:17:5]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/ArrayList/
DArrayListRemoveTests.ets64 …tEQ(arrayList.length, TestData.testNumber5, "ArrayList length should be 5 after remove operation");
77 …tEQ(arrayList.length, TestData.testNumber5, "ArrayList length should be 5 after remove operation");
88 assertFalse(result, "Remove operation should return false for non-existent element");
103 "ArrayList length should be 4 after removeByRange operation");
163 assertEQ(arrayList.length, 0, "ArrayList length should be 0 after removeByRange operation");
/arkcompiler/ets_frontend/ets2panda/lexer/scripts/
Dtokens.yaml245 binary: Binary operation which doesn't modify operands
246 binary_lvalue: Binary operation which updates left hand side operand
247 unary: Unary operation
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/
Dcomb_10a.ets33 …: p instanceof Number ? ((): number => { num = p * 2; return 2 })() // numeric operation without c…
36 : ((): number => { bool = !p; return 5 })() // boolean operation without cast
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dopcode_info.h35 kOpcodePropNotPure, // The operation does not return same result with idential operands
37 kOpcodePropIsAssertUpperBoundary, // The operation check upper boundary
38 kOpcodePropIsAssertLowerBoundary, // The operation check lower boundary

12345678910>>...30