Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/tests/tooling/sampler/
Dsampling_profiler_test.cpp472 SampleReader reader(streamTestFilename); in TEST_F() local
473 ASSERT_TRUE(reader.GetNextSample(&sampleOutput)); in TEST_F()
475 ASSERT_FALSE(reader.GetNextSample(&sampleOutput)); in TEST_F()
476 ASSERT_FALSE(reader.GetNextModule(nullptr)); in TEST_F()
496 SampleReader reader(streamTestFilename); in TEST_F() local
498 ASSERT_TRUE(reader.GetNextSample(&sampleOutput)); in TEST_F()
501 ASSERT_FALSE(reader.GetNextSample(&sampleOutput)); in TEST_F()
502 ASSERT_FALSE(reader.GetNextModule(nullptr)); in TEST_F()
517 SampleReader reader(streamTestFilename); in TEST_F() local
518 ASSERT_TRUE(reader.GetNextModule(&moduleOutput)); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/static_linker/
Dlinker_context.cpp58 for (auto &reader : readers_) { in Merge() local
59 for (auto [o, i] : *reader.GetItems()) { in Merge()
65 for (auto &reader : readers_) { in Merge() local
66 auto *ic = reader.GetContainerPtr(); in Merge()
69 knownItems_.reserve(reader.GetItems()->size()); in Merge()
79 Error("Class redefinition", {ErrorDetail("original", iter->second)}, &reader); in Merge()
84 cameFrom_.emplace(clz, &reader); in Merge()
89 for (auto &reader : readers_) { in Merge() local
90 auto *items = reader.GetItems(); in Merge()
101 cameFrom_.emplace(clz, &reader); in Merge()
[all …]
Dlinker_context.h182 …void MergeClass(const panda_file::FileReader *reader, panda_file::ClassItem *ni, panda_file::Class…
184 …void MergeMethod(const panda_file::FileReader *reader, panda_file::ClassItem *clz, panda_file::Met…
186 …void MergeField(const panda_file::FileReader *reader, panda_file::ClassItem *clz, panda_file::Fiel…
188 … void MergeForeignMethod(const panda_file::FileReader *reader, panda_file::ForeignMethodItem *fm);
190 …void MergeForeignMethodCreate(const panda_file::FileReader *reader, panda_file::BaseClassItem *clz,
193 void MergeForeignField(const panda_file::FileReader *reader, panda_file::ForeignFieldItem *ff);
195 … void MergeForeignFieldCreate(const panda_file::FileReader *reader, panda_file::BaseClassItem *clz,
200 const panda_file::FileReader *reader; member
211 void TransferAnnotations(const panda_file::FileReader *reader, T *ni, T *oi);
275 const panda_file::FileReader *reader = nullptr);
Dlinker_context_misc.cpp264 auto reader = &readers_.emplace_front(std::move(rd)); in Read() local
265 if (!reader->ReadContainer(false)) { in Read()
266 Error("can't read container", {}, reader); in Read()
301 const panda_file::FileReader *reader) in Error() argument
309 if (reader != nullptr) { in Error()
310 o << "\n\tat `" << reader->GetFilePtr()->GetFilename() << "`"; in Error()
/arkcompiler/runtime_core/static_core/quickener/
Dquick.cpp70 panda::panda_file::FileReader reader(std::move(input_file)); in main() local
71 if (!reader.ReadContainer()) { in main()
76 panda::panda_file::ItemContainer *container = reader.GetContainerPtr(); in main()
78 …panda::quick::Quickener quickener(container, const_cast<panda::panda_file::File *>(reader.GetFileP… in main()
79 reader.GetItems()); in main()
/arkcompiler/ets_runtime/tools/circuit_viewer/test/
Dtest_viewer.py43 reader = easyocr.Reader(['ch_sim', 'en'], verbose=False) variable
98 …result = reader.readtext(cut_image(image, window_width / 2 - 100, window_height / 2 - 20, 200, 40))
106 result = reader.readtext(cut_image(image, 10, 100, 60, 20))
129 result = reader.readtext(image)
140 result = reader.readtext(image)
/arkcompiler/runtime_core/static_core/libpandafile/tests/
Dfile_test.cpp248 auto reader = FileReader(std::move(pf)); in TEST() local
250 ASSERT_TRUE(reader.ReadContainer()); in TEST()
254 ASSERT_NE(reader.GetItems()->size(), 0); in TEST()
256 for (const auto &a : *reader.GetItems()) { in TEST()
263 reader.GetContainerPtr()->ComputeLayout(); in TEST()
264 reader.GetContainerPtr()->DeduplicateCodeAndDebugInfo(); in TEST()
Dfile_item_container_test.cpp1103 auto reader = FileReader(File::OpenFromMemory( in TEST() local
1105 ASSERT_TRUE(reader.ReadContainer()); in TEST()
1107 auto annots = reader.GetContainerPtr()->GetOrCreateGlobalClassItem()->GetAnnotations(); in TEST()
1110 auto annot3 = reader.GetContainerPtr()->CreateItem<AnnotationItem>( in TEST()
1111reader.GetContainerPtr()->GetOrCreateClassItem("Annot"), std::vector<AnnotationItem::Elem> {}, in TEST()
1114 reader.GetContainerPtr()->DeduplicateItems(true); in TEST()
1115 reader.GetContainerPtr()->DeduplicateItems(true); in TEST()
/arkcompiler/ets_runtime/tools/circuit_viewer/src/
DMainEditor.js60 let reader = new FileReader();
61 reader.readAsDataURL(files[0]);
62 reader.onload = (e) => {
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dstub_file_info.cpp81 ElfReader reader(fileMapMem_); in MmapLoad() local
83 reader.ParseELFSections(des_, secs); in MmapLoad()
87 if (!reader.ParseELFSegment()) { in MmapLoad()
129 ElfReader reader(stubsMem_); in Load() local
131 reader.ParseELFSections(binBufparser, des_, secs); in Load()
Dan_file_info.cpp75 ElfReader reader(fileMapMem_); in Load() local
77 if (!reader.VerifyELFHeader(base::FileHeaderBase::ToVersionNumber(AOTFileVersion::AN_VERSION), in Load()
81 reader.ParseELFSections(des, secs); in Load()
82 if (!reader.ParseELFSegment()) { in Load()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
Dclass_load_race.ets33 function reader(): Int {
43 launch reader();
/arkcompiler/ets_runtime/ecmascript/
Ddate_parse.cpp23 StringReader reader(str, length); in ParseDateString() local
24 DateProxy proxy(&reader); in ParseDateString()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/annotations/
Dannotation_@Prop.ets64 Text(`Books on loan to a reader`)
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D2_lexical.rst39 representation is relevant to refer the reader to Unicode Character set and
/arkcompiler/runtime_core/static_core/docs/
Ddoxygen.config168 # path mentioned in the documentation of a class, which tells the reader which
550 # grouped member an include statement to the documentation, telling the reader
1990 # formatted so it can be parsed by a human reader. This is useful if you want to
/arkcompiler/runtime_core/docs/
Ddoxygen.config168 # path mentioned in the documentation of a class, which tells the reader which
550 # grouped member an include statement to the documentation, telling the reader
1990 # formatted so it can be parsed by a human reader. This is useful if you want to