Home
last modified time | relevance | path

Searched refs:optional (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/arkcompiler/toolchain/tooling/base/
Dpt_params.h57 std::optional<double> maxScriptsCacheSize_ {};
83 std::optional<std::string> objectGroup_ {};
84 std::optional<bool> includeCommandLineAPI_ {};
85 std::optional<bool> silent_ {};
86 std::optional<bool> returnByValue_ {};
87 std::optional<bool> generatePreview_ {};
88 std::optional<bool> throwOnSideEffect_ {};
131 std::optional<std::unique_ptr<Location>> end_ {};
132 std::optional<bool> restrictToFunction_ {};
194 std::optional<bool> terminateOnResume_ {};
[all …]
Dpt_events.h201 std::optional<std::unique_ptr<RemoteObject>> data_ {};
202 std::optional<std::vector<BreakpointId>> hitBreakpoints_ {};
280 std::optional<bool> isStepInto_ {};
527 std::optional<Local<ObjectRef>> execContextAuxData_ {};
528 std::optional<std::string> sourceMapUrl_ {};
529 std::optional<bool> hasSourceUrl_ {};
530 std::optional<bool> isModule_ {};
531 std::optional<int32_t> length_ {};
532 std::optional<int32_t> codeOffset_ {};
533 std::optional<std::string> scriptLanguage_ {};
[all …]
Dpt_returns.h89 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails = std::nullopt)
101 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails_ {};
123 …explicit GetScriptSourceReturns(const std::string &scriptSource, std::optional<std::string> byteco…
136 std::optional<std::string> bytecode_ {};
203 …explicit SetScriptSourceReturns(std::optional<std::vector<std::unique_ptr<CallFrame>>> callFrames …
204 std::optional<bool> stackChanged = std::nullopt,
205 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails = std::nullopt)
218 std::optional<std::vector<std::unique_ptr<CallFrame>>> callFrames_ {};
219 std::optional<bool> stackChanged_ {};
220 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails_ {};
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DoptionalProperties01.ts24 optional?: string;
34 const foo2 = { required1: "hello", optional: "bar" } as Foo;
36 AssertType({ required1: "hello", optional: "bar" } as Foo, "Foo");
37 AssertType({ required1: "hello", optional: "bar" }, "{ required1: string; optional: string; }");
40 AssertType(optional, "string");
DmergedInheritedClassInterface.ts23 optional?: number;
57 child.optional;
58 AssertType(child.optional, "number");
83 grandchild.optional;
84 AssertType(grandchild.optional, "number");
/arkcompiler/runtime_core/assembler/tests/
Decmascript_meta_test.cpp39 std::optional<pandasm::Metadata::Error> result1 = rmd.SetAttribute("ecmascript.extends");
44 std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttribute("ecmascript.annotation");
47 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.extends", "val…
50 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "…
55 std::optional<pandasm::Metadata::Error> result5 = rmd.SetAttributeValue("attribute", "bool");
59 std::optional<pandasm::Metadata::Error> result6 = rmd.SetAttribute("ecmascript.annotation");
63 std::optional<pandasm::Metadata::Error> result7 = rmd.ValidateData();
116 std::optional<pandasm::Metadata::Error> result1 = rmd.SetAttribute("ecmascript.annotation");
119 …std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttributeValue("ecmascript.extends", "val…
122 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.annotation", "…
[all …]
/arkcompiler/runtime_core/assembler/
Dmeta.h72 std::optional<Error> SetAttribute(std::string_view attribute) in SetAttribute()
96 std::optional<Error> SetAttributeValue(std::string_view attribute, std::string_view value) in SetAttributeValue()
118 std::optional<std::string> GetAttributeValue(const std::string &attribute) const in GetAttributeValue()
138 virtual std::optional<Error> ValidateData() in ValidateData()
148 virtual std::optional<Error> Validate(std::string_view attribute) const = 0;
150 …virtual std::optional<Error> Validate(std::string_view attribute, std::string_view value) const = …
152 virtual std::optional<Error> StoreValue(std::string_view attribute, std::string_view value) in StoreValue()
165 virtual std::optional<Error> Store(std::string_view attribute) in Store()
186 std::optional<Error> ValidateSize(std::string_view value) const;
216 std::optional<Error> ValidateData() override;
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DinterfacePropertyReferenceContainingInterface-expected.txt12 "optional": false,
69 "optional": false,
169 "optional": false,
416 "optional": false,
443 "optional": false,
470 "optional": false,
497 "optional": false,
524 "optional": false,
551 "optional": false,
619 "optional": false,
[all …]
DobjectLiteralAssignability19-expected.txt18 "optional": false,
61 "optional": false,
83 "optional": false,
126 "optional": false,
192 "optional": false,
214 "optional": false,
257 "optional": false,
382 "optional": false,
453 "optional": false,
475 "optional": false,
[all …]
DmemberExpTests-expected.txt180 "optional": false,
236 "optional": false,
279 "optional": false,
365 "optional": false,
408 "optional": false,
451 "optional": false,
721 "optional": false,
805 "optional": false,
889 "optional": false,
932 "optional": false,
[all …]
DinterfacePropertyReferenceContainingInterface1-expected.txt12 "optional": false,
69 "optional": false,
169 "optional": false,
416 "optional": false,
443 "optional": false,
470 "optional": false,
497 "optional": false,
524 "optional": false,
551 "optional": false,
DmemberExpTest_3-expected.txt12 "optional": false,
39 "optional": false,
97 "optional": false,
229 "optional": false,
342 "optional": false,
549 "optional": false,
576 "optional": false,
603 "optional": false,
630 "optional": false,
657 "optional": false,
Dtest-type-literal-expected.txt100 "optional": false,
143 "optional": true,
245 "optional": true,
344 "optional": false,
387 "optional": false,
430 "optional": true,
532 "optional": false,
868 "optional": false,
911 "optional": false,
970 "optional": true,
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-member-expression-expected.txt37 "optional": false,
93 "optional": false,
153 "optional": false,
180 "optional": false,
207 "optional": false,
265 "optional": false,
292 "optional": false,
383 "optional": false,
407 "optional": false,
435 "optional": false,
[all …]
Dtest-call-expression-expected.txt59 "optional": false,
115 "optional": false,
143 "optional": false,
211 "optional": false,
253 "optional": false,
337 "optional": false,
394 "optional": false,
479 "optional": false,
536 "optional": false,
Dtest-incomplete-hex-unicode-escape-expected.txt40 "optional": false,
68 "optional": false,
127 "optional": false,
155 "optional": false,
/arkcompiler/runtime_core/plugins/ecmascript/tests/
Decmascript_meta_test.cpp28 std::optional<pandasm::Metadata::Error> result1 = rmd.SetAttribute("ecmascript.extends");
33 std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttribute("ecmascript.annotation");
36 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.extends", "val…
39 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "…
44 std::optional<pandasm::Metadata::Error> result5 = rmd.SetAttributeValue("attribute", "bool");
48 std::optional<pandasm::Metadata::Error> result6 = rmd.SetAttribute("ecmascript.annotation");
/arkcompiler/runtime_core/assembler/extensions/
Decmascript_meta.cpp20 std::optional<Metadata::Error> RecordMetadata::Validate(std::string_view attribute) const in Validate()
38 std::optional<Metadata::Error> RecordMetadata::Validate(std::string_view attribute, std::string_vie… in Validate()
56 std::optional<Metadata::Error> FieldMetadata::Validate(std::string_view attribute) const in Validate()
61 std::optional<Metadata::Error> FieldMetadata::Validate(std::string_view attribute, std::string_view… in Validate()
66 std::optional<Metadata::Error> FunctionMetadata::Validate(std::string_view attribute) const in Validate()
71 std::optional<Metadata::Error> FunctionMetadata::Validate(std::string_view attribute, std::string_v… in Validate()
76 std::optional<Metadata::Error> ParamMetadata::Validate(std::string_view attribute) const in Validate()
81 std::optional<Metadata::Error> ParamMetadata::Validate(std::string_view attribute, std::string_view… in Validate()
Decmascript_meta.h81 std::optional<Error> Validate(std::string_view attribute) const override;
83 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
126 std::optional<Error> Validate(std::string_view attribute) const override;
128 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
171 std::optional<Error> Validate(std::string_view attribute) const override;
173 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
216 std::optional<Error> Validate(std::string_view attribute) const override;
218 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definition-expected.txt41 "optional": false,
121 "optional": false,
215 "optional": false,
294 "optional": false,
327 "optional": false,
360 "optional": false,
393 "optional": false,
426 "optional": false,
459 "optional": false,
553 "optional": false,
[all …]
Dtest-class-method-overload-expected.txt41 "optional": false,
134 "optional": false,
198 "optional": false,
262 "optional": false,
370 "optional": false,
450 "optional": false,
496 "optional": false,
541 "optional": false,
605 "optional": false,
632 "optional": true,
[all …]
Dtest-class-constructor-expected.txt41 "optional": false,
68 "optional": true,
96 "optional": true,
147 "optional": false,
258 "optional": false,
368 "optional": false,
381 "optional": false,
471 "optional": false,
517 "optional": false,
562 "optional": false,
[all …]
Dtest-class-super-1-expected.txt41 "optional": false,
135 "optional": false,
167 "optional": false,
302 "optional": false,
390 "optional": false,
507 "optional": false,
522 "optional": false,
584 "optional": false,
597 "optional": false,
612 "optional": false,
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dmem.cpp68 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot) in MakeMemWithProtFlag()
77 std::optional<Error> MakeMemReadExec(void *mem, size_t size) in MakeMemReadExec()
83 std::optional<Error> MakeMemReadWrite(void *mem, size_t size) in MakeMemReadWrite()
89 std::optional<Error> MakeMemReadOnly(void *mem, size_t size) in MakeMemReadOnly()
94 std::optional<Error> MakeMemProtected(void *mem, size_t size) in MakeMemProtected()
159 std::optional<Error> PartiallyUnmapRaw(void *mem, size_t size) in PartiallyUnmapRaw()
221 std::optional<Error> UnmapRaw(void *mem, size_t size) in UnmapRaw()
244 std::optional<Error> TagAnonymousMemory([[maybe_unused]] const void *mem, [[maybe_unused]] size_t s… in TagAnonymousMemory()
/arkcompiler/runtime_core/libpandabase/os/
Dmem.h50 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot);
58 std::optional<Error> MakeMemReadExec(void *mem, size_t size);
66 std::optional<Error> MakeMemReadWrite(void *mem, size_t size);
74 std::optional<Error> MakeMemReadOnly(void *mem, size_t size);
82 std::optional<Error> MakeMemProtected(void *mem, size_t size);
365 std::optional<Error> UnmapRaw(void *mem, size_t size);
374 std::optional<Error> PartiallyUnmapRaw(void *mem, size_t size);
408 std::optional<Error> TagAnonymousMemory(const void *mem, size_t size, const char *tag);

12345678910>>...17