Home
last modified time | relevance | path

Searched refs:isRelativePath (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dpath_helper.h41 …c bool CheckWorkerPath(napi_env env, std::string script, std::string fileName, bool isRelativePath) in CheckWorkerPath() argument
53 return CheckNormalizedWorkerPath(env, script, fileName, isRelativePath); in CheckWorkerPath()
60 if (isRelativePath) { in CheckWorkerPath()
84 …ckNormalizedWorkerPath(napi_env env, std::string script, std::string fileName, bool isRelativePath) in CheckNormalizedWorkerPath() argument
89 if (isRelativePath) { in CheckNormalizedWorkerPath()
113 …atFileNameForWorker(napi_env env, std::string &script, std::string &fileName, bool &isRelativePath) in ConcatFileNameForWorker() argument
117 isRelativePath = true; in ConcatFileNameForWorker()
119 … reinterpret_cast<NativeEngine*>(env)->GetCurrentModuleInfo(moduleName, fileName, isRelativePath); in ConcatFileNameForWorker()
120 if (isRelativePath) { in ConcatFileNameForWorker()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/photo_album_test/src/
H A Dphoto_album_test.cpp106 void DoCheckAlbumData(const string &name, const bool isRelativePath) in DoCheckAlbumData() argument
108 string albumName = isRelativePath ? GetLastDentry(name) : name; in DoCheckAlbumData()
109 string relativePath = isRelativePath ? name : ""; in DoCheckAlbumData()
113 if (isRelativePath) { in DoCheckAlbumData()