Home
last modified time | relevance | path

Searched refs:path (Results 5176 - 5200 of 12289) sorted by relevance

1...<<201202203204205206207208209210>>...492

/third_party/python/Objects/
H A Dfileobject.c500 PyFile_OpenCodeObject(PyObject *path) in PyFile_OpenCodeObject() argument
504 if (!PyUnicode_Check(path)) { in PyFile_OpenCodeObject()
505 PyErr_Format(PyExc_TypeError, "'path' must be 'str', not '%.200s'", in PyFile_OpenCodeObject()
506 Py_TYPE(path)->tp_name); in PyFile_OpenCodeObject()
512 f = hook(path, _PyRuntime.open_code_userdata); in PyFile_OpenCodeObject()
516 f = _PyObject_CallMethod(iomod, &_Py_ID(open), "Os", path, "rb"); in PyFile_OpenCodeObject()
/third_party/skia/modules/androidkit/src/
H A DCanvas.cpp99 if (auto* path = reinterpret_cast<SkPath*>(native_path)) { in Canvas_ClipPath()
100 canvas->clipPath(*path, static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipPath()
161 auto* path = reinterpret_cast<SkPath* >(native_path); in Canvas_DrawPath() local
163 if (canvas && paint && path) { in Canvas_DrawPath()
164 canvas->drawPath(*path, *paint); in Canvas_DrawPath()
/third_party/skia/gm/
H A Danimated_gif.cpp193 SkString path; in AnimCodecPlayerGM() local
194 while (iter.next(&path)) { in AnimCodecPlayerGM()
196 completepath.printf("%s%s", root, path.c_str()); in AnimCodecPlayerGM()
294 AnimCodecPlayerExifGM(const char* path) in AnimCodecPlayerExifGM() argument
295 : fPath(path) in AnimCodecPlayerExifGM()
H A Dtexteffects.cpp222 SkPath path; in draw_blob_adorned() local
223 path.moveTo({0, y}); in draw_blob_adorned()
225 path.lineTo(intervals[i], y).moveTo(intervals[i+1], y); in draw_blob_adorned()
228 path.lineTo(end, y); in draw_blob_adorned()
234 canvas->drawPath(path, paint); in draw_blob_adorned()
H A Dtrickycubicstrokes.cpp162 SkPath path = SkPath().moveTo(p[0]); in draw_test() local
164 path.cubicTo(p[1], p[2], p[3]); in draw_test()
167 path.quadTo(p[1], p[2]); in draw_test()
170 path.conicTo(p[1], p[2], w); in draw_test()
172 canvas->drawPath(path, strokePaint); in draw_test()
208 // Only allow the tessellation path renderer.
/third_party/rust/crates/rustix/tests/io/
H A Dread_write.rs13 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_pv()
51 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_p()
76 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_v()
103 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite()
157 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_pwritev2()
/third_party/vulkan-loader/scripts/
H A Dloader_genvk.py356 # default scripts path to be same as registry
358 args.scripts = os.path.dirname(args.registry)
361 scripts_dir = os.path.dirname(os.path.abspath(__file__))
362 registry_dir = os.path.join(scripts_dir, args.scripts)
363 sys.path.insert(0, registry_dir)
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/rust/
H A Dsa_rust_interface_code_emitter.cpp127 std::string path = TrimDot(fpnp); in GeneratePath() local
128 if (path.empty()) { in GeneratePath()
131 return StringHelper::Replace(path, ".", "::"); in GeneratePath()
134 std::string path = TrimDot(fpnp.substr(0, pos + 1)); in GeneratePath() local
136 if (path.empty()) { in GeneratePath()
140 if ((path.find("..") != std::string::npos) || (file.find("..") != std::string::npos)) { in GeneratePath()
145 realPath.Append(StringHelper::Replace(path, ".", "::")).Append("::{"); in GeneratePath()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/
H A Doffscreen_canvas_rendering_context_2d_model_impl.cpp145 std::string OffscreenCanvasRenderingContext2DModelImpl::GetJsonData(const std::string& path) in GetJsonData() argument
283 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D()
287 pattern_->Fill(path); in SetFillRuleForPath2D()
291 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D()
295 pattern_->Stroke(path); in SetStrokeRuleForPath2D()
313 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D()
317 pattern_->Clip(path); in SetClipRuleForPath2D()
282 SetFillRuleForPath2D( const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) SetFillRuleForPath2D() argument
290 SetStrokeRuleForPath2D( const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) SetStrokeRuleForPath2D() argument
312 SetClipRuleForPath2D( const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) SetClipRuleForPath2D() argument
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_bitmap.cpp82 int8_t UIFontBitmap::SetFontPath(const char* path, FontType type) in SetFontPath() argument
84 if ((path == nullptr) || (type != DYNAMIC_FONT)) { in SetFontPath()
89 int32_t fontFd = open(path, O_RDONLY | O_BINARY); in SetFontPath()
91 int32_t fontFd = open(path, O_RDONLY); in SetFontPath()
98 int32_t ret = dynamicFont_.SetFile(path, fontFd, offset_, GlyphCacheType::CACHE_TYPE_DYNAMIC); in SetFontPath()
203 int8_t UIFontBitmap::GetFontVersion(FontType type, const char* path, char* version, uint8_t len) in GetFontVersion() argument
208 return dynamicFont_.GetFontVersion(path, version, len); in GetFontVersion()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_path_animation.cpp37 RSPathAnimation::RSPathAnimation(std::shared_ptr<RSPropertyBase> property, const std::string& path, in RSPathAnimation() argument
39 : RSPathAnimation(property, PreProcessPath(path, startValue, endValue)) in RSPathAnimation()
59 ROSEN_LOGE("Failed to enable rotate, path animation has started!"); in SetRotationMode()
74 ROSEN_LOGE("Failed to set begin fraction, path animation has started!"); in SetBeginFraction()
94 ROSEN_LOGE("Failed to set end fraction, path animation has started!"); in SetEndFraction()
114 ROSEN_LOGE("Failed to set need Add Origin, path animation has started!"); in SetPathNeedAddOrigin()
129 ROSEN_LOGE("Failed to start path animation, path is null!"); in OnStart()
173 ROSEN_LOGE("Failed to update interpolation value, path is null!"); in InitInterpolationValue()
303 ROSEN_LOGD("SVG path in ReplaceSubString()
306 ProcessPath(const std::string& path, const float startX, const float startY, const float endX, const float endY) const ProcessPath() argument
317 PreProcessPath(const std::string& path, const std::shared_ptr<RSPropertyBase>& startValue, const std::shared_ptr<RSPropertyBase>& endValue) const PreProcessPath() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_photo_operations.h45 EXPORT static void DeleteRevertMessage(const std::string &path);
49 EXPORT static int32_t ProcessMultistagesPhoto(bool isEdited, const std::string &path,
54 EXPORT static int32_t ProcessMultistagesPhotoForPicture(bool isEdited, const std::string &path,
56 EXPORT static int32_t Save(bool isEdited, const std::string &path,
68 EXPORT static int32_t ProcessMultistagesVideo(bool isEdited, const std::string &path);
69 EXPORT static int32_t RemoveTempVideo(const std::string &path);
89 const std::string &path, const std::string &sourceVideoPath, int32_t subtype);
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_restore_base.cpp227 string path = {}; in GetRestoreDir() local
229 path = RINGTONE_RESTORE_DIR + "/" + "alarms"; in GetRestoreDir()
231 path = RINGTONE_RESTORE_DIR + "/" + "ringtones"; in GetRestoreDir()
233 path = RINGTONE_RESTORE_DIR + "/" + "notifications"; in GetRestoreDir()
235 path = {}; in GetRestoreDir()
237 return path; in GetRestoreDir()
299 std::string srcFilePath = dirEntry.path(); in MoveDirectory()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dbackup_manager.cpp71 void BackupManager::Prepare(const std::string &path, const std::string &storeId) in Prepare() argument
73 std::string topPath = path + BACKUP_TOP_PATH; in Prepare()
158 std::string path = baseDir + BACKUP_TOP_PATH + "/" + storeId; in GetBackupFileInfo() local
161 auto files = StoreUtil::GetFiles(path); in GetBackupFileInfo()
224 std::string path = baseDir + BACKUP_TOP_PATH + "/" + storeId; in DeleteBackup() local
225 auto fileInfos = StoreUtil::GetFiles(path); in DeleteBackup()
238 it->second = (StoreUtil::Remove(path + "/" + info.name)) ? SUCCESS : ERROR; in DeleteBackup()
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_xml_utils_test.cpp67 std::string path = "/data/test/test_helper" + std::string(4096, 't'); in HWTEST_F() local
68 ret = PreferencesXmlUtils::ReadSettingXml(path, "", "", settings); in HWTEST_F()
135 std::string path = "/data/test/test_helper" + std::string(4096, 't'); in HWTEST_F() local
136 ret = PreferencesXmlUtils::ReadSettingXml(path, "", "", settings); in HWTEST_F()
144 path = "data/test/test_helper"; in HWTEST_F()
145 PreferencesXmlUtils::WriteSettingXml(path, "", "", settings); in HWTEST_F()
146 ret = PreferencesXmlUtils::ReadSettingXml(path, "", "", settings); in HWTEST_F()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/copy_listener/
H A Dtrans_listener.cpp39 void TransListener::RmDir(const std::string &path) in RmDir() argument
41 HILOGI("RmDirm path : %{public}s", path.c_str()); in RmDir()
42 std::filesystem::path pathName(path); in RmDir()
133 HILOGW("Public or media path not copy"); in CopyFileFromSoftBus()
166 HILOGE("invalid file path"); in PrepareCopySession()
230 std::string TransListener::GetFileName(const std::string &path) in GetFileName() argument
232 auto pos = path.find_last_of('/'); in GetFileName()
234 HILOGE("invalid path"); in GetFileName()
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopydir.cpp46 HILOGE("Failed to copy file, the same path"); in AllowToCopy()
53 if (filesystem::path(src).parent_path() == dest) { in AllowToCopy()
54 HILOGE("Failed to copy file, src's parent path is dest"); in AllowToCopy()
89 static int MakeDir(const string &path) in MakeDir() argument
91 filesystem::path destDir(path); in MakeDir()
107 filesystem::path destFile(destPath); in RemoveFile()
110 HILOGE("Failed to remove file with path, error code: %{public}d", errCode.value()); in RemoveFile()
130 filesystem::path dstPath(dest); in CopyFile()
143 filesystem::path srcPat in CopyFile()
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/
H A Dtools_op_incremental_backup_test.cpp54 vector<string> path = { localCap.data() }; in HWTEST_F() local
55 mapArgToVal.insert(make_pair("pathCapFile", path)); in HWTEST_F()
95 vector<string> path = {"/data/backup/tmp"}; in HWTEST_F() local
113 mapArgToVal.insert(make_pair("pathCapFile", path)); in HWTEST_F()
122 mapArgToVal.insert(make_pair("pathCapFile", path)); in HWTEST_F()
157 vector<string> path = {"/data/backup/tmp"}; in HWTEST_F() local
158 mapArgToVal.insert(make_pair("pathCapFile", path)); in HWTEST_F()
484 {"pathCapFile", {"path"}}, in HWTEST_F()
537 {"pathCapFile", {"path"}}, in HWTEST_F()
563 {"pathCapFile", {"path"}}, in HWTEST_F()
[all...]
/kernel/linux/linux-5.10/scripts/dtc/
H A Ddtx_diff29 -s SRCTREE linux kernel source tree is at path SRCTREE
53 and DTx utilizes '#include' or '/include/' then the path of the
62 may not work since \${ARCH} is part of the include path. The following
71 add the path of DTx_1 and DTx_2 to the include paths. If DTx_2 includes
72 a local file that exists in both the path of DTx_1 and DTx_2 then the
73 file in the path of DTx_1 will incorrectly be included. Possible
137 echo " architecture ${dtx_arch} is in file path," >&2
316 If \${KBUILD_OUTPUT} is a relative path, then '-s SRCDIR', -S, or run
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/
H A Dmain.c90 const char *path; member
307 fd = open(obj->path, O_RDWR, 0666); in elf_collect()
310 obj->path, strerror(errno)); in elf_collect()
482 btf = btf__parse(obj->btf ?: obj->path, NULL); in symbols_resolve()
486 obj->path, strerror(err)); in symbols_resolve()
664 err >= 0 ? "ok" : "failed", obj->path); in symbols_patch()
703 obj.path = argv[0]; in main()
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_tool_test.py32 def get_absolute_path(path):
33 return os.path.join(os.path.dirname(__file__), path)
69 kconfig_path = os.path.join(test_tmpdir, '.config')
290 path = get_absolute_path('test_data/test_is_test_passed-all_passed.log')
291 with open(path) as file:
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c89 const char *path, const char *token) in backend_changed()
91 xenbus_otherend_changed(watch, path, token, 1); in backend_changed()
178 const char *path, const char *token) in frontend_changed()
182 xenbus_dev_changed(path, &xenbus_frontend); in frontend_changed()
357 const char *path, const char *token) in xenbus_reset_backend_state_changed()
359 if (xenbus_scanf(XBT_NIL, path, "", "%i", in xenbus_reset_backend_state_changed()
363 path, xenbus_strstate(backend_state)); in xenbus_reset_backend_state_changed()
88 backend_changed(struct xenbus_watch *watch, const char *path, const char *token) backend_changed() argument
177 frontend_changed(struct xenbus_watch *watch, const char *path, const char *token) frontend_changed() argument
356 xenbus_reset_backend_state_changed(struct xenbus_watch *w, const char *path, const char *token) xenbus_reset_backend_state_changed() argument
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_event_perf.c306 char *path = NULL; in perf_uprobe_init() local
312 path = strndup_user(u64_to_user_ptr(p_event->attr.uprobe_path), in perf_uprobe_init()
314 if (IS_ERR(path)) { in perf_uprobe_init()
315 ret = PTR_ERR(path); in perf_uprobe_init()
318 if (path[0] == '\0') { in perf_uprobe_init()
323 tp_event = create_local_trace_uprobe(path, p_event->attr.probe_offset, in perf_uprobe_init()
341 kfree(path); in perf_uprobe_init()
/kernel/linux/linux-5.10/drivers/staging/hievent/
H A Dhiview_hievent.c204 static int append_array_item(char **pool, int pool_len, const char *path) in append_array_item() argument
208 if ((!path) || (path[0] == 0)) { in append_array_item()
209 pr_err("Bad path %s", __func__); in append_array_item()
213 if (strlen(path) > MAX_PATH_LEN) { in append_array_item()
214 pr_err("file path over max: %d", MAX_PATH_LEN); in append_array_item()
222 pool[i] = kstrdup(path, GFP_KERNEL); in append_array_item()
237 int hievent_add_filepath(struct hiview_hievent *event, const char *path) in hievent_add_filepath() argument
240 pr_err("Bad path %s", __func__); in hievent_add_filepath()
243 return append_array_item(event->file_path, MAX_PATH_NUMBER, path); in hievent_add_filepath()
[all...]
/kernel/linux/linux-6.6/fs/proc/
H A Dfd.c5 #include <linux/path.h>
169 static int proc_fd_link(struct dentry *dentry, struct path *path) in proc_fd_link() argument
181 *path = fd_file->f_path; in proc_fd_link()
349 const struct path *path, struct kstat *stat, in proc_fd_getattr()
352 struct inode *inode = d_inode(path->dentry); in proc_fd_getattr()
348 proc_fd_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) proc_fd_getattr() argument

Completed in 22 milliseconds

1...<<201202203204205206207208209210>>...492