/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | constStringToCharLowering.cpp | 43 auto newValue = checker->Allocator()->New<ir::CharLiteral>(value); in TryConvertToCharLiteral() local 44 newValue->SetParent(parent); in TryConvertToCharLiteral() 45 newValue->SetRange(ast->Range()); in TryConvertToCharLiteral() 47 newValue->AddBoxingUnboxingFlags(ir::BoxingUnboxingFlags::BOX_TO_CHAR); in TryConvertToCharLiteral() 50 newValue->Check(checker); in TryConvertToCharLiteral() 51 return newValue; in TryConvertToCharLiteral() 67 if (auto newValue = TryConvertToCharLiteral(checker, ast); newValue != nullptr) { in Perform() 68 return newValue; in Perform()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | method.h | 120 uint64_t newValue = SetNumArgsWithCallField(callField, numargs); in SetNumArgsWithCallField() local 121 SetCallField(newValue); in SetNumArgsWithCallField() 127 uint64_t newValue = SetNativeBit(callField, isNative); in SetNativeBit() local 128 SetCallField(newValue); in SetNativeBit() 134 uint64_t newValue = SetAotCodeBit(callField, isCompiled); in SetAotCodeBit() local 135 AtomicSetCallField(newValue); in SetAotCodeBit() 141 uint64_t newValue = SetFastBuiltinBit(callField, isFastBuiltin); in SetFastBuiltinBit() local 142 SetCallField(newValue); in SetFastBuiltinBit() 237 uint64_t newValue = MethodLiteral::SetHotnessCounter(literalInfo, counter); in SetHotnessCounter() local 238 SetLiteralInfo(newValue); in SetHotnessCounter() 306 uint64_t newValue = SetDeoptType(extraLiteralInfo, type); SetDeoptType() local 324 uint64_t newValue = SetFunctionKind(extraLiteralInfo, kind); SetFunctionKind() local 343 uint64_t newValue = SetIsFastCall(callFiled, isFastCall); SetIsFastCall() local 356 uint64_t newValue = SetCallNapi(extraLiteralInfo, isCallNapi); SetCallNapi() local 369 uint64_t newValue = SetBuiltinId(extraLiteralInfo, id); SetBuiltinId() local 376 uint64_t newValue = SetDeoptThreshold(extraLiteralInfo, count); SetDeoptThreshold() local 389 uint64_t newValue = SetFpDelta(extraLiteralInfo, delta); SetFpDelta() local 423 uint64_t newValue = SetIsSendable(extraLiteralInfo, isSendable); SetIsSendable() local [all...] |
H A D | js_function.h | 67 uint32_t newValue = IsFastCallBit::Update(bitField, isFastCall); in SetIsCompiledFastCall() local 68 SetBitField(newValue); in SetIsCompiledFastCall() 104 uint32_t newValue = IsCompiledCodeBit::Update(bitField, isCompiled); in SetCompiledCodeBit() local 105 SetBitField(newValue); in SetCompiledCodeBit() 119 uint32_t newValue = TaskConcurrentFuncFlagBit::Update(bitField, value); in SetTaskConcurrentFuncFlag() local 120 SetBitField(newValue); in SetTaskConcurrentFuncFlag()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | func_desc.h | 189 auto newValue = static_cast<size_t>(fi); in SetFuncInfoNoBetterThan() local 190 if (newValue < oldValue) { in SetFuncInfoNoBetterThan() 191 SetFuncInfo(static_cast<FI>(newValue)); in SetFuncInfoNoBetterThan() 211 size_t newValue = static_cast<size_t>(pi); in SetParamInfoNoBetterThan() local 212 if (newValue < oldValue) { in SetParamInfoNoBetterThan() 213 SetParamInfo(idx, static_cast<PI>(newValue)); in SetParamInfoNoBetterThan()
|
/arkcompiler/ets_frontend/ets2panda/lexer/regexp/ |
H A D | regexp.cpp | 541 uint32_t newValue = decimalValue * MULTIPLIER + DigitValue(Next()); in ParseDecimalEscape() local 542 if (newValue < decimalValue) { in ParseDecimalEscape() 546 decimalValue = newValue; in ParseDecimalEscape() 582 uint32_t newValue = octalValue * 8 + DigitValue(Peek()); in ParseLegacyOctalEscape() local 585 if (newValue <= MAX_OCTAL_VALUE) { in ParseLegacyOctalEscape() 586 octalValue = newValue; in ParseLegacyOctalEscape() 788 uint32_t newValue = leftValue * MULTIPLIER + DigitValue(Next()); in ParseBracedQuantifier() local 789 if (newValue < leftValue) { in ParseBracedQuantifier() 794 leftValue = newValue; in ParseBracedQuantifier() 809 uint32_t newValue in ParseBracedQuantifier() local [all...] |
/arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
H A D | regexp.cpp | 537 uint32_t newValue = decimalValue * MULTIPLIER + DigitValue(Next()); in ParseDecimalEscape() local 538 if (newValue < decimalValue) { in ParseDecimalEscape() 542 decimalValue = newValue; in ParseDecimalEscape() 579 uint32_t newValue = octalValue * 8 + DigitValue(Peek()); in ParseLegacyOctalEscape() local 582 if (newValue <= MAX_OCTAL_VALUE) { in ParseLegacyOctalEscape() 583 octalValue = newValue; in ParseLegacyOctalEscape() 767 uint32_t newValue = leftValue * MULTIPLIER + DigitValue(Next()); in ParseBracedQuantifier() local 768 if (newValue < leftValue) { in ParseBracedQuantifier() 773 leftValue = newValue; in ParseBracedQuantifier() 788 uint32_t newValue in ParseBracedQuantifier() local [all...] |
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | object_header-inl.h | 146 inline bool ObjectHeader::CompareAndSetFieldPrimitive(size_t offset, T oldValue, T newValue, in CompareAndSetFieldPrimitive() argument 149 return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, oldValue, newValue, memoryOrder, strong).first; in CompareAndSetFieldPrimitive() 154 inline bool ObjectHeader::CompareAndSetFieldObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, in CompareAndSetFieldObject() argument 157 return ObjectAccessor::CompareAndSetFieldObject<NEED_WRITE_BARRIER, IS_DYN>(this, offset, oldValue, newValue, in CompareAndSetFieldObject() 163 inline T ObjectHeader::CompareAndExchangeFieldPrimitive(size_t offset, T oldValue, T newValue, in CompareAndExchangeFieldPrimitive() argument 166 return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, oldValue, newValue, memoryOrder, strong).second; in CompareAndExchangeFieldPrimitive() 172 ObjectHeader *newValue, std::memory_order memoryOrder, in CompareAndExchangeFieldObject() 175 return ObjectAccessor::CompareAndSetFieldObject<NEED_WRITE_BARRIER, IS_DYN>(this, offset, oldValue, newValue, in CompareAndExchangeFieldObject() 171 CompareAndExchangeFieldObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, std::memory_order memoryOrder, bool strong) CompareAndExchangeFieldObject() argument
|
H A D | object_accessor-inl.h | 249 inline std::pair<bool, T> ObjectAccessor::CompareAndSetFieldPrimitive(void *obj, size_t offset, T oldValue, T newValue, in CompareAndSetFieldPrimitive() argument 256 return {atomicAddr->compare_exchange_strong(oldValue, newValue, memoryOrder), oldValue}; in CompareAndSetFieldPrimitive() 258 return {atomicAddr->compare_exchange_weak(oldValue, newValue, memoryOrder), oldValue}; in CompareAndSetFieldPrimitive() 266 ObjectHeader *newValue, in CompareAndSetFieldObject() 275 CompareAndSetFieldPrimitive<ObjectHeader *>(obj, offset, oldValue, newValue, memoryOrder, strong); in CompareAndSetFieldObject() 280 ToObjPtrType(newValue), memoryOrder, strong); in CompareAndSetFieldObject() 295 barrierSet->PostBarrier(ToVoidPtr(ToUintPtr(obj)), offset, newValue); in CompareAndSetFieldObject() 358 T newValue; in GetAndAddFieldPrimitive() local 360 newValue = oldValue + value; in GetAndAddFieldPrimitive() 361 } while (!atomicAddr->compare_exchange_weak(oldValue, newValue, memoryOrde in GetAndAddFieldPrimitive() 264 CompareAndSetFieldObject(void *obj, size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, std::memory_order memoryOrder, bool strong) CompareAndSetFieldObject() argument [all...] |
H A D | object_header.h | 252 bool CompareAndSetFieldPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, bool strong); 255 bool CompareAndSetFieldObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, 259 T CompareAndExchangeFieldPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, 263 ObjectHeader *CompareAndExchangeFieldObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue,
|
H A D | class-inl.h | 754 inline bool Class::CompareAndSetFieldPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, 757 return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, oldValue, newValue, memoryOrder, strong).first; 762 inline bool Class::CompareAndSetFieldObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, 768 return ObjectAccessor::CompareAndSetFieldObject<NEED_WRITE_BARRIER>(object, newOffset, oldValue, newValue, 774 inline T Class::CompareAndExchangeFieldPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, 777 return ObjectAccessor::CompareAndSetFieldPrimitive(this, offset, oldValue, newValue, memoryOrder, strong).second; 782 inline ObjectHeader *Class::CompareAndExchangeFieldObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, 788 return ObjectAccessor::CompareAndSetFieldObject<NEED_WRITE_BARRIER>(object, newOffset, oldValue, newValue,
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | program_object.cpp | 159 auto newValue = snapshotCachedArray->Get(i); in MergeObjectLiteralHClassCache() local 160 if (newValue.IsJSHClass()) { in MergeObjectLiteralHClassCache() 161 JSHClass::Cast(newValue.GetTaggedObject())->SetPrototype(thread, prototype); in MergeObjectLiteralHClassCache() 169 auto newValue = snapshotCachedArray->Get(i); in MergeObjectLiteralHClassCache() local 170 if (newValue.IsHole()) { in MergeObjectLiteralHClassCache() 178 JSHClass::Cast(newValue.GetTaggedObject())->SetPrototype(thread, prototype); in MergeObjectLiteralHClassCache() 179 curCachedArray->Set(thread, i, newValue); in MergeObjectLiteralHClassCache()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | atomic.h | 37 ALWAYS_INLINE inline T AtomicCmpxchgStrong(T *addr, T expected, T newValue, std::memory_order order) in AtomicCmpxchgStrong() argument 40 reinterpret_cast<std::atomic<T> *>(addr)->compare_exchange_strong(expected, newValue, order); in AtomicCmpxchgStrong()
|
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
H A D | array-inl.h | 83 inline bool Array::CompareAndSetPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, in CompareAndSetPrimitive() argument 86 return ObjectAccessor::CompareAndSetFieldPrimitive(this, GetDataOffset() + offset, oldValue, newValue, memoryOrder, in CompareAndSetPrimitive() 93 inline bool Array::CompareAndSetObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, in CompareAndSetObject() argument 97 return ObjectAccessor::CompareAndSetFieldObject<NEED_WRITE_BARRIER, IS_DYN>(this, fieldOffset, oldValue, newValue, in CompareAndSetObject() 103 inline T Array::CompareAndExchangePrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, in CompareAndExchangePrimitive() argument 106 return ObjectAccessor::CompareAndSetFieldPrimitive(this, GetDataOffset() + offset, oldValue, newValue, memoryOrder, in CompareAndExchangePrimitive() 113 inline ObjectHeader *Array::CompareAndExchangeObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, in CompareAndExchangeObject() argument 117 return ObjectAccessor::CompareAndSetFieldObject<NEED_WRITE_BARRIER, IS_DYN>(this, fieldOffset, oldValue, newValue, in CompareAndExchangeObject()
|
H A D | array.h | 130 bool CompareAndSetPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, bool strong); 133 bool CompareAndSetObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue, 137 T CompareAndExchangePrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, bool strong); 140 ObjectHeader *CompareAndExchangeObject(size_t offset, ObjectHeader *oldValue, ObjectHeader *newValue,
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_object.h | 150 bool CompareAndSetFieldPrimitive(size_t offset, T oldValue, T newValue, std::memory_order memoryOrder, bool strong) in CompareAndSetFieldPrimitive() argument 152 return GetCoreType()->CompareAndSetFieldPrimitive(offset, oldValue, newValue, memoryOrder, strong); in CompareAndSetFieldPrimitive() 155 bool CompareAndSetFieldObject(size_t offset, EtsObject *oldValue, EtsObject *newValue, in CompareAndSetFieldObject() argument 159 reinterpret_cast<ObjectHeader *>(newValue), memoryOrder, strong); in CompareAndSetFieldObject()
|
H A D | ets_shared_memory-inl.h | 92 auto newValue = f(oldValue); 93 thisHandle->SetElement<T>(index, newValue); 95 return std::pair(oldValue, newValue);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_atomics.cpp | 389 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); in HandleWithUint8() local 390 uint8_t newTag = JSTaggedValue::ToUint8(thread, newValue); in HandleWithUint8() 412 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); in HandleWithInt8() local 413 int8_t newTag = JSTaggedValue::ToInt8(thread, newValue); in HandleWithInt8() 435 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); in HandleWithUint16() local 436 uint16_t newTag = JSTaggedValue::ToUint16(thread, newValue); in HandleWithUint16() 458 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); in HandleWithInt16() local 459 int16_t newTag = JSTaggedValue::ToInt16(thread, newValue); in HandleWithInt16() 481 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); in HandleWithUint32() local 482 uint32_t newTag = JSTaggedValue::ToUint32(thread, newValue); in HandleWithUint32() 504 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); HandleWithInt32() local 529 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); HandleWithBigInt64() local 556 JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); HandleWithBigUint64() local [all...] |
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/quickfix/multi_file/patch/ |
H A D | index.js | 41 set message(newValue) {
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/quickfix/multi_file/base/ |
H A D | index.js | 40 set message(newValue) {
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ringbuf/ |
H A D | lock_free_ring_buffer.h | 93 size_t newValue = Increment(currentHead); 95 headIndex_.store(newValue, std::memory_order_release);
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | string_helper.h | 55 const CString &newValue) in ReplaceAll() 57 if (oldValue.empty() || oldValue == newValue) { in ReplaceAll() 62 str.replace(pos, oldValue.length(), newValue); in ReplaceAll() 63 pos += newValue.length(); in ReplaceAll() 69 const CString &newValue) in Replace() 71 if (oldValue.empty() || oldValue == newValue) { in Replace() 76 str.replace(pos, oldValue.length(), newValue); in Replace() 54 ReplaceAll(CString str, const CString &oldValue, const CString &newValue) ReplaceAll() argument 68 Replace(CString str, const CString &oldValue, const CString &newValue) Replace() argument
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_hashmap.cpp | 92 bool JSAPIHashMap::Replace(JSThread *thread, JSTaggedValue key, JSTaggedValue newValue) in Replace() argument 101 LinkedNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace() 103 RBTreeNode::Cast(nodeVa.GetTaggedObject())->SetValue(thread, newValue); in Replace()
|
H A D | js_api_hashmap.h | 41 bool Replace(JSThread *thread, JSTaggedValue key, JSTaggedValue newValue);
|
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
H A D | test_runner.h | 88 PtProperty property, VRegValue newValue) override 91 test_->propertyModification(thread, method, location, object, property, newValue);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_obj_emitter.cpp | 73 uint32 newValue = GetTextDataElem32(useOffset) | ((pcRelImm & mask) << kShiftFive); in HandleLocalBranchFixup() 74 SwapTextData(&newValue, useOffset, sizeof(uint32)); in HandleLocalBranchFixup() 85 uint32 newValue = GetTextDataElem32(useOffset) | (pcRelImm & mask); in HandleLocalBranchFixup() 86 SwapTextData(&newValue, useOffset, sizeof(uint32)); in HandleLocalBranchFixup() 94 uint32 newValue = GetTextDataElem32(useOffset) | ((pcRelImm & mask) << kShiftFive); in HandleLocalBranchFixup() 95 SwapTextData(&newValue, useOffset, sizeof(uint32)); in HandleLocalBranchFixup() 100 uint32 newValue = GetTextDataElem32(useOffset) | ((pcRelImm & mask) << kShiftFive); in HandleLocalBranchFixup() 101 SwapTextData(&newValue, useOffset, sizeof(uint32)); in HandleLocalBranchFixup() 140 uint32 newValue = objFuncEmitInfo.GetTextDataElem32(fixup.GetOffset()) | (pcRelImm & 0x3FFFFFF); 141 objFuncEmitInfo.SwapTextData(&newValue, fixu [all...] |