| /arkcompiler/runtime_core/verification/util/tests/ |
| D | enum_tag_test.cpp | 24 enum class Numbers { ONE, TWO, THREE, FOUR, FIVE }; enumerator 32 …using EnumTag5 = TagForEnum<Numbers, Numbers::ONE, Numbers::TWO, Numbers::THREE, Numbers::FOUR, Nu… in TEST_F() 36 EXPECT_EQ(EnumTag5::GetIndexFor(Numbers::TWO), 1); in TEST_F() 39 using EnumTag3 = TagForEnum<Numbers, Numbers::ONE, Numbers::TWO, Numbers::THREE>; in TEST_F() 43 EXPECT_EQ(EnumTag3::GetIndexFor(Numbers::TWO), 1); in TEST_F()
|
| D | saturated_enum_test.cpp | 24 enum class Numbers { ONE, TWO, THREE, FOUR, FIVE }; enumerator 28 SaturatedEnum<Numbers, Numbers::FOUR, Numbers::THREE, Numbers::TWO, Numbers::ONE> s_enum; in TEST_F() 35 EXPECT_FALSE(s_enum[Numbers::TWO]); in TEST_F() 41 EXPECT_TRUE(s_enum[Numbers::TWO]); in TEST_F() 53 if (en == Numbers::TWO) in TEST_F()
|
| D | enum_array_test.cpp | 24 enum class Numbers { ONE, TWO, THREE, FOUR, FIVE }; enumerator 32 …EnumArray<int, Numbers, Numbers::ONE, Numbers::TWO, Numbers::THREE, Numbers::FOUR, Numbers::FIVE> … in TEST_F() 34 en_arr[Numbers::TWO] = 9; in TEST_F() 38 EXPECT_EQ(en_arr[Numbers::TWO], 9); in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | utf_helper.cpp | 64 return UtfLength::TWO; in UTF8Length() 97 case UtfLength::TWO: in IsValidUTF8() 139 return {UtfLength::TWO, {UTF8_2B_FIRST, UTF8_2B_SECOND}}; in ConvertUtf16ToUtf8() 150 return {UtfLength::TWO, {ch0, ch1}}; in ConvertUtf16ToUtf8() 186 res += UtfLength::TWO; // special case for U+0000 => C0 80 in Utf16ToUtf8Size() 191 res += UtfLength::TWO; in Utf16ToUtf8Size() 241 return {((d0 & utf::MASK_5BIT) << utf::DATA_WIDTH) | (d1 & utf::MASK_6BIT), UtfLength::TWO}; in ConvertUtf8ToUtf16Pair() 244 uint8_t d2 = data[UtfLength::TWO]; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ConvertUtf8ToUtf16Pair()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | circuit_ir_specification.md | 7 Circuit IR splits a program into two major parts: [sequential logic](https://en.wikipedia.org/wiki/… 9 …s://en.wikipedia.org/wiki/Finite-state_machine) (FSM)). Wires that connect two state gates represe… 11 …omputation gates**. A computation gate can do simple things such as adding two integer values, or … 41 There are two levels of types of values in Circuit IR: 129 This state has two possible transitions (branches) based on its input value. 334 * **ADD**: returns the sum of its two integer operands. 335 * **SUB**: returns the difference of its two integer operands. It is used to implement the "-" unar… 336 * **MUL**: returns the product of its two integer operands. 338 * **SDIV**: returns the signed quotient of its two integer operands. 339 * **SREM**: returns the remainder from the signed division of its two integer operands. [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | reg_alloc_graph_coloring_doc.md | 36 There are two classes of approaches for coalescing, that is: 40 Each affinity edge means connection of two values by move-relation. That means that in worst-case s… 47 …ach step we need two sets of values: neighbor colors of current node, and neighbor bias-colors (if… 50 …to start of callee-saved range and it is fully occupied. Search is done by two phases. On first ph…
|
| D | plt.md | 58 having this two values in `x0` and `x1` it just call `GetCalleeMethod` to gather `Method pointer`. 66 …input for `ark_aot` compiler) and callee `method Id` (`panda_file::File::EntityId`) two consecutive 171 Main difference between two supported platforms is a main temporary register to use in Resolver. 199 call `SaveRegisters` two times - for float and scalar registers. 206 Reverse what was done two steps above - `LoadRegisters` for float and scalar registers, then adjust…
|
| D | cleanup_doc.md | 24 There are two exceptions, where empty basic block should stay in control flow graph. 27 Second case is a so-called "special triangle" situation, when there are actually two edges between … 72 …d instruction may create new empty basic blocks. That's why there are a loop to repeat two previous 88 // Two vectors to store basic blocks lists 344 **Two blocks merged in a loop**
|
| D | memory_coalescing_doc.md | 8 Replacing two memory operations with one generally reduces the number of long latency memory instru… 40 … is quite straightforward: having two consecutive stores we replace them by one instruction that a… 54 The optimization tries to coalesce memory operations in a scope of a basic block. It needs that two…
|
| /arkcompiler/ets_runtime/test/moduletest/multiargs/ |
| D | multiargs.js | 36 function two(x,y) function 59 two('hello,',' world')
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | fsub2.yaml | 18 title: Two address floating-point binary operation on accumulator 147 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 209 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 311 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 380 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 592 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 679 # Sub of two values
|
| D | fadd2.yaml | 18 title: Two address floating-point binary operation on accumulator 164 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 231 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 338 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 397 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 600 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 684 # Sum of two values
|
| D | fadd2.64.yaml | 18 title: Two address floating-point binary operation on accumulator 164 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 231 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 338 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 397 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 600 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 684 # Sum of two values
|
| D | fsub2.64.yaml | 18 title: Two address floating-point binary operation on accumulator 147 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 209 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is… 311 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 380 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 592 …Exceptions are the sum of two negative zeros and the difference of negative and positive zero - th… 679 # Sub of two values
|
| /arkcompiler/runtime_core/docs/ |
| D | rationale-for-bytecode.md | 54 add ; remove two top-most values from the stack, add them and put the result at the top 71 This example demonstrates a fundamental difference between two approaches. Stack-based approach 89 However, to address the issue of compactness, two main tweaks are used: 188 with say 64-bit integers. In this case, if we want to add two double-precision floating point 203 a number without an explicit type cast. This means that if we would like to run these two languages
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins.cpp | 447 …unction(env, funcFuncPrototypeObj, "apply", Function::FunctionPrototypeApply, FunctionLength::TWO); in InitializeFunction() 463 SetFunction(env, objFunc, "assign", Object::Assign, FunctionLength::TWO); in InitializeObject() 465 SetFunction(env, objFunc, "create", Object::Create, FunctionLength::TWO); in InitializeObject() 467 SetFunction(env, objFunc, "defineProperties", Object::DefineProperties, FunctionLength::TWO); in InitializeObject() 473 …n(env, objFunc, "getOwnPropertyDescriptor", Object::GetOwnPropertyDescriptor, FunctionLength::TWO); in InitializeObject() 497 SetFunction(env, objFunc, "setPrototypeOf", Object::SetPrototypeOf, FunctionLength::TWO); in InitializeObject() 758 …cToObjAndGlobal(env, globalObject, numFunction, "parseInt", Number::ParseInt, FunctionLength::TWO); in InitializeNumber() 811 SetFunction(env, bigIntFunction, "asUintN", BuiltinsBigInt::AsUintN, FunctionLength::TWO); in InitializeBigInt() 812 SetFunction(env, bigIntFunction, "asIntN", BuiltinsBigInt::AsIntN, FunctionLength::TWO); in InitializeBigInt() 862 SetFunction(env, dateFuncPrototype, "setMonth", Date::SetMonth, FunctionLength::TWO); in InitializeDate() [all …]
|
| D | builtins_string_iterator.cpp | 85 … factory->NewFromUtf16NotCompress(resultString.data(), 2).GetTaggedValue()); // 2: two bytes in Next() 86 resultSize = 2; // 2: 2 means that two bytes represent a character string in Next()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_list_format_test.cpp | 78 const icu::UnicodeString items[itemNum] = { "One", "Two", "Three" }; in HWTEST_F_L0() 81 const icu::UnicodeString expectResStr("One, Two, and Three"); in HWTEST_F_L0() 203 JSHandle<JSTaggedValue> value2(factory->NewFromStdString("Two")); in HWTEST_F_L0() 209 EXPECT_STREQ(EcmaStringAccessor(valueStr).ToCString().c_str(), "Zero, One, and Two"); in HWTEST_F_L0() 234 JSHandle<JSTaggedValue> value2(factory->NewFromStdString("Two")); in HWTEST_F_L0() 240 EXPECT_STREQ(EcmaStringAccessor(valueStr).ToCString().c_str(), "Zero One Two"); in HWTEST_F_L0() 338 JSHandle<JSTaggedValue> value1(factory->NewFromStdString("two")); in HWTEST_F_L0() 354 EXPECT_STREQ(EcmaStringAccessor(resValue1.GetTaggedValue()).ToCString().c_str(), "two"); in HWTEST_F_L0()
|
| D | template_map_test.cpp | 172 // 128: eighty-five is close to the seventh power of two in HWTEST_F_L0() 174 // 256: eighty-six is close to the eighth power of two in HWTEST_F_L0() 177 // 512: one hundred and seventy-two is close to the ninth power of two in HWTEST_F_L0() 274 // 4: shift left by two digits in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_private.cpp | 294 SetFrozenFunction(thread, prototype, "insert", ContainersArrayList::Insert, FuncLength::TWO); in InitializeArrayList() 308 …nFunction(thread, prototype, "removeByRange", ContainersArrayList::RemoveByRange, FuncLength::TWO); in InitializeArrayList() 310 FuncLength::TWO, BUILTINS_STUB_ID(ArrayListReplaceAllElements)); in InitializeArrayList() 312 …zenFunction(thread, prototype, "subArrayList", ContainersArrayList::SubArrayList, FuncLength::TWO); in InitializeArrayList() 314 SetFrozenFunction(thread, prototype, "forEach", ContainersArrayList::ForEach, FuncLength::TWO, in InitializeArrayList() 505 SetFrozenFunction(thread, mapFuncPrototype, "set", ContainersTreeMap::Set, FuncLength::TWO); in InitializeTreeMap() 518 …etFrozenFunction(thread, mapFuncPrototype, "replace", ContainersTreeMap::Replace, FuncLength::TWO); in InitializeTreeMap() 580 SetFrozenFunction(thread, setFuncPrototype, "add", ContainersTreeSet::Add, FuncLength::TWO); in InitializeTreeSet() 590 …etFrozenFunction(thread, setFuncPrototype, "isEmpty", ContainersTreeSet::IsEmpty, FuncLength::TWO); in InitializeTreeSet() 786 SetFrozenFunction(thread, prototype, "insert", ContainersVector::Insert, FuncLength::TWO); in InitializeVector() [all …]
|
| /arkcompiler/runtime_core/verification/models/ |
| D | README.md | 24 This file contains two execution modes:
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 90 description: Add two inputs. 98 description: Substitute two inputs. 106 description: Multiply two inputs. 114 description: Divide two inputs. 131 …description: Get minimum from two inputs. If either value is NaN, then the result is NaN. Negative… 138 …description: Get maximum from two inputs. If either value is NaN, then the result is NaN. Negative… 192 …description: Compare two integer or reference values according to condition code(for reference onl… 198 description: Compare two float or integer values. 994 …description: Add two values and check result to Overflow, in case of overflow and CC is EQ jump to… 1001 …description: Sub two values and check result to Overflow, in case of overflow and CC is EQ jump to… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ic/tests/ |
| D | properties_cache_test.cpp | 52 …* @tc.desc: Creating PropertiesCache through "GetPropertiesCache" function,Set two values through … 89 …* @tc.desc: Creating PropertiesCache through "GetPropertiesCache" function,Set two values through …
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | types_n_values.md | 35 If two types, say `A()` and `B()` related as `A() <: B()`, i.e. `A()` is the subtype of `B()`, then… 71 Type system includes two special types:
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | balance_expressions.h | 94 // Calculates the lowest integral power of two that is greater than `val` 121 // If x is not 0 or 1, calculates the largest integral power of two that is less than `val`
|