Home
last modified time | relevance | path

Searched +full:non +full:- +full:void (Results 1 – 25 of 646) sorted by relevance

12345678910>>...26

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/testing/
Darktest.sts7 * http://www.apache.org/licenses/LICENSE-2.0
25 function assertCommon(condition: boolean, message: string, description?: string): void {
45 export function assertTrue(condition: boolean, comment?: string): void {
55 export function assertFalse(condition: boolean, comment?: string): void {
66 export function assertEQ<T1, T2>(value1: T1, value2: T2, comment?: string): void {
72 * @param value1 first value for non-equality
73 * @param value2 second value for non-equality
74 * @param comment optional comment will be printed if non-equality failed
75 * @throws AssertionError if non-equality failed
77 export function assertNE<T1, T2>(value1: T1, value2: T2, comment?: string): void {
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dsimplify_string_builder.h2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
63 void InvalidateAnalyses() override;
68 void OptimizeStringBuilderToString(BasicBlock *block);
72 Inst *instance {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
73 Inst *ctorCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
74 Inst *toStringCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
75 size_t appendCount {0}; // NOLINT(misc-non-private-member-variables-in-classes)
77 appendIntrinsics {}; // NOLINT(misc-non-private-member-variables-in-classes)
84 void FixBrokenSaveStates(Inst *source, Inst *target);
[all …]
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dmethod_full.sts7 * http://www.apache.org/licenses/LICENSE-2.0
17 foo(): void {
33 /* @@? 19:12 Error TypeError: Function with a non void return type must return a value. */
34 /* @@? 21:13 Error TypeError: Function with a non void return type must return a value. */
35 /* @@? 23:30 Error TypeError: Function with a non void return type must return a value. */
36 /* @@? 25:27 Error TypeError: Function with a non void return type must return a value. */
37 /* @@? 27:31 Error TypeError: Function with a non void return type must return a value. */
Darray_type.sts7 * http://www.apache.org/licenses/LICENSE-2.0
19 public foo(s : String[][]): void {
27 /* @@? 21:16 Error TypeError: Function with a non void return type must return a value. */
28 /* @@? 23:26 Error TypeError: Function with a non void return type must return a value. */
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/
Dir_builder_dyn.h7 * http://www.apache.org/licenses/LICENSE-2.0
41 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
43 …ndaries boundaries {}; // NOLINT(misc-non-private-member-variables-in-class…
44 …piler::BasicBlock *beginBb {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
45 …piler::BasicBlock *endBb {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
46 …naVector<CatchCodeBlock> *catches {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
48 nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
49 uint32_t id {compiler::INVALID_ID}; // NOLINT(misc-non-private-member-variables-in-classes)
50 bool containsThrowableInst {false}; // NOLINT(misc-non-private-member-variables-in-classes)
52 void Init(compiler::Graph *graph, uint32_t tryId) in Init()
[all …]
/arkcompiler/runtime_core/static_core/runtime/hotreload/
Dhotreload.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
77 * 'cause its signature is language-dependent
83 …PANDA_PUBLIC_API const panda_file::File *ReadAndOwnPandaFileFromMemory(const void *buffer, size_t …
93 virtual void LangSpecificHotreloadPart() = 0;
104 void ReloadClassNormal(const ClassContainment *hCls);
105 void UpdateVtablesInRuntimeClasses(ClassLinker *classLinker);
106 void AddLoadedPandaFilesToRuntime(ClassLinker *classLinker);
107 void AddObsoleteClassesToRuntime(ClassLinker *classLinker);
111 panda_file::SourceLang lang_; // NOLINT(misc-non-private-member-variables-in-classes)
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.h2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
46 …ries boundaries {}; // NOLINT(misc-non-private-member-variables-in-class…
47 …lock *begin_bb {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
48 …lock *end_bb {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
49 …ector<CatchCodeBlock> *catches {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
50 …ector<BasicBlock *> *basic_blocks {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
51 …_t id {INVALID_ID}; // NOLINT(misc-non-private-member-variables-in-class…
52 …ontains_throwable_inst {false}; // NOLINT(misc-non-private-member-variables-in-class…
54 void Init(Graph *graph, uint32_t try_id) in Init()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_linear_scan.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
47 : active(allocator->Adapter()), in WorkingIntervals()
48 inactive(allocator->Adapter()), in WorkingIntervals()
49 stack(allocator->Adapter()), in WorkingIntervals()
50 handled(allocator->Adapter()), in WorkingIntervals()
51 fixed(allocator->Adapter()) in WorkingIntervals()
55 void Clear() in Clear()
64 InstructionsIntervals active; // NOLINT(misc-non-private-member-variables-in-classes)
65 InstructionsIntervals inactive; // NOLINT(misc-non-private-member-variables-in-classes)
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dir_builder.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
52 …aries boundaries {}; // NOLINT(misc-non-private-member-variables-in-class…
53 …Block *beginBb {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
54 …Block *endBb {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
55 …Vector<CatchCodeBlock> *catches {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
56 …Vector<BasicBlock *> *basicBlocks {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
57 …2_t id {INVALID_ID}; // NOLINT(misc-non-private-member-variables-in-class…
58 …containsThrowableInst {false}; // NOLINT(misc-non-private-member-variables-in-class…
59 …Set<BasicBlock *> *throwBlocks {nullptr}; // NOLINT(misc-non-private-member-variables-in-class…
[all …]
/arkcompiler/runtime_core/static_core/compiler/tools/paoc/
Dpaoc.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
53 void DumpStatistics() const;
56 … Method *method {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
57 … ark::ArenaAllocator allocator; // NOLINT(misc-non-private-member-variables-in-classes)
58 … ark::ArenaAllocator graphLocalAllocator; // NOLINT(misc-non-private-member-variables-in-classes)
59 … ark::compiler::Graph *graph {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
60 … size_t index; // NOLINT(misc-non-private-member-variables-in-classes)
61 … std::ofstream *stats {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
62 … bool compilationStatus {true}; // NOLINT(misc-non-private-member-variables-in-classes)
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/base/
Diterators.h2 * Copyright (c) 2021 - 2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
57 void GetMethod(util::StringView name) const;
58 void CallMethod() const;
59 void CallMethodWithValue() const;
61 void Next() const;
62 void Complete() const;
63 void Value() const;
64 void CloseInnerResultNormal(bool abruptCompletion, Label *returnExits) const;
65 void Close(bool abruptCompletion) const;
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/connection/
Dserver_endpoint_base.h2 * Copyright (c) 2022-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
27 // NOLINTNEXTLINE(fuchsia-multiple-inheritance)
30 void OnValidate(std::function<void()> &&handler) override in OnValidate()
35 void OnOpen(std::function<void()> &&handler) override in OnOpen()
40 void OnFail(std::function<void()> &&handler) override in OnFail()
46 void Call(const std::string &sessionId, const char *method,
47 std::function<void(JsonObjectBuilder &)> &&params) override;
49 void OnCall(const char *method,
50 …std::function<void(const std::string &sessionId, JsonObjectBuilder &result, const JsonObject &para…
[all …]
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dcoroutine.h2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
43 * +---------+ +----------+
44 * | CREATED | -------------------------------> | | <-------------+
45 * +---------+ | RUNNABLE | |
46 * +--- | | <--+ |
47 * | +----------+ | |
49 * | +----------+ | +----------+
50 * +--> | | ---+ | |
51 * +------------+ +-------------+ | RUNNING | | BLOCKED |
[all …]
/arkcompiler/runtime_core/static_core/abc2program/
Dabc_file_entity_processor.h7 * http://www.apache.org/licenses/LICENSE-2.0
31 …static void SetEntityAttribute(T &entity, const std::function<bool()> &shouldSet, std::string_view… in SetEntityAttribute()
35 auto err = entity.metadata->SetAttribute(attribute); in SetEntityAttribute()
43 …static void SetEntityAttributeValue(T &entity, const std::function<bool()> &shouldSet, std::string… in SetEntityAttributeValue()
48 auto err = entity.metadata->SetAttributeValue(attribute, value); in SetEntityAttributeValue()
54 … panda_file::File::EntityId entityId_; // NOLINT(misc-non-private-member-variables-in-classes)
55 … Abc2ProgramKeyData &keyData_; // NOLINT(misc-non-private-member-variables-in-classes)
56 … const panda_file::File *file_ = nullptr; // NOLINT(misc-non-private-member-variables-in-classes)
57 … AbcStringTable *stringTable_ = nullptr; // NOLINT(misc-non-private-member-variables-in-classes)
58 … pandasm::Program *program_ = nullptr; // NOLINT(misc-non-private-member-variables-in-classes)
/arkcompiler/runtime_core/static_core/verification/config/context/
Dcontext.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
39 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
46 void AddBreakpointConfig(const PandaString &methodName, Offset offset);
48void AddBreakpointConfig([[maybe_unused]] const PandaString &methodName, [[maybe_unused]] Offset o… in AddBreakpointConfig()
53 // NOLINTEND(misc-non-private-member-variables-in-classes)
55 void AddWhitelistMethodConfig(WhitelistKind kind, const PandaString &name);
59 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
73 // NOLINTEND(misc-non-private-member-variables-in-classes)
76 void SetConfig(DebugConfig const *cfg) in SetConfig()
[all …]
/arkcompiler/toolchain/websocket/server/
Dwebsocket_server.h7 * http://www.apache.org/licenses/LICENSE-2.0
28 using OpenConnectionCallback = std::function<void()>;
34 * @brief Accept new posix-socket connection.
41 * @brief Initialize server posix-socket.
42 * Non thread safe.
52 * @brief Initialize server unix-socket.
53 * Non thread safe.
62 * @brief Initialize connection with unix-socket.
63 * Non thread safe.
73 * @brief Accept new unix-socket connection.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/01.static_methods/
Dnon_static_method_declaration.sts1 /*---
2 Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: Non-static method declaration.
18 assert: A method that is not declared static called an instance method, and sometimes called a non-
19 tags: [compile-only]
20 ---*/
23 run(): void {
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dtype_literals.sts7 * http://www.apache.org/licenses/LICENSE-2.0
89 n(p: number): void;
105 n(p: number): void;
115 export function captureFromLocalScope<T>(t: T): {ret: T} { // Non-fixable, type captures type param…
116 let v1: {local: T}; // Non-fixable, type captures type parameter from enclosing declaration
119 …let v2: { x: LocalType } = {x: {a: 1, b: '2'}}; // Non-fixable, type captures another type declare…
121 …type LocalType2<K> = ({k: K}); // Non-fixable, type captures type parameter from enclosing declara…
124 let v3: {[one]: 1}; // Non-fixable, type captures another object declared in local scope
127 …let v4: { y: LocalClass } = {y: new LocalClass()}; // Non-fixable, type captures another type decl…
129 …let v5: { lc: typeof LocalClass }; // Non-fixable, type captures another type declared in local sc…
[all …]
/arkcompiler/ets_frontend/ets2panda/lexer/token/
DsourceLocation.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
35 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
38 // NOLINTEND(misc-non-private-member-variables-in-classes)
49 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
52 // NOLINTEND(misc-non-private-member-variables-in-classes)
63 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
66 // NOLINTEND(misc-non-private-member-variables-in-classes)
77 // NOLINTBEGIN(misc-non-private-member-variables-in-classes)
80 // NOLINTEND(misc-non-private-member-variables-in-classes)
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/01.abstract_classes/
Dabstract_subclass_1.sts1 /*---
7 http://www.apache.org/licenses/LICENSE-2.0
14 ---*/
16 /*---
17 desc: >-
18 Subclasses of an abstract class can be non-abstract or in turn abstract.
19 A non-abstract subclass of an abstract superclass can be instantiated.
21 for non-static fields of that class are executed.
22 ---*/
38 function main(): void {
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_deserializer.h7 * http://www.apache.org/licenses/LICENSE-2.0
26 void *bufferPointer_ {nullptr};
27 void *hint_ = {nullptr};
28 void *attachData_ = {nullptr};
33 NativeBindingAttachInfo(AttachFunc af, void *bufferPointer, void *hint, void *attachData, in NativeBindingAttachInfo()
81 explicit BaseDeserializer(JSThread *thread, SerializeData *data, void *hint = nullptr);
97 void DeserializeNativeBindingObject(NativeBindingAttachInfo *info);
98 void DeserializeJSError(JSErrorInfo *info);
101 void DeserializeObjectField(uintptr_t start, uintptr_t end);
103void HandleNewObjectEncodeFlag(SerializedObjectSpace space, uintptr_t objAddr, size_t fieldOffset,…
[all …]
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Darray-object.sts2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
16 function main(): void {
22 // TypeError: Cannot access property of non-object or non-enum type
29 // TypeError: Cannot access property of non-object or non-enum type
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_trigger.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
41 NO_GC_FOR_START_UP, // A non-production strategy, TRIGGER GC after the app starts up
44 …DEBUG_NEVER, // Trigger for testing which never triggers (young-gc can still trigger)…
45 ON_NTH_ALLOC, // Triggers GC on n-th allocation
124 virtual void TriggerGcIfNeeded(GC *gc) = 0;
126 virtual void SetMinTargetFootprint([[maybe_unused]] size_t heapSize) {} in SetMinTargetFootprint()
127 virtual void RestoreMinTargetFootprint() {} in RestoreMinTargetFootprint()
145 void TriggerGcIfNeeded(GC *gc) override;
146 void GCStarted(const GCTask &task, size_t heapSize) override;
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dcountable_loop_parser.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
25 * ---------------
56 void SetIndexAndConstStep();
57 void SetNormalizedConditionCode();
64 const Loop &loop_; // NOLINT(misc-non-private-member-variables-in-classes)
65 CountableLoopInfo loopInfo_ {}; // NOLINT(misc-non-private-member-variables-in-classes)
66 bool isHeadLoopExit_ = false; // NOLINT(misc-non-private-member-variables-in-classes)
/arkcompiler/runtime_core/static_core/runtime/
Dstring_table.h2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
52 using StringVisitor = std::function<void(ObjectHeader *)>;
54void VisitRoots(const StringVisitor &visitor, mem::VisitGCRootFlags flags = mem::VisitGCRootFlags:…
59 void VisitStrings(const StringVisitor &visitor) in VisitStrings()
64 virtual void Sweep(const GCObjectVisitor &gcObjectVisitor);
73 explicit Table(mem::InternalAllocatorPtr allocator) : table_(allocator->Adapter()) {} in Table()
77 void PreBarrierOnGet(coretypes::String *str);
84 virtual void Sweep(const GCObjectVisitor &gcObjectVisitor);
88 void VisitStrings(const StringVisitor &visitor);
[all …]

12345678910>>...26