Home
last modified time | relevance | path

Searched refs:Mode (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/
Dmain.cpp31 enum class Mode : uint8_t { enum in panda::ecmascript::Option
53 Mode GetMode() const in GetMode()
79 mode_ = Mode::TO_TEXT; in ParseCommand()
82 mode_ = Mode::TO_BINARY; in ParseCommand()
91 mode_ = Mode::MERGE; in ParseCommand()
96 mode_ = Mode::VERSION_QUERY; in ParseCommand()
134 Mode mode_ { Mode::TO_TEXT };
148 case Option::Mode::VERSION_QUERY: in Main()
151 case Option::Mode::TO_TEXT: { in Main()
160 case Option::Mode::TO_BINARY: { in Main()
[all …]
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dfile.cpp25 static int GetFlags(Mode mode) in GetFlags()
28 case Mode::READONLY: in GetFlags()
31 case Mode::READWRITE: in GetFlags()
34 case Mode::WRITEONLY: in GetFlags()
37 case Mode::READWRITECREATE: in GetFlags()
47 File Open(std::string_view filename, Mode mode) in Open()
Dnative_stack.cpp27 …panda::os::unix::file::File cmdfile = panda::os::file::Open(file_name, panda::os::file::Mode::READ… in ReadOsFile()
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb17 template<const BytecodeInstMode Mode>
18 constexpr bool BytecodeInst<Mode>::HasId(Format format, size_t idx) {
36 template<const BytecodeInstMode Mode>
37 constexpr bool BytecodeInst<Mode>::HasVReg(Format format, size_t idx) {
55 template<const BytecodeInstMode Mode>
56 constexpr bool BytecodeInst<Mode>::HasImm(Format format, size_t idx) {
74 template<const BytecodeInstMode Mode>
75 constexpr size_t BytecodeInst<Mode>::Size(Format format) { // NOLINTNEXTLINE(readability-function-…
88 template <const BytecodeInstMode Mode>
89 template <typename BytecodeInst<Mode>::Format format, size_t idx /* = 0 */>
[all …]
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction-inl.h24 template <const BytecodeInstMode Mode>
26 inline auto BytecodeInst<Mode>::ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size… in ReadHelper()
50 template <const BytecodeInstMode Mode>
52 inline auto BytecodeInst<Mode>::Read() const in Read()
65 template <const BytecodeInstMode Mode>
67 inline auto BytecodeInst<Mode>::Read64(size_t offset, size_t width) const in Read64()
84 template <const BytecodeInstMode Mode>
85 inline size_t BytecodeInst<Mode>::GetSize() const in GetSize()
Dbytecode_instruction.h219 template <const BytecodeInstMode Mode = BytecodeInstMode::FAST>
222 class BytecodeInst : public BytecodeInstBase<Mode> {
223 using Base = BytecodeInstBase<Mode>;
232 …template <const BytecodeInstMode M = Mode, typename = std::enable_if_t<M == BytecodeInstMode::FAST…
237 …template <const BytecodeInstMode M = Mode, typename = std::enable_if_t<M == BytecodeInstMode::SAFE…
284 template <const BytecodeInstMode M = Mode>
290 template <const BytecodeInstMode M = Mode>
303 template <const BytecodeInstMode M = Mode>
309 template <const BytecodeInstMode M = Mode>
336 template <const BytecodeInstMode M = Mode>
[all …]
Dfile.cpp53 os::file::Mode GetMode(panda_file::File::OpenMode open_mode) in GetMode()
57 return os::file::Mode::READONLY; in GetMode()
61 return os::file::Mode::READWRITE; in GetMode()
63 return os::file::Mode::READONLY; in GetMode()
67 return os::file::Mode::WRITEONLY; in GetMode()
471 os::file::Mode mode = GetMode(open_mode); in Open()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dfile.cpp30 static int GetFlags(Mode mode) in GetFlags()
33 case Mode::READONLY: in GetFlags()
36 case Mode::READWRITE: in GetFlags()
39 case Mode::WRITEONLY: in GetFlags()
42 case Mode::READWRITECREATE: in GetFlags()
52 File Open(std::string_view filename, Mode mode) in Open()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DmoduleAliasInterface.ts27 export class Mode {
41 constructor(p1: modes.IMode, p2: modes.Mode) { }// should be an error on p2 - it's not exported
54 …constructor(p1: modesOuter.IMode, p2: modesOuter.Mode) { }// no error here, since modesOuter is de…
61 constructor(p1: Foo.Bar, p2: modesOuter.Mode) { }
/arkcompiler/runtime_core/libpandabase/tests/
Dunix_file_test.cpp28 os::file::File file1 = os::file::Open("./test_openfile.txt", os::file::Mode::READONLY);
31 os::file::File file2 = os::file::Open("./test_openfile.txt", os::file::Mode::READWRITE);
34 os::file::File file3 = os::file::Open("./test_openfile.txt", os::file::Mode::WRITEONLY);
37 os::file::File file4 = os::file::Open("./test_openfile.txt", os::file::Mode::READWRITECREATE);
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
Dopt_code_profiler.h26 enum Mode { enum
72 void Update(EcmaOpcode opcode, Mode mode) in Update()
76 … (mode == Mode::TYPED_PATH) ? (it->second.typedPathValue++) : (it->second.slowPathValue++); in Update()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/enumFromExternalModule/
DenumFromExternalModule_1.ts24 let x = f.Mode.Open;
26 AssertType(f.Mode.Open, "f.Mode");
DenumFromExternalModule_0.ts22 export enum Mode { Open }
/arkcompiler/runtime_core/libpandabase/os/
Dfile.h55 enum class Mode : uint32_t { READONLY, WRITEONLY, READWRITE, READWRITECREATE }; enum
57 File Open(std::string_view filename, Mode mode);
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_meta_data.h1036 enum Mode : uint8_t { enum
1046 explicit ArrayMetaDataAccessor(ElementsKind kind, Mode mode, uint32_t length = 0)
1068 return GetMode() == Mode::LOAD_ELEMENT; in IsLoadElement()
1077 Mode GetMode() const in GetMode()
1083 using ModeBits = ElementsKindBits::NextField<Mode, BITS_SIZE>;
Dntype_hcr_lowering.cpp275 …builder_.Int32ToTaggedInt(builder_.Int32(static_cast<int32_t>(OptCodeProfiler::Mode::TYPED_PATH))); in AddProfiling()
Dts_hcr_lowering.cpp740 builder_.StableArrayCheck(array, kind, ArrayMetaDataAccessor::Mode::LOAD_LENGTH); in LowerTypedLdArrayLength()
863 builder_.StableArrayCheck(receiver, kind, ArrayMetaDataAccessor::Mode::LOAD_ELEMENT); in LoadJSArrayByIndex()
925 builder_.StableArrayCheck(receiver, kind, ArrayMetaDataAccessor::Mode::STORE_ELEMENT); in StoreJSArrayByIndex()
1493 …builder_.Int32ToTaggedInt(builder_.Int32(static_cast<int32_t>(OptCodeProfiler::Mode::TYPED_PATH))); in AddProfiling()
Dcircuit_builder.h253 GateRef StableArrayCheck(GateRef gate, ElementsKind kind, ArrayMetaDataAccessor::Mode mode);
Dcircuit_builder.cpp181 …CircuitBuilder::StableArrayCheck(GateRef gate, ElementsKind kind, ArrayMetaDataAccessor::Mode mode) in StableArrayCheck()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp81 using panda::os::file::Mode;
753 using panda::os::file::Mode;
782 using panda::os::file::Mode;
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h914 compiler::inst_modes::Mode GetCompilerMode() in GetCompilerMode()
Dinst.h235 enum Mode : uint8_t { enum
979 bool SupportsMode(inst_modes::Mode mode) const in SupportsMode()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp1912 OptCodeProfiler::Mode mode = static_cast<OptCodeProfiler::Mode>(GetArg(argv, argc, 1).GetInt()); in DEF_RUNTIME_STUBS()
/arkcompiler/runtime_core/docs/
Dmemory-management.md33 Mode are chosen at the startup time (we'll use profile info from cloud for that).
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp31 using panda::os::file::Mode;

12