Home
last modified time | relevance | path

Searched full:uint32_t (Results 1 – 25 of 2492) sorted by relevance

12345678910>>...100

/arkcompiler/runtime_core/static_core/compiler/aot/
Daot_headers.h29 alignas(alignof(uint32_t)) std::array<char, AOT_HEADER_MAGIC_SIZE> magic;
30 alignas(alignof(uint32_t)) std::array<char, AOT_HEADER_VERSION_SIZE> version;
31 uint32_t checksum;
32 uint32_t environmentChecksum;
33 uint32_t arch;
34 uint32_t gcType;
35 uint32_t filesCount;
36 uint32_t filesOffset;
37 uint32_t classHashTablesOffset;
38 uint32_t classesOffset;
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dmodifiers.h25 constexpr uint32_t ACC_PUBLIC = 0x0001; // field, method, class
26 constexpr uint32_t ACC_PRIVATE = 0x0002; // field, method, class
27 constexpr uint32_t ACC_PROTECTED = 0x0004; // field, method, class
28 constexpr uint32_t ACC_STATIC = 0x0008; // field, method
29 constexpr uint32_t ACC_FINAL = 0x0010; // field, method, class
30 constexpr uint32_t ACC_SUPER = 0x0020; // class
31 constexpr uint32_t ACC_SYNCHRONIZED = 0x0020; // method
32 constexpr uint32_t ACC_BRIDGE = 0x0040; // method
33 constexpr uint32_t ACC_VOLATILE = 0x0040; // field
34 constexpr uint32_t ACC_TRANSIENT = 0x0080; // field,
[all …]
Dcode_data_accessor.h34 uint32_t GetStartPc() const in GetStartPc()
39 uint32_t GetLength() const in GetLength()
44 uint32_t GetNumCatches() const in GetNumCatches()
66 uint32_t startPc_;
67 uint32_t length_;
68 uint32_t numCatches_;
83 uint32_t GetTypeIdx() const in GetTypeIdx()
88 uint32_t GetHandlerPc() const in GetHandlerPc()
93 uint32_t GetCodeSize() const in GetCodeSize()
104 uint32_t typeIdx_;
[all …]
/arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/
Dregexp_opcode.h88 virtual uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const = 0;
98 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
102 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
108 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
112 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
118 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
122 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
128 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
129 void UpdateOpPara(DynChunk *buf, uint32_t offset, uint32_t para) const;
133 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
[all …]
Dregexp_opcode.cpp110 uint32_t pc = RegExpParser::OP_START_OFFSET; in DumpRegExpOpCode()
117 uint32_t SaveStartOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
125 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
132 uint32_t SaveEndOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
140 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
147 uint32_t CharOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
155 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
162 uint32_t Char32OpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
169 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
176 uint32_t GotoOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
[all …]
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_opcode.h70 static constexpr uint32_t INVALID_PARA = 0xffffffff;
79 static void DumpRegExpOpCode(std::ostream &out, const DynChunk &buf, uint32_t size);
92 virtual uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const = 0;
102 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
106 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
112 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
116 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
122 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
126 uint32_t DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const override;
132 uint32_t EmitOpCode(DynChunk *buf, uint32_t para) const;
[all …]
Dregexp_opcode.cpp113 void RegExpOpCode::DumpRegExpOpCode(std::ostream &out, const DynChunk &buf, uint32_t size) in DumpRegExpOpCode()
116 uint32_t pc = RegExpParser::OP_START_OFFSET; in DumpRegExpOpCode()
123 uint32_t SaveStartOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
131 uint32_t SaveStartOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
138 uint32_t SaveEndOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
146 uint32_t SaveEndOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
153 uint32_t CharOpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
161 uint32_t CharOpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
168 uint32_t Char32OpCode::EmitOpCode(DynChunk *buf, uint32_t para) const in EmitOpCode()
175 uint32_t Char32OpCode::DumpOpCode(std::ostream &out, const DynChunk &buf, uint32_t offset) const in DumpOpCode()
[all …]
/arkcompiler/runtime_core/static_core/runtime/jit/libprofile/
Dpgo_header.h24 constexpr uint32_t PGO_HEADER_MAGIC_SIZE = 4;
25 constexpr uint32_t PGO_HEADER_VERSION_SIZE = 4;
28 alignas(alignof(uint32_t)) std::array<char, PGO_HEADER_MAGIC_SIZE> magic;
29 alignas(alignof(uint32_t)) std::array<char, PGO_HEADER_VERSION_SIZE> version;
30 uint32_t versionProfileType;
31 uint32_t savedProfileType;
32 uint32_t headerSize;
33 uint32_t withCha;
36 static_assert((sizeof(PgoHeader) % sizeof(uint32_t)) == 0);
37 static_assert(alignof(PgoHeader) == alignof(uint32_t));
[all …]
Dpgo_file_builder.h33 explicit Buffer(uint32_t size) in Buffer()
47 uint32_t CopyToBuffer(const T *from, size_t size, size_t beginIndex) in CopyToBuffer()
73 uint32_t bufferSize_;
74 uint32_t currSize_;
77uint32_t Save(const PandaString &fileName, AotProfilingData *profObject, const PandaString &classC…
85 …static constexpr uint32_t MAGIC_SIZE = 4; // CC-OFF(G.NAM.03-CPP) project code…
86 …static constexpr uint32_t VERSION_SIZE = 4; // CC-OFF(G.NAM.03-CPP) project code…
88 …enum ProfileType : uint32_t { NO = 0x00, VCALL = 0x01, BRANCH = 0x02, THROW = 0x04, ALL = 0xFFFFFF…
90 …static constexpr uint32_t PROFILE_TYPE = ProfileType::VCALL | ProfileType::BRANCH | ProfileType::T…
92 enum FileType : uint32_t { PFILE = 0, BOOT = 1, APP = 2 };
[all …]
/arkcompiler/runtime_core/libpandafile/
Dmodifiers.h25 static constexpr uint32_t ACC_PUBLIC = 0x0001; // field, method, class
26 static constexpr uint32_t ACC_PRIVATE = 0x0002; // field, method
27 static constexpr uint32_t ACC_PROTECTED = 0x0004; // field, method
28 static constexpr uint32_t ACC_STATIC = 0x0008; // field, method
29 static constexpr uint32_t ACC_FINAL = 0x0010; // field, method, class
30 static constexpr uint32_t ACC_SUPER = 0x0020; // class
31 static constexpr uint32_t ACC_SYNCHRONIZED = 0x0020; // method
32 static constexpr uint32_t ACC_BRIDGE = 0x0040; // method
33 static constexpr uint32_t ACC_VOLATILE = 0x0040; // field
34 static constexpr uint32_t ACC_TRANSIENT = 0x0080; // field,
[all …]
Dcode_data_accessor.h34 uint32_t GetStartPc() const in GetStartPc()
39 uint32_t GetLength() const in GetLength()
44 uint32_t GetNumCatches() const in GetNumCatches()
66 uint32_t start_pc_;
67 uint32_t length_;
68 uint32_t num_catches_;
83 uint32_t GetTypeIdx() const in GetTypeIdx()
88 uint32_t GetHandlerPc() const in GetHandlerPc()
93 uint32_t GetCodeSize() const in GetCodeSize()
104 uint32_t type_idx_;
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_bigint.h28 enum class Operate : uint32_t { AND = 0, OR, XOR };
34 static constexpr uint32_t DATA_BITS = sizeof(uint32_t) * 8; // 8 : one-bit number of bytes
35 static constexpr uint32_t MAXBITS = 1_MB; // 1 MB : Maximum space that can be opened up
36 static constexpr uint32_t kMaxLengthBits = 1 << 30; // ~1 billion.
37 static constexpr uint32_t MAXSIZE = MAXBITS / DATA_BITS; // the maximum value of size
38 static constexpr uint32_t MAXOCTALVALUE = 7; // 7 : max octal value
39 static constexpr uint32_t BINARY = 2; // 2 : binary
41 static constexpr uint32_t OCTAL = 8; // 8 : octal
42 static constexpr uint32_t DECIMAL = 10; // 10 : decimal
43 static constexpr uint32_t HEXADECIMAL = 16; // 16 : hexadecimal
[all …]
Dtagged_array.h31 static constexpr uint32_t MAX_ARRAY_INDEX = std::numeric_limits<uint32_t>::max();
32 static constexpr uint32_t MAX_END_UNUSED = 4;
33 static constexpr uint32_t EXTEND_PADDING_LENGTH = 16U;
38 JSTaggedValue Get(const JSThread *thread, uint32_t idx) const in Get()
49 JSTaggedValue GetPrimitive(uint32_t idx) const in GetPrimitive()
58 uint32_t GetIdx(const JSThread *thread, const JSTaggedValue &value) const;
59 JSTaggedValue GetBit(const JSThread *thread, uint32_t idx, uint32_t bitOffset) const;
62 inline void Set(const JSThread *thread, uint32_t idx, const T &value);
64 … void SetBit(const JSThread* thread, uint32_t idx, uint32_t bitOffset, const JSTaggedValue &value);
67 inline void Copy(const JSThread* thread, uint32_t dstStart, uint32_t srcStart,
[all …]
Djs_stable_array.h56 … static JSTaggedValue Splice(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start,
57 uint32_t insertCount, uint32_t actualDeleteCount,
58 JSHandle<JSObject> newArrayHandle, uint32_t len);
59 …c JSTaggedValue Splice(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start,
60 uint32_t insertCount, uint32_t actualDeleteCount,
61 JSHandle<JSObject> newArrayHandle, uint32_t len);
67 … JSHandle<JSTaggedValue> thisArgHandle, uint32_t &k);
73 JSHandle<JSTaggedValue> thisArgHandle, uint32_t &k);
76 JSHandle<JSTaggedValue> thisArgHandle, uint32_t &k);
79 … JSHandle<JSTaggedValue> thisArgHandle, uint32_t len, uint32_t &k);
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Djit_compilation_env.h28 static constexpr uint32_t INVALID_HEAP_CONSTANT_INDEX = std::numeric_limits<uint32_t>::max();
35 uint32_t constpoolId;
36 uint32_t index;
95 JSTaggedValue FindOrCreateUnsharedConstpool(const uint32_t methodOffset) const override;
99 JSTaggedValue GetConstantPoolByMethodOffset(const uint32_t methodOffset) const override;
102 …JSTaggedValue GetArrayLiteralFromCache(JSTaggedValue constpool, uint32_t index, CString entry) con…
103 …JSTaggedValue GetObjectLiteralFromCache(JSTaggedValue constpool, uint32_t index, CString entry) co…
104 JSTaggedValue GetMethodFromCache(JSTaggedValue constpool, uint32_t index) const override;
105 … panda_file::File::EntityId GetIdFromCache(JSTaggedValue constpool, uint32_t index) const override;
113 JSTaggedValue GetStringFromConstantPool(const uint32_t methodOffset, const uint16_t cpIdx,
[all …]
Dtype.h64 explicit ParamType(uint32_t type = 0) : type_(type) {} in type_()
66 ParamType(uint32_t jsType, [[maybe_unused]] bool isBuiltinType) in ParamType()
74 static ParamType name() { return ParamType(static_cast<uint32_t>(type)); }
81 bool Is##name() const { return type_ == static_cast<uint32_t>(type); } in PARAM_TYPE_LIST()
87 uint32_t Value() const
102 uint32_t GetBuiltinType() const in GetBuiltinType()
125 …static constexpr uint32_t BUILTIN_TYPE = (1 << 31); // 31 : the 31-th bit is set implies builtin t…
127 uint32_t type_ {0};
134 constexpr explicit GateType(uint32_t type = 0)
147 uint32_t Value() const in Value()
[all …]
Dbytecode_info_collector.h35 uint32_t methodsSize {0};
40 …MethodInfo(uint32_t methodInfoIndex, uint32_t methodPcInfoIndex, std::shared_ptr<CString> recordNa… in MethodInfo()
45 static constexpr uint32_t DEFAULT_OUTMETHOD_OFFSET = 0;
46 static constexpr uint32_t DEFAULT_ROOT = std::numeric_limits<uint32_t>::max();
48 inline uint32_t GetMethodPcInfoIndex() const in GetMethodPcInfoIndex()
53 inline void SetMethodPcInfoIndex(uint32_t methodPcInfoIndex) in SetMethodPcInfoIndex()
58 inline uint32_t GetMethodInfoIndex() const in GetMethodInfoIndex()
63 inline void SetMethodInfoIndex(uint32_t methodInfoIndex) in SetMethodInfoIndex()
121 uint32_t methodInfoIndex_ { 0 };
123 uint32_t methodPcInfoIndex_ { 0 };
[all …]
/arkcompiler/runtime_core/abc2program/
Dabc_code_processor.h42 void AddJumpLabel4InsAtIndex(uint32_t inst_idx, pandasm::InsPtr &curr_pa_ins) const;
43 void AddLabel4InsAtIndex(uint32_t inst_idx) const;
44 void AddLabel4InsAtPc(uint32_t inst_pc) const;
45 std::string GetLabelNameAtPc(uint32_t inst_pc) const;
54 void SkipToNextEntryIfNeeded(uint32_t &idx,
55 uint32_t &offset_start,
56 uint32_t &offset_end,
57 uint32_t inst_idx,
60 uint32_t GetInstIdxByInstPc(uint32_t inst_pc) const;
61 uint32_t GetInstPcByInstIdx(uint32_t inst_idx) const;
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dmurmur3_hash.h32 static constexpr uint32_t C1 = 0xCC9E2D51U;
33 static constexpr uint32_t C2 = 0x1B873593U;
34 static constexpr uint32_t MAX_BITS = 32;
35 static constexpr uint32_t FINALIZE_FIRST_SHIFT = 16;
36 static constexpr uint32_t FINALIZE_SECOND_SHIFT = 13;
37 static constexpr uint32_t FINALIZE_THIRD_SHIFT = 16;
38 static constexpr uint32_t FINALIZE_FIRST_MULTIPLICATOR = 0x85EBCA6BU;
39 static constexpr uint32_t FINALIZE_SECOND_MULTIPLICATOR = 0xC2BAE35U;
40 static constexpr uint32_t MAIN_FIRST_SHIFT = 15;
41 static constexpr uint32_t MAIN_SECOND_SHIFT = 13;
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dmurmur3_hash.h33 template <uint32_t SEED_VALUE>
36 static uint32_t GetHash32WithSeedImpl(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeedImpl()
40 static uint32_t GetHash32Impl(const uint8_t *key, size_t len) in GetHash32Impl()
44 static uint32_t GetHash32StringImpl(const uint8_t *mutf8String) in GetHash32StringImpl()
48 static uint32_t GetHash32StringWithSeedImpl(const uint8_t *mutf8String, uint32_t seed) in GetHash32StringWithSeedImpl()
56 static constexpr uint32_t C1 = 0xCC9E2D51U;
57 static constexpr uint32_t C2 = 0x1B873593U;
58 static constexpr uint32_t MAX_BITS = 32;
59 static constexpr uint32_t FINALIZE_FIRST_SHIFT = 16;
60 static constexpr uint32_t FINALIZE_SECOND_SHIFT = 13;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dmodule_section_des.h29 uint32_t startIndex {0};
30 uint32_t funcCount {0};
31 uint32_t rodataSizeBeforeText {0};
32 uint32_t rodataSizeAfterText {0};
33 uint32_t textSize {0};
34 uint32_t stackMapSize {0};
35 uint32_t strtabSize {0};
36 uint32_t symtabSize {0};
40 void UpdateRODataInfo(uint64_t textAddr, uint64_t &addrBeforeText, uint32_t &sizeBeforeText, in UpdateRODataInfo()
41 uint64_t &addrAfterText, uint32_t &sizeAfterText, ElfSecName sec) const in UpdateRODataInfo()
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_buffer.h45 … const JSHandle<JSTaggedValue> &value, uint32_t offset, bool littleEndian = true) \
79 …alue Read##name(JSThread *thread, const JSHandle<JSAPIFastBuffer> &buffer, uint32_t offset, \
123 static constexpr uint32_t ONE_BYTE_BIT_LENGTH = 8;
124 static constexpr uint32_t DEFAULT_CAPACITY_LENGTH = 4;
125 static constexpr uint32_t UINT8_MIN = 0;
126 static constexpr uint32_t UINT16_MIN = 0;
127 static constexpr uint32_t UINT32_MIN = 0;
140 … JSHandle<JSTaggedValue> &value, uint32_t offset, uint32_t maxLen,
143 … JSHandle<JSTaggedValue> &value, uint32_t offset, ByteLength byteLength,
145 …static JSTaggedValue ReadBytes(JSThread *thread, JSHandle<JSAPIFastBuffer> &buffer, uint32_t offse…
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Ddebug_info.h26 static constexpr uint32_t INVALID_LINE_NUMBER = std::numeric_limits<uint32_t>::max();
27 static constexpr uint32_t INVALID_FILE_INDEX = std::numeric_limits<uint32_t>::max();
28 static constexpr uint32_t INVALID_DIR_INDEX = std::numeric_limits<uint32_t>::max();
30 InstDebugInfo(uint32_t dirIndex, uint32_t fileIndex, uint32_t lineNumber) in InstDebugInfo()
35 uint32_t GetLineNumber() const in GetLineNumber()
40 uint32_t GetFileIndex() const in GetFileIndex()
45 uint32_t GetDirIndex() const in GetDirIndex()
61 uint32_t dirIndex_ {INVALID_DIR_INDEX};
62 uint32_t fileIndex_ {INVALID_FILE_INDEX};
63 uint32_t lineNumber_ {INVALID_LINE_NUMBER};
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dscheduler.h58 void AddDep(uint32_t *prio, Inst *from, Inst *to, uint32_t latency, Inst *barrier);
62 …void ProcessInst(Inst *inst, uint32_t *numInst, uint32_t *numBetween, uint32_t *numSpecial, Inst *…
63 void ProcessMemory(Inst *inst, uint32_t *prio, Inst *lastBarrier);
64 void ProcessSpecial(Inst *inst, uint32_t *prio, Inst *lastBarrier);
65 void ProcessSpecialBoundsCheckI(Inst *inst, uint32_t *prio, Inst *lastBarrier);
66 void ProcessRefInst(Inst *inst, uint32_t *prio, Inst *lastBarrier);
68 bool FinalizeBB(BasicBlock *bb, uint32_t cycle);
72 uint32_t ScheduleInstsBetweenBarriers(Inst *first, Inst *last);
75 uint32_t SchedWithGlued(Inst *inst, SchedulerPriorityQueue *waiting, uint32_t cycle);
78 uint32_t oprev_ {0};
[all …]
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Dstring.h38 … static String *CreateFromMUtf8(const uint8_t *mutf8Data, size_t mutf8Length, uint32_t utf16Length,
42 PANDA_PUBLIC_API static String *CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t utf16Length,
46 PANDA_PUBLIC_API static String *CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t utf16Length,
53 …static String *CreateFromMUtf8(const uint8_t *mutf8Data, uint32_t mutf8Length, uint32_t utf16Lengt…
56 PANDA_PUBLIC_API static String *CreateFromUtf8(const uint8_t *utf8Data, uint32_t utf8Length,
60 PANDA_PUBLIC_API static String *CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length,
64 PANDA_PUBLIC_API static String *CreateFromUtf16(const uint16_t *utf16Data, uint32_t utf16Length,
74 …PANDA_PUBLIC_API static String *CreateNewStringFromChars(uint32_t offset, uint32_t length, Array *…
77 …static String *CreateNewStringFromBytes(uint32_t offset, uint32_t length, uint32_t highByte, Array…
87 PANDA_PUBLIC_API static Array *GetChars(String *src, uint32_t start, uint32_t utf16Length,
[all …]

12345678910>>...100