Home
last modified time | relevance | path

Searched full:sign (Results 1 – 25 of 116) sorted by relevance

12345

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DreturnTypeInferenceNotTooBroad.ts24 sign?: T property
30 export const y = sepsis({ low: 1, sign: { kind: 'a', a: 3 }});
32 AssertType(sepsis({ low: 1, sign: { kind: 'a', a: 3 }}), "Wrapper<{ kind: "a"; a: 3; }>");
34 AssertType({ low: 1, sign: { kind: 'a', a: 3 }}, "{ low: number; sign: { kind: "a"; a: 3; }; }");
37 AssertType(sign, "{ kind: "a"; a: 3; }");
52 export const yone = unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }}));
54 AssertType(unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})), "{ kind: "a"; a: 3; }");
56 AssertType(sepsis({ low: 1, sign: { kind: 'a', a: 3 }}), "Wrapper<{ kind: "a"; a: 3; }>");
58 AssertType({ low: 1, sign: { kind: 'a', a: 3 }}, "{ low: number; sign: { kind: "a"; a: 3; }; }");
61 AssertType(sign, "{ kind: "a"; a: 3; }");
DmodularizeLibrary_TargetES6UsingES6Lib.ts57 Math.sign(1);
58 AssertType(Math.sign(1), "number");
59 AssertType(Math.sign, "(number) => number");
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp31 enum class Sign { NONE, NEG, POS }; enum
80 static inline double SignedZero(Sign sign) in SignedZero() argument
82 return sign == Sign::NEG ? -0.0 : 0.0; in SignedZero()
183 // 2. sign bit in StringToDoubleWithRadix()
407 …y code unit 0x0065 (LATIN SMALL LETTER E), followed by the code unit 0x002B (PLUS SIGN) or the code in NumberToString()
450 // 2. get number sign in StringToDouble()
451 Sign sign = Sign::NONE; in StringToDouble() local
454 sign = Sign::POS; in StringToDouble()
457 sign = Sign::NEG; in StringToDouble()
474 return sign == Sign::NEG ? -POSITIVE_INFINITY : POSITIVE_INFINITY; in StringToDouble()
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dfsub2.yaml147 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
148 The sign of result matches the sign of accumulator value.
150 The sign of result matches the sign of infinity.
209 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
210 The sign of result matches the sign of accumulator value.
212 The sign of result matches the sign of infinity.
282 The sum of opposite infinities or the difference of the same sign infinities is NaN.
289 # Sub of same sign Inf-s
309 The sign of result matches the sign of infinity.
378 The sign of result matches the sign of infinity.
[all …]
Dfadd2.yaml164 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
165 The sign of result matches the sign of accumulator value.
167 The sign of result matches the sign of infinity.
231 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
232 The sign of result matches the sign of accumulator value.
234 The sign of result matches the sign of infinity.
310 The sum of opposite infinities or the difference of the same sign infinities is NaN.
336 The sign of result matches the sign of infinity.
395 The sign of result matches the sign of infinity.
456 The sign of result matches the sign of infinity.
[all …]
Dfsub2.64.yaml147 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
148 The sign of result matches the sign of accumulator value.
150 The sign of result matches the sign of infinity.
209 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
210 The sign of result matches the sign of accumulator value.
212 The sign of result matches the sign of infinity.
282 The sum of opposite infinities or the difference of the same sign infinities is NaN.
289 # Sub of same sign Inf-s
309 The sign of result matches the sign of infinity.
378 The sign of result matches the sign of infinity.
[all …]
Dfadd2.64.yaml164 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
165 The sign of result matches the sign of accumulator value.
167 The sign of result matches the sign of infinity.
231 …The sum of two infinities of the same sign or the difference of two infinities of opposite sign is…
232 The sign of result matches the sign of accumulator value.
234 The sign of result matches the sign of infinity.
310 The sum of opposite infinities or the difference of the same sign infinities is NaN.
336 The sign of result matches the sign of infinity.
395 The sign of result matches the sign of infinity.
456 The sign of result matches the sign of infinity.
[all …]
Dldstatic.yaml244 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz…
245 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field …
284 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz…
285 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field …
323 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz…
324 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field …
356 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz…
357 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field …
Dfmul2.yaml280 …ption: The sign of division or multiplication result is positive if both values have the same sign
331 …ption: The sign of division or multiplication result is positive if both values have the same sign
567 …ption: The sign of division or multiplication result is positive if both values have the same sign
Dfmul2.64.yaml280 …ption: The sign of division or multiplication result is positive if both values have the same sign
331 …ption: The sign of division or multiplication result is positive if both values have the same sign
567 …ption: The sign of division or multiplication result is positive if both values have the same sign
Djeqz.obj.yaml25 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
390 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
409 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
429 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
496 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
565 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
Djnez.obj.yaml25 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
390 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
410 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
431 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
496 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
563 …object reference in accumulator compares with null as specified. Offset is sign extended to the si…
Dldobj.yaml401 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz…
402 …If field type is less than 32, then loaded value is sign or zero extended to i32 depending on fiel…
445 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz…
446 …If field type is less than 32, then loaded value is sign or zero extended to i32 depending on fiel…
Dldobj.v.yaml402 … most significant bits are sign or unsigned extended based on the field type to fit register size.
403 …If field type is less than 32, then loaded value is sign or zero extended to i32 depending on fiel…
446 … most significant bits are sign or unsigned extended based on the field type to fit register size.
447 …If field type is less than 32, then loaded value is sign or zero extended to i32 depending on fiel…
/arkcompiler/ets_runtime/ecmascript/platform/unix/ohos/
Dcode_sign.cpp27 LOG_ECMA(DEBUG) << "start to sign the aot file!"; in CodeSignForAOTFile()
30 LOG_ECMA(ERROR) << "Failed to sign the aot file!"; in CodeSignForAOTFile()
37 LOG_ECMA(DEBUG) << "sign the aot file success"; in CodeSignForAOTFile()
/arkcompiler/ets_runtime/test/fuzztest/getwordsarray_fuzzer/
Dgetwordsarray_fuzzer.cpp33 bool sign = false; in GetWordsArrayFuzzTest() local
45 Local<JSValueRef> bigWordsValue = BigIntRef::CreateBigWords(vm, sign, wordsNum, words); in GetWordsArrayFuzzTest()
47 bigWords->GetWordsArray(&sign, wordsNum, words); in GetWordsArrayFuzzTest()
/arkcompiler/ets_runtime/test/
Druntest.py65 parser.add_argument('--sign', metavar='name',
66 help='sign level, default is system_core, other is normal, system_basic')
289 if args.sign:
365 print(f'sign --------------------------------------------')
505 sign_dir = f'{name}.sign'
511 if not self.args.sign or self.args.sign == 'system_core':
514 elif self.args.sign == 'system_basic':
515 bundle_apl = self.args.sign
517 elif self.args.sign == 'normal':
518 bundle_apl = self.args.sign
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/token/
Dletters.h116 #define LEX_CHAR_PERCENT 0x25 /* percent sign */
121 #define LEX_CHAR_PLUS 0x2B /* plus sign */
129 #define LEX_CHAR_LESS_THAN 0x3C /* less-than sign */
130 #define LEX_CHAR_EQUALS 0x3D /* equals sign */
131 #define LEX_CHAR_GREATER_THAN 0x3E /* greater-than sign */
/arkcompiler/toolchain/build/third_party_gn/protobuf/
DBUILD.gn71 cflags_cc = [ "-Wno-sign-compare" ]
73 "-Wno-sign-compare",
130 "-Wno-sign-compare",
135 "-Wno-sign-compare",
208 "-Wno-sign-compare",
212 "-Wno-sign-compare",
289 "-Wno-sign-compare",
293 "-Wno-sign-compare",
396 "-Wno-sign-compare",
402 "-Wno-sign-compare",
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_bigint.cpp520 bool sign = number < 0; in Int32ToBigInt() local
521 if (sign) { in Int32ToBigInt()
527 bigint->SetSign(sign); in Int32ToBigInt()
542 bool sign = number < 0; in Int64ToBigInt() local
543 if (sign) { in Int64ToBigInt()
550 bigint->SetSign(sign); in Int64ToBigInt()
621 JSHandle<BigInt> BigInt::CreateBigWords(JSThread *thread, bool sign, uint32_t size, const uint64_t … in CreateBigWords() argument
641 bigint->SetSign(sign); in CreateBigWords()
837 JSHandle<BigInt> BigInt::ReturnIfRightShiftOverMax(JSThread *thread, bool sign) in ReturnIfRightShiftOverMax() argument
839 if (sign) { in ReturnIfRightShiftOverMax()
[all …]
Djs_bigint.h93 static JSHandle<BigInt> ReturnIfRightShiftOverMax(JSThread *thread, bool sign);
113 …static JSHandle<BigInt> CreateBigWords(JSThread *thread, bool sign, uint32_t size, const uint64_t*…
165 FIRST_BIT_FIELD(BitField, Sign, bool, SIGN_BITS)
/arkcompiler/ets_runtime/test/fuzztest/createbigwords_fuzzer/
Dcreatebigwords_fuzzer.cpp33 bool sign = false; in CreateBigWordsFuzzTest() local
45 BigIntRef::CreateBigWords(vm, sign, wordsNum, words); in CreateBigWordsFuzzTest()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbuiltins_lowering.cpp144 … of mantissa will affect the precision of the number, and its sign will determine the sign of the …
145 // The absolute value of a floating-point number can be found by setting mantissa sign bit to 0.
170 // set the sign bit to 0 by shift left then right. in TypedAbs()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64_constants.h51 SXTB = 4, /* sign extend to byte */
52 SXTH = 5, /* sign extend to half word */
53 SXTW = 6, /* sign extend to word */
54 SXTX = 7, /* sign extend to 64bit */
/arkcompiler/runtime_core/docs/
Dassembly_format.md465 …assumes the assignment of a value, and the value that is assigned to it, separated by the sign "=">
469 …assumes the assignment of a value, and the value that is assigned to it, separated by the sign "=">
477 …assumes the assignment of a value, and the value that is assigned to it, separated by the sign "=">
481 …assumes the assignment of a value, and the value that is assigned to it, separated by the sign "=">
488 …assumes the assignment of a value, and the value that is assigned to it, separated by the sign "=">

12345