Home
last modified time | relevance | path

Searched refs:version (Results 1 - 25 of 92) sorted by relevance

1234

/arkcompiler/toolchain/build/config/mac/
H A Dsdk_info.py19 def split_version(version):
20 """Splits the Xcode version to 3 values.
29 if isinstance(version, bytes):
30 version = version.decode()
31 version = version.split('.')
32 return itertools.islice(itertools.chain(version, itertools.repeat('0')), 0, 3)
35 def format_version(version):
36 """Converts Xcode version t
[all...]
/arkcompiler/ets_runtime/ecmascript/base/
H A Dfile_header.h43 static uint32_t ToVersionNumber(const VersionType &version) in ToVersionNumber() argument
45 return ReverseBytes(bit_cast<uint32_t>(version)); in ToVersionNumber()
66 static std::optional<VersionType> strToVersion(const std::string& version) in strToVersion() argument
68 std::vector<std::string> versionNumber = StringHelper::SplitString(version, "."); in strToVersion()
103 LOG_ECMA(DEBUG) << "Magic:" << ConvToStr(magic_) << ", version:" << InternalGetVersion(); in VerifyVersion()
117 void SetVersion(VersionType version) in SetVersion() argument
119 version_ = version; in SetVersion()
130 LOG_HOST_TOOL_ERROR << fileDesc << " version error, expected version should be " in VerifyVersion()
143 bool InternalSetVersion(const std::string &version) in InternalSetVersion() argument
209 SetCompatibleAnVersion(VersionType version) SetCompatibleAnVersion() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Daot_version_test.cpp35 std::string version = ""; in HWTEST_F_L0() local
36 int32_t ret = panda::ecmascript::GetAOTVersion(version); in HWTEST_F_L0()
38 EXPECT_EQ(version.size(), FileHeaderBase::VERSION_SIZE * ecmascript::AOTFileVersion::VERSION_MULTIPLE_SIZE - 1); in HWTEST_F_L0()
40 EXPECT_STREQ(version.c_str(), aotVersionActual.c_str()); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/
H A Dconf.py34 version = sphinx_common_conf.version variable
106 pdf_documents = [(u'index', u'{l}-{v}'.format(l=project, v=version), project,
/arkcompiler/runtime_core/static_core/plugins/ets/doc/system_arkts/
H A Dconf.py34 version = sphinx_common_conf.version variable
104 pdf_documents = [(u'index', u'{l}-{v}'.format(l=project, v=version), project,
/arkcompiler/runtime_core/disassembler/
H A Ddisasm.cpp53 const panda::PandArg<bool> &version, int argc, const char **argv) in ProcessArgs()
60 if (version.GetValue()) { in ProcessArgs()
102 panda::PandArg<bool> version {"version", false, in main()
103 "Ark version, file format version and minimum supported file format version"}; in main()
113 pa_parser.Add(&version); in main()
118 if (!ProcessArgs(pa_parser, input_file, output_file, debug, debug_file, help, version, argc, argv)) { in main()
50 ProcessArgs(panda::PandArgParser &pa_parser, const panda::PandArg<std::string> &input_file, const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &debug, const panda::PandArg<std::string> &debug_file, const panda::PandArg<bool> &help, const panda::PandArg<bool> &version, int argc, const char **argv) ProcessArgs() argument
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
H A Dpgo_encoder_mock.h32 void SetVersion(base::FileHeaderBase::VersionType version) in SetVersion() argument
34 header_->SetVersion(version); in SetVersion()
H A Dpgo_context_mock.h30 explicit PGOContextMock(base::FileHeaderBase::VersionType version) in PGOContextMock() argument
34 header_->SetVersion(version); in PGOContextMock()
/arkcompiler/toolchain/websocket/test/
H A Dhttp_decoder_test.cpp72 ASSERT_EQ(parsed.version, EXPECTED_VERSION); in HWTEST_F()
84 ASSERT_EQ(parsed.version, ""); in HWTEST_F()
96 ASSERT_EQ(parsed.version, EXPECTED_VERSION); in HWTEST_F()
109 ASSERT_EQ(parsed.version, ""); in HWTEST_F()
/arkcompiler/ets_runtime/ecmascript/module/
H A Dmodule_path_helper.cpp34 // this branch save for require/dynamic import/old version sdk in ConcatFileNameWithMerge()
45 // this branch save for require/dynamic import/old version sdk in ConcatFileNameWithMerge()
81 * After: &entryPath&version
89 CString version = res[NORMALIZED_VERSION_INDEX]; in ConcatImportFileNormalizedOhmurlWithRecordName() local
103 moduleRequestName = ConcatImportFileNormalizedOhmurl(entryPoint, "", version); in ConcatImportFileNormalizedOhmurlWithRecordName()
110 moduleRequestName = ConcatImportFileNormalizedOhmurl(entryPoint, "", version); in ConcatImportFileNormalizedOhmurlWithRecordName()
204 // Unified ohmUrl used be cached: [<bundle name>?]&<pkg name + /src/main + path>&[<version>?]
206 const CString &entryPath, const CString &path, const CString &version) in ConcatUnifiedOhmUrl()
211 PathHelper::NORMALIZED_OHMURL_TAG + version; in ConcatUnifiedOhmUrl()
214 PathHelper::NORMALIZED_OHMURL_TAG + version; in ConcatUnifiedOhmUrl()
205 ConcatUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, const CString &entryPath, const CString &path, const CString &version) ConcatUnifiedOhmUrl() argument
217 ConcatUnifiedOhmUrl(const CString &bundleName, const CString &normalizedpath, const CString &version) ConcatUnifiedOhmUrl() argument
224 ConcatPreviewTestUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, const CString &path, const CString &version) ConcatPreviewTestUnifiedOhmUrl() argument
271 CString version; TransformToNormalizedOhmUrl() local
400 CString version = res[NORMALIZED_VERSION_INDEX]; ParseNormalizedOhmUrl() local
881 ConcatImportFileNormalizedOhmurl(const CString &recordPath, const CString &requestName, const CString &version) ConcatImportFileNormalizedOhmurl() argument
887 ConcatNativeSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, const CString &pkgName, const CString &version) ConcatNativeSoNormalizedOhmurl() argument
895 ConcatNotSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, const CString &pkgName, const CString &entryPath, const CString &version) ConcatNotSoNormalizedOhmurl() argument
1010 CString version = data[PKGINFO_VERSION_INDEX]; ConcatNormalizedOhmurlWithData() local
[all...]
/arkcompiler/runtime_core/libpandafile/tests/
H A Dfile_format_version_test.cpp25 versionstr += std::to_string(version[i]); in HWTEST()
31 EXPECT_EQ(GetVersion(version), versionstr); in HWTEST()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/annotations/
H A Dconf.py34 version = sphinx_common_conf.version variable
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
H A Dconf.py34 version = sphinx_common_conf.version variable
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
H A Dconf.py34 version = sphinx_common_conf.version variable
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
H A Dconf.py34 version = sphinx_common_conf.version variable
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
H A Dets_napi_invoke_interface.cpp53 bool CheckVersionEtsNapi(ets_int version) in CheckVersionEtsNapi() argument
55 return (version == ETS_NAPI_VERSION_1_0); in CheckVersionEtsNapi()
58 static ets_int GetEnv([[maybe_unused]] EtsVM *vm, EtsEnv **pEnv, [[maybe_unused]] ets_int version) in GetEnv() argument
71 if (!CheckVersionEtsNapi(version)) { in GetEnv()
262 if (!CheckVersionEtsNapi(vmArgs->version)) { in ETS_CreateVM()
263 LOG(ERROR, ETS_NAPI) << "Error: Unsupported Ets napi version = " << vmArgs->version; in ETS_CreateVM()
H A Dets_napi_invoke_interface.h25 bool CheckVersionEtsNapi(ets_int version);
/arkcompiler/toolchain/websocket/
H A Dhttp.cpp42 // the typical header is "GET /chat HTTP/1.1", where protocol version is located after the second space symbol in DecodeVersion()
65 parsed.version = DecodeVersion(request, pos); in Decode()
114 parsed.version = DecodeVersion(response, versionStartPos); in Decode()
115 parsed.status = DecodeStatus(response, versionStartPos + parsed.version.size()); in Decode()
H A Dhttp.h35 std::string version; member
48 std::string version; member
/arkcompiler/runtime_core/scripts/
H A Dinstall-deps-qemu153 qemu_installed_version=$(qemu-aarch64 --version 2>/dev/null \
154 | grep -Eo 'version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' \
157 qemu_installed_version=$($QEMU_PREFIX/bin/qemu-aarch64 --version 2>/dev/null \
158 | grep -Eo 'version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' \
162 qemu_expected_version="version $QEMU_VERSION"
/arkcompiler/runtime_core/static_core/scripts/
H A Dinstall-deps-qemu159 qemu_installed_version=$(qemu-aarch64 --version 2>/dev/null \
160 | grep -Eo 'version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' \
163 qemu_installed_version=$($QEMU_PREFIX/bin/qemu-aarch64 --version 2>/dev/null \
164 | grep -Eo 'version [[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' \
168 qemu_expected_version="version $QEMU_VERSION"
/arkcompiler/runtime_core/assembler/
H A Dpandasm.cpp65 const panda::PandArg<bool> &version, std::ifstream &inputfile, int argc, const char **argv) in PrepareArgs()
72 if (version.GetValue()) { in PrepareArgs()
216 panda::PandArg<bool> version {"version", false, in main()
217 "Ark version, file format version and minimum supported file format version"}; in main()
228 pa_parser.Add(&version); in main()
235 if (!panda::pandasm::PrepareArgs(pa_parser, input_file, output_file, log_file, help, verbose, version, inputfile, in main()
62 PrepareArgs(panda::PandArgParser &pa_parser, const panda::PandArg<std::string> &input_file, const panda::PandArg<std::string> &output_file, const panda::PandArg<std::string> &log_file, const panda::PandArg<bool> &help, const panda::PandArg<bool> &verbose, const panda::PandArg<bool> &version, std::ifstream &inputfile, int argc, const char **argv) PrepareArgs() argument
/arkcompiler/runtime_core/static_core/assembler/
H A Dpandasm.cpp68 const ark::PandArg<bool> &help, const ark::PandArg<bool> &verbose, const ark::PandArg<bool> &version, in PrepareArgs()
76 if (version.GetValue()) { in PrepareArgs()
231 ark::PandArg<bool> version {"version", false, in main()
232 "Ark version, file format version and minimum supported file format version"}; in main()
243 paParser.Add(&version); in main()
250 if (!ark::pandasm::PrepareArgs(paParser, inputFile, outputFile, logFile, help, verbose, version, inputfile, argc, in main()
66 PrepareArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &inputFile, const ark::PandArg<std::string> &outputFile, const ark::PandArg<std::string> &logFile, const ark::PandArg<bool> &help, const ark::PandArg<bool> &verbose, const ark::PandArg<bool> &version, std::ifstream &inputfile, int argc, const char **argv) PrepareArgs() argument
/arkcompiler/runtime_core/static_core/disassembler/
H A Ddisasm.cpp40 ark::PandArg<bool> version {"version", false,
41 "Ark version, file format version and minimum supported file format version"};
51 paParser.Add(&version); in Options()
99 if (options.version.GetValue()) { in ProcessArgs()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dsphinx_common_conf.py31 # The short X.Y version
32 version = u'1.1.0' variable
34 # The full version, including alpha/beta/rc tags

Completed in 13 milliseconds

1234