/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | inferenceDoesNotAddUndefinedOrNull.ts | 36 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
|
D | contextualTypeShouldBeLiteral.ts | 29 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
|
D | jsDeclarationsInheritedTypes.ts | 43 value; property in C2 50 value; property in C3
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/defaultExportInAwaitExpression02/ |
D | b.ts | 24 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/ |
D | b.ts | 24 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/ |
D | meta.cpp | 48 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() 216 …std::string_view value, const std::unordered_map<std::string, std::unique_ptr<AnnotationData>> &an… in AddValue() [all …]
|
/arkcompiler/runtime_core/libpandabase/utils/ |
D | bit_field.h | 93 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()
|
D | bit_utils.h | 94 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 …]
|
D | json_builder.h | 59 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/ |
D | ts2abc_options.h | 55 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/ |
D | bit_helper.h | 64 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/ |
D | js_runtime_options.h | 158 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/ |
D | assemblyProgram.proto | 27 Record value = 2; field 31 Function value = 2; field 35 repeated bytes value = 2; field 39 LiteralArray value = 2; field
|
/arkcompiler/toolchain/tooling/agent/ |
D | runtime_impl.cpp | 192 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/ |
D | minimal.js | 20 util.isString = function isString(value) { argument
|
D | longbits.js | 21 LongBits.from = function from(value) { argument
|
D | write.js | 22 Writer.int64 = function write_uint64(value) { argument
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | barriers-inl.h | 26 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/ |
D | builtins_math.cpp | 57 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/ |
D | js_api_vector_test.cpp | 71 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 …]
|
D | js_api_linked_list_test.cpp | 72 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/ |
D | ecmascript_meta.cpp | 94 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/ |
D | forin.js | 26 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/ |
D | lib_ark_builtins.d.ts | 19 value?: any; property 31 value: any; property 36 value: any; property
|
/arkcompiler/ets_frontend/ts2panda/tools/ |
D | astPrinter.ts | 43 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
|