Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DinferenceDoesNotAddUndefinedOrNull.ts36 AssertType(node.forEachChild(child => { const value = cb(child); if (value !== undefi… constant
38 AssertType(child => { const value = cb(child); if (value !== undefined) { … constant
41 const value = cb(child); constant
71 AssertType(node.forEachChild(child => { const value = cb(child); if (value !== null) … constant
73 AssertType(child => { const value = cb(child); if (value !== null) { resul… constant
76 const value = cb(child); constant
DcontextualTypeShouldBeLiteral.ts29 value: 'none' | 'done'; property
66 value: string; property
72 value: 'none' | 'done'; property
105 value: 1 | 2 | 3; property
111 value: 11 | 12 | 13; property
140 value: string; property
147 value: number; property
DjsDeclarationsInheritedTypes.ts43 value; property in C2
50 value; property in C3
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/defaultExportInAwaitExpression02/
Db.ts24 AssertType(( async function() { const value = await x;}() ), "Promise<void>"); constant
25 AssertType(async function() { const value = await x;}(), "Promise<void>"); constant
26 AssertType(async function() { const value = await x;}, "() => Promise<void>"); constant
28 const value = await x; constant
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/defaultExportInAwaitExpression01/
Db.ts24 AssertType(( async function() { const value = await x;}() ), "Promise<void>"); constant
25 AssertType(async function() { const value = await x;}(), "Promise<void>"); constant
26 AssertType(async function() { const value = await x;}, "() => Promise<void>"); constant
28 const value = await x; constant
/arkcompiler/runtime_core/assembler/
Dmeta.cpp48 static panda::pandasm::Value::Type GetType(std::string_view value) in GetType()
63 static T ConvertFromString(std::string_view value, char **end) in ConvertFromString()
88 int64_t ConvertFromString(std::string_view value, char **end) in ConvertFromString()
94 uint64_t ConvertFromString(std::string_view value, char **end) in ConvertFromString()
100 float ConvertFromString(std::string_view value, char **end) in ConvertFromString()
106 double ConvertFromString(std::string_view value, char **end) in ConvertFromString()
112 static Expected<T, Metadata::Error> ConvertFromString(std::string_view value) in ConvertFromString()
132 static Expected<ScalarValue, Metadata::Error> CreatePrimitiveValue(std::string_view value, in CreatePrimitiveValue()
149 Value::Type type, std::string_view value, in CreateValue()
216std::string_view value, const std::unordered_map<std::string, std::unique_ptr<AnnotationData>> &an… in AddValue()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_field.h93 static constexpr bool IsValid(T value) in IsValid()
102 static constexpr void Set(T value, Stor *stor) in Set()
111 static constexpr T Get(uint64_t value) in Get()
119 static constexpr uint64_t Encode(T value) in Encode()
128 static constexpr uint64_t Update(uint64_t old_value, T value) in Update()
136 static constexpr T Decode(uint64_t value) in Decode()
Dbit_utils.h94 constexpr size_t MinimumBitsToStore(T value) in MinimumBitsToStore()
132 constexpr bool IsAligned(T value) in IsAligned()
139 constexpr bool IsAligned(T value, size_t n) in IsAligned()
165 constexpr T SwapBits(T value, T mask, uint32_t offset) in SwapBits()
171 inline uint8_t GetByteFrom(T value, uint64_t index) in GetByteFrom()
180 inline uint16_t ReverseBytes(uint16_t value) in ReverseBytes()
186 inline uint32_t ReverseBytes(uint32_t value) in ReverseBytes()
195 inline uint64_t ReverseBytes(uint64_t value) in ReverseBytes()
219 inline uint32_t ReverseBits(uint32_t value) in ReverseBits()
233 inline uint64_t ReverseBits(uint64_t value) in ReverseBits()
[all …]
Djson_builder.h59 void Append(T &&value) in Append()
77 auto value = static_cast<double>(std::forward<T>(number)); in Stringify() local
109 JsonArrayBuilder &Add(T &&value) & in Add()
117 JsonArrayBuilder &&Add(T &&value) && in Add()
130 JsonObjectBuilder &AddProperty(std::string_view key, T &&value) & in AddProperty()
140 JsonObjectBuilder &&AddProperty(std::string_view key, T &&value) && in AddProperty()
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc_options.h55 void SetSizeStatArg(bool value) in SetSizeStatArg()
70 void SetHelpArg(bool value) in SetHelpArg()
85 void SetOptLevelArg(int value) in SetOptLevelArg()
100 void SetOptLogLevelArg(std::string value) in SetOptLogLevelArg()
115 void SetSetBcVersionArg(bool value) in SetSetBcVersionArg()
130 void SetBcMinVersionArg(bool value) in SetBcMinVersionArg()
145 void SetCompileByPipeArg(bool value) in SetCompileByPipeArg()
160 void SetCompileNpmEntries(bool value) in SetCompileNpmEntries()
175 void SetOutputProto(bool value) in SetOutputProto()
195 void SetTailArg1(std::string value) in SetTailArg1()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dbit_helper.h64 inline constexpr uint32_t CountLeadingZeros(T value) in CountLeadingZeros()
81 inline constexpr uint32_t CountLeadingZeros32(uint32_t value) in CountLeadingZeros32()
86 inline constexpr uint32_t CountLeadingZeros64(uint64_t value) in CountLeadingZeros64()
91 inline constexpr uint32_t CountLeadingOnes32(uint32_t value) in CountLeadingOnes32()
96 inline constexpr uint32_t CountLeadingOnes64(uint64_t value) in CountLeadingOnes64()
102 inline constexpr uint32_t CountTrailingZeros(T value) in CountTrailingZeros()
118 inline constexpr unsigned CountTrailingZeros32(uint32_t value) in CountTrailingZeros32()
123 inline constexpr unsigned CountTrailingZeros64(uint64_t value) in CountTrailingZeros64()
128 inline constexpr unsigned CountTrailingOnes32(uint32_t value) in CountTrailingOnes32()
133 inline constexpr unsigned CountTrailingOnes64(uint64_t value) in CountTrailingOnes64()
/arkcompiler/ets_runtime/ecmascript/
Djs_runtime_options.h158 void SetEnableArkTools(bool value) { in SetEnableArkTools()
172 void SetEnableRuntimeStat(bool value) in SetEnableRuntimeStat()
187 void SetStubFile(std::string value) in SetStubFile()
197 void SetEnableAOT(bool value) in SetEnableAOT()
212 void SetAOTOutputFile(const std::string& value) in SetAOTOutputFile()
227 void SetTargetTriple(std::string value) in SetTargetTriple()
237 void SetOptLevel(size_t value) in SetOptLevel()
247 void SetRelocMode(size_t value) in SetRelocMode()
257 void SetEnableForceGC(bool value) in SetEnableForceGC()
267 void SetForceFullGC(bool value) in SetForceFullGC()
[all …]
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyProgram.proto27 Record value = 2; field
31 Function value = 2; field
35 repeated bytes value = 2; field
39 LiteralArray value = 2; field
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp192 Local<JSValueRef> value = Local<JSValueRef>(vm_, iter->second); in GetProperties() local
408 void RuntimeImpl::GetProtoOrProtoType(Local<JSValueRef> value, bool isOwn, bool isAccessorOnly, in GetProtoOrProtoType()
442 void RuntimeImpl::GetAdditionalProperties(Local<JSValueRef> value, in GetAdditionalProperties()
497 void RuntimeImpl::GetPrimitiveNumberValue(Local<JSValueRef> value, in GetPrimitiveNumberValue()
505 void RuntimeImpl::GetPrimitiveStringValue(Local<JSValueRef> value, in GetPrimitiveStringValue()
513 void RuntimeImpl::GetPrimitiveBooleanValue(Local<JSValueRef> value, in GetPrimitiveBooleanValue()
522 void RuntimeImpl::GetMapIteratorValue(Local<JSValueRef> value, in GetMapIteratorValue()
535 void RuntimeImpl::GetSetIteratorValue(Local<JSValueRef> value, in GetSetIteratorValue()
548 void RuntimeImpl::GetGeneratorFunctionValue(Local<JSValueRef> value, in GetGeneratorFunctionValue()
559 void RuntimeImpl::GetGeneratorObjectValue(Local<JSValueRef> value, in GetGeneratorObjectValue()
[all …]
/arkcompiler/ets_runtime/test/moduletest/protobuf/
Dminimal.js20 util.isString = function isString(value) { argument
Dlongbits.js21 LongBits.from = function from(value) { argument
Dwrite.js22 Writer.int64 = function write_uint64(value) { argument
/arkcompiler/ets_runtime/ecmascript/mem/
Dbarriers-inl.h26 static ARK_INLINE void WriteBarrier(void *obj, size_t offset, JSTaggedType value) in WriteBarrier()
52 …s::SetObject([[maybe_unused]] const JSThread *thread, void *obj, size_t offset, JSTaggedType value) in SetObject()
59 inline void Barriers::SynchronizedSetClass(void *obj, JSTaggedType value) in SynchronizedSetClass()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.cpp57 double value = numberValue.GetNumber(); in Acos() local
76 double value = numberValue.GetNumber(); in Acosh() local
94 double value = numberValue.GetNumber(); in Asin() local
112 double value = numberValue.GetNumber(); in Asinh() local
131 double value = numberValue.GetNumber(); in Atan() local
150 double value = numberValue.GetNumber(); in Atanh() local
199 double value = numberValue.GetNumber(); in Cbrt() local
218 double value = numberValue.GetNumber(); in Ceil() local
243 double value = numberValue.GetNumber(); in Clz32() local
263 double value = numberValue.GetNumber(); in Cos() local
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_vector_test.cpp71 JSHandle<JSTaggedValue> value = in CreateVector() local
100 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
134 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
170 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
193 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
213 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
248 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
277 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
282 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(i * 2)); // 2 : It means double in HWTEST_F_L0() local
287 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(0)); in HWTEST_F_L0() local
[all …]
Djs_api_linked_list_test.cpp72 JSHandle<JSTaggedValue> value = in CreateLinkedList() local
102 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
131 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(1)); in HWTEST_F_L0() local
146 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
181 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
218 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
269 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
293 JSHandle<JSTaggedValue> value(thread, JSTaggedValue(1)); in HWTEST_F_L0() local
309 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
342 JSMutableHandle<JSTaggedValue> value(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
[all …]
/arkcompiler/runtime_core/assembler/extensions/
Decmascript_meta.cpp94 void RecordMetadata::SetFlags(std::string_view attribute, std::string_view value) in SetFlags()
109 void RecordMetadata::RemoveFlags(std::string_view attribute, std::string_view value) in RemoveFlags()
119 void FieldMetadata::SetFlags(std::string_view attribute, std::string_view value) in SetFlags()
129 void FieldMetadata::RemoveFlags(std::string_view attribute, std::string_view value) in RemoveFlags()
139 void FunctionMetadata::SetFlags(std::string_view attribute, std::string_view value) in SetFlags()
149 void FunctionMetadata::RemoveFlags(std::string_view attribute, std::string_view value) in RemoveFlags()
159 void ParamMetadata::SetFlags(std::string_view attribute, std::string_view value) in SetFlags()
169 void ParamMetadata::RemoveFlags(std::string_view attribute, std::string_view value) in RemoveFlags()
/arkcompiler/ets_runtime/test/moduletest/forin/
Dforin.js26 value:"ggg", property
37 value:"ggg", property
45 value:"fff", property
53 value:"ggg", property
61 value:"fff", property
75 value:"ggg", property
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dlib_ark_builtins.d.ts19 value?: any; property
31 value: any; property
36 value: any; property
/arkcompiler/ets_frontend/ts2panda/tools/
DastPrinter.ts43 for (const [key, value] of Object.entries(ts.SyntaxKind)) { constant
92 for (const [key, value] of Object.entries(array)) { constant
126 for (const [key, value] of Object.entries(node)) { constant
156 for (const value of file.statements) { constant

12345678910>>...30