Home
last modified time | relevance | path

Searched refs:p1 (Results 1 - 20 of 20) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Dnative_bytes_from_mallinfo_test.cpp30 void *p1[1000]; in TEST() local
32 p1[i] = malloc(64); in TEST()
33 ASSERT_NE(p1[i], nullptr); in TEST()
49 free(p1[i]); in TEST()
50 p1[i] = nullptr; in TEST()
H A Dutf_test.cpp563 std::pair<uint32_t, size_t> p1 = ConvertMUtf8ToUtf16Pair(&data, 2U); in HWTEST() local
564 ASSERT_EQ(17U, p1.first); in HWTEST()
565 ASSERT_EQ(1U, p1.second); in HWTEST()
/arkcompiler/ets_runtime/ecmascript/base/
H A Ddtoa_helper.cpp102 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e); in DigitGen() local
105 int kappa = CountDecimalDigit32(p1); // kappa in [0, 9] in DigitGen()
111 d = p1 / TEN8POW; in DigitGen()
112 p1 %= TEN8POW; in DigitGen()
115 d = p1 / TEN7POW; in DigitGen()
116 p1 %= TEN7POW; in DigitGen()
119 d = p1 / TEN6POW; in DigitGen()
120 p1 %= TEN6POW; in DigitGen()
123 d = p1 / TEN5POW; in DigitGen()
124 p1 in DigitGen()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dnative_bytes_from_mallinfo_test.cpp30 void *p1[1000U]; in TEST() local
32 p1[i] = malloc(64U); in TEST()
33 ASSERT_NE(p1[i], nullptr); in TEST()
50 free(p1[i]); in TEST()
51 p1[i] = nullptr; in TEST()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dvtable_builder_variance-inl.h34 bool VarianceVTableBuilder<ProtoCompatibility, OverridePred>::IsOverriddenOrOverrides(Method::ProtoId const &p1, in IsOverriddenOrOverrides() argument
37 if (&p1.GetPandaFile() == &p2.GetPandaFile() && p1.GetEntityId() == p2.GetEntityId()) { in IsOverriddenOrOverrides()
40 return ProtoCompatibility()(p1, p2) || ProtoCompatibility()(p2, p1); in IsOverriddenOrOverrides()
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.js106 var p1 = new Number(1);
108 var weakMap1 = new WeakMap([[p1, 'hello'], [p2, 'world']]);
114 weakMap4.set(p1, 37);
117 weakMap5.set(p1, undefined);
121 weakSet1.add(p1);
/arkcompiler/ets_runtime/test/moduletest/promise/
H A Dpromise.js25 var p1 = Promise.reject(1357);
27 var p3 = Promise.race([p1, p2]);
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dalias_analysis.cpp315 Pointer p1 = {}; 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()
357 if (p1.GetType() == ARRAY_ELEMENT) { 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 in CheckMemAddressEmptyIntersectionCase()
344 CheckMemAddressEmptyIntersectionCase(const PointerSet &aliases1, const PointerSet &aliases2, const Pointer &p1, const Pointer &p2) const CheckMemAddressEmptyIntersectionCase() argument
394 CheckMemAddress(const Pointer &p1, const Pointer &p2) const CheckMemAddress() argument
449 AliasingTwoArrayPointers(const Pointer *p1, const Pointer *p2) AliasingTwoArrayPointers() argument
475 SingleIntersectionAliasing(const Pointer &p1, const Pointer &p2, const Pointer *intersection) SingleIntersectionAliasing() argument
[all...]
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;
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/
H A Dstubbuilder.js623 var p1 = new Person();
624 print(hasPrototypeProperty(p1,"name"));
625 p1.name = "nn";
626 print(hasPrototypeProperty(p1,"name"));
649 let p1 = new Person();
651 print(p1 instanceof Person);
652 print(MyInstanceOf(p1, Person));
657 print(p1 instanceof Student);
658 print(MyInstanceOf(p1, Student));
/arkcompiler/ets_runtime/test/moduletest/arrayreducecase/
H A Darrayreducecase.js66 function p1(a) { function
88 const promiseArr = [p1, p2, f3, p4];
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_imm_valid.cpp76 int32 p1 = __builtin_ctzll(tmpVal); in IsBitmaskImmediate() local
77 int64 diff = p1 - p0; in IsBitmaskImmediate()
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_emitter_test.cpp840 Parser p1; in HWTEST_F() local
854 auto res1 = p1.Parse(source1); in HWTEST_F()
855 EXPECT_EQ(p1.ShowError().err, Error::ErrorType::ERR_NONE); in HWTEST_F()
1161 Parser p1; in HWTEST_F() local
1175 auto res1 = p1.Parse(source1); in HWTEST_F()
1176 EXPECT_EQ(p1.ShowError().err, Error::ErrorType::ERR_NONE); in HWTEST_F()
1386 Parser p1; in HWTEST_F() local
1398 auto res1 = p1.Parse(source1); in HWTEST_F()
1399 EXPECT_EQ(p1.ShowError().err, Error::ErrorType::ERR_NONE); in HWTEST_F()
1420 Parser p1; in HWTEST_F() local
1455 Parser p1; 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_runtime/ecmascript/compiler/assembler/aarch64/
H A Dmacro_assembler_aarch64.cpp278 int32_t p1 = __builtin_ctzll(tmpVal); in IsBitmaskImmediate() local
279 int64_t diff = p1 - p0; in IsBitmaskImmediate()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Ddtoa_helper.h183 static uint32_t PopDigit(int kappa, uint32_t &p1);
/arkcompiler/runtime_core/compiler/tests/
H A Dsplit_resolver_test.cpp1207 auto p1 = la->GetInstLifeIntervals(&INS(1)); in TEST_F() local
1209 p1->SetReg(1); in TEST_F()
1212 SplitAssignReg(SplitAssignSlot(p1, la->GetInstLifeIntervals(&INS(5))->GetEnd(), 1), in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dsplit_resolver_test.cpp1276 auto p1 = la->GetInstLifeIntervals(&INS(1U)); in TEST_F() local
1278 p1->SetReg(1U); in TEST_F()
1281 SplitAssignReg(SplitAssignSlot(p1, la->GetInstLifeIntervals(&INS(5U))->GetEnd(), 1), in TEST_F()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js[all...]

Completed in 46 milliseconds