| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| D | mpl_int_val.h | 23 …f this class provides different operations on signed and unsigned integers with arbitrary bit-width 26 /// @brief create zero value with zero bit-width 27 IntVal() : value(0), width(0), sign(false) {} in IntVal() 29 IntVal(uint64 val, uint8 bitWidth, bool isSigned) : value(val), width(bitWidth), sign(isSigned) in IntVal() 31 DEBUG_ASSERT(width <= valBitSize && width != 0, "bit-width is too wide"); in IntVal() 40 IntVal(const IntVal &val) : IntVal(val.value, val.width, val.sign) {} in IntVal() 46 IntVal(const IntVal &val, bool isSigned) : IntVal(val.value, val.width, isSigned) {} in IntVal() 50 if (width == 0) { 51 // Allow 'this' to be assigned with new bit-width and sign iff 52 // its original bit-width is zero (i.e. the value was created by the default ctor) [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/sampler/docs/ |
| D | sampling_process.svg | 1 …width:879px;height:500px;background:#FFFFFF;" version="1.1" viewBox="0 0 879 500" width="879px" zo…
|
| D | sampler_start_stop.svg | 1 …width:1021px;height:602px;background:#FFFFFF;" version="1.1" viewBox="0 0 1021 602" width="1021px"…
|
| D | sampler.svg | 1 …width:999px;height:543px;background:#FFFFFF;" version="1.1" viewBox="0 0 999 543" width="999px" zo…
|
| /arkcompiler/runtime_core/static_core/docs/images/ |
| D | inspector-debugger-sequence.svg | 1 …width:961px;height:758px;background:#FFFFFF;" version="1.1" viewBox="0 0 961 758" width="961px" zo…
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | bit_helpers.h | 29 template <size_t width> 32 width <= std::numeric_limits<uint8_t>::digits, uint8_t, 34 width <= std::numeric_limits<uint16_t>::digits, uint16_t, 35 std::conditional_t<width <= std::numeric_limits<uint32_t>::digits, uint32_t, 36 … std::conditional_t<width <= std::numeric_limits<uint64_t>::digits, uint64_t, void>>>>; 39 template <size_t width> 40 using UnsignedTypeHelperT = typename UnsignedTypeHelper<width>::type; 42 template <size_t width, bool is_signed> 45 …nditional_t<is_signed, std::make_signed_t<UnsignedTypeHelperT<width>>, UnsignedTypeHelperT<width>>; 48 template <size_t width, bool is_signed> [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe50.md | 17 constructor(height: number, width: number) { 19 this.width = width 23 width 36 constructor(height: number, width: number) { 38 this.width = width 42 width: number
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | bit_helpers.h | 29 template <size_t WIDTH> 33 WIDTH <= std::numeric_limits<uint8_t>::digits, uint8_t, 35 WIDTH <= std::numeric_limits<uint16_t>::digits, uint16_t, 36 std::conditional_t<WIDTH <= std::numeric_limits<uint32_t>::digits, uint32_t, 37 … std::conditional_t<WIDTH <= std::numeric_limits<uint64_t>::digits, uint64_t, void>>>>; 40 template <size_t WIDTH> 41 using UnsignedTypeHelperT = typename UnsignedTypeHelper<WIDTH>::type; 43 template <size_t WIDTH, bool IS_SIGNED> 47 …nditional_t<IS_SIGNED, std::make_signed_t<UnsignedTypeHelperT<WIDTH>>, UnsignedTypeHelperT<WIDTH>>; 50 template <size_t WIDTH, bool IS_SIGNED> [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | using-the-toolchain.md | 24 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1… 26 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281… 28 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276… 30 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354… 34 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"… 36 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p… 38 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p… 40 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="… 43 <tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%" header… 45 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p… [all …]
|
| D | README_zh.md | 212 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5… 214 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=… 218 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.… 220 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"… 223 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1… 225 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">… 228 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1… 230 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">… 233 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 … 235 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1655718513105">… [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | types.yaml | 28 width: 1 35 width: 8 43 width: 8 51 width: 16 59 width: 16 67 width: 32 75 width: 32 83 width: 32 91 width: 64 99 width: 64 [all …]
|
| D | bytecode_instruction-inl.h | 26 …ecodeInst<MODE>::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const in ReadHelper() argument 37 size_t leftShift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper() 49 template <size_t OFFSET, size_t WIDTH, bool IS_SIGNED> 54 constexpr size_t BYTE_OFFSET_END = (OFFSET + WIDTH + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read() 58 using ReturnType = helpers::TypeHelperT<WIDTH, IS_SIGNED>; in Read() 60 return ReadHelper<ReturnType, StorageType>(BYTE_OFFSET, BYTE_COUNT, OFFSET, WIDTH); in Read() 65 inline auto BytecodeInst<MODE>::Read64(size_t offset, size_t width) const in Read64() argument 70 ASSERT((offset % BYTE_WIDTH) + width <= BIT64); in Read64() 73 size_t byteoffsetEnd = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read64() 79 return ReadHelper<ReturnType, StorageType>(byteoffset, bytecount, offset, width); in Read64()
|
| D | pandafile_isapi.rb | 58 # width - bit width 61 sig = format_ops(group.first.format).each { |o| o.width = storage_width(o.width) } 64 sig[i].width = [o.width, sig[i].width].max 69 o.type, o.name = is_jump ? ['const Label &', 'label'] : ["int#{o.width}_t", o.name] 71 o.type = "uint#{o.width}_t"
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | types.yaml | 28 width: 1 35 width: 8 43 width: 8 51 width: 16 59 width: 16 67 width: 32 75 width: 32 83 width: 32 91 width: 64 99 width: 64 [all …]
|
| D | bytecode_instruction-inl.h | 26 …ecodeInst<Mode>::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const in ReadHelper() argument 39 size_t left_shift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper() 51 template <size_t offset, size_t width, bool is_signed /* = false */> 56 constexpr size_t BYTE_OFFSET_END = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read() 60 using return_type = helpers::TypeHelperT<width, is_signed>; in Read() 62 return ReadHelper<return_type, storage_type>(BYTE_OFFSET, BYTE_COUNT, offset, width); in Read() 67 inline auto BytecodeInst<Mode>::Read64(size_t offset, size_t width) const in Read64() argument 72 ASSERT((offset % BYTE_WIDTH) + width <= BIT64); in Read64() 75 size_t byteoffset_end = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read64() 81 return ReadHelper<return_type, storage_type>(byteoffset, bytecount, offset, width); in Read64()
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/utils/checker/imageFormat/ |
| D | svg.ts | 23 width: /\swidth=(['"])([^%]+?)\1/, 32 return { height: tmpWeight, width: tmpWidth }; 38 const widths = root.match(extractorRegExps.width); 48 width: widths && tmpWidth, 58 width: attrs.width as number, 63 const ratio = (viewbox.width as number) / (viewbox.height as number); 67 width: Math.floor(attrs.height * ratio) 69 } else if (attrs.width) { 71 height: Math.floor(attrs.width * ratio), 72 width: attrs.width, [all …]
|
| /arkcompiler/ets_frontend/ |
| D | README_zh.md | 70 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1… 72 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281… 74 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276… 76 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354… 80 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"… 82 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p… 84 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p… 86 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="… 89 <tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%" header… 91 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p… [all …]
|
| D | README.md | 70 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1… 72 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281… 74 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276… 76 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354… 80 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"… 82 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p… 84 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p… 86 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="… 89 <tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%" header… 91 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p… [all …]
|
| /arkcompiler/ets_runtime/tools/ap_file_viewer/src/base-ui/ |
| D | icon.svg | 4 <g id="play_expand" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> 5 <rect id="rectangle" stroke="currentColor" opacity="0.899323091" x="2" y="2" width="12" 8 y="7.50196767" width="8" height="1"></rect> 12 <g id="play_retract" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> 13 <rect id="rectangle" stroke="currentColor" opacity="0.899323091" x="2" y="2" width="12" 21 <g id="toolWindowProject" stroke="none" stroke-width="1" fill="currentColor" 29 <g id="export" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1"> 42 <g id="ic_down" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1"> 51 <g id="ic_up" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1"> 60 <g id="seach" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/templates/tests/ |
| D | bytecode_emitter_tests_gen.h.erb | 31 % def get_min(width, is_signed) 32 % if width < 8 34 % return '%d' % ((1 << (width - 1)) - (1 << width)) 36 % return '%d' % ((1 << (width - 1))) 40 % return 'std::numeric_limits<int%d_t>::min()' % width 42 % return '%s + 1' % get_max(width / 2, false) 47 % def get_max(width, is_signed) 48 % if width < 8 50 % return '%d' % ((1 << (width - 1)) - 1) 52 % return '%d' % ((1 << width) - 1) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/ |
| D | instruction.h | 69 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write() argument 72 if (memcpy_s(dst, width, &value, width) != 0) { in Write() 83 inline auto ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const in ReadHelper() argument 96 size_t left_shift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper() 107 template <size_t offset, size_t width, bool is_signed = false> 112 constexpr size_t BYTE_OFFSET_END = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read() 116 using return_type = helpers::TypeHelperT<width, is_signed>; in Read() 118 return ReadHelper<return_type, storage_type>(BYTE_OFFSET, BYTE_COUNT, offset, width); in Read() 122 inline auto Read64(size_t offset, size_t width) const in Read64() argument 127 ASSERT((offset % BYTE_WIDTH) + width <= BIT64); in Read64() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/java_cases/ |
| D | ClassTest.java | 32 private double width; field in Rectangle 38 * @param width width of Rectangle 40 public Rectangle(double length, double width) { in Rectangle() argument 42 this.width = width; in Rectangle() 51 return length * width; in getArea()
|
| /arkcompiler/runtime_core/static_core/runtime/templates/ |
| D | shorty_values.h.erb | 27 % first_32 = PandaFile::types.select {|type| type.width && type.width == 32}.first.code 28 % last_int32 = PandaFile::types.select {|type| type.width && type.width == 32 && type.properties.in… 29 % first_64 = PandaFile::types.select {|type| (type.width && type.width == 64)}.first.code 31 % num_32_and_larger = PandaFile::types.select {|type| type.width && type.width >= 32 || type.name =… 33 % num_64bit_types = PandaFile::types.select {|type| (type.width && type.width == 64)}.length
|
| /arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/ |
| D | bytecode_inst-inl.h | 26 …to BytecodeInst::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const in ReadHelper() argument 39 size_t leftShift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper() 51 template <size_t OFFSET, size_t WIDTH, bool IS_SIGNED> 56 constexpr size_t BYTE_OFFSET_END = (OFFSET + WIDTH + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read() 60 using ReturnType = ark::helpers::TypeHelperT<WIDTH, IS_SIGNED>; in Read() 62 return ReadHelper<ReturnType, StorageType>(BYTE_OFFSET, BYTE_COUNT, OFFSET, WIDTH); in Read() 67 inline auto BytecodeInst::Read64(size_t offset, size_t width) const in Read64() argument 72 ASSERT((offset % BYTE_WIDTH) + width <= BIT64); in Read64() 75 size_t byteoffsetEnd = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read64() 81 return ReadHelper<ReturnType, StorageType>(byteoffset, bytecount, offset, width); in Read64()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_trace.h | 30 static constexpr int WIDTH = 20; variable 31 static constexpr int COLUMN_WIDTH = NAME_WIDTH + WIDTH * 6; 101 …TRACE(INFO) << std::left << std::setw(NAME_WIDTH) << name_ << std::right << std::setw(WIDTH) << id_ in Print() 102 … << std::setw(WIDTH) << codesize_ << std::setw(WIDTH) << hotness_ << std::setw(WIDTH) in Print() 103 … << count << std::fixed << std::setprecision(PRECISION) << std::setw(WIDTH) in Print() 104 << avgProfileBytecodeTime << std::setw(WIDTH) << totalTime; in Print() 146 …LOG_TRACE(INFO) << std::setw(NAME_WIDTH + WIDTH * (TOTAL_COLUMN - PROFILE_BYTECODE_TIME_COLUMN)) <… in Print() 147 … << std::right << std::setw(WIDTH * PROFILE_BYTECODE_TIME_COLUMN) << "Profile Bytecode Time(ms)"; in Print() 148 …ACE(INFO) << std::left << std::setw(NAME_WIDTH) << "Name" << std::right << std::setw(WIDTH) << "Id" in Print() 149 … << std::setw(WIDTH) << "CodeSize" << std::setw(WIDTH) << "Hotness" << std::setw(WIDTH) in Print() [all …]
|