Home
last modified time | relevance | path

Searched refs:old (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/runtime_core/static_core/verification/util/
H A Drange.h53 Iterator old {*this}; in operator ++()
55 return old; in operator ++()
65 Iterator old {*this}; in operator --()
67 return old; in operator --()
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
H A Dcompare.py24 parser.add_argument("--old", metavar="JSON_FILE_PATH", required=True,
41 if not os.path.exists(args.old):
42 print("Input file (%s) does not exists." % args.old)
49 with open(args.old, 'r') as old_fp, open(args.new, 'r') as new_fp:
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/
H A Dcompare.py25 parser.add_argument("--old", metavar="JSON_FILE_PATH", required=True,
42 if not os.path.exists(args.old):
43 logging.error("Input file (%s) does not exists.", args.old)
50 with open(args.old, 'r') as old_fp, open(args.new, 'r') as new_fp:
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_context.cpp278 if (auto old = knownItems_.find(oldProgram); old != knownItems_.end()) { in UpdateDebugInfo()
279 lnpItem = static_cast<panda_file::LineNumberProgramItem *>(old->second); in UpdateDebugInfo()
321 bool Context::IsSameType(ark::panda_file::TypeItem *nevv, ark::panda_file::TypeItem *old) in IsSameType() argument
324 if (!old->GetType().IsPrimitive()) { in IsSameType()
327 return nevv->GetType() == old->GetType(); in IsSameType()
330 auto iter = knownItems_.find(old); in IsSameType()
418 << ErrorToString({"old method", fm}, 1) << '\n' in MergeForeignMethod()
645 details.emplace_back("old item", ad.oi);
680 auto old in ArrayValueFromOld() local
789 ClassFromOld(panda_file::BaseClassItem *old) ClassFromOld() argument
801 TypeFromOld(panda_file::TypeItem *old) TypeFromOld() argument
[all...]
H A Dlinker_context.h51 panda_file::LiteralArrayItem *old; member
174 panda_file::BaseClassItem *ClassFromOld(panda_file::BaseClassItem *old);
176 panda_file::TypeItem *TypeFromOld(panda_file::TypeItem *old);
228 bool IsSameType(ark::panda_file::TypeItem *nevv, ark::panda_file::TypeItem *old);
H A Dlinker_code_parser_context.cpp108 auto &oldIts = lc.old->GetItems(); in ApplyLiteralArrayChange()
/arkcompiler/ets_runtime/ecmascript/
H A Dweak_vector.cpp48 JSHandle<WeakVector> WeakVector::Grow(const JSThread *thread, const JSHandle<WeakVector> &old, uint32_t newCapacity) in Grow() argument
50 uint32_t oldCapacity = old->GetCapacity(); in Grow()
53 return old; in Grow()
61 JSHandle<TaggedArray> newVec = factory->CopyArray(JSHandle<TaggedArray>(old), VectorToArrayIndex(oldCapacity), in Grow()
H A Dobject_factory.h403 JSHandle<TaggedArray> ExtendArray(const JSHandle<TaggedArray> &old, uint32_t length,
407 JSHandle<TaggedArray> CopyPartArray(const JSHandle<TaggedArray> &old, uint32_t start, uint32_t end);
408 JSHandle<TaggedArray> PUBLIC_API CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t newLength,
412 JSHandle<TaggedArray> CopyFromEnumCache(const JSHandle<TaggedArray> &old);
413 JSHandle<TaggedArray> CloneProperties(const JSHandle<TaggedArray> &old);
414 JSHandle<TaggedArray> CloneProperties(const JSHandle<TaggedArray> &old, const JSHandle<JSTaggedValue> &env,
420 JSHandle<LayoutInfo> ExtendLayoutInfo(const JSHandle<LayoutInfo> &old, int properties);
422 JSHandle<LayoutInfo> CopyLayoutInfo(const JSHandle<LayoutInfo> &old);
424 JSHandle<LayoutInfo> CopyAndReSort(const JSHandle<LayoutInfo> &old, int end, int capacity);
644 JSHandle<TaggedArray> CopyQueue(const JSHandle<TaggedArray> &old, uint32_
[all...]
H A Dobject_factory.cpp491 JSHandle<TaggedArray> ObjectFactory::CloneProperties(const JSHandle<TaggedArray> &old) in CloneProperties() argument
493 uint32_t newLength = old->GetLength(); in CloneProperties()
498 auto klass = old->GetClass(); in CloneProperties()
502 newArray->InitializeWithSpecialValue(JSTaggedValue::Hole(), newLength, old->GetExtraLength()); in CloneProperties()
504 JSTaggedValue value = old->Get(i); in CloneProperties()
561 // Set the first shared elements into the old object. in CloneArrayLiteral()
584 // Set the first shared properties into the old object. in CloneArrayLiteral()
594 JSHandle<TaggedArray> ObjectFactory::CloneProperties(const JSHandle<TaggedArray> &old, in CloneProperties() argument
597 uint32_t newLength = old->GetLength(); in CloneProperties()
602 auto klass = old in CloneProperties()
2919 ExtendArray(const JSHandle<TaggedArray> &old, uint32_t length, JSTaggedValue initVal, MemSpaceType type, [[maybe_unused]] ElementsKind kind) ExtendArray() argument
2961 CopyPartArray(const JSHandle<TaggedArray> &old, uint32_t start, uint32_t end) CopyPartArray() argument
2989 CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t newLength, JSTaggedValue initVal, MemSpaceType type, ElementsKind kind) CopyArray() argument
3033 CopyFromEnumCache(const JSHandle<TaggedArray> &old) CopyFromEnumCache() argument
3062 ExtendLayoutInfo(const JSHandle<LayoutInfo> &old, int properties) ExtendLayoutInfo() argument
3080 CopyLayoutInfo(const JSHandle<LayoutInfo> &old) CopyLayoutInfo() argument
3086 CopyAndReSort(const JSHandle<LayoutInfo> &old, int end, int capacity) CopyAndReSort() argument
4396 CopyDeque(const JSHandle<TaggedArray> &old, uint32_t newLength, [[maybe_unused]] uint32_t oldLength, uint32_t first, uint32_t last) CopyDeque() argument
4434 CopyQueue(const JSHandle<TaggedArray> &old, uint32_t newLength, uint32_t front, uint32_t tail) CopyQueue() argument
[all...]
H A Dshared_object_factory.cpp322 JSHandle<TaggedArray> ObjectFactory::CopySArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, in CopySArray() argument
329 return ExtendSArray(old, newLength, initVal, kind); in CopySArray()
334 ASSERT(!old->GetClass()->IsMutantTaggedArray()); in CopySArray()
341 newArray->SetExtraLength(old->GetExtraLength()); in CopySArray()
344 newArray->Set(thread_, i, old->Get(i)); in CopySArray()
350 JSHandle<TaggedArray> ObjectFactory::ExtendSArray(const JSHandle<TaggedArray> &old, uint32_t length, in ExtendSArray() argument
353 ASSERT(length > old->GetLength()); in ExtendSArray()
358 ASSERT(!old->GetClass()->IsMutantTaggedArray()); in ExtendSArray()
364 newArray->SetExtraLength(old->GetExtraLength()); in ExtendSArray()
366 uint32_t oldLength = old in ExtendSArray()
436 CopyAndReSortSLayoutInfo(const JSHandle<LayoutInfo> &old, int end, int capacity) CopyAndReSortSLayoutInfo() argument
[all...]
H A Djs_hclass.cpp344 // 3. Add newClass to old hclass's parent's transitions. in TransitionExtension()
378 // 3. Add newJsHClass to old jshclass's parent's transitions. in TransitionProto()
443 // 2. Add newJsHClass to old jshclass's parent's transitions. in CloneWithAddProto()
904 // The old hclass is the same as new one in NotifyHclassChanged()
1583 JSHandle<LayoutInfo> old(thread, parentHClass->GetLayout()); in CreateSInlinedLayout()
1585 key.Update(old->GetKey(i)); in CreateSInlinedLayout()
1590 auto attr = PropertyAttributes(old->GetAttr(i)); in CreateSInlinedLayout()
1592 layout->AddKey(thread, index, old->GetKey(i), attr); in CreateSInlinedLayout()
1640 JSHandle<NameDictionary> old(thread, parentHClass->GetLayout()); in CreateSDictLayout()
1641 std::vector<int> indexOrder = old in CreateSDictLayout()
[all...]
H A Dweak_vector.h40 static JSHandle<WeakVector> Grow(const JSThread *thread, const JSHandle<WeakVector> &old, uint32_t newCapacity);
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dtool.py112 def rename_suffix(old: Path, new_suffix: str) -> Path:
113 new = old.with_suffix(new_suffix)
114 old.rename(new)
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/
H A Dvalue_dumper.rb47 old = x
49 if x != old
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/
H A Dmain.rb369 res = res.flat_map { |old|
371 if old.size == idx
372 [old + [y]] + (idx < mandatory ? [] : [old])
374 [old]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A Dtemplate.py101 for new, old in codes:
102 text = text.replace(old, new)
/arkcompiler/runtime_core/static_core/static_linker/tests/
H A Dlinker_test.cpp69 auto old = std::cout.rdbuf(strBuf.rdbuf()); in ExecPanda() local
70 auto reset = [&old](auto *cout) { cout->rdbuf(old); }; in ExecPanda()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
H A Dmem.cpp187 PDWORD old = nullptr; in MakeMemWithProtFlag() local
188 int r = VirtualProtect(mem, size, prot, old); in MakeMemWithProtFlag()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
H A Dmem.cpp191 PDWORD old = nullptr; in MakeMemWithProtFlag() local
192 int r = VirtualProtect(mem, size, prot, old); in MakeMemWithProtFlag()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
H A Dconstantfold.h102 BinaryNode *NewBinaryNode(BinaryNode *old, Opcode op, PrimType primType, BaseNode *lhs, BaseNode *rhs) const;
103 UnaryNode *NewUnaryNode(UnaryNode *old, Opcode op, PrimType primType, BaseNode *expr) const;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
H A Dconstantfold.cpp109 BinaryNode *ConstantFold::NewBinaryNode(BinaryNode *old, Opcode op, PrimType primType, BaseNode *lhs, in NewBinaryNode() argument
112 CHECK_NULL_FATAL(old); in NewBinaryNode()
114 if (old->GetOpCode() == op && old->GetPrimType() == primType && old->Opnd(0) == lhs && old->Opnd(1) == rhs) { in NewBinaryNode()
115 result = old; in NewBinaryNode()
122 UnaryNode *ConstantFold::NewUnaryNode(UnaryNode *old, Opcode op, PrimType primType, BaseNode *expr) const in NewUnaryNode() argument
124 CHECK_NULL_FATAL(old); in NewUnaryNode()
126 if (old in NewUnaryNode()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dnumber_speculative_retype.cpp33 TypeInfo old = type; in SetOutputType() local
44 return old == type ? Circuit::NullGate() : gate; in SetOutputType()
50 TypeInfo old = type; in SetOutputType() local
65 return old == type ? Circuit::NullGate() : gate; in SetOutputType()
71 TypeInfo old = type; in SetOutputType() local
80 return old == type ? Circuit::NullGate() : gate; in SetOutputType()
85 TypeInfo old = GetOutputTypeInfo(gate); in SetOutputType() local
87 return old == type ? Circuit::NullGate() : gate; in SetOutputType()
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit.cpp589 uint32_t old = info.jitTaskCnt_.fetch_sub(1); in DecJitTaskCnt() local
590 if (old == 1) { in DecJitTaskCnt()
/arkcompiler/runtime_core/libpandafile/tests/
H A Dfile_item_container_test.cpp114 auto old = std::array<uint8_t, File::VERSION_SIZE>(minVersion); in HWTEST() local
115 --old[3]; in HWTEST()
117 header.version = old; in HWTEST()
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Dfile_item_container_test.cpp104 auto old = std::array<uint8_t, File::VERSION_SIZE>(MIN_VERSION); in TEST() local
105 --old[3]; in TEST()
107 header.version = old; in TEST()

Completed in 29 milliseconds