Home
last modified time | relevance | path

Searched refs:path_ (Results 1 – 25 of 191) sorted by relevance

12345678

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drosen_render_bubble.cpp255 path_.reset(); in PaintTopBubbleInJs()
296 path_.close(); in PaintTopBubbleInJs()
316 path_.Reset(); in PaintTopBubbleInJs()
357 path_.Close(); in PaintTopBubbleInJs()
381 path_.reset(); in PaintBottomBubbleInJs()
422 path_.close(); in PaintBottomBubbleInJs()
442 path_.Reset(); in PaintBottomBubbleInJs()
515 path_.lineTo( in PaintTopBubble()
568 path_.LineTo( in PaintTopBubble()
628 path_.lineTo( in PaintBottomBubble()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drosen_render_tip.cpp101 path_.reset(); in PaintTopTip()
142 path_.close(); in PaintTopTip()
159 path_.Reset(); in PaintTopTip()
202 path_.Close(); in PaintTopTip()
204 canvas->DrawPath(path_); in PaintTopTip()
223 path_.reset(); in PaintLeftTip()
239 path_.lineTo( in PaintLeftTip()
265 path_.close(); in PaintLeftTip()
282 path_.Reset(); in PaintLeftTip()
299 path_.LineTo( in PaintLeftTip()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp50 FilePath::FilePath(const FilePath &that) : path_(that.path_) in FilePath()
62 path_ = that.path_; in operator =()
69 return path_ == that.path_; in operator ==()
74 return path_ != that.path_; in operator !=()
79 return path_ < that.path_; in operator <()
104 if (path_.empty()) { in GetComponents()
120 if (!base.path_.empty() && base.path_ != kCurrentDirectory) { in GetComponents()
205 return path_.length() > 0 && FilePath::IsSeparator(path_[0]); in IsAbsolute()
210 return path_; in Value()
427 if (path_.substr(path_.size()-ZIP_SIZE, ZIP_SIZE) == ZIP) { in CheckDestDirTail()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.cpp35 SkiaPath::SkiaPath(const SkiaPath& other) noexcept : path_(other.path_) {} in SkiaPath()
39 path_ = other.path_; in operator =()
63 path_.moveTo(x, y); in MoveTo()
69 path_.lineTo(x, y); in LineTo()
331 path_.transform(skMatrixImpl->ExportSkiaMatrix(), &dstPathImpl->path_, in TransformWithPerspectiveClip()
353 path_.offset(dx, dy, &dstPathImpl->path_); in Offset()
382 path_.reset(); in Reset()
388 path_.close(); in Close()
394 path_ = path; in SetPath()
400 return path_; in GetPath()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drosen_render_shape.cpp40 path_.reset(); in CalcSize()
97 path_.reset(); in CreateRect()
106 path_.Reset(); in CreateRect()
129 path_.reset(); in CreateCircle()
131 path_.Reset(); in CreateCircle()
149 path_.reset(); in CreateEllipse()
155 path_.Reset(); in CreateEllipse()
167 path_.reset(); in CreatePolygon()
183 path_.Reset(); in CreatePolygon()
207 path_.reset(); in CreatePath()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_path.cpp23 return path_; in GetPath()
28 path_ = path; in SetPath()
33 if (path_ != nullptr && oval.GetRect() != nullptr) { in AddOval()
34 path_->AddOval(*oval.GetRect(), static_cast<Drawing::PathDirection>(dir)); in AddOval()
41 if (path_ != nullptr) { in MoveTo()
42 path_->MoveTo(p.fX, p.fY); in MoveTo()
51 if (path_ != nullptr) { in QuadTo()
52 path_->QuadTo(pointL, pointR); in QuadTo()
59 if (path_ != nullptr) { in LineTo()
60 path_->LineTo(p.fX, p.fY); in LineTo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_graphic.h55 skCanvas_->drawPath(path_, tmpFillPaint); in OnGraphicFill()
58 skCanvas_->drawPath(path_, fillPaint_); in OnGraphicFill()
68 if (!path_.IsValid()) { in OnGraphicFill()
79 rsCanvas_->DrawPath(path_); in OnGraphicFill()
83 rsCanvas_->DrawPath(path_); in OnGraphicFill()
102 skCanvas_->drawPath(path_, strokePaint_); in OnGraphicStroke()
112 if (!path_.IsValid()) { in OnGraphicStroke()
123 rsCanvas_->DrawPath(path_); in OnGraphicStroke()
127 rsCanvas_->DrawPath(path_); in OnGraphicStroke()
156 SkPath path_; variable
[all …]
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dpreferences_util.cpp36 return NativePreferences::PreferencesHelper::DeletePreferences(path_); in DeleteProfiles()
41 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString()
52 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString()
61 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt()
72 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt()
81 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool()
92 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool()
101 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong()
112 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong()
121 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveFloat()
[all …]
/ohos5.0/base/theme/screenlock_mgr/utils/src/
H A Dpreferences_util.cpp35 return NativePreferences::PreferencesHelper::DeletePreferences(path_); in DeleteProfiles()
40 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString()
51 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString()
60 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt()
71 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt()
80 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool()
91 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool()
100 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong()
111 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong()
120 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveFloat()
[all …]
/ohos5.0/base/telephony/core_service/utils/preferences/src/
H A Dtel_profile_util.cpp31 return NativePreferences::PreferencesHelper::DeletePreferences(path_); in DeleteProfiles()
36 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveString()
47 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainString()
56 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveInt()
67 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainInt()
76 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveBool()
87 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainBool()
96 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveLong()
107 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in ObtainLong()
116 std::shared_ptr<NativePreferences::Preferences> ptr = GetProfiles(path_, errCode_); in SaveFloat()
[all …]
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/
H A Dringtone_scanner.cpp111 path_ = path; in RingtoneScannerObj()
203 path_ = move(realPath); in BootScan()
377 path_ = path; in ScanFileInTraversal()
378 if (RingtoneScannerUtils::IsFileHidden(path_)) { in ScanFileInTraversal()
415 if (path_.empty()) { in GetFileMetadata()
419 if (stat(path_.c_str(), &statInfo) != 0) { in GetFileMetadata()
505 if (path_.find(pair.first) == 0) { in BuildData()
512 data_->SetData(path_); in BuildData()
552 if (path_.find(pair.first) == 0) { in BuildVibrateData()
573 if (path_.find(pair.first) == 0) { in BuildVibrateData()
[all …]
/ohos5.0/base/hiviewdfx/hiview/base/logstore/
H A Dlog_store_ex.cpp42 path_(path) in LogStoreEx()
47 if (!FileUtil::FileExists(path_)) { in Init()
48 FileUtil::ForceCreateDirectory(path_); in Init()
49 FileUtil::ChangeModeDirectory(path_, DEFAULT_LOG_DIR_MODE); in Init()
71 return path_; in GetPath()
78 FileUtil::GetDirFiles(path_, fileVec); in GetLogFiles()
107 if (!FileUtil::ForceRemoveDirectory(path_)) { in Clear()
121 FileUtil::RemoveFile(it->path_); in DoDeleteLogFiles()
130 auto size = FileUtil::GetFolderSize(path_); in ClearOldestFilesIfNeeded()
159 auto path = path_ + "/" + name; in CreateLogFile()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dmotion_path_option.h27 : path_(path), begin_(begin), end_(end), rotate_(rotate)
33 path_ = path; in SetPath()
37 return path_; in GetPath()
72 return !path_.empty(); in IsValid()
77 return (path_ == other.path_ &&
84 std::string path_;
H A Danimatable_path.h31 : path_(path), animationOption_(option) {}
42 return path_; in GetValue()
47 path_ = path; in SetValue()
68 std::string path_; variable
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dmapped_file.cpp54 path_ = canonicalPath; in NormalizePath()
73 if (!FileExists(path_)) { in NormalizeSize()
87 if (stat(path_.c_str(), &stb) != 0) { in NormalizeSize()
278 if (stat(path_.c_str(), &stb) != 0) { in SyncFileSize()
298 if (stat(path_.c_str(), &stb) != 0) { in Resize()
377 int ret = stat(path_.c_str(), &stb); in TurnNext()
445 path_ = ""; in Reset()
493 …isNormed_(other.isNormed_), isNewFile_(other.isNewFile_), path_(std::move(other.path_)), size_(oth… in MappedFile()
510 path_ = other.path_; in operator =()
557 if (path_ != val) { in ChangePath()
[all …]
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/process_group/src/
H A Dcgroup_controller.cpp36 path_ = path; in CgroupController()
63 : name_(std::move(controller.name_)), path_(std::move(controller.path_)), in CgroupController()
69 path_ = std::move(controller.path_); in operator =()
77 std::string filePath(path_ + "/tasks"); in IsEnabled()
142 filePath = StringPrintf("%s/tasks", path_.c_str()); in AddThreadSchedPolicy()
144 filePath = StringPrintf("%s/%s/tasks", path_.c_str(), subgroup.c_str()); in AddThreadSchedPolicy()
164 filePath = StringPrintf("%s/cgroup.procs", path_.c_str()); in AddThreadGroupSchedPolicy()
166 filePath = StringPrintf("%s/%s/cgroup.procs", path_.c_str(), subgroup.c_str()); in AddThreadGroupSchedPolicy()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp50 path_ = path; in MediaScannerObj()
151 return callback_->OnScanFinished(err, uri_, path_); in InvokeCallback()
503 data_->SetFilePath(path_); in BuildData()
533 ParseLivePhoto(path_, data_); in BuildData()
539 if (path_.empty()) { in GetFileMetadata()
546 if (stat(path_.c_str(), &statInfo) != 0) { in GetFileMetadata()
570 if (ScannerUtils::IsFileHidden(path_)) { in ScanFileInternal()
588 string parent = ScannerUtils::GetParentPath(path_); in ScanFileInternal()
653 path_ = path; in ScanFileInTraversal()
654 if (ScannerUtils::IsFileHidden(path_)) { in ScanFileInTraversal()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dimage.cpp36 CacheManager::GetInstance().Close(path_); in ~Image()
41 if (path_ != nullptr) { in ~Image()
42 UIFree(reinterpret_cast<void*>(path_)); in ~Image()
43 path_ = nullptr; in ~Image()
131 path_ = imagePath; in SetStandardSrc()
185 path_ = imagePath; in SetLiteSrc()
192 if (path_ != nullptr) { in SetSrc()
193 UIFree(reinterpret_cast<void*>(path_)); in SetSrc()
194 path_ = nullptr; in SetSrc()
241 if (path_ != nullptr) { in PreParse()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/
H A Dvolume_external.cpp42 path_ = path; in SetPath()
76 return path_; in GetPath()
86 path_ = ""; in Reset()
107 if (!parcel.WriteString(path_)) { in Marshalling()
124 obj->path_ = parcel.ReadString(); in Unmarshalling()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_text_path.cpp36 double length = RosenSvgPainter::GetPathLength(path_); in PaintTextPath()
38 PathOffset pathOffset = { offset, startOffset, startOffset, path_ }; in PaintTextPath()
41 return RosenSvgPainter::GetPathOffset(path_, pathOffset.current); in PaintTextPath()
46 double length = RosenSvgPainter::GetPathLength(path_); in MeasureTextPathBounds()
48 PathOffset pathOffset = { offset, startOffset, startOffset, path_ }; in MeasureTextPathBounds()
65 return RosenSvgPainter::GetPathOffset(path_, pathOffset.current); in MeasureTextPathBounds()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_canvas.cpp59 if (path_ != nullptr && path_->strokeCount_ == 0) { in BeginPath()
60 delete path_; in BeginPath()
61 path_ = nullptr; in BeginPath()
86 if ((path_->cmd_.Size() != 0) && (path_->cmd_.Tail()->data_ == CMD_MOVE_TO)) { in MoveTo()
237 if ((path_ == nullptr) || (path_->cmd_.Size() == 0)) { in ClosePath()
241 path_->points_.PushBack(path_->startPos_); in ClosePath()
248 if ((path_ != nullptr) && (path_->strokeCount_ == 0)) { in ~UICanvas()
249 delete path_; in ~UICanvas()
269 if ((path_ != nullptr) && (path_->strokeCount_ == 0)) { in Clear()
270 delete path_; in Clear()
[all …]
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
H A Dalgo_plugin.cpp24 path_ = path; in AlgoPlugin()
174 if (path_.size() == 0) { in LoadLib()
179 uint32_t ret = CheckLibPath(path_.c_str()); in LoadLib()
181 CAMERA_LOGE("lib path:%{public}s is error.", path_.c_str()); in LoadLib()
185 algoHandler_->handle = ::dlopen(path_.c_str(), RTLD_NOW); in LoadLib()
187 CAMERA_LOGE("dlopen %{public}s failed, %{public}s", path_.c_str(), ::dlerror()); in LoadLib()
233 CAMERA_LOGE("dlclose %{public}s failed", path_.c_str()); in UnloadLib()
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/src/
H A Duri.cpp62 path_ = NOT_CACHED; in Uri()
312 if (path_ == NOT_CACHED) { in GetPath()
313 path_ = ParsePath(); in GetPath()
315 return path_; in GetPath()
323 if (path_ == NOT_CACHED) { in GetPathSegments()
324 path_ = ParsePath(); in GetPathSegments()
329 while ((current = path_.find(LEFT_SEPARATOR, previous)) != std::string::npos) { in GetPathSegments()
331 segments.emplace_back(path_.substr(previous, current - previous)); in GetPathSegments()
336 if (previous < path_.length()) { in GetPathSegments()
337 segments.emplace_back(path_.substr(previous)); in GetPathSegments()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/
H A Dsoftbus_session_name.h26 explicit SoftbusSessionName(std::string path) : path_(path) {} in SoftbusSessionName()
30 return prefix + path_; in ToString()
35 std::string path_; variable
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A Ddumper_opts.cpp64 path_.clear(); // for zip in Reset()
108 path_ = opts.path_; in operator =()
145 return DumpCommonUtils::StartWith(path_, PATH_SEPARATOR); in IsDumpZip()
201 std::string path = TrimStr(path_); in CheckOptions()
203 errStr = path_; in CheckOptions()

12345678