| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_thread_stub_entries.h | 31 static constexpr size_t COUNT = kungfu::BytecodeStubCSigns::NUM_OF_STUBS; member 32 static_assert(EXISTING_BC_HANDLER_STUB_ENTRIES_COUNT <= COUNT); 33 Address stubEntries_[COUNT] = {0}; 35 static constexpr size_t SizeArch32 = sizeof(uint32_t) * COUNT; 36 static constexpr size_t SizeArch64 = sizeof(uint64_t) * COUNT; 40 ASSERT(index < COUNT); in Set() 51 ASSERT(index < COUNT); in Get() 58 static constexpr size_t COUNT = kungfu::RuntimeStubCSigns::NUM_OF_STUBS; member 59 Address stubEntries_[COUNT]; 61 static constexpr size_t SizeArch32 = sizeof(uint32_t) * COUNT; [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | set_operations_property_test.cpp | 67 RC_ASSERT(result.count(elt) > 0U); 78 RC_ASSERT(set1.count(elt) > 0U && set2.count(elt) > 0U); 81 RC_ASSERT(result.count(elt) == 0U || set2.count(elt) > 0U); 84 RC_ASSERT(result.count(elt) == 0U || set1.count(elt) > 0U); 93 RC_ASSERT(set1.count(elt) > 0U || set2.count(elt) > 0U); 96 RC_ASSERT(result.count(elt) > 0U); 99 RC_ASSERT(result.count(elt) > 0U); 107 RC_ASSERT(set1.count(elt) > 0U && set2.count(elt) == 0U); 118 RC_ASSERT(set1.count(elt) > 0U && set2.count(elt) > 0U && set3.count(elt) > 0U); 121 RC_ASSERT(result.count(elt) == 0U || (set2.count(elt) > 0U && set3.count(elt) > 0U)); [all …]
|
| D | obj_pool_test.cpp | 44 EXPECT_EQ(pool.Count(), 2U); in VerifierTestObjPool1() 50 EXPECT_EQ(pool.Count(), 2U); in VerifierTestObjPool1() 58 EXPECT_EQ(pool.Count(), 2U); in VerifierTestObjPool1() 67 EXPECT_EQ(pool.Count(), 2U); in VerifierTestObjPool1() 73 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool1() 78 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool1() 84 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool1() 95 EXPECT_EQ(pool.Count(), 3U); in VerifierTestObjPool2() 104 EXPECT_EQ(pool.Count(), 2U); in VerifierTestObjPool2() 110 EXPECT_EQ(pool.Count(), 2U); in VerifierTestObjPool2() [all …]
|
| /arkcompiler/ets_runtime/test/aottest/loop_hoist/ |
| D | expect_output.txt | 14 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1 15 [trace] Opcode: LOAD_PROPERTY Count:0 16 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1 17 [trace] Opcode: LOAD_PROPERTY Count:0 18 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1 19 [trace] Opcode: LOAD_PROPERTY Count:1 20 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1 21 [trace] Opcode: LOAD_PROPERTY Count:1 22 [trace] Opcode: LOAD_BUILTIN_OBJECT Count:1 23 [trace] Opcode: LOAD_PROPERTY Count:1 [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
| D | binary_buffer_parser.cpp | 19 void BinaryBufferParser::ParseBuffer(void *dst, uint32_t count) in ParseBuffer() argument 21 if (count > 0 && count + offset_ <= length_) { in ParseBuffer() 22 if (memcpy_s(dst, count, buffer_ + offset_, count) != EOK) { in ParseBuffer() 25 offset_ = offset_ + count; in ParseBuffer() 31 void BinaryBufferParser::ParseBuffer(void *dst, uint32_t count, uint32_t offset) in ParseBuffer() argument 34 ParseBuffer(dst, count); in ParseBuffer() 37 void BinaryBufferParser::ParseBuffer(uint8_t *dst, uint32_t count, uint8_t *src) in ParseBuffer() argument 39 if (src >= buffer_ && src + count <= buffer_ + length_) { in ParseBuffer() 40 if (memcpy_s(dst, count, src, count) != EOK) { in ParseBuffer()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | mem_common.h | 47 constexpr uint64_t operator"" _KB(long double count) 49 return count * (1ULL << SHIFT_KB); 53 constexpr uint64_t operator"" _KB(unsigned long long count) 55 return count * (1ULL << SHIFT_KB); 58 constexpr uint64_t operator"" _MB(long double count) 60 return count * (1ULL << SHIFT_MB); 64 constexpr uint64_t operator"" _MB(unsigned long long count) 66 return count * (1ULL << SHIFT_MB); 69 constexpr uint64_t operator"" _GB(long double count) 71 return count * (1ULL << SHIFT_GB); [all …]
|
| D | barriers-inl.h | 111 static inline void CopyMaybeOverlap(JSTaggedValue* dst, const JSTaggedValue* src, size_t count) in CopyMaybeOverlap() argument 113 if (dst > src && dst < src + count) { in CopyMaybeOverlap() 114 std::copy_backward(src, src + count, dst + count); in CopyMaybeOverlap() 116 std::copy_n(src, count, dst); in CopyMaybeOverlap() 120 …CopyNoOverlap(JSTaggedValue* __restrict__ dst, const JSTaggedValue* __restrict__ src, size_t count) in CopyNoOverlap() argument 122 std::copy_n(src, count, dst); in CopyNoOverlap() 126 …E bool BatchBitSet(const JSThread* thread, Region* objectRegion, JSTaggedValue* dst, size_t count); 130 const JSTaggedValue *srcAddr, size_t count) in CopyObject() argument 136 CopyObjectPrimitive<maybeOverlap>(dstAddr, srcAddr, count); in CopyObject() 145 allValueNotHeap = BatchBitSet<Region::InYoung>(thread, objectRegion, dstAddr, count); in CopyObject() [all …]
|
| /arkcompiler/runtime_core/libabckit/src/mem_manager/ |
| D | mem_manager.h | 48 constexpr uint64_t operator"" _KB(long double count) 50 return static_cast<uint64_t>(count * (1ULL << SHIFT_KB)); 54 constexpr uint64_t operator"" _KB(unsigned long long count) 56 return count * (1ULL << SHIFT_KB); 59 constexpr uint64_t operator"" _MB(long double count) 61 return static_cast<uint64_t>(count * (1ULL << SHIFT_MB)); 65 constexpr uint64_t operator"" _MB(unsigned long long count) 67 return count * (1ULL << SHIFT_MB); 70 constexpr uint64_t operator"" _GB(long double count) 72 return static_cast<uint64_t>(count * (1ULL << SHIFT_GB)); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe93.md | 17 this.count = i // Compile-time error only with noImplicitThis 21 count: number = 1 26 console.log(a.count) // prints "1" 28 console.log(a.count) // prints "2" 39 count: number = 1 41 this.count = i 47 console.log(a.count) // prints "1" 49 console.log(a.count) // prints "2"
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | heap_tracker_second_test.cpp | 68 …void UpdateHeapStats([[maybe_unused]] HeapStat* updateData, [[maybe_unused]] int32_t count) overri… in UpdateHeapStats() argument 121 int count = 100; in HWTEST_F_L0() local 122 while (count-- > 0) { in HWTEST_F_L0() 126 count = 100; in HWTEST_F_L0() 127 while (count-- > 0) { in HWTEST_F_L0() 131 count = 100; in HWTEST_F_L0() 132 while (count-- > 0) { in HWTEST_F_L0() 157 int count = 100; in HWTEST_F_L0() local 158 while (count-- > 0) { in HWTEST_F_L0() 162 count = 100; in HWTEST_F_L0() [all …]
|
| D | heap_tracker_first_test.cpp | 68 …void UpdateHeapStats([[maybe_unused]] HeapStat* updateData, [[maybe_unused]] int32_t count) overri… in UpdateHeapStats() argument 121 int count = 100; in HWTEST_F_L0() local 122 while (count-- > 0) { in HWTEST_F_L0() 126 count = 100; in HWTEST_F_L0() 127 while (count-- > 0) { in HWTEST_F_L0() 131 count = 100; in HWTEST_F_L0() 132 while (count-- > 0) { in HWTEST_F_L0() 175 int count = 100; in HWTEST_F_L0() local 176 while (count-- > 0) { in HWTEST_F_L0() 180 count = 100; in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule93.sts | 17 this.count = i // Compile-time error only with noImplicitThis 21 count: number = 1 26 console.log(a.count) // prints "1" 28 console.log(a.count) // prints "2" 31 count: number = 1 33 this.count = i 39 console.log(a.count) // prints "1" 41 console.log(a.count) // prints "2"
|
| /arkcompiler/ets_runtime/test/aottest/pgo_inherited_function_operation/ |
| D | expect_output.txt | 26 [trace] Opcode: MONO_STORE_PROPERTY Count:8 27 [trace] Opcode: LOAD_PROPERTY Count:7 28 [trace] Opcode: MONO_LOAD_PROPERTY_ON_PROTO Count:4 45 [trace] Opcode: MONO_STORE_PROPERTY Count:6 46 [trace] Opcode: LOAD_PROPERTY Count:2 47 [trace] Opcode: STORE_PROPERTY Count:1 48 [trace] Opcode: MONO_LOAD_PROPERTY_ON_PROTO Count:4 57 [trace] Opcode: MONO_STORE_PROPERTY Count:4 58 [trace] Opcode: LOAD_PROPERTY Count:1 59 [trace] Opcode: MONO_LOAD_PROPERTY_ON_PROTO Count:5 [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-static-blocks-in-class2.ts | 20 static #count = 0; 21 static get count() { 22 return PrivateFoo.#count; 24 get count() { 25 return PrivateFoo.#count; 29 PrivateFoo.#count += addResult();
|
| D | test-ts-private-class-element-12.ts | 18 #count: number = 1; 22 override #count: number = 0; 26 static #count = 0; 30 accessor #count = 0; 34 readonly #count = 0;
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | launch_expression.sts | 16 let count = 2 18 let a: int[] = new int[count]; 19 let v: int[] = new int[count]; 29 if (n >= 0 && n < count) { 32 let p: P[] = new P[count] 33 for (let i = 0; i < count; ++i) { 37 for (let i = 0; i < count; ++i) { 43 if (n >= 0 && n < count) { 47 for (let i = 0; i < count; ++i) {
|
| /arkcompiler/ets_runtime/test/aottest/pgo_function_operation/ |
| D | expect_output.txt | 18 [trace] Opcode: MONO_STORE_PROPERTY Count:3 19 [trace] Opcode: LOAD_PROPERTY Count:2 20 [trace] Opcode: STORE_PROPERTY Count:1 21 [trace] Opcode: MONO_LOAD_PROPERTY_ON_PROTO Count:2 25 [trace] Opcode: MONO_STORE_PROPERTY Count:1 31 [trace] Opcode: LOAD_PROPERTY Count:1
|
| /arkcompiler/runtime_core/static_core/runtime/entrypoints/ |
| D | entrypoints_compiler.inl.erb | 20 COUNT, 21 INVALID = COUNT 26 ASSERT(id < EntrypointId::COUNT); 28 constexpr const char* NAMES[static_cast<size_t>(EntrypointId::COUNT)] = { 38 ASSERT(id < EntrypointId::COUNT); 44 case EntrypointId::COUNT: 52 ASSERT(id < EntrypointId::COUNT); 58 case EntrypointId::COUNT: 65 ASSERT(id < EntrypointId::COUNT);
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | utils.cpp | 27 uint32_t count = 1U; in CountDigits() local 30 return count + 1U; in CountDigits() 33 return count + 2U; in CountDigits() 36 return count + 3U; in CountDigits() 38 count += 4U; in CountDigits() 41 return count; in CountDigits()
|
| /arkcompiler/ets_runtime/test/aottest/builtins_decode_uri_component/ |
| D | expect_output.txt | 14 [trace] Opcode: TYPED_CALL_BUILTIN Count:1 16 [trace] Opcode: TYPED_CALL_BUILTIN Count:1 18 [trace] Opcode: TYPED_CALL_BUILTIN Count:1 20 [trace] Opcode: TYPED_CALL_BUILTIN Count:1 22 [trace] Opcode: TYPED_CALL_BUILTIN Count:1
|
| /arkcompiler/ets_runtime/test/aottest/pgo_napi1/ |
| D | expect_output.txt | 31 [trace] Opcode: MONO_STORE_PROPERTY Count:4 32 [trace] Opcode: LOAD_PROPERTY Count:4 33 [trace] Opcode: LOAD_PROPERTY Count:100 40 [trace] Opcode: MONO_STORE_PROPERTY Count:1 41 [trace] Opcode: LOAD_PROPERTY Count:1
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/annotations/ |
| D | annotation_@Watch_2.sts | 24 @Prop @Watch("onCountUpdated") count : number = 0; 28 this.total += this.count; 38 @State count : number = 0; 42 .onClick(() => { this.count++ }) 43 TotalView({ count: this.count })
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | object_helpers_test.cpp | 164 size_t count = 0; in TEST_F() local 165 …auto handler = [klass, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, bo… in TEST_F() 166 ++count; in TEST_F() 174 ASSERT_EQ(1, count); in TEST_F() 193 size_t count = 0; in TEST_F() local 194 …auto handler = [klass, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, bo… in TEST_F() 195 ++count; in TEST_F() 203 ASSERT_EQ(1, count); in TEST_F() 224 size_t count = 0; in TEST_F() local 225 …auto handler = [object, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, b… in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/16.Support_for_GUI_Programming/trailing_lambdas/ |
| D | trailing_stmt_07.sts | 31 let count = 0 35 count++ 42 is_active() { count++ } 45 assert count == 2: "Expected 2, actual " + count
|
| /arkcompiler/runtime_core/libabckit/tests/stress/ |
| D | fail_list_node_js.json | 4 …in-js/dist/newline-per-chained-call.js": "ASSERTION FAILED: nameToFunction.count(parentName) == 1", 5 …/lib/rules/newline-per-chained-call.js": "ASSERTION FAILED: nameToFunction.count(parentName) == 1", 6 …s/eslint/lib/rules/object-shorthand.js": "ASSERTION FAILED: nameToFunction.count(parentName) == 1", 7 …int/lib/rules/prefer-arrow-callback.js": "ASSERTION FAILED: nameToFunction.count(parentName) == 1", 8 …npmcli/arborist/lib/query-selector-all.js": "ASSERTION FAILED: nameToClass.count(parentName) == 1",
|