| /arkcompiler/runtime_core/scripts/ |
| D | install-deps-qemu | 154 | grep -Eo 'version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' \ 158 | grep -Eo 'version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' \
|
| D | memusage.py | 46 """Checks whether char is hexadecimal digit"""
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | number_helper.cpp | 121 JSTaggedValue NumberHelper::DoubleToExponential(JSThread *thread, double number, int digit) in DoubleToExponential() argument 124 if (digit < 0) { in DoubleToExponential() 127 ss << std::setiosflags(std::ios::scientific) << std::setprecision(digit) << number; in DoubleToExponential() 134 if (digit < 0) { in DoubleToExponential() 151 JSTaggedValue NumberHelper::DoubleToFixed(JSThread *thread, double number, int digit) in DoubleToFixed() argument 154 ss << std::setiosflags(std::ios::fixed) << std::setprecision(digit) << number; in DoubleToFixed() 158 JSTaggedValue NumberHelper::DoubleToPrecision(JSThread *thread, double number, int digit) in DoubleToPrecision() argument 161 return DoubleToFixed(thread, number, digit - 1); in DoubleToPrecision() 166 int radixDigit = digit - logDigit - 1; in DoubleToPrecision() 171 return DoubleToExponential(thread, number, digit - 1); in DoubleToPrecision() [all …]
|
| D | number_helper.h | 105 static JSTaggedValue DoubleToExponential(JSThread *thread, double number, int digit); 106 static JSTaggedValue DoubleToFixed(JSThread *thread, double number, int digit); 107 static JSTaggedValue DoubleToPrecision(JSThread *thread, double number, int digit);
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_date_time_format_test.cpp | 287 { "year", "2-digit" }, in HWTEST_F_L0() 288 { "month", "2-digit" }, in HWTEST_F_L0() 289 { "day", "2-digit" } in HWTEST_F_L0() 293 { "hour", "2-digit" }, in HWTEST_F_L0() 294 { "minute", "2-digit" }, in HWTEST_F_L0() 295 { "second", "2-digit" }, in HWTEST_F_L0() 305 EXPECT_STREQ(JSLocale::ConvertToStdString(yearStr).c_str(), "2-digit"); in HWTEST_F_L0() 307 EXPECT_STREQ(JSLocale::ConvertToStdString(monthStr).c_str(), "2-digit"); in HWTEST_F_L0() 309 EXPECT_STREQ(JSLocale::ConvertToStdString(dayStr).c_str(), "2-digit"); in HWTEST_F_L0() 314 EXPECT_STREQ(JSLocale::ConvertToStdString(hourStr).c_str(), "2-digit"); in HWTEST_F_L0() [all …]
|
| D | js_bigint_test.cpp | 160 uint32_t digit = maxSafeIntPlusOne->GetDigit(i); in HWTEST_F_L0() local 161 if (digit == 0) { in HWTEST_F_L0() 169 uint32_t digit = maxSafeIntPlusOne->GetDigit(i); in HWTEST_F_L0() local 170 EXPECT_EQ(digit, 0U); in HWTEST_F_L0() 779 EXPECT_TRUE(addres3->GetDigit(0) == 2); // 2 : digit value in HWTEST_F_L0()
|
| /arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
| D | regexp.cpp | 591 char32_t digit = Next(); in ParseHexEscape() local 592 if (!IsHexDigit(digit)) { in ParseHexEscape() 597 uint32_t cpValue = HexValue(digit) * MULTIPLIER; in ParseHexEscape() 599 digit = Next(); in ParseHexEscape() 600 if (!IsHexDigit(digit)) { in ParseHexEscape() 604 cpValue += HexValue(digit); in ParseHexEscape() 614 char32_t digit = Next(); in ParseUnicodeDigits() local 615 if (!IsHexDigit(digit)) { in ParseUnicodeDigits() 620 value = value * MULTIPLIER + HexValue(digit); in ParseUnicodeDigits()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_number.cpp | 269 double digit = digitInt.GetNumber(); in ToFixed() local 270 if (digit < base::MIN_FRACTION || digit > base::MAX_FRACTION) { in ToFixed() 287 return NumberHelper::DoubleToFixed(thread, valueNumber, static_cast<int>(digit)); in ToFixed() 370 double digit = digitInt.GetNumber(); in ToPrecision() local 371 if (digit < base::MIN_FRACTION + 1 || digit > base::MAX_FRACTION) { in ToPrecision() 374 return NumberHelper::DoubleToPrecision(thread, valueNumber, static_cast<int>(digit)); in ToPrecision()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | math_helper_test.cpp | 52 const uint32_t commonInput = static_cast<uint32_t>(0b111111111) << 13; // 13 : left shift digit in HWTEST_F_L0() 60 const uint64_t commonInput = static_cast<uint64_t>(0b111111111) << 53; // 53 : left shift digit in HWTEST_F_L0()
|
| D | bit_helper_test.cpp | 85 …uint32_t uint32CommonValue2 = std::numeric_limits<uint32_t>::max() >> 31; // 31 : right shift digit in HWTEST_F_L0() 101 …uint64_t uint64CommonValue2 = std::numeric_limits<uint64_t>::max() >> 63; // 63 : right shift digit in HWTEST_F_L0()
|
| D | number_helper_test.cpp | 378 …* of number based on ten is less than zero and radix Digit is more than zero or it is gr… 379 …* and radix Digit is less than MAX_EXPONENT_DIGIT call the DoubleToFixed function.other … 415 …* of number based on ten is less than zero and radix Digit is more than zero or it is gr… 416 …* and radix Digit is less than MAX_EXPONENT_DIGIT call the DoubleToFixed function.other …
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | date_parse.h | 223 // 6: 6 decimal digit in IsSixDecimalDigit() 229 // 4: 4 decimal digit in IsFourDecimalDigit() 235 // 2: 2 decimal digit in IsTwoDecimalDigit()
|
| D | js_date_time_format.h | 75 … IcuPatternDesc("hour", {{data1, "2-digit"}, {data2, "numeric"}}, {"2-digit", "numeric"}))) {} in Pattern()
|
| D | js_date_time_format.cpp | 50 const std::vector<std::string> ICU2_DIGIT_NUMERIC = {"2-digit", "numeric"}; 51 …::string> ICU_NARROW_LONG_SHORT2_DIGIT_NUMERIC = {"narrow", "long", "short", "2-digit", "numeric"}; 57 const std::vector<IcuPatternEntry> ICU_YEAR_PE = {{"yy", "2-digit"}, {"y", "numeric"}}; 59 {"MMMMM", "narrow"}, {"MMMM", "long"}, {"MMM", "short"}, {"MM", "2-digit"}, {"M", "numeric"}, 60 {"LLLLL", "narrow"}, {"LLLL", "long"}, {"LLL", "short"}, {"LL", "2-digit"}, {"L", "numeric"} 62 const std::vector<IcuPatternEntry> ICU_DAY_PE = {{"dd", "2-digit"}, {"d", "numeric"}}; 68 {"HH", "2-digit"}, {"H", "numeric"}, {"hh", "2-digit"}, {"h", "numeric"}, 69 {"kk", "2-digit"}, {"k", "numeric"}, {"KK", "2-digit"}, {"K", "numeric"} 71 const std::vector<IcuPatternEntry> ICU_MINUTE_PE = {{"mm", "2-digit"}, {"m", "numeric"}}; 72 const std::vector<IcuPatternEntry> ICU_SECOND_PE = {{"ss", "2-digit"}, {"s", "numeric"}};
|
| D | js_bigint.h | 150 inline void SetDigit(uint32_t index, uint32_t digit) in SetDigit() argument 153 Barriers::SetPrimitive<uint32_t>(GetData(), sizeof(uint32_t) * index, digit); in SetDigit()
|
| D | js_bigint.cpp | 1517 uint32_t digit = 0; in BigIntToNumber() local 1519 digit = bigint->GetDigit(--index); in BigIntToNumber() 1525 mantissa |= (static_cast<uint64_t>(digit) << (remainMantissaBits - BigInt::DATEBITS)); in BigIntToNumber() 1530 digit = bigint->GetDigit(index); in BigIntToNumber() 1531 mantissa |= (static_cast<uint64_t>(digit) >> (BigInt::DATEBITS - remainMantissaBits)); in BigIntToNumber() 1535 // The remaining bits of the current digit in BigIntToNumber() 1546 digit = bigint->GetDigit(index--); in BigIntToNumber() 1550 if (!(digit & temp)) { in BigIntToNumber() 1553 if ((digit & (temp - 1)) != 0) { in BigIntToNumber()
|
| /arkcompiler/runtime_core/tests/cts-generator/generator/ |
| D | test_case.rb | 102 if match = single_line.match(/(.+)##\*([[:digit:]]+)$/)
|
| /arkcompiler/runtime_core/docs/ |
| D | assembly_format.md | 82 …If present, a value is a valid identifier, with following exception: Values can start with a digit. 425 digit := "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" 429 char_simple := char_non_dig | digit
|
| D | code_metainfo.md | 70 Here, we have 4 columns and 5 rows. Number of rows is defeined in the first digit in a header,
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_snapshot.cpp | 627 sequenceId_ = sequenceId; // Odd Digit in GenerateNode() 677 sequenceId_ = sequenceId; // Odd Digit in GenerateNode() 864 sequenceId_ = sequenceId; // Odd Digit in GenerateStringNode() 887 sequenceId_ = sequenceId; // Odd Digit in GeneratePrivateStringNode()
|
| /arkcompiler/ets_frontend/es2panda/lexer/ |
| D | lexer.h | 331 ThrowError("Invalid digit"); in ScanNumberRadix()
|
| D | lexer.cpp | 251 ThrowError("Invalid octal digit"); in ScanNumberLeadingZero()
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | fldarr.32.yaml | 204 …andi 0xFFFFFF # Limit amount of digit in number to fit in f32 primitive without loss of precisi…
|
| /arkcompiler/ets_frontend/test262/ |
| D | intl_tests.txt | 304 intl402/Intl/getCanonicalLocales/unicode-ext-key-with-digit.js 517 intl402/NumberFormat/fraction-digit-options-read-once.js
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_parser.cpp | 1181 // If \u is not followed by a two-digit hexadecimal, treat it in ParseCharacterEscape()
|