Home
last modified time | relevance | path

Searched refs:p2 (Results 1 - 16 of 16) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Dnative_bytes_from_mallinfo_test.cpp39 void *p2[10]; in TEST() local
41 p2[i] = malloc(4 * 1024 * 1024); in TEST()
42 ASSERT_NE(p2[i], nullptr); in TEST()
57 free(p2[i]); in TEST()
58 p2[i] = nullptr; in TEST()
H A Dutf_test.cpp567 std::pair<uint32_t, size_t> p2 = ConvertMUtf8ToUtf16Pair(&data, 3U); in HWTEST() local
568 ASSERT_EQ(17U, p2.first); in HWTEST()
569 ASSERT_EQ(1U, p2.second); in HWTEST()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dnative_bytes_from_mallinfo_test.cpp40 void *p2[10U]; in TEST() local
42 p2[i] = malloc(4U * 1024U * 1024U); in TEST()
43 ASSERT_NE(p2[i], nullptr); in TEST()
58 free(p2[i]); in TEST()
59 p2[i] = nullptr; in TEST()
/arkcompiler/ets_runtime/test/moduletest/promise/
H A Dpromise.js26 var p2 = Promise.resolve(2468); variable
27 var p3 = Promise.race([p1, p2]);
44 var p4 = Promise.all([p, p2]);
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dvtable_builder_variance-inl.h35 Method::ProtoId const &p2) in IsOverriddenOrOverrides()
37 if (&p1.GetPandaFile() == &p2.GetPandaFile() && p1.GetEntityId() == p2.GetEntityId()) { in IsOverriddenOrOverrides()
40 return ProtoCompatibility()(p1, p2) || ProtoCompatibility()(p2, p1); in IsOverriddenOrOverrides()
34 IsOverriddenOrOverrides(Method::ProtoId const &p1, Method::ProtoId const &p2) IsOverriddenOrOverrides() argument
H A Dvtable_builder_variance.h35 static bool IsOverriddenOrOverrides(Method::ProtoId const &p1, Method::ProtoId const &p2);
/arkcompiler/toolchain/tooling/test/testcases/js/
H A Dvariable_second.js107 var p2 = new Number(2);
108 var weakMap1 = new WeakMap([[p1, 'hello'], [p2, 'world']]);
115 weakMap4.set(p2, 'azerty');
123 weakSet2.add(p2);
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dalias_analysis.h247 bool operator()(Pointer const &p1, Pointer const &p2) const in operator ()()
249 return p1.GetType() == p2.GetType() && p1.GetBase() == p2.GetBase() && p1.GetIdx() == p2.GetIdx() && in operator ()()
250 p1.HasSameOffset(p2); in operator ()()
294 AliasType CheckMemAddress(const Pointer &p1, const Pointer &p2) const;
423 static AliasType AliasingTwoArrayPointers(const Pointer *p1, const Pointer *p2);
425 static AliasType SingleIntersectionAliasing(const Pointer &p1, const Pointer &p2, const Pointer *intersection);
427 const Pointer &p1, const Pointer &p2) const;
H A Dalias_analysis.cpp316 Pointer p2 = {}; in CheckInstAlias() local
318 if (!ParseInstruction(mem1, &p1) || !ParseInstruction(mem2, &p2)) { in CheckInstAlias()
334 return CheckMemAddress(p1, p2); in CheckInstAlias()
345 const Pointer &p1, const Pointer &p2) const in CheckMemAddressEmptyIntersectionCase()
354 if (p1.GetType() == OBJECT_FIELD && !p1.HasSameOffset(p2)) { in CheckMemAddressEmptyIntersectionCase()
358 auto equal = IsSameOffsets(p1.GetIdx(), p2.GetIdx()); in CheckMemAddressEmptyIntersectionCase()
361 if ((equal == Trilean::FALSE && p1.GetImm() == p2.GetImm()) || in CheckMemAddressEmptyIntersectionCase()
362 (equal == Trilean::TRUE && p1.GetImm() != p2.GetImm())) { in CheckMemAddressEmptyIntersectionCase()
367 auto equal = IsSameOffsets(p1.GetIdx(), p2.GetIdx()); in CheckMemAddressEmptyIntersectionCase()
368 if (equal == Trilean::FALSE && p1.GetImm() == p2 in CheckMemAddressEmptyIntersectionCase()
449 AliasingTwoArrayPointers(const Pointer *p1, const Pointer *p2) AliasingTwoArrayPointers() argument
475 SingleIntersectionAliasing(const Pointer &p1, const Pointer &p2, const Pointer *intersection) SingleIntersectionAliasing() argument
[all...]
/arkcompiler/ets_runtime/test/moduletest/arrayreducecase/
H A Darrayreducecase.js72 function p2(a) { function
88 const promiseArr = [p1, p2, f3, p4];
/arkcompiler/ets_frontend/arkguard/test/grammar/export/
H A Dexports_demo_2.js21 obj2:{p2: 22}
/arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/
H A Dxcommonjs-exports_2.js21 obj2:{p2: 22}
/arkcompiler/ets_runtime/ecmascript/base/
H A Ddtoa_helper.cpp104 uint64_t p2 = Mp.f & (one.f - 1); in DigitGen() local
152 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2; in DigitGen()
163 p2 *= TEN; in DigitGen()
165 char d = static_cast<char>(p2 >> -one.e); in DigitGen()
170 p2 &= one.f - 1; in DigitGen()
172 if (p2 < delta) { in DigitGen()
176 GrisuRound(buffer, localLen, delta, p2, one.f, distance.f * POW10[index]); in DigitGen()
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_emitter_test.cpp846 Parser p2; in HWTEST_F() local
857 auto res2 = p2.Parse(source2); in HWTEST_F()
858 EXPECT_EQ(p2.ShowError().err, Error::ErrorType::ERR_NONE); in HWTEST_F()
1167 Parser p2; in HWTEST_F() local
1178 auto res2 = p2.Parse(source2); in HWTEST_F()
1179 EXPECT_EQ(p2.ShowError().err, Error::ErrorType::ERR_NONE); in HWTEST_F()
1392 Parser p2; in HWTEST_F() local
1401 auto res2 = p2.Parse(source2); in HWTEST_F()
1402 EXPECT_EQ(p2.ShowError().err, Error::ErrorType::ERR_NONE); in HWTEST_F()
1426 Parser p2; in HWTEST_F() local
1461 Parser p2; HWTEST_F() local
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Dtimers.cpp56 bool DescentComparator(const std::pair<std::string, double> p1, const std::pair<std::string, double> p2) in DescentComparator() argument
58 return p1.second > p2.second; in DescentComparator()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js[all...]

Completed in 52 milliseconds