Home
last modified time | relevance | path

Searched full:width (Results 1 – 25 of 53) sorted by relevance

123

/ark/js_runtime/docs/
Dusing-the-toolchain-zh.md24 <table><thead align="left"><tr id="row19706343164411"><th class="cellrowborder" valign="top" width=…
26 <th class="cellrowborder" valign="top" width="6.830683068306829%" id="mcps1.1.6.1.2"><p id="p954814…
28 <th class="cellrowborder" valign="top" width="44.34443444344434%" id="mcps1.1.6.1.3"><p id="p170614…
30 <th class="cellrowborder" valign="top" width="26.01260126012601%" id="mcps1.1.6.1.4"><p id="p184125…
32 <th class="cellrowborder" valign="top" width="7.520752075207521%" id="mcps1.1.6.1.5"><p id="p158941…
36 <tbody><tr id="row770684312444"><td class="cellrowborder" valign="top" width="15.29152915291529%" h…
38 <td class="cellrowborder" valign="top" width="6.830683068306829%" headers="mcps1.1.6.1.2 "><p id="p…
40 <td class="cellrowborder" valign="top" width="44.34443444344434%" headers="mcps1.1.6.1.3 "><p id="p…
42 <td class="cellrowborder" valign="top" width="26.01260126012601%" headers="mcps1.1.6.1.4 "><p id="p…
44 <td class="cellrowborder" valign="top" width="7.520752075207521%" headers="mcps1.1.6.1.5 "><p id="p…
[all …]
Dusing-the-toolchain.md24 <table><thead align="left"><tr id="row19706343164411"><th class="cellrowborder" valign="top" width=…
26 <th class="cellrowborder" valign="top" width="6.830683068306829%" id="mcps1.1.6.1.2"><p id="p954814…
28 <th class="cellrowborder" valign="top" width="44.34443444344434%" id="mcps1.1.6.1.3"><p id="p170614…
30 <th class="cellrowborder" valign="top" width="26.01260126012601%" id="mcps1.1.6.1.4"><p id="p184125…
32 <th class="cellrowborder" valign="top" width="7.520752075207521%" id="mcps1.1.6.1.5"><p id="p158941…
36 <tbody><tr id="row770684312444"><td class="cellrowborder" valign="top" width="15.29152915291529%" h…
38 <td class="cellrowborder" valign="top" width="6.830683068306829%" headers="mcps1.1.6.1.2 "><p id="p…
40 <td class="cellrowborder" valign="top" width="44.34443444344434%" headers="mcps1.1.6.1.3 "><p id="p…
42 <td class="cellrowborder" valign="top" width="26.01260126012601%" headers="mcps1.1.6.1.4 "><p id="p…
44 <td class="cellrowborder" valign="top" width="7.520752075207521%" headers="mcps1.1.6.1.5 "><p id="p…
[all …]
Ddevelopment-example-zh.md149 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
151 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
155 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
157 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
160 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
162 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
165 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
167 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
170 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
172 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1655718513105">…
[all …]
Ddevelopment-example.md139 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
141 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
145 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
147 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
150 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
152 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
155 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
157 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
160 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
162 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1820821404711">…
[all …]
/ark/ts2abc/
DREADME.md55 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1…
57 <th class="cellrowborder" valign="top" width="6.869313068693131%" id="mcps1.1.6.1.2"><p id="p158431…
59 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281…
61 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276…
63 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354…
67 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"…
69 <td class="cellrowborder" valign="top" width="6.869313068693131%" headers="mcps1.1.6.1.2 "><p id="p…
71 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
73 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p…
75 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="…
[all …]
DREADME_zh.md56 <table><thead align="left"><tr id="row535415467591"><th class="cellrowborder" valign="top" width="1…
58 <th class="cellrowborder" valign="top" width="6.869313068693131%" id="mcps1.1.6.1.2"><p id="p158431…
60 <th class="cellrowborder" valign="top" width="19.33806619338066%" id="mcps1.1.6.1.3"><p id="p157281…
62 <th class="cellrowborder" valign="top" width="25.82741725827417%" id="mcps1.1.6.1.4"><p id="p103276…
64 <th class="cellrowborder" valign="top" width="35.066493350664935%" id="mcps1.1.6.1.5"><p id="p18354…
68 <tbody><tr id="row1435412465598"><td class="cellrowborder" valign="top" width="12.898710128987101%"…
70 <td class="cellrowborder" valign="top" width="6.869313068693131%" headers="mcps1.1.6.1.2 "><p id="p…
72 <td class="cellrowborder" valign="top" width="19.33806619338066%" headers="mcps1.1.6.1.3 "><p id="p…
74 <td class="cellrowborder" valign="top" width="25.82741725827417%" headers="mcps1.1.6.1.4 "><p id="p…
76 <td class="cellrowborder" valign="top" width="35.066493350664935%" headers="mcps1.1.6.1.5 "><p id="…
[all …]
/ark/runtime_core/libpandabase/utils/
Dbit_helpers.h29 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 …]
Dbit_memory_region-inl.h33 size_t width = BITS_PER_WORD - (BITS_PER_HEX_DIGIT - Size() % BITS_PER_HEX_DIGIT); in Dump() local
34 for (ssize_t i = Size() - width; i >= 0; i -= width) { in Dump()
35 auto val = Read(i, width); in Dump()
39 … os << std::setw(static_cast<int>(width / BITS_PER_HEX_DIGIT)) << std::setfill('0'); in Dump()
47 width = std::min<size_t>(i, BITS_PER_WORD); in Dump()
Dbit_memory_region.h166 size_t width = std::numeric_limits<std::make_unsigned_t<T>>::digits; in Read() local
167 size_t index = (start_ + offset) / width; in Read()
168 size_t shift = (start_ + offset) % width; in Read()
172 T extra = data[index + (shift + (length - 1)) / width]; in Read()
174 return (value | (extra << ((width - shift) & (width - 1)))) & ~clear; in Read()
/ark/runtime_core/libpandafile/
Dtypes.yaml28 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 …]
Dbytecode_instruction-inl.h26 …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()
52 template <size_t offset, size_t width, bool is_signed /* = false */>
57 constexpr size_t BYTE_OFFSET_END = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read()
61 using return_type = helpers::TypeHelperT<width, is_signed>; in Read()
63 return ReadHelper<return_type, storage_type>(BYTE_OFFSET, BYTE_COUNT, offset, width); in Read()
69 inline auto BytecodeInst<Mode>::Read64(size_t offset, size_t width) const in Read64() argument
74 ASSERT((offset % BYTE_WIDTH) + width <= BIT64); in Read64()
77 size_t byteoffset_end = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read64()
83 return ReadHelper<return_type, storage_type>(byteoffset, bytecount, offset, width); in Read64()
Dpandafile_isapi.rb58 # width - bit width
62 sig.each { |o| o.width = storage_width(o.width) }
66 sig[i].width = [o.width, sig[i].width].max
71 o.type, o.name = is_jump ? ['const Label &', 'label'] : ["int#{o.width}_t", o.name]
73 o.type = "uint#{o.width}_t"
Dhelpers.h31 template <size_t width>
35 constexpr size_t BITWIDTH = BYTE_WIDTH * width; in Read()
39 for (size_t i = 0; i < width; i++) { in Read()
43 *sp = sp->SubSpan(width); in Read()
47 template <size_t width>
50 return Read<width>(&sp); in Read()
/ark/runtime_core/libpandafile/templates/tests/
Dbytecode_emitter_tests_gen.h.erb29 % def get_min(width, is_signed)
30 % if width < 8
32 % return '%d' % ((1 << (width - 1)) - (1 << width))
34 % return '%d' % ((1 << (width - 1)))
38 % return 'std::numeric_limits<int%d_t>::min()' % width
40 % return '%s + 1' % get_max(width / 2, false)
45 % def get_max(width, is_signed)
46 % if width < 8
48 % return '%d' % ((1 << (width - 1)) - 1)
50 % return '%d' % ((1 << width) - 1)
[all …]
/ark/runtime_core/
DREADME_zh.md56 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
58 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
62 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
64 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
67 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
69 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
72 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
74 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
77 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
79 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p25842312319"><a…
[all …]
DREADME.md56 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
58 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
62 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
64 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
67 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
69 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
72 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
74 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
77 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
79 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p25842312319"><a…
[all …]
/ark/runtime_core/runtime/templates/
Dshorty_values.h.erb27 % 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
/ark/runtime_core/isa/
Disapi.rb128 Operand.new(name, srcdst, type, ops_encoding[key].width, ops_encoding[key].offset)
139 ops << Operand.new(op.name, 'out', op.type, op.width, op.offset)
140 ops << Operand.new(op.name, 'in', op.type, op.width, op.offset)
240 name.sub('pref_', '').sub('op_', '').split('_').each_slice(2).map do |name, width|
243 op.width = width.to_i
245 offset += op.width
262 attr_reader :name, :type, :offset, :width accessor in Operand
264 def initialize(name, srcdst, type, width = 0, offset = 0) argument
275 @width = width
/ark/runtime_core/verification/util/
Dstr.h39 Str NumToStr(Int val, Int Base = 0x0A, int width = -1)
58 if (width > 0) {
59 while (result.length() < static_cast<size_t>(width - (neg ? 1 : 0))) {
/ark/runtime_core/assembler/
Dassembly-ins.h35 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) opcode, argument
71 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) flags, argument
75 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) width, argument
79 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) def_idx, argument
83 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) use_idxs, argument
/ark/js_runtime/ecmascript/compiler/
Dllvm_codegen.cpp359 std::cerr.width(8); // 8:fixed hex print width in Disassemble()
361 std::cerr.width(8); // 8:fixed hex print width in Disassemble()
372 std::cerr.width(8); // 8:fixed hex print width in Disassemble()
374 std::cerr.width(8); // 8:fixed hex print width in Disassemble()
/ark/runtime_core/assembler/templates/
Dins_create_api.h.erb32 % format.each { |o| o.width = storage_width(o.width) }
/ark/ts2abc/testTs/expect/parser/ecmascript5/ErrorRecovery/
DparserCommaInTypeMemberList1.txt1 …: 2, 'v': 2}, {'t': 5, 'v': 'workItem'}, {'t': 2, 'v': 0}, {'t': 5, 'v': 'width'}, {'t': 2, 'v': 4…
/ark/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb100 % widths = id_ops.map(&:width)
131 % widths = id_ops.map(&:width)
160 % widths = reg_ops.map(&:width)
192 % widths = reg_ops.map(&:width)
223 % widths = imm_ops.map(&:width)
254 % widths = imm_ops.map(&:width)
Dbytecode_emitter_gen.h.erb27 … offsets += [fmt.size * 8] # terminating offset, used for calculating last operand encoding width
104 % conditions.push("%s <= BitImmSize::BITSIZE_%d" % [bitlen_vars[index], op.width])
140 return BytecodeEmitter::BitImmSize::BITSIZE_<%= insn.operands.select(&:imm?).first.width %>;

123