Home
last modified time | relevance | path

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

123

/arkcompiler/ets_frontend/
DREADME.md70 <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 …]
DREADME_zh.md70 <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/docs/
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 …]
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 …]
Ddevelopment-example-zh.md166 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
168 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
172 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
174 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
177 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
179 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
182 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
184 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
187 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
189 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1655718513105">…
[all …]
Ddevelopment-example.md151 <table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="5…
153 <th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p11592710304"><a name=…
157 <tbody><tr id="row2015172763014"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.…
159 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p13151527133011"…
162 <tr id="row1015527173015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
164 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p9556101593120">…
167 <tr id="row1015112763020"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1…
169 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1615627173019">…
172 <tr id="row131515277307"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 …
174 <td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1820821404711">…
[all …]
/arkcompiler/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()
38 … os << std::setw(static_cast<int>(width / BITS_PER_HEX_DIGIT)) << std::setfill('0'); in Dump()
46 width = std::min<size_t>(i, BITS_PER_WORD); in Dump()
Dbit_memory_region.h165 size_t width = std::numeric_limits<std::make_unsigned_t<T>>::digits; in Read() local
166 size_t index = (start_ + offset) / width; in Read()
167 size_t shift = (start_ + offset) % width; in Read()
171 T extra = data[index + (shift + (length - 1)) / width]; in Read()
173 return (value | (extra << ((width - shift) & (width - 1)))) & ~clear; in Read()
/arkcompiler/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()
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()
Dpandafile_isapi.rb58 # 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"
Dhelpers.h62 template <size_t width>
66 constexpr size_t BITWIDTH = BYTE_WIDTH * width; in Read()
70 THROW_IF(sp->Size() < width, INVALID_SPAN_OFFSET); in Read()
72 for (size_t i = 0; i < width; i++) { in Read()
76 *sp = sp->SubSpan(width); in Read()
114 template <size_t width>
117 return Read<width>(&sp); in Read()
Dbytecode_instruction.h118 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write() argument
121 if (memcpy_s(dst, width, &value, width) != 0) { in Write()
360 auto ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const;
362 template <size_t offset, size_t width, bool is_signed = false>
366 auto Read64(size_t offset, size_t width) const;
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dinstruction.h69 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/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
/arkcompiler/runtime_core/verification/util/
Dstr.h39 PandaString NumToStr(Int val, Int base = 10, size_t width = 0)
58 if (width > 0) {
60 width -= 1;
62 if (result.length() < width) {
63 result.insert(0, width - result.length(), '0');
77 constexpr size_t width = sizeof(Offset) + (std::is_signed_v<Offset> ? 1 : 0); in OffsetToHexStr() local
78 return NumToStr(offset, base, width); in OffsetToHexStr()
/arkcompiler/runtime_core/libpandafile/templates/tests/
Dbytecode_emitter_tests_gen.h.erb204 % def get_min(width, is_signed)
205 % if width < 8
207 % return '%d' % ((1 << (width - 1)) - (1 << width))
209 % return '%d' % ((1 << (width - 1)))
213 % return 'std::numeric_limits<int%d_t>::min()' % width
215 % return '%s + 1' % get_max(width / 2, false)
220 % def get_max(width, is_signed)
221 % if width < 8
223 % return '%d' % ((1 << (width - 1)) - 1)
225 % return '%d' % ((1 << width) - 1)
[all …]
/arkcompiler/runtime_core/docs/
Dcode_metainfo.md42 Columns width is in a bits.
44 First row is a BitTable's header, that describe rows count and columns width.
48 | Rows count | Column 0 width | . . . | Column N width |
51 …s followed by data, which is a rows with fixed length. Row length is equal to sum of columns width.
53 Column width can't be greater than 32 bits, because `BitTableBuilder` class, that aims to build bit…
73 Row size is 25 bits, that is sum of columns width: 2 + 0 + 15 + 8.
74 Column width is determined by maximum value in a table, e.g. for 2th column it is zero row, that ha…
80 Bitmap table is a Bit table with one column, that doesn't have 32-bits limitation for the width.
/arkcompiler/runtime_core/isa/
Disapi.rb179 Operand.new(name, srcdst, type, ops_encoding[key].width, ops_encoding[key].offset)
190 ops << Operand.new(op.name, 'out', op.type, op.width, op.offset)
191 ops << Operand.new(op.name, 'in', op.type, op.width, op.offset)
316 name.sub('pref_', '').sub('op_', '').split('_').each_slice(2).map do |name, width|
319 op.width = width.to_i
321 offset += op.width
334 attr_reader :name, :type, :offset, :width accessor in Operand
336 def initialize(name, srcdst, type, width = 0, offset = 0) argument
347 @width = width
/arkcompiler/runtime_core/assembler/
Dassembly-ins.h35 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) opcode, argument
70 #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
80 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) def_idx, argument
84 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) use_idxs, argument
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_emitter_gen.h.erb27 … offsets += [fmt.size * 8] # terminating offset, used for calculating last operand encoding width
96 % conditions.push("%s <= BitImmSize::BITSIZE_%d" % [bitlen_vars[index], op.width])
171 return BytecodeEmitter::BitImmSize::BITSIZE_<%= insn.operands.select(&:imm?).first.width %>;
228 …%> BytecodeEmitter::GetSuitableJump(<%= OPCODE_TYPE %> opcode, BytecodeEmitter::BitImmSize width) {
235 switch (width) {
238 … if group[suit_ind - 1] != nil && w == group[suit_ind - 1].operands.select(&:imm?).first.width
/arkcompiler/runtime_core/assembler/templates/
Dins_create_api.h.erb32 % format.each { |o| o.width = storage_width(o.width) }
/arkcompiler/ets_frontend/testTs/expect/parser/ecmascript5/ErrorRecovery/
DparserCommaInTypeMemberList1.txt1 … 2, 'v': 2}, {'t': 5, 'v': 'workItem'}, {'t': 25, 'v': 0}, {'t': 5, 'v': 'width'}, {'t': 25, 'v': …
/arkcompiler/ets_frontend/es2panda/lexer/token/
Dletters.h91 #define LEX_CHAR_ZWNBSP 0xFEFF /* zero width no-break space */
144 #define LEX_CHAR_ZWNJ 0x200C /* zero width non-joiner */
145 #define LEX_CHAR_ZWJ 0x200D /* zero width joiner */

123