Home
last modified time | relevance | path

Searched full:file (Results 1 – 25 of 10559) sorted by relevance

12345678910>>...423

/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
DCMakeLists.txt3 # you may not use this file except in compliance with the License.
21 set(singleValues NAME FILE LIBCORE OPT_LEVEL)
46 message(FATAL_ERROR "Mandatory FILE argument is not defined.")
49 file(MAKE_DIRECTORY "${TEST_DIR}")
58 # Compile assembly file
61 …COMMAND ${PANDA_RUN_PREFIX} $<TARGET_FILE:ark_asm> --log-file ${BUILD_LOG} ${ARG_FILE} ${BINARY_FI…
110 # Some test cases' entrypoint panda file must be loaded from boot-panda-files
127 --test-file ${BINARY_FILE}
168 panda_add_checked_test_ets(FILE ${CMAKE_CURRENT_SOURCE_DIR}/string_test.ets SUPPORT_RELEASE)
171 panda_add_checked_test_ets(FILE ${CMAKE_CURRENT_SOURCE_DIR}/string_split_test.ets)
[all …]
/arkcompiler/runtime_core/libabckit/tests/mock/
Dcpp_helpers_mock.h4 * you may not use this file except in compliance with the License.
38 inline abckit::core::Module GetMockCoreModule(const abckit::File &file) in GetMockCoreModule() argument
42 file.EnumerateModules([&modules](abckit::core::Module md) -> bool { in GetMockCoreModule()
52 inline abckit::arkts::Module GetMockArktsModule(const abckit::File &file) in GetMockArktsModule() argument
54 auto m = abckit::arkts::Module(GetMockCoreModule(file)); in GetMockArktsModule()
59 inline abckit::core::Namespace GetMockCoreNamespace(const abckit::File &file) in GetMockCoreNamespace() argument
62 abckit::core::Module mod = GetMockCoreModule(file); in GetMockCoreNamespace()
73 inline abckit::arkts::Namespace GetMockArktsNamespace(const abckit::File &file) in GetMockArktsNamespace() argument
75 auto n = abckit::arkts::Namespace(GetMockCoreNamespace(file)); in GetMockArktsNamespace()
80 inline abckit::core::Class GetMockCoreClass(const abckit::File &file) in GetMockCoreClass() argument
[all …]
/arkcompiler/runtime_core/static_core/tests/checked/
DCMakeLists.txt3 # you may not use this file except in compliance with the License.
20 file(MAKE_DIRECTORY ${CHECKER_UNIT_TESTS_DIR})
30 set(singleValues FILE OUTPUT_FILE WORKING_DIR)
33 # Compile assembly file
36 …COMMAND ${PANDA_RUN_PREFIX} $<TARGET_FILE:ark_asm> --log-file ${BUILD_LOG} ${ARG_FILE} ${ARG_OUTPU…
44 set(singleValues NAME FILE SUPPORT_RELEASE)
65 message(FATAL_ERROR "Mandatory FILE argument is not defined.")
68 file(MAKE_DIRECTORY "${TEST_DIR}")
73 compile_file(FILE ${ARG_FILE} OUTPUT_FILE ${BINARY_FILE} WORKING_DIR ${TEST_DIR})
79 compile_file(FILE ${APP_FILE} OUTPUT_FILE "${APP_FILE_OUTPUT}" WORKING_DIR ${TEST_DIR})
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/modify_api/literals/
Dliterals_test.cpp4 * you may not use this file except in compliance with the License.
40 AbckitFile *file = nullptr; in TEST_F() local
41 …::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/modify_api/literals/literals_dynamic.abc", &file); in TEST_F()
42 AbckitLiteral *res = g_implM->createLiteralBool(file, true); in TEST_F()
45 // Write output file in TEST_F()
46 g_impl->writeAbc(file, MODIFIED_DYNAMIC, strlen(MODIFIED_DYNAMIC)); in TEST_F()
48 g_impl->closeFile(file); in TEST_F()
55 AbckitFile *file = nullptr; in TEST_F() local
56 …::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/modify_api/literals/literals_dynamic.abc", &file); in TEST_F()
57 AbckitLiteral *res = g_implM->createLiteralU8(file, 1); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/tests/
DCMakeLists.txt3 # you may not use this file except in compliance with the License.
54 # FILE <source>
103 …set(singleValues FILE TARGET SUBDIR SEARCH_DEBUG_STDERR AOT_SEARCH_DEBUG_STDERR AOT_MODE AOT_COMPI…
112 message(FATAL_ERROR "Mandatory FILE argument is not defined.")
142 FILE ${ARG_FILE}
165 file(WRITE "${expected_output_file}" "${ARG_EXPECTED_STDOUT}")
177 # file(READ "${error_file}" STDERR_AS_STRING)
205 # FILE <source>
233 set(singleValues FILE TARGET SUBDIR LANGUAGE_CONTEXT)
242 message(FATAL_ERROR "Mandatory FILE argument is not defined.")
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/inspect_api/literals/
Dliterals_test.cpp4 * you may not use this file except in compliance with the License.
39 AbckitFile *file = nullptr; in TEST_F() local
40 …:AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/inspect_api/literals/literals_dynamic.abc", &file); in TEST_F()
41 AbckitLiteral *res = g_implM->createLiteralBool(file, true); in TEST_F()
45 // Write output file in TEST_F()
46 g_impl->writeAbc(file, MODIFIED_DYNAMIC, strlen(MODIFIED_DYNAMIC)); in TEST_F()
48 g_impl->closeFile(file); in TEST_F()
55 AbckitFile *file = nullptr; in TEST_F() local
56 …::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/modify_api/literals/literals_dynamic.abc", &file); in TEST_F()
57 AbckitLiteral *res = g_implM->createLiteralU8(file, 1); in TEST_F()
[all …]
/arkcompiler/runtime_core/tests/
DCMakeLists.txt3 # you may not use this file except in compliance with the License.
50 # FILE <source>
97 set(singleValues FILE TARGET SUBDIR SEARCH_DEBUG_STDERR AOT_MODE LANGUAGE_CONTEXT GC_OPTIONS)
106 message(FATAL_ERROR "Mandatory FILE argument is not defined.")
125 FILE ${ARG_FILE}
145 file(WRITE "${expected_output_file}" "${ARG_EXPECTED_STDOUT}")
157 # file(READ "${error_file}" STDERR_AS_STRING)
176 # FILE <source>
204 set(singleValues FILE TARGET SUBDIR LANGUAGE_CONTEXT)
213 message(FATAL_ERROR "Mandatory FILE argument is not defined.")
[all …]
/arkcompiler/runtime_core/libabckit/tests/helpers/
Dhelpers_mode.cpp4 * you may not use this file except in compliance with the License.
59 auto *file = g_impl->openAbc(INPUT_PATH, strlen(INPUT_PATH)); in OpenWrongModeFile() local
60 auto *foo = helpers::FindMethodByName(file, "foo"); in OpenWrongModeFile()
65 auto *file = g_impl->openAbc(INPUT_PATH, strlen(INPUT_PATH)); in OpenWrongModeFile() local
66 auto *foo = helpers::FindMethodByName(file, "foo"); in OpenWrongModeFile()
78 auto *file = graph->file; in TestMode() local
80 g_impl->closeFile(file); in TestMode()
89 auto *file = graph->file; in TestMode() local
91 g_impl->closeFile(file); in TestMode()
100 auto *file = graph->file; in TestMode() local
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/inspect_api/values/
Dvalues_test.cpp4 * you may not use this file except in compliance with the License.
41 AbckitFile *file = nullptr; in TEST_F() local
42 …ers::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/inspect_api/values/values_dynamic.abc", &file); in TEST_F()
43 auto *res = g_implM->createValueU1(file, true); in TEST_F()
47 // Write output file in TEST_F()
48 g_impl->writeAbc(file, MODIFIED_DYNAMIC, strlen(MODIFIED_DYNAMIC)); in TEST_F()
50 g_impl->closeFile(file); in TEST_F()
57 AbckitFile *file = nullptr; in TEST_F() local
58 …ers::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/inspect_api/values/values_dynamic.abc", &file); in TEST_F()
59 auto *res = g_implM->createValueU1(file, true); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/
Dpoetry.lock4 # you may not use this file except in compliance with the License.
17 # This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand.
27 …{file = "add_license_header-2.3.1-py3-none-any.whl", hash = "sha256:2e14fc5d7358050b58cefae0a17848…
28 …{file = "add_license_header-2.3.1.tar.gz", hash = "sha256:bd0d128571ca25c18df47377fceec4fa99c99754…
42 …{file = "async_generator-1.10-py3-none-any.whl", hash = "sha256:01c7bf666359b4967d2cda0000cc2e4af1…
43 …{file = "async_generator-1.10.tar.gz", hash = "sha256:6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea…
54 …{file = "attrs-25.3.0-py3-none-any.whl", hash = "sha256:427318ce031701fea540783410126f03899a97ffc6…
55 …{file = "attrs-25.3.0.tar.gz", hash = "sha256:75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d10…
74 …{file = "black-25.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:759e7ec1e050a15f89b770ce…
75 …{file = "black-25.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0e519ecf93120f34243e6b005…
[all …]
/arkcompiler/runtime_core/libpandafile/
Dfile.cpp4 * you may not use this file except in compliance with the License.
17 #include "file-inl.h"
29 const std::array<uint8_t, File::MAGIC_SIZE> File::MAGIC {'P', 'A', 'N', 'D', 'A', '\0', '\0', '\0'};
31 // Name anonymous maps for perfing tools finding symbol file correctly.
35 os::file::Mode GetMode(panda_file::File::OpenMode open_mode) in GetMode()
38 case File::READ_ONLY: { in GetMode()
39 return os::file::Mode::READONLY; in GetMode()
41 case File::READ_WRITE: { in GetMode()
43 return os::file::Mode::READWRITE; in GetMode()
45 return os::file::Mode::READONLY; in GetMode()
[all …]
Dmethod_data_accessor.h4 * you may not use this file except in compliance with the License.
19 #include "file.h"
28 MethodDataAccessor(const File &panda_file, File::EntityId method_id);
33 static File::EntityId GetNameId(const File &panda_file, File::EntityId method_id);
36 static panda_file::File::StringData GetName(const File &panda_file, File::EntityId method_id);
39 static File::EntityId GetProtoId(const File &panda_file, File::EntityId method_id);
42 static File::EntityId GetClassId(const File &panda_file, File::EntityId method_id);
89 File::EntityId GetClassId() const in GetClassId()
91 return File::EntityId(class_off_); in GetClassId()
94 File::Index GetClassIdx() const in GetClassIdx()
[all …]
/arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/modify_api/values/
Dvalues_test.cpp4 * you may not use this file except in compliance with the License.
40 AbckitFile *file = nullptr; in TEST_F() local
41 …pers::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/modify_api/values/values_dynamic.abc", &file); in TEST_F()
42 auto *res = g_implM->createValueU1(file, true); in TEST_F()
45 // Write output file in TEST_F()
46 g_impl->writeAbc(file, MODIFIED_DYNAMIC, strlen(MODIFIED_DYNAMIC)); in TEST_F()
48 g_impl->closeFile(file); in TEST_F()
55 AbckitFile *file = nullptr; in TEST_F() local
56 …pers::AssertOpenAbc(ABCKIT_ABC_DIR "ut/metadata_core/modify_api/values/values_dynamic.abc", &file); in TEST_F()
57 auto *res = g_implM->createValueDouble(file, 1.0); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dfile.cpp4 * you may not use this file except in compliance with the License.
17 #include "file-inl.h"
18 #include "os/file.h"
48 const std::array<uint8_t, File::MAGIC_SIZE> File::MAGIC {'P', 'A', 'N', 'D', 'A', '\0', '\0', '\0'};
50 // Name anonymous maps for perfing tools finding symbol file correctly.
54 os::file::Mode GetMode(panda_file::File::OpenMode openMode) in GetMode()
57 case File::READ_ONLY: { in GetMode()
58 return os::file::Mode::READONLY; in GetMode()
60 case File::READ_WRITE: { in GetMode()
62 return os::file::Mode::READWRITE; in GetMode()
[all …]
Dmethod_data_accessor.h4 * you may not use this file except in compliance with the License.
19 #include "file.h"
36 PANDA_PUBLIC_API MethodDataAccessor(const File &pandaFile, File::EntityId methodId);
41 static File::EntityId GetNameId(const File &pandaFile, File::EntityId methodId);
44 static panda_file::File::StringData GetName(const File &pandaFile, File::EntityId methodId);
51 static File::EntityId GetProtoId(const File &pandaFile, File::EntityId methodId);
54 static File::EntityId GetClassId(const File &pandaFile, File::EntityId methodId);
106 File::EntityId GetClassId() const in GetClassId()
108 return File::EntityId(classOff_); in GetClassId()
111 File::Index GetClassIdx() const in GetClassIdx()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/coroutines/
DCMakeLists.txt3 # you may not use this file except in compliance with the License.
20 # add_ets_coroutines_test(FILE ets_file
40 set(singleValues FILE)
81 FILE ${ARG_FILE}
92 add_ets_coroutines_test(FILE allhandled_rejection.ets
101 add_ets_coroutines_test(FILE unhandled_rejection.ets
110 add_ets_coroutines_test(FILE async_call.ets
118 add_ets_coroutines_test(FILE launch_instruction.ets
126 add_ets_coroutines_test(FILE launch_instruction.ets
135 add_ets_coroutines_test(FILE await.ets
[all …]
/arkcompiler/runtime_core/static_core/cross_values/
Dcross_values_getters_generator.rb4 # you may not use this file except in compliance with the License.
20 // Autogenerated file -- DO NOT EDIT!
28 $header += "#include \"generated_values/#{File.basename(values_h)}\"\n"
36 data = File.read(input_file)
39 File.open(output_file, "w") do |file|
40 file.puts $header
41 file.puts "namespace ark::cross_values {"
44 file.puts %<
50 file.puts " case Arch::#{File.basename(values_h, "_values_gen.h")}:\n"
51file.puts " return cross_values::#{File.basename(values_h, "_values_gen.h")}::#{define[…
[all …]
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
Dspectrac.rb4 # you may not use this file except in compliance with the License.
22 Dir[File.join(__dir__, '..', 'lib', '*.rb')].each { |file| require file } # rubocop:disable Lint/No…
24 def check_file(file) argument
25 …raise OptionParser::InvalidOption, "File #{file} not found" unless File.exist? File.expand_path(fi…
37 …raise OptionParser::InvalidOption, "Directory #{dir} not found." unless File.directory? File.expan…
43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml')
46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)')
47 opts.on('-n', '--non_testable [FILE]', 'Non testable assertions')
48 …opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests…
49 …opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered b…
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/
Dspectrac.rb4 # you may not use this file except in compliance with the License.
22 Dir[File.join(__dir__, '..', 'lib', '*.rb')].each { |file| require file } # rubocop:disable Lint/No…
24 def check_file(file) argument
25 …raise OptionParser::InvalidOption, "File #{file} not found" unless File.exist? File.expand_path(fi…
37 …raise OptionParser::InvalidOption, "Directory #{dir} not found." unless File.directory? File.expan…
43 opts.on('-r', '--report [FILE]', 'Output the test coverage summary report in yaml')
46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)')
47 opts.on('-n', '--non_testable [FILE]', 'Non testable assertions')
48 …opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests…
49 …opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered b…
[all …]
/arkcompiler/runtime_core/libpandabase/os/
Dfile.h4 * you may not use this file except in compliance with the License.
22 #include "platforms/unix/libpandabase/file.h"
24 #include "platforms/windows/libpandabase//file.h"
31 namespace panda::os::file {
34 using File = panda::os::unix::file::File; variable
36 using File = panda::os::windows::file::File;
41 explicit FileHolder(File file) : file_(file) {} in FileHolder() argument
49 File file_;
57 File Open(std::string_view filename, Mode mode);
59 } // namespace panda::os::file
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dfile.h4 * you may not use this file except in compliance with the License.
22 #include "platforms/unix/libpandabase/file.h"
24 #include "platforms/windows/libpandabase//file.h"
31 namespace ark::os::file {
34 using File = ark::os::unix::file::File; variable
36 using File = ark::os::windows::file::File;
41 explicit FileHolder(File file) : file_(file) {} in FileHolder() argument
49 File file_;
57 PANDA_PUBLIC_API File Open(std::string_view filename, Mode mode);
59 } // namespace ark::os::file
/arkcompiler/runtime_core/static_core/plugins/ets/tests/lookup_by_name/
DCMakeLists.txt3 # you may not use this file except in compliance with the License.
42 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/lookup_by_name/${NAME}.pa
46 ADDITIONAL_STDLIBS $<TARGET_PROPERTY:etsstdlib,FILE>
52 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/lookup_by_name/${NAME}.pa
56 ADDITIONAL_STDLIBS $<TARGET_PROPERTY:etsstdlib,FILE>
64 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/lookup_by_name/${NAME}.pa
69 ADDITIONAL_STDLIBS $<TARGET_PROPERTY:etsstdlib,FILE>
77 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/lookup_by_name/${NAME}.pa
83 ADDITIONAL_STDLIBS $<TARGET_PROPERTY:etsstdlib,FILE>
95 set(singleValues FILE)
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dunix_file_test.cpp4 * you may not use this file except in compliance with the License.
21 #include "libpandabase/os/file.h"
28 os::file::File file1 = os::file::Open("./test_openfile.txt", os::file::Mode::READONLY);
31 os::file::File file2 = os::file::Open("./test_openfile.txt", os::file::Mode::READWRITE);
34 os::file::File file3 = os::file::Open("./test_openfile.txt", os::file::Mode::WRITEONLY);
37 os::file::File file4 = os::file::Open("./test_openfile.txt", os::file::Mode::READWRITECREATE);
/arkcompiler/runtime_core/libabckit/src/
Dmetadata_modify_impl.cpp4 * you may not use this file except in compliance with the License.
34 // File
62 LIBABCKIT_WRONG_CTX_VOID(function->owningModule->file, graph->file); in FunctionSetGraph()
79 extern "C" AbckitType *CreateType(AbckitFile *file, AbckitTypeId id) in CreateType() argument
85 LIBABCKIT_BAD_ARGUMENT(file, nullptr); in CreateType()
90 return GetOrCreateType(file, id, 0, nullptr); in CreateType()
93 extern "C" AbckitType *CreateReferenceType(AbckitFile *file, AbckitCoreClass *klass) in CreateReferenceType() argument
99 LIBABCKIT_BAD_ARGUMENT(file, nullptr); in CreateReferenceType()
101 return GetOrCreateType(file, AbckitTypeId::ABCKIT_TYPE_ID_REFERENCE, 0, klass); in CreateReferenceType()
108 extern "C" AbckitValue *CreateValueU1(AbckitFile *file, bool value) in CreateValueU1() argument
[all …]
/arkcompiler/runtime_core/docs/
Daot.md6 ## File format
8 AOT file has `.an` extension and it is a valid ELF file.
24 special alignment, mostly it is 16 bytes (see `CODE_ALIGNMENT` in `libpandabase/utils/arch.h` file).
38 - `AotHeader` - This header describes main information, such as version, file name string, command …
40 - `PandaFileHeader` - Describes corresponding panda file.
46 …sses and methods are uniquely identified (inside one file) by their panda file id (`panda_file::Fi…
47 therefore compiled Ark bytecode file must be bit by bit equal to the file loaded in runtime.
52 filled with appropriate data during AOT file loading at runtime. This data allows compiler's codege…
115 `ark_aot` tool aims to compile input panda files into the single AOT file that can be consumed by
121 - `--output` - path to the output AOT file (default is `out.an`)
[all …]

12345678910>>...423