/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | nestedLoops.ts | 46 this.aFunction((newValue, oldValue) => { 47 AssertType(this.aFunction((newValue, oldValue) => { let x = outer + inner + newV… 50 AssertType((newValue, oldValue) => { let x = outer + inner + newValue; … 51 AssertType(newValue, "any"); 54 let x = outer + inner + newValue; 56 AssertType(outer + inner + newValue, "any"); 60 AssertType(newValue, "any"); 66 public aFunction(func: (newValue: any, oldValue: any) => void): void {
|
D | genericCallbacksAndClassHierarchy.ts | 23 subscribe(callback: (newValue: T) => void ): any; 34 let f = (newValue: A<T>) => { }; 36 AssertType((newValue: A<T>) => { }, "(A<T>) => void"); 37 AssertType(newValue, "A<T>"); 49 v.subscribe((newValue: A<T>) => { }); 50 AssertType(v.subscribe((newValue: A<T>) => { }), "any"); 52 AssertType((newValue: A<T>) => { }, "(A<T>) => void"); 53 AssertType(newValue, "A<T>");
|
D | noCrashOnThisTypeUsage.ts | 33 const newValue: T = value; constant 34 AssertType(newValue, "T"); 42 …(this, { type: "update", object: this, newValue, oldVa… 45 AssertType({ type: "update", object: this, newValue, ol… 55 newValue, 56 AssertType(newValue, "T");
|
D | performanceComparisonOfStructurallyIdenticalInterfacesWithGenericSignatures.ts | 24 filter(callback: (newValue: T, oldValue: T) => boolean): InterfaceA<T>; 55 public filter(callback: (newValue: T, oldValue: T) => boolean): B<T> {
|
/arkcompiler/ets_runtime/ecmascript/ |
D | method.h | 123 uint64_t newValue = SetNumArgsWithCallField(callField, numargs); in SetNumArgsWithCallField() local 124 SetCallField(newValue); in SetNumArgsWithCallField() 130 uint64_t newValue = SetNativeBit(callField, isNative); in SetNativeBit() local 131 SetCallField(newValue); in SetNativeBit() 137 uint64_t newValue = SetAotCodeBit(callField, isCompiled); in SetAotCodeBit() local 138 SetCallField(newValue); in SetAotCodeBit() 144 uint64_t newValue = SetFastBuiltinBit(callField, isFastBuiltin); in SetFastBuiltinBit() local 145 SetCallField(newValue); in SetFastBuiltinBit() 238 uint64_t newValue = MethodLiteral::SetHotnessCounter(literalInfo, counter); in SetHotnessCounter() local 239 SetLiteralInfo(newValue); in SetHotnessCounter() [all …]
|
/arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
D | regexp.cpp | 536 uint32_t newValue = decimalValue * MULTIPLIER + DigitValue(Next()); in ParseDecimalEscape() local 537 if (newValue < decimalValue) { in ParseDecimalEscape() 541 decimalValue = newValue; in ParseDecimalEscape() 577 uint32_t newValue = octalValue * 8 + DigitValue(Peek()); in ParseLegacyOctalEscape() local 580 if (newValue <= MAX_OCTAL_VALUE) { in ParseLegacyOctalEscape() 581 octalValue = newValue; in ParseLegacyOctalEscape() 765 uint32_t newValue = leftValue * MULTIPLIER + DigitValue(Next()); in ParseBracedQuantifier() local 766 if (newValue < leftValue) { in ParseBracedQuantifier() 771 leftValue = newValue; in ParseBracedQuantifier() 786 uint32_t newValue = rightValue * MULTIPLIER + DigitValue(Next()); in ParseBracedQuantifier() local [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_atomics.cpp | 351 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithUint8() local 352 uint8_t newTag = JSTaggedValue::ToUint8(thread, newValue); in HandleWithUint8() 372 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithInt8() local 373 int8_t newTag = JSTaggedValue::ToInt8(thread, newValue); in HandleWithInt8() 393 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithUint16() local 394 uint16_t newTag = JSTaggedValue::ToUint16(thread, newValue); in HandleWithUint16() 414 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithInt16() local 415 int16_t newTag = JSTaggedValue::ToInt16(thread, newValue); in HandleWithInt16() 435 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithUint32() local 436 uint32_t newTag = JSTaggedValue::ToUint32(thread, newValue); in HandleWithUint32() [all …]
|
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/ |
D | expect_output.txt | 74 2 [{"id":"50","newValue":12},{"id":"51","newValue":13}]
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/quickfix/multi_file/base/ |
D | index.js | 35 set message(newValue) { argument
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/quickfix/multi_file/patch/ |
D | index.js | 36 set message(newValue) { argument
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_hashmap.cpp | 96 JSTaggedValue JSAPIHashMap::Replace(JSThread *thread, JSTaggedValue key, JSTaggedValue newValue) in Replace() argument 105 LinkedNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 107 RBTreeNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace()
|
D | js_api_hashmap.h | 41 JSTaggedValue Replace(JSThread *thread, JSTaggedValue key, JSTaggedValue newValue);
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | string_helper.h | 56 const CString &newValue) in RepalceAll() argument 58 if (oldValue.empty() || oldValue == newValue) { in RepalceAll() 63 str.replace(pos, oldValue.length(), newValue); in RepalceAll() 64 pos += newValue.length(); in RepalceAll()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | profile_type_info_test.cpp | 76 JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(1)); in HWTEST_F_L0() local 78 JSHandle<JSTaggedValue> newBox(factory->NewPropertyBox(newValue)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | object_operator_test.cpp | 702 JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 704 factory->ConcatFromString(handleKey1, JSTaggedValue::ToString(thread, newValue)); in HWTEST_F_L0() 706 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObject), newKey, newValue); in HWTEST_F_L0() 1061 JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 1063 factory->ConcatFromString(handleKey, JSTaggedValue::ToString(thread, newValue)); in HWTEST_F_L0() 1065 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(handleObject), newKey, newValue); in HWTEST_F_L0()
|
D | js_hclass_test.cpp | 219 JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 221 factory->ConcatFromString(keyHandle, JSTaggedValue::ToString(thread, newValue)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_hashmap.cpp | 340 JSHandle<JSTaggedValue> newValue = GetCallArg(argv, 1); in Replace() local 342 return jsHashMap->Replace(thread, key.GetTaggedValue(), newValue.GetTaggedValue()); in Replace()
|
/arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/ |
D | arraylist_fuzzer.cpp | 114 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means mul by 2 in TestReplaceAllElementsFunc() local 115 …JSHandle<JSAPIArrayList>::Cast(arrayList)->Set(thread, index->GetNumber(), newValue.GetTaggedValue… in TestReplaceAllElementsFunc() 116 return newValue.GetTaggedValue(); in TestReplaceAllElementsFunc()
|
/arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/ |
D | containersvectorcommon_fuzzer.h | 476 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means mul by 2 in TestReplaceAllElementsFunc() 477 … JSHandle<JSAPIVector>::Cast(vector)->Set(thread, index->GetNumber(), newValue.GetTaggedValue()); in TestReplaceAllElementsFunc() 478 return newValue.GetTaggedValue(); in TestReplaceAllElementsFunc()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_plainarray_test.cpp | 68 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means the value in TestForEachFunc() local 69 JSAPIPlainArray::Add(thread, plainArray, key, newValue); in TestForEachFunc()
|
D | containers_linked_list_test.cpp | 69 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means mul by 2 in TestForEachFunc() local 70 … JSAPILinkedList::Set(thread, JSHandle<JSAPILinkedList>::Cast(list), index->GetInt(), newValue); in TestForEachFunc()
|
D | containers_list_test.cpp | 69 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means mul by 2 in TestForEachFunc() local 70 … JSAPIList::Set(thread, JSHandle<JSAPIList>::Cast(list), index->GetInt(), newValue); in TestForEachFunc()
|
D | containers_vector_test.cpp | 86 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means mul by 2 in TestReplaceAllElementsFunc() local 87 … JSHandle<JSAPIVector>::Cast(vector)->Set(thread, index->GetNumber(), newValue.GetTaggedValue()); in TestReplaceAllElementsFunc() 88 return newValue.GetTaggedValue(); in TestReplaceAllElementsFunc()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/ |
D | containerslinkedlistcommon_fuzzer.h | 45 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means mul by 2 in TestForEachFunc() 46 … JSAPILinkedList::Set(thread, JSHandle<JSAPILinkedList>::Cast(list), index->GetInt(), newValue); in TestForEachFunc()
|
/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/ |
D | containersplainarray_fuzzer.cpp | 311 JSHandle<JSTaggedValue> newValue(thread, value.GetTaggedValue()); in TestForEachFunc() local 312 JSAPIPlainArray::Add(thread, plainArray, key, newValue); in TestForEachFunc()
|