Home
last modified time | relevance | path

Searched refs:BYTE_WIDTH (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
H A Dinstruction.h85 constexpr size_t BYTE_WIDTH = 8; in ReadHelper() local
87 size_t right_shift = offset % BYTE_WIDTH; in ReadHelper()
91 S mask = static_cast<S>(ReadByte(byteoffset + i)) << (i * BYTE_WIDTH); in ReadHelper()
96 size_t left_shift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper()
110 constexpr size_t BYTE_WIDTH = 8; in Read() local
111 constexpr size_t BYTE_OFFSET = offset / BYTE_WIDTH; in Read()
112 constexpr size_t BYTE_OFFSET_END = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read()
115 using storage_type = helpers::TypeHelperT<BYTE_COUNT * BYTE_WIDTH, false>; in Read()
125 constexpr size_t BYTE_WIDTH in Read64() local
[all...]
/arkcompiler/runtime_core/libpandafile/
H A Dbytecode_instruction-inl.h28 constexpr size_t BYTE_WIDTH = 8; in ReadHelper() local
30 size_t right_shift = offset % BYTE_WIDTH; in ReadHelper()
34 S mask = static_cast<S>(ReadByte(byteoffset + i)) << (i * BYTE_WIDTH); in ReadHelper()
39 size_t left_shift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper()
54 constexpr size_t BYTE_WIDTH = 8; in Read() local
55 constexpr size_t BYTE_OFFSET = offset / BYTE_WIDTH; in Read()
56 constexpr size_t BYTE_OFFSET_END = (offset + width + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read()
59 using storage_type = helpers::TypeHelperT<BYTE_COUNT * BYTE_WIDTH, false>; in Read()
70 constexpr size_t BYTE_WIDTH in Read64() local
[all...]
H A Dhelpers.h65 constexpr size_t BYTE_WIDTH = std::numeric_limits<uint8_t>::digits; in Read() local
66 constexpr size_t BITWIDTH = BYTE_WIDTH * width; in Read()
73 unsigned_type tmp = static_cast<unsigned_type>((*sp)[i]) << (i * BYTE_WIDTH); in Read()
H A Dfile_writer.h64 static constexpr size_t BYTE_WIDTH = std::numeric_limits<uint8_t>::digits; in Write() local
72 data >>= BYTE_WIDTH; in Write() local
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dbytecode_instruction-inl.h28 constexpr size_t BYTE_WIDTH = 8; in ReadHelper() local
32 S mask = static_cast<S>(ReadByte(byteoffset + i)) << (i * BYTE_WIDTH); in ReadHelper()
36 v >>= offset % BYTE_WIDTH; in ReadHelper() local
37 size_t leftShift = sizeof(R) * BYTE_WIDTH - width; in ReadHelper()
52 constexpr size_t BYTE_WIDTH = 8; in Read() local
53 constexpr size_t BYTE_OFFSET = OFFSET / BYTE_WIDTH; in Read()
54 constexpr size_t BYTE_OFFSET_END = (OFFSET + WIDTH + BYTE_WIDTH - 1) / BYTE_WIDTH; in Read()
57 using StorageType = helpers::TypeHelperT<BYTE_COUNT * BYTE_WIDTH, false>; in Read()
68 constexpr size_t BYTE_WIDTH in Read64() local
[all...]
H A Dhelpers.h38 constexpr size_t BYTE_WIDTH = std::numeric_limits<uint8_t>::digits; in Read() local
39 constexpr size_t BITWIDTH = BYTE_WIDTH * WIDTH; in Read()
44 UnsignedType tmp = static_cast<UnsignedType>((*sp)[i]) << (i * BYTE_WIDTH); in Read()
H A Dfile_writer.h63 [[maybe_unused]] static constexpr size_t BYTE_WIDTH = std::numeric_limits<uint8_t>::digits; in Write() local
71 data >>= BYTE_WIDTH; in Write() local

Completed in 3 milliseconds