Home
last modified time | relevance | path

Searched full:truncated (Results 1 – 25 of 44) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/time/
DDateConstructorTest.ets322 assertEQ(cd.getFullYear(), trunc(year), "truncated year mismatch")
323 assertEQ(cd.getMonth(), trunc(month), "truncated month mismatch")
324 assertEQ(cd.getDate(), trunc(day), "truncated day mismatch")
325 assertEQ(cd.getHours(), trunc(hour), "truncated hour mismatch")
326 assertEQ(cd.getMinutes(), trunc(minutes), "truncated minute mismatch")
327 assertEQ(cd.getSeconds(), trunc(seconds), "truncated second mismatch")
328 assertEQ(cd.getMilliseconds(), trunc(millis), "truncated ms mismatch")
/arkcompiler/ets_runtime/test/moduletest/arrayincludesindexof/
Darrayincludesindexof.js20 4, 4.1, 4.5, 4.9, // All truncated to 4
21 -0, -0.1, -0.5, -0.9, -1 + Number.EPSILON, // All truncated to 0
22 -1, -1.1, -1.5, -1.9, -2 + Number.EPSILON, // All truncated to -1
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_equals_test.cpp80 // Test case 9: Truncated UTF-8 multi-byte character in HWTEST_F_L0()
81 const uint8_t utf8_09[] = {0xE3, 0x81}; // Truncated "あ" (Japanese 'a') in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_int_val.h100 …// if size == 0, just return the value itself because it's already truncated for an appropriate wi…
422 /// bit-width is preserved and the value is truncated to the original bit-width
434 /// @return truncated value to the given bit-width
448 /// @return sign/zero extended value or truncated value depending on bit-width
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dstobj.yaml444 …description: If field type size is less than 32, accumulator content will be truncated to storage …
514 …description: If field type size is less than 32, accumulator content will be truncated to storage …
Dstarr.8.yaml37 If size of element to store is less than 32, accumulator content will be truncated
1114 ldai 1234567 # will be truncated
1142 ldai 1234567 # will be truncated
Dstarr.16.yaml37 If size of element to store is less than 32, accumulator content will be truncated
1105 ldai 1234567 # should be truncated
1132 ldai 1234567 # should be truncated
Dstobj.v.yaml774 …description: If field type size is less than 32, register content will be truncated to storage siz…
911 …description: If field type size is less than 32, register content will be truncated to storage siz…
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dstobj.yaml424 …description: If field type size is less than 32, accumulator content will be truncated to storage …
493 …description: If field type size is less than 32, accumulator content will be truncated to storage …
Dstobj.v.yaml425 …description: If field type size is less than 32, register content will be truncated to storage siz…
559 …description: If field type size is less than 32, register content will be truncated to storage siz…
Dstarr.8.yaml27 If size of element to store is less than 32, accumulator content will be truncated
632 ldai 1234567 # will be truncated
Dstarr.16.yaml27 If size of element to store is less than 32, accumulator content will be truncated
627 ldai 1234567 # should be truncated
/arkcompiler/runtime_core/static_core/libpandafile/
Dhelpers.h93 LOG(FATAL, PANDAFILE) << "ULEB128 decode failed: input truncated or malformed"; in ReadULeb128()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_number_stub_builder.cpp216 GateRef truncated = ChangeInt32ToFloat64(TruncFloatToInt64(f)); in IsSafeInteger() local
217 BRANCH(DoubleEqual(f, truncated), &checkSafe, &retFalse); in IsSafeInteger()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Dutils.py126 …write content to file if file exists it will be truncated. if file does not exist it wil be created
/arkcompiler/runtime_core/static_core/plugins/ets/isa/
Disa.yaml81 …If field type size is less than 32, accumulator content will be truncated to storage size before s…
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/
Dutils.py155 …write content to file if file exists it will be truncated. if file does not exist it wil be created
/arkcompiler/ets_runtime/ecmascript/compiler/
Dlcr_circuit_builder.cpp380 // According to C++ standard: "If the truncated value cannot fit into the destination type, the beh…
Dmcr_lowering.cpp1023 GateRef truncated = builder_.BinaryArithmetic(circuit_->Mul(), in LowerInt32DivWithCheck() local
1025 GateRef overCheck = builder_.Int32Equal(truncated, left); in LowerInt32DivWithCheck()
/arkcompiler/runtime_core/static_core/isa/
Disa.yaml2128 content is truncated to storage size before storing.
2361 truncated to storage size before storing.
2440 If field type size is less than 32, then the register content is truncated
2520 accumulator content is truncated to field size before storing.
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DMath.ets755 * @param v number to be truncated.
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Delf_checker.cpp228 /* If the section headers were truncated, pretend none were there. in GetSectionHeaderNum()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/math/
Dmath.ets790 * @param v Number to be truncated.
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D3_types.rst831 it acts as if the number is truncated, and the mantissa bits are discarded.
851 truncated number
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DIntlNumberFormatToParts.ets359 assertPartEq(fracParts2[2], "fraction", "4568"); // Truncated to maximum

12