Home
last modified time | relevance | path

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

12345678910>>...97

/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/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/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/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/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.h27 enum class Operate : uint32_t { AND = 0, OR, XOR };
33 static constexpr uint32_t DATEBITS = sizeof(uint32_t) * 8; // 8 : one-bit number of bytes
34 static constexpr uint32_t MAXBITS = 1_MB; // 1 MB : Maximum space that can be opened up
35 static constexpr uint32_t kMaxLengthBits = 1 << 30; // ~1 billion.
36 static constexpr uint32_t MAXSIZE = MAXBITS / DATEBITS; // the maximum value of size
37 static constexpr uint32_t MAXOCTALVALUE = 7; // 7 : max octal value
38 static constexpr uint32_t BINARY = 2; // 2 : binary
40 static constexpr uint32_t OCTAL = 8; // 8 : octal
41 static constexpr uint32_t DECIMAL = 10; // 10 : decimal
42 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;
36 JSTaggedValue Get(uint32_t idx) const;
38 JSTaggedValue Get([[maybe_unused]] const JSThread *thread, uint32_t idx) const;
40 uint32_t GetIdx(const JSTaggedValue &value) const;
41 JSTaggedValue GetBit(uint32_t idx, uint32_t bitOffset) const;
44 inline void Set(const JSThread *thread, uint32_t idx, const T &value);
46 … void SetBit(const JSThread* thread, uint32_t idx, uint32_t bitOffset, const JSTaggedValue &value);
49 inline void Copy(const JSThread* thread, uint32_t dstStart, uint32_t srcStart,
50 const TaggedArray *srcArray, uint32_t count);
[all …]
Decma_string_table.h38 using IteratorPtr = std::shared_ptr<std::atomic<uint32_t>>;
54 static inline uint32_t GetNextTableId(IteratorPtr& iter) in GetNextTableId()
70 bool Run(uint32_t threadIndex) override;
83 std::atomic<uint32_t> PendingTaskCount_ {0U};
106 static inline uint32_t GetTableId(uint32_t hashcode) in GetTableId()
112 uint32_t offset, uint32_t utf8Len);
116 …EcmaString *GetOrInternString(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, bool canBeCom…
118 …EcmaString *GetOrInternString(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, bool canBeCom…
119 MemSpaceType type, bool isConstantString, uint32_t idOffset);
120 …EcmaString *GetOrInternString(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf16Len, MemSpaceTyp…
[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/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 …]
Dhash.h24 template <uint32_t seed_value>
30 static constexpr uint32_t DEFAULT_SEED = 0x12345678U;
42 inline uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed()
53 inline uint32_t GetHash32(const uint8_t *key, size_t len) in GetHash32()
63 inline uint32_t GetHash32String(const uint8_t *mutf8_string) in GetHash32String()
74 inline uint32_t GetHash32StringWithSeed(const uint8_t *mutf8_string, uint32_t seed) in GetHash32StringWithSeed()
79 constexpr uint32_t FNV_INITIAL_SEED = 0x811c9dc5;
83 uint32_t PseudoFnvHashItem(Item item, uint32_t seed = FNV_INITIAL_SEED)
87 constexpr uint32_t PRIME = 16777619U;
88 return (seed ^ static_cast<uint32_t>(item)) * PRIME;
[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 …]
Dhash.h23 template <uint32_t SEED_VALUE>
29 static constexpr uint32_t DEFAULT_SEED = 0x12345678U;
41 inline uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed()
52 inline uint32_t GetHash32(const uint8_t *key, size_t len) in GetHash32()
62 inline uint32_t GetHash32String(const uint8_t *mutf8String) in GetHash32String()
73 inline uint32_t GetHash32StringWithSeed(const uint8_t *mutf8String, uint32_t seed) in GetHash32StringWithSeed()
78 constexpr uint32_t FNV_INITIAL_SEED = 0x811c9dc5;
82 uint32_t PseudoFnvHashItem(Item item, uint32_t seed = FNV_INITIAL_SEED)
86 constexpr uint32_t PRIME = 16777619U;
87 return (seed ^ static_cast<uint32_t>(item)) * PRIME;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype.h65 explicit ParamType(uint32_t type = 0) : type_(type) {} in type_()
69 type_ = BUILTIN_TYPE | static_cast<uint32_t>(jsType); in ParamType()
73 static ParamType name() { return ParamType(static_cast<uint32_t>(type)); }
80 bool Is##name() const { return type_ == static_cast<uint32_t>(type); } in PARAM_TYPE_LIST()
86 uint32_t Value() const
124 …static constexpr uint32_t BUILTIN_TYPE = (1 << 31); // 31 : the 31-th bit is set implies builtin t…
126 uint32_t type_ {0};
133 constexpr explicit GateType(uint32_t type = 0)
146 uint32_t Value() const in Value()
178 return GateType(static_cast<uint32_t>(TSPrimitiveType::ANY)); in AnyType()
[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.h41 void AddJumpLabel4InsAtIndex(uint32_t inst_idx, pandasm::Ins &curr_pa_ins) const;
42 void AddLabel4InsAtIndex(uint32_t inst_idx) const;
43 void AddLabel4InsAtPc(uint32_t inst_pc) const;
44 std::string GetLabelNameAtPc(uint32_t inst_pc) const;
53 void SkipToNextEntryIfNeeded(uint32_t &idx,
54 uint32_t &offset_start,
55 uint32_t &offset_end,
56 uint32_t inst_idx,
59 uint32_t GetInstIdxByInstPc(uint32_t inst_pc) const;
60 uint32_t GetInstPcByInstIdx(uint32_t inst_idx) const;
[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/dfx/hprof/rawheap_translate/
Drawheap_translate.h28 uint32_t objSize;
29 uint32_t offset; // offset to the file
34 uint32_t index;
37 uint32_t size;
38 uint32_t nativeSize;
42 Node(uint32_t nodeIndex) in Node()
61 uint32_t nameOrIndex;
63 …Edge(EdgeType edgeType, std::shared_ptr<Node> nodeFrom, std::shared_ptr<Node> nodeTo, uint32_t ind… in Edge()
117 bool ParseMetaData(std::ifstream &file, uint32_t &offset);
118 bool ReadMetaDataJson(std::ifstream &file, uint32_t &offset, cJSON **json);
[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,
70 …PANDA_PUBLIC_API static String *CreateNewStringFromChars(uint32_t offset, uint32_t length, Array *…
73 …static String *CreateNewStringFromBytes(uint32_t offset, uint32_t length, uint32_t highByte, Array…
83 PANDA_PUBLIC_API static Array *GetChars(String *src, uint32_t start, uint32_t utf16Length,
96 static size_t ComputeDataSizeUtf16(uint32_t length) in ComputeDataSizeUtf16()
[all …]

12345678910>>...97