Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/
H A Dresult.rb19 @@stats = { passed: { cnt: 0, files: [] },
20 failed: { cnt: 0, files: [] },
21 core: { cnt: 0, files: [] },
22 compilation_error: { cnt: 0, files: [] },
23 quickening_error: { cnt: 0, files: [] },
24 excluded: { cnt: 0, files: [] } }
31 @@stats[:compilation_error][:cnt] += 1
39 @@stats[:quickening_error][:cnt] += 1
47 @@stats[:compilation_error][:cnt] += 1
55 @@stats[:passed][:cnt]
[all...]
/arkcompiler/runtime_core/tests/cts-generator/runner/
H A Dresult.rb19 @@stats = { passed: { cnt: 0, files: [] },
20 failed: { cnt: 0, files: [] },
21 core: { cnt: 0, files: [] },
22 compilation_error: { cnt: 0, files: [] },
23 quickening_error: { cnt: 0, files: [] },
24 excluded: { cnt: 0, files: [] }}
31 @@stats[:compilation_error][:cnt] += 1
39 @@stats[:quickening_error][:cnt] += 1
47 @@stats[:compilation_error][:cnt] += 1
55 @@stats[:passed][:cnt]
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Delf_checker.cpp350 for (size_t cnt = 0; cnt < scnCnt; ++cnt) { in GetElfItem()
351 elfItemField.sections.data()[cnt].index = cnt; in GetElfItem()
352 elfItemField.sections.data()[cnt].elf = elf; in GetElfItem()
354 elfItemField.sections.data()[cnt].shdr.e32 = in GetElfItem()
355 reinterpret_cast<llvm::ELF::Elf32_Shdr*>(&elfItemField.shdr[cnt]); in GetElfItem()
357 elfItemField.sections.data()[cnt].shdr.e64 = in GetElfItem()
358 reinterpret_cast<llvm::ELF::Elf64_Shdr*>(&elfItemField.shdr[cnt]); in GetElfItem()
[all...]
H A Dmodule_section_des.h122 void SetFuncCount(uint32_t cnt) in SetFuncCount() argument
124 funcCount_ = cnt; in SetFuncCount()
H A Delf_reader.cpp313 uint32_t cnt = moduleInfo->funcCount; in SeparateArkStackMapSections() local
315 des[i].SetFuncCount(cnt); in SeparateArkStackMapSections()
389 uint32_t cnt = moduleInfo.funcCount; in SeparateArkStackMapSections() local
391 des[i].SetFuncCount(cnt); in SeparateArkStackMapSections()
H A Delf_checker.h235 unsigned int cnt; /* Number of elements of 'data' used. */ member
/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A DsourceLocation.cpp36 range.cnt++; in AddCol()
91 if (diff < range.cnt) {
96 diff -= range.cnt * range.byteSize;
97 col += range.cnt;
H A DsourceLocation.h79 size_t cnt {1};
/arkcompiler/ets_frontend/es2panda/lexer/token/
H A DsourceLocation.cpp37 range.cnt++; in AddCol()
91 if (diff < (range.cnt * range.byteSize)) {
96 diff -= range.cnt * range.byteSize;
97 col += range.cnt;
H A DsourceLocation.h78 size_t cnt {1};
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dg1gc_fullgc_test.cpp215 int cnt = every; in MakeObjectsAlive() local
217 cnt--; in MakeObjectsAlive()
218 if (cnt != 0) { in MakeObjectsAlive()
224 cnt = every; in MakeObjectsAlive()
230 int cnt = every;
232 cnt--;
233 if (cnt != 0) {
238 cnt = every;
246 int cnt = every;
248 cnt
[all...]
H A Dmem_stats_gen_gc_test.cpp435 int cnt = every; in MakeObjectsAlive() local
437 cnt--; in MakeObjectsAlive()
438 if (cnt != 0) { in MakeObjectsAlive()
444 cnt = every; in MakeObjectsAlive()
450 int cnt = every;
452 cnt--;
453 if (cnt != 0) {
457 cnt = every;
465 int cnt = every;
467 cnt
[all...]
H A Dmonitor_test.cpp271 for (uint64_t cnt = 0; cnt < MarkWord::LIGHT_LOCK_LOCK_MAX_COUNT; cnt++) { in TEST_F()
H A Dcard_table_test.cpp192 size_t cnt = 0; in TEST_F() local
195 cnt++; in TEST_F()
197 ASSERT_EQ(cnt, cardTable_->GetCardsCount()); in TEST_F()
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Ddebug_info_extractor_test.cpp404 auto &cnt = extractor.GetColumnNumberTable(methodId); in TEST_F() local
406 ASSERT(!cnt.empty()); in TEST_F()
407 if (cnt[0].column == 5U || cnt[0].column == 6U) { in TEST_F()
408 ASSERT(cnt.size() == 1); in TEST_F()
410 ASSERT(cnt[0].column == 7U); in TEST_F()
411 ASSERT(cnt.size() == 5U); in TEST_F()
414 for (auto const &col : cnt) { in TEST_F()
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
H A Dsource_map.cpp232 uint32_t cnt = 0; in ExtractKeyInfo() local
241 // cnt is used to represent a pair of double quotation marks: "" in ExtractKeyInfo()
243 cnt++; in ExtractKeyInfo()
245 if (cnt == INDEX_TWO) { in ExtractKeyInfo()
248 cnt = 0; in ExtractKeyInfo()
249 } else if (cnt == 1) { in ExtractKeyInfo()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dmachine_code.cpp95 uint32_t cnt = desc.funcEntryDesSize / sizeof(FuncEntryDes); in SetNonText() local
96 ASSERT(cnt <= 2); // 2: jsfunction + deoptimize stub in SetNonText()
97 for (uint32_t i = 0; i < cnt; i++) { in SetNonText()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sample.cpp398 int cnt = 0; // 0 = first element in Setter1() local
411 obj->Set(info->GetVM(), GetSymbolRef(info->GetVM())[cnt], arg); in Setter1()
418 int cnt = 1; // 1 = second element in Setter2() local
426 obj->Set(info->GetVM(), GetSymbolRef(info->GetVM())[cnt], arg); in Setter2()
433 int cnt = 2; // 2 = third element in Setter3() local
441 obj->Set(info->GetVM(), GetSymbolRef(info->GetVM())[cnt], arg); in Setter3()
448 int cnt = 0; // 0 = first element in Getter1() local
451 Local<JSValueRef> temp = obj->Get(info->GetVM(), GetSymbolRef(info->GetVM())[cnt]); in Getter1()
458 int cnt = 1; // 1 = second element in Getter2() local
461 Local<JSValueRef> temp = obj->Get(info->GetVM(), GetSymbolRef(info->GetVM())[cnt]); in Getter2()
468 int cnt = 2; // 2 = third element Getter3() local
482 int cnt = 1; // 1 = key ObjectRefSet() local
524 int cnt = names->Length(vm); GetProperty() local
540 int cnt = 1; // 1 = key Get() local
576 int cnt = 1; // 1 = key SetValueAgain() local
598 int cnt = names->Length(vm); GetOwnEnumerablePropertyNames() local
614 int cnt = names->Length(vm); PrintAllProperty() local
719 int cnt = 10; // 10 = accommodate quantity NativePointer() local
745 int cnt = 111; // 111 = random Numbers SetPrototype() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dgate.cpp300 size_t cnt = 0; in CheckStateOutput() local
306 cnt++; in CheckStateOutput()
312 cnt++; in CheckStateOutput()
327 if (needCheck && cnt != expected) { in CheckStateOutput()
331 " actual:" + std::to_string(cnt) + ") methodName:" + methodName + " gateValue:" + log, -1); in CheckStateOutput()
339 size_t cnt = 0; in CheckBranchOutput() local
346 cnt++; in CheckBranchOutput()
353 cnt++; in CheckBranchOutput()
357 if (setOfOps.size() != cnt) { in CheckBranchOutput()
H A Dverifier.cpp234 size_t cnt = 0; in RunFixedGatesRelationsCheck() local
240 (circuit->GetOpCode(circuit->GetIn(fixedGate, 0)) == OpCode::LOOP_BEGIN && cnt == 2)) { in RunFixedGatesRelationsCheck()
241 ASSERT(cnt > 0); in RunFixedGatesRelationsCheck()
244 static_cast<size_t>(cnt - 1))); in RunFixedGatesRelationsCheck()
255 static_cast<size_t>(cnt - 1))); in RunFixedGatesRelationsCheck()
259 cnt++; in RunFixedGatesRelationsCheck()
/arkcompiler/ets_runtime/ecmascript/regexp/
H A Dregexp_parser.cpp150 uint16_t cnt = 0; in ParseDisjunction() local
175 if (checkSet.find(chars[cnt]) != checkSet.end()) { in ParseDisjunction()
179 checkSet.insert(chars[cnt]); in ParseDisjunction()
184 cnt++; in ParseDisjunction()
192 uint32_t sparseLen = SPARSE_HEAD_OFFSET + static_cast<uint32_t>(cnt) * SPARSE_MAX_OFFSET; in ParseDisjunction()
193 uint32_t splitsLen = static_cast<uint32_t>(cnt - 1) * opSplitSize; in ParseDisjunction()
198 buffer_.PutU16(ptr + 1, cnt); in ParseDisjunction()
203 // 2: cnt = count of splits + 1, for invert index should be extra - 1, so -1-1=-2 in ParseDisjunction()
204 offsets[i] += opCharSize - opSplitSize * std::max(0, cnt - i -2); in ParseDisjunction()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_profiler.cpp433 uint64_t cnt = 0; in GetHeapCntAndSize() local
435 auto cb = [&objectSize, &cnt]([[maybe_unused]] TaggedObject *obj) { in GetHeapCntAndSize()
437 ++cnt; in GetHeapCntAndSize()
440 return std::make_pair(cnt, objectSize); in GetHeapCntAndSize()
445 uint64_t cnt = 0; in GetSharedCntAndSize() local
447 auto cb = [&cnt, &size](TaggedObject *obj) { in GetSharedCntAndSize()
448 cnt++; in GetSharedCntAndSize()
452 return std::make_pair(cnt, size); in GetSharedCntAndSize()
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit.cpp493 uint32_t cnt = 0; in GetRunningTaskCnt() local
494 JitTaskpool::GetCurrentTaskpool()->ForEachTask([&cnt, &vm](Task *task) { in GetRunningTaskCnt()
497 cnt ++; in GetRunningTaskCnt()
503 return taskQueue.size() + cnt; in GetRunningTaskCnt()
/arkcompiler/toolchain/build/prebuilts_download/
H A Dprebuilts_download.py135 cnt = cpu_count()
137 cnt = 1
140 with ThreadPoolExecutor(max_workers=cnt) as pool:
/arkcompiler/runtime_core/libpandafile/tests/
H A Ddebug_info_extractor_test.cpp392 auto &cnt = extractor.GetColumnNumberTable(method_id); in HWTEST_F() local
393 for (auto const &col : cnt) { in HWTEST_F()

Completed in 25 milliseconds

12