Home
last modified time | relevance | path

Searched refs:find_last_of (Results 1 - 25 of 69) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/
H A Djs_file_path.cpp21 auto beginPos = filePath.find_last_of("/"); in GetBaseName()
33 auto beginPos = filePath.find_last_of('/'); in GetFileName()
39 auto endPos = filePath.find_last_of('.'); in GetFileName()
49 auto beginPos = filePath.find_last_of('.'); in GetFileExtension()
/arkcompiler/ets_frontend/ets2panda/util/
H A Dpath.cpp53 int position = path_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeFileName()
59 int extensionPosition = fileName.Mutf8().find_last_of('.'); in InitializeFileName()
70 size_t position = path_.Mutf8().find_last_of('.'); in InitializeFileExtension()
82 int position = absolutePath_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeAbsoluteParentFolder()
95 int position = path_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeParentFolder()
H A DimportPathManager.cpp49 const size_t pos = currentModulePath.Mutf8().find_last_of(pathDelimiter_); in ResolvePath()
113 std::string::size_type pos = fileName.find_last_of('.'); in UnixWalkThroughDirectoryAndAddToParseList()
182 const std::size_t position = resolvedPath.Mutf8().find_last_of(pathDelimiter_); in AddToParseList()
H A Doptions.h62 return path.substr(path.find_last_of(ark::os::file::File::GetPathDelim()) + 1); in BaseName()
153 std::string sourceFileExtension = sourceFile_.substr(sourceFile_.find_last_of('.') + 1); in DetermineExtension()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/mempool/
H A Dmaple_string_test.cpp60 ans = ms_obj.find_last_of(findCase1, 0); in TEST()
62 ans = ms_obj.find_last_of(nullptr, 0); in TEST()
64 ans = ms_obj.find_last_of(findCase1, 13); in TEST()
66 ans = ms_obj.find_last_of(findCase2, 0); in TEST()
68 ans = ms_obj.find_last_of("XY", 0); in TEST()
/arkcompiler/ets_runtime/ecmascript/ohos/
H A Dohos_preload_app_info.h44 folderEnd = hapPath.find_last_of('/'); in GetPreloadAOTFileName()
49 appEnd = folderPath.find_last_of('/'); in GetPreloadAOTFileName()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dmethod_literal.cpp108 size_t index = methodName.find_last_of('#'); in ParseFunctionNameView()
110 if (index = methodName.find_last_of('^'); index != std::string::npos) { in ParseFunctionNameView()
128 size_t index = methodName.find_last_of('#'); in ParseFunctionNameToCString()
131 index = methodName.find_last_of('^'); in ParseFunctionNameToCString()
/arkcompiler/ets_frontend/merge_abc/src/
H A DmergeProgram.cpp54 if (fileName.substr(fileName.find_last_of(".") + 1).compare(protoBinSuffix) == 0) { in EnumerateFilesWindows()
85 if (fileName.substr(fileName.find_last_of(".") + 1).compare(protoBinSuffix) == 0) {
116 if (filePath.substr(filePath.find_last_of(".") + 1).compare(protoBinSuffix) == 0) { in AppendProtoFiles()
/arkcompiler/ets_runtime/ecmascript/platform/common/
H A Dfilesystem.cpp33 auto pos = path.find_last_of('/'); in CreateDirectory()
110 auto index = realPath.find_last_of('/'); in CreateEmptyFile()
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dfilesystem.cpp55 size_t found = filepath.find_last_of("/\\"); in GetParentDir()
73 auto pos = filepath.find_last_of('.'); in RemoveExtension()
/arkcompiler/runtime_core/static_core/runtime/
H A Dfile_manager.cpp76 PandaString::size_type posStart = abcPath.find_last_of('/'); in ResolveAnFilePath()
77 PandaString::size_type posEnd = abcPath.find_last_of('.'); in ResolveAnFilePath()
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc_file_utils.cpp36 size_t pos = absolutePath.find_last_of(ark::os::file::File::GetPathDelim()); in GetFileNameByAbsolutePath()
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/utils/
H A Dutils.cpp26 size_t index = uri.find_last_of("."); in GetAsset()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
H A Dfile.cpp152 int suffixEnd = static_cast<int>(request.find_last_of('.')); in ResolveFilenameFromNative()
156 int pos = static_cast<int>(dirname.find_last_of('/')); in ResolveFilenameFromNative()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
H A Dfile.cpp155 int suffixEnd = static_cast<int>(request.find_last_of('.')); in ResolveFilenameFromNative()
159 int pos = static_cast<int>(dirname.find_last_of('\\')); in ResolveFilenameFromNative()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_extractor.cpp39 auto pos = sourceLocation.path.find_last_of("/\\"); in GetBreakpointAddress()
49 auto posSf = srcName.find_last_of("/\\"); in GetBreakpointAddress()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dpath_helper.cpp66 int foundPos = static_cast<int>(fileName.find_last_of("/\\")); in ResolveDirPath()
/arkcompiler/runtime_core/compiler/tests/
H A Dgraph_test.h84 auto pos = method_name.find_last_of("#"); in TestBuildGraphFromFile()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
H A Dfile.cpp84 std::string::size_type pos = std::string(ws.begin(), ws.end()).find_last_of(File::GetPathDelim()); in GetExecutablePath()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
H A Dfile.cpp84 std::string::size_type pos = std::string(ws.begin(), ws.end()).find_last_of(File::GetPathDelim()); in GetExecutablePath()
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/
H A Darkts_header.cpp44 std::string outputFilename = input.GetValue().substr(0, input.GetValue().find_last_of('.')) + ".h"; in ProcessArgs()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A Dhelpers.cpp90 auto startPos = typeSignature.find_last_of('/'); in ReferenceToTypeNode()
203 auto startPos = typeSignature.find_last_of('/'); in ReferenceToName()
332 if (auto pos = recordName.find_last_of('.'); pos != std::string_view::npos) { in SplitRecordName()
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
H A Dfile_path_utils.cpp422 auto start = path.find_last_of('/'); in MakeFilePath()
423 auto end = path.find_last_of('.'); in MakeFilePath()
428 auto pos = path.find_last_of('.', end - 1); in MakeFilePath()
/arkcompiler/toolchain/tooling/client/ark_multi/
H A Dmain.cpp73 std::string fileAbc = fileName.substr(fileName.find_last_of('/') + 1); in GetNextPara()
174 if (line.find_last_of(".abc") == std::string::npos) { // endwith in Main()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
H A Dgraph_test.h69 auto pos = method_name.find_last_of("#"); in TestBuildGraphFromFile()

Completed in 9 milliseconds

123