/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl.cpp | 102 bool IsDirExist(const std::string& path) in IsDirExist() argument 105 CHECK_NULL_RETURN(realpath(path.c_str(), realPath), false); in IsDirExist()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_convert.cpp | 152 skillUri.path = MallocCString(cUri.path); in ConvertSkillUri()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.h | 295 CORE3D_NS::ISceneNode* CreateNode(const BASE_NS::string& path, const BASE_NS::string& name); 302 CORE_NS::Entity CreateCamera(const BASE_NS::string& path, const BASE_NS::string& name, uint32_t flagBits);
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/binder/ |
H A D | recorder_client.cpp | 403 int32_t Recorder::RecorderClient::SetOutputPath(const string &path) in SetOutputPath() argument 408 WriteString(&io, path.c_str()); in SetOutputPath()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/ |
H A D | medialibrary_backup_clone_test.cpp | 132 void Init(CloneSource &cloneSource, const string &path, const vector<string> &tableList) in Init() argument 135 cloneSource.Init(path, tableList); in Init()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/ |
H A D | player_service_proxy_fuzzer.cpp | 187 const std::string path = "/data/test/media/H264_AAC.mp4"; in SetFdSourceStatic() local 188 fdValue = open(path.c_str(), O_RDONLY); in SetFdSourceStatic()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ |
H A D | randomaccessfile_n_exporter.cpp | 432 string path = "/proc/self/fd/" + to_string(dstFd); in CreateStream() local 434 int readLinkRes = readlink(path.c_str(), buf.get(), BUF_SIZE); in CreateStream()
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/test/ |
H A D | disk_info_test.cpp | 561 std::string path(sysPath + "/device/manfid"); in HWTEST_F() 563 ReadFile(path, &str); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
H A D | js_runtime_test.cpp | 278 std::string path = ""; in HWTEST_F() local 280 jsRuntime->RunSandboxScript(path, hapPath); in HWTEST_F() 970 std::string path = "/system/etc/strip.native.min.abc"; in HWTEST_F() local 971 jsRuntime->LoadScript(path); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | context_container_test.cpp | 152 std::string path = context_->GetBundleCodePath(); in HWTEST_F() local 154 EXPECT_STREQ(path.c_str(), codePath.c_str()); in HWTEST_F() 209 std::string path = context_->GetBundleResourcePath(); in HWTEST_F() local 221 std::string path = context_->GetAppType(); in HWTEST_F() local
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 463 void FrontendDelegateDeclarativeNG::GetState(int32_t& index, std::string& name, std::string& path) in GetState() argument 466 pageRouterManager_->GetState(index, name, path); in GetState() 470 std::string& path, std::string& params) in GetRouterStateByIndex() 473 pageRouterManager_->GetStateByIndex(index, name, path, params); in GetRouterStateByIndex() 469 GetRouterStateByIndex(int32_t& index, std::string& name, std::string& path, std::string& params) GetRouterStateByIndex() argument
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_gzip/ |
H A D | gzip_n_exporter.cpp | 45 std::unique_ptr<char[]> path = nullptr; member 225 tie(succ, arg->path, arg->mode) = CommonFunc::GetGZOpenArg(env, funcArg); in GZOpen() 235 file = gzopen64(arg->path.get(), arg->mode.get()); in GZOpen() 237 file = gzopen(arg->path.get(), arg->mode.get()); in GZOpen()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/ |
H A D | bms_installd_client_test.cpp | 1202 std::string dir = "disk.path"; in HWTEST_F() 1216 std::string path = "path.test"; in HWTEST_F() local 1219 ErrCode result = installClient_->IsExistFile(path, isExist); in HWTEST_F() 1230 std::string path = "path.test"; in HWTEST_F() local 1233 ErrCode result = installClient_->IsExistApFile(path, isExist); in HWTEST_F() 1259 codeSignatureParam.modulePath = "module.path"; in HWTEST_F() 1288 checkEncryptionParam.modulePath = "module.path"; in HWTEST_F() 1317 checkEncryptionParam.modulePath = "module.path"; in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | upgrade_restore.cpp | 206 int32_t UpgradeRestore::ParseXml(string path) in ParseXml() argument 209 xmlReadFile(path.c_str(), nullptr, XML_PARSE_NOBLANKS), xmlFreeDoc); in ParseXml() 290 MEDIA_ERR_LOG("Invalid path: %{public}s.", in ParseResultSetFromAudioDb() 589 MEDIA_ERR_LOG("Invalid media type: %{public}d, path: %{public}s", mediaType, in ParseResultSetForAudio() 595 MEDIA_ERR_LOG("Invalid path: %{public}s.", in ParseResultSetForAudio() 603 MEDIA_WARN_LOG("maybe garbage path = %{public}s.", in ParseResultSetForAudio() 642 bool UpgradeRestore::IsValidDir(const string &path) in IsValidDir() argument 646 if (path.find(cacheDir) == 0) { in IsValidDir() 659 MEDIA_ERR_LOG("Data duplicate and already used, path: %{public}s", in ParseResultSet() 665 MEDIA_ERR_LOG("Invalid media type: %{public}d, path in ParseResultSet() [all...] |
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 944 for (const auto &path : certsPath.certPathList) { in AddCurlHandle() 945 if (path.empty() || access(path.c_str(), F_OK) != 0) { in AddCurlHandle() 946 NETSTACK_LOGD("certificate directory path is not exist"); in AddCurlHandle() 949 if (!SSL_CTX_load_verify_locations(static_cast<SSL_CTX *>(ssl_ctx), nullptr, path.c_str())) { in AddCurlHandle() 955 NETSTACK_LOGD("certificate directory path is not exist"); in AddCurlHandle() 970 // add app cert path in AddCurlHandle() 976 // add user cert path in AddCurlHandle() 979 // add system cert path in AddCurlHandle()
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager.h | 210 void GetStartupPage(const SessionInfo& sessionInfo, std::string& path, uint32_t& bgColor); 611 bool GetStartupPageFromResource(const AppExecFwk::AbilityInfo& abilityInfo, std::string& path, uint32_t& bgColor); 612 bool GetStartingWindowInfoFromCache(const SessionInfo& sessionInfo, std::string& path, uint32_t& bgColor); 614 const AppExecFwk::AbilityInfo& abilityInfo, const std::string& path, const uint32_t& bgColor);
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 914 // 0 or 1 parameter: ctx.stroke() / ctx.stroke(path) in JsStroke() 919 LOGE("Stroke Path2D failed, target is not path."); in JsStroke() 922 auto path = GetPath2D(runtime, argv[0]); in JsStroke() local 923 if (path == nullptr) { in JsStroke() 924 LOGE("Stroke Path2D failed, target path is null."); in JsStroke() 927 auto task = [path](const RefPtr<CanvasTaskPool>& pool) { pool->Stroke(path); }; in JsStroke() 1191 // 1 parameter: addPath(path) in JsPath2DAddPath() 1212 LOGE("Stroke Path2D failed, target is not path."); in JsPath2DAddPath() 1217 LOGE("AddPath to Path2D failed, to be added path i in JsPath2DAddPath() 1864 std::string path = argv[0]->ToString(runtime); JsGetJsonData() local [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 1153 static std::string FileUrlToRawPath(const std::string &path) in FileUrlToRawPath() argument 1155 if (path.size() > FILE_URL_PREFIX.size() && in FileUrlToRawPath() 1156 (path.compare(0, FILE_URL_PREFIX.size(), FILE_URL_PREFIX) == 0)) { in FileUrlToRawPath() 1157 return path.substr(FILE_URL_PREFIX.size()); in FileUrlToRawPath() 1159 return path; in FileUrlToRawPath() 2778 resource_.path = resource.path; in SetImageResource()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 285 std::shared_ptr<RSPath> path = std::make_shared<RSPath>(); in HWTEST_F() local 286 properties.SetClipBounds(path); in HWTEST_F() 287 ASSERT_TRUE(properties.GetClipBounds() == path); in HWTEST_F() 288 properties.SetClipBounds(path); in HWTEST_F() 289 ASSERT_TRUE(properties.GetClipBounds() == path); in HWTEST_F()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/canvas_napi/ |
H A D | js_canvas.cpp | 28 #include "draw/path.h" 1006 ROSEN_LOGE("JsCanvas::OnDrawPath path is nullptr"); in OnDrawPath() 1597 Path* path = jsPath->GetPath(); in OnClipPath() local 1598 if (path == nullptr) { in OnClipPath() 1599 ROSEN_LOGE("JsCanvas::OnClipPath path is nullptr"); in OnClipPath() 1603 m_canvas->ClipPath(*path); in OnClipPath() 1611 m_canvas->ClipPath(*path, static_cast<ClipOp>(jsClipOp)); in OnClipPath() 1618 m_canvas->ClipPath(*path, static_cast<ClipOp>(jsClipOp), jsDoAntiAlias); in OnClipPath()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 6287 RSPath path; local 6288 path.AddRect(rect.Left(), rect.Top(), rect.Right(), rect.Bottom()); 6293 std::shared_ptr<RSMask> mask = RSMask::CreatePathMask(path, pen, brush); 6300 RSPath path; local 6301 path.AddCircle(circle.GetAxisX().Value(), circle.GetAxisY().Value(), circle.GetRadius().Value()); 6306 std::shared_ptr<RSMask> mask = RSMask::CreatePathMask(path, pen, brush); 6328 RSPath path; local 6329 path.AddRoundRect(rsRoundRect); 6334 std::shared_ptr<RSMask> mask = Rosen::RSMask::CreatePathMask(path, pen, brush); 6342 RSPath path; local 6355 RSPath path; global() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 2581 void SetMotionPath(ArkUINodeHandle node, ArkUI_CharPtr path, ArkUI_Float32 from, ArkUI_Float32 to, ArkUI_Bool rotatable) in SetMotionPath() argument 2586 std::string pathString = path; in SetMotionPath() 3955 auto path = AceType::MakeRefPtr<Path>(); in SetClipPath() local 3959 path->SetWidth(width); in SetClipPath() 3960 path->SetHeight(height); in SetClipPath() 3961 path->SetValue(StringUtils::TrimStr(pathCommands)); in SetClipPath() 3962 ViewAbstract::SetClipShape(frameNode, path); in SetClipPath() 4537 auto path = AceType::MakeRefPtr<Path>(); in SetMaskPath() local 4541 path->SetWidth(width); in SetMaskPath() 4542 path in SetMaskPath() 5131 auto path = AceType::DynamicCast<Path>(basicShape); GetClipShape() local 5283 auto path = AceType::DynamicCast<Path>(basicShape); GetMask() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_page_router.cpp | 166 void CJPageRouter::GetState(int32_t& index, std::string& name, std::string& path) in GetState() argument 177 // path is invalid for cj in GetState()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_view_abstract_ffi.h | 275 char* path; member
|
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.h | 132 void GetState(int32_t& index, std::string& name, std::string& path) override;
|