/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/extend_resource_manager_proxy_test/ |
H A D | extend_resource_manager_proxy_test.cpp | 184 std::string path = FILE_PATH;
in HWTEST_F() local 185 ErrCode res = extendResource.CreateFd(EMPTY_STRING, fd, path);
in HWTEST_F() 188 res = extendResource.CreateFd(BUNDLE_NAME, fd, path);
in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2.cpp | 180 if (auto const path = dataFileUri.rfind('/'); path != string::npos) { in SaveGLTF() 181 dataFileUri.erase(0, path + 1); in SaveGLTF()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_property_drawable_utils.h | 31 static Color GetColorForShadowSyn(Drawing::Canvas* canvas, Drawing::Path& path, const Color& color, 64 static void DrawShadow(Drawing::Canvas* canvas, Drawing::Path& path, const float& offsetX, const float& offsetY, 66 static void DrawShadowMaskFilter(Drawing::Canvas* canvas, Drawing::Path& path, const float& offsetX,
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_archive.h | 152 explicit FileArchive(const std::string& path) : Archive(Reader) in FileArchive() argument 154 file_ = Utils::FileOpen(path, Reader ? "rb" : "wb"); in FileArchive() 156 HRPE("FileArchive: Cannot open '%s' for %s", path.data(), (Reader ? "reading" : "writing")); in FileArchive()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/symbol_engine/ |
H A D | hm_symbol_run.cpp | 17 #include "draw/path.h" 102 OHOS::Rosen::Drawing::Path path = RSTextBlob::GetDrawingPathforTextBlob(glyphId, blob); in DrawSymbol() local 107 path = RSTextBlob::GetDrawingPathforTextBlob(symbolData.symbolInfo_.symbolGlyphId, blob); in DrawSymbol() 109 symbolData.path_ = path; in DrawSymbol()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | start_code_detector.cpp | 36 size_t StartCodeDetector::SetSource(const std::string &path) in SetSource() argument 38 ifstream ifs(path, ios::binary); in SetSource() 40 TLOGE("cannot open %s", path.c_str()); in SetSource()
|
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/ |
H A D | thumbnail_source_loading.h | 31 EXPORT std::string GetLocalThumbnailPath(const std::string &path, const std::string &key);
32 EXPORT std::string GetLocalKeyFrameThumbnailPath(const std::string &path, const std::string &key,
36 EXPORT std::unique_ptr<ImageSource> LoadImageSource(const std::string &path, uint32_t &err);
|
/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | dragging_player_agent.cpp | 177 char path[PATH_MAX] = {0x00}; in LoadLibrary() local 179 if (strlen(inputPath) > PATH_MAX || realpath(inputPath, path) == nullptr) { in LoadLibrary() 180 MEDIA_LOG_E("dlopen failed due to Invalid path"); in LoadLibrary() 183 auto ptr = ::dlopen(path, RTLD_NOW | RTLD_LOCAL); in LoadLibrary()
|
/foundation/multimedia/ringtone_library/test/unittest/ringtone_helper_test/src/ |
H A D | ringtone_asset_test.cpp | 86 const string path = "data/tmp"; in HWTEST_F() local 87 g_ringtoneAsset->SetPath(path); in HWTEST_F() 89 EXPECT_EQ(assetPath, path); in HWTEST_F()
|
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | purgeable_memory_manager_test.cpp | 234 const char *path = PurgeableMemUtils::PATH_PURGE_HEAP.c_str();
in HWTEST_F() local 235 int fd = open(path, O_WRONLY);
in HWTEST_F() 237 printf("open %s failed!\n", path);
in HWTEST_F()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/ |
H A D | ressched_utils.cpp | 162 std::string path; in GetProcessFilePath() local 163 path.append("/dev/pids/") in GetProcessFilePath() 171 if (!realpath(path.c_str(), absolutePath)) { in GetProcessFilePath()
|
/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/include/ |
H A D | socperf_common.h | 60 std::string path;
member in OHOS::ResourceSchedule::ResNode 105 for (auto path : paths) {
in PrintString() 106 SOC_PERF_LOGD(" path: [%{public}s]", path.c_str());
in PrintString()
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_request.cpp | 214 void HttpRequest::SetCaPath(const std::string &path) in SetCaPath() argument 216 if (path.empty()) { in SetCaPath() 220 caPath_ = path; in SetCaPath()
|
/foundation/communication/netstack/frameworks/js/napi/http/options/src/ |
H A D | http_request_options.cpp | 227 void HttpRequestOptions::SetCaPath(const std::string &path) in SetCaPath() argument 229 if (path.empty()) { in SetCaPath() 233 caPath_ = path; in SetCaPath()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/ |
H A D | distributed_object_impl.cpp | 129 status = GetString(assetKey + PATH_SUFFIX, assetValue.path); in GetAssetValue() 130 LOG_ERROR_RETURN(status == SUCCESS, "get path failed!", status); in GetAssetValue() 145 assetValue.path = assetValue.path.substr(STRING_PREFIX_LEN); in RemovePrefix()
|
H A D | asset_change_timer.cpp | 127 (flatObjectStore_->GetString(sessionId, assetKey + PATH_SUFFIX, assetValue.path) == SUCCESS); in GetAssetValue() 137 assetValue.path = assetValue.path.substr(STRING_PREFIX_LEN); in GetAssetValue()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | unified_data_helper.cpp | 189 std::string path = fileUri.GetRealPath(); in LoadUDataFromFile() local 190 std::FILE *file = fopen(path.c_str(), "r"); in LoadUDataFromFile() 195 path.c_str()); in LoadUDataFromFile()
|
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_asset_test.cpp | 140 * 4.Execute SetPath (nullptr, path.c_str())
151 errCode = OH_Data_Asset_SetPath(nullptr, "path");
in HWTEST_F() 241 int errCode = OH_Data_Asset_SetPath(asset, "path");
in HWTEST_F() 243 char path[10] = "";
in HWTEST_F() local 245 errCode = OH_Data_Asset_GetPath(nullptr, path, &pathLength);
in HWTEST_F() 250 errCode = OH_Data_Asset_GetPath(asset, path, &pathLength);
in HWTEST_F()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
H A D | cloud_sync_common.cpp | 76 if (!parcel.WriteString(path)) { in Marshalling() 77 LOGE("failed to write download path"); in Marshalling() 250 if (!parcel.ReadString(path)) { in ReadFromParcel() 251 LOGE("failed to read download path"); in ReadFromParcel() 287 std::string pathAnony = GetAnonyString(path); in to_string() 288 ss << "DownloadProgressObj [path: " << pathAnony; in to_string()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | truncate.cpp | 32 auto [isPath, path, ignore] = NVal(env, pathOrFdFromJsArg).ToUTF8StringPath(); in ParseJsFile() 34 return { true, FileInfo { true, move(path), {} } }; in ParseJsFile() 60 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), O_RDWR, in TruncateCore() 73 HILOGE("Failed to truncate file by path"); in TruncateCore()
|
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/ |
H A D | b_file.cpp | 103 HILOGI("failed to real path for the file %{public}s", from.c_str()); in CopyFile() 118 HILOGE("failed to real path for %{public}s", to.c_str()); in CopyFile() 145 bool BFile::GetRealPath(const string &path, string &realPath) in GetRealPath() argument 150 HILOGE("Failed to call path memset_s, err = %{public}d", ret); in GetRealPath() 153 if (!realpath(path.c_str(), tmpPath.get())) { in GetRealPath() 154 HILOGE("failed to real path for the file %{public}s, errno: %{public}d", in GetRealPath() 155 GetAnonyPath(path).c_str(), errno); in GetRealPath() 165 HILOGE("from or to path err (Exceeding the maximum length)"); in MoveFile()
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_function_test.cpp | 187 const char *path = "test"; in HWTEST_F() local 188 EXPECT_EQ(DHCP_OPT_SUCCESS, CreateDirs(path, S_IRWXU)); in HWTEST_F() 189 rmdir(path); in HWTEST_F()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_napi/ |
H A D | js_path.h | 23 #include "draw/path.h" 29 explicit JsPath(Path* path) : m_path(path) {}; in JsPath() argument 35 static napi_value CreateJsPath(napi_env env, Path* path);
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_generic.h | 20 /* Widget connection path 25 * idx[i] contains the source index number to select on of the widget path[i]; 26 * e.g. idx[1] is the index of the DAC (path[0]) selected by path[1] widget 43 hda_nid_t path[MAX_NID_PATH_DEPTH]; member 49 bool pin_fixed:1; /* path with fixed pin */ 176 /* path list */ 179 /* path indices */ 256 /* badness tables for output path evaluations */ 325 int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path); [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | main.h | 116 char *path; member 163 int open_obj_pinned(const char *path, bool quiet); 164 int open_obj_pinned_any(const char *path, enum bpf_obj_type exp_type);
|