/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | offscreen_canvas_rendering_context_2d_model_ng.cpp | 158 std::string OffscreenCanvasRenderingContext2DModelNG::GetJsonData(const std::string& path) in GetJsonData() argument 296 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetFillRuleForPath2D() 300 pattern_->Fill(path); in SetFillRuleForPath2D() 304 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetStrokeRuleForPath2D() 309 pattern_->Stroke(path); in SetStrokeRuleForPath2D() 328 const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) in SetClipRuleForPath2D() 332 pattern_->Clip(path); in SetClipRuleForPath2D() 295 SetFillRuleForPath2D( const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) SetFillRuleForPath2D() argument 303 SetStrokeRuleForPath2D( const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) SetStrokeRuleForPath2D() argument 327 SetClipRuleForPath2D( const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) SetClipRuleForPath2D() argument
|
/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | rosen_render_button.cpp | 327 RSRecordingPath path; in DrawLineProgressAnimation() local 328 path.AddArc(RSRect(offsetX, offsetY, buttonSize_.Height() + offsetX, buttonSize_.Height() + offsetY), in DrawLineProgressAnimation() 331 path.AddArc(RSRect(progressWidth_ + offsetX, offsetY, in DrawLineProgressAnimation() 335 path.AddRect(RSRect(radius + offsetX, offsetY, buttonSize_.Width() - radius + offsetX, in DrawLineProgressAnimation() 338 path.AddArc(RSRect((buttonSize_.Width() - radius) * 2.0 - progressWidth_ + offsetX, offsetY, in DrawLineProgressAnimation() 342 path.AddRect( in DrawLineProgressAnimation() 350 canvas->DrawPath(path); in DrawLineProgressAnimation()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | pen_test.cpp | 20 #include "draw/path.h" 123 Path path; in TestPenMiterLimit() local 124 path.MoveTo(a.GetX(), a.GetY()); in TestPenMiterLimit() 125 path.LineTo(c.GetX(), c.GetY()); in TestPenMiterLimit() 126 path.LineTo(b.GetX(), b.GetY()); in TestPenMiterLimit() 127 canvas.AttachPen(pen).DrawPath(path); in TestPenMiterLimit() 133 canvas.AttachPen(pen).DrawPath(path); in TestPenMiterLimit() 139 canvas.AttachPen(pen).DrawPath(path); in TestPenMiterLimit()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/ |
H A D | tools_op_incremental_restore_test.cpp | 59 vector<string> path = { localCap.data() };
in HWTEST_F() local 60 mapArgToVal.insert(make_pair("pathCapFile", path));
in HWTEST_F() 112 vector<string> path = {"/data/backup/tmp"};
in HWTEST_F() local 130 mapArgToVal.insert(make_pair("pathCapFile", path));
in HWTEST_F() 139 mapArgToVal.insert(make_pair("pathCapFile", path));
in HWTEST_F() 176 vector<string> path = {"/data/backup/tmp"};
in HWTEST_F() local 178 mapArgToVal.insert(make_pair("pathCapFile", path));
in HWTEST_F() 731 {"pathCapFile", {"path"}},
in HWTEST_F() 784 {"pathCapFile", {"path"}},
in HWTEST_F() 812 {"pathCapFile", {"path"}},
in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | cfm.c | 210 /* we can extend the requested path checking !!) */ in cfm() 249 * to the primary path. in cfm() 577 char *path ; in cem_build_path() local 583 path = smc->s.sas ? path_iso_s : path_iso ; in cem_build_path() 587 path = path_wrap_a ; in cem_build_path() 591 path = path_wrap_b ; in cem_build_path() 595 path = path_thru ; in cem_build_path() 599 path = path_wrap_s ; in cem_build_path() 603 memcpy(to,path,len) ; in cem_build_path()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | qcom-geni-se.c | 751 se->icc_paths[i].path = devm_of_icc_get(se->dev, icc_names[i]); in geni_icc_get() 752 if (IS_ERR(se->icc_paths[i].path)) in geni_icc_get() 759 err = PTR_ERR(se->icc_paths[i].path); in geni_icc_get() 761 dev_err_ratelimited(se->dev, "Failed to get ICC path '%s': %d\n", in geni_icc_get() 773 ret = icc_set_bw(se->icc_paths[i].path, in geni_icc_set_bw() 776 dev_err_ratelimited(se->dev, "ICC BW voting failed on path '%s': %d\n", in geni_icc_set_bw() 791 icc_set_tag(se->icc_paths[i].path, tag); in geni_icc_set_tag() 801 ret = icc_enable(se->icc_paths[i].path); in geni_icc_enable() 803 dev_err_ratelimited(se->dev, "ICC enable failed on path '%s': %d\n", in geni_icc_enable() 818 ret = icc_disable(se->icc_paths[i].path); in geni_icc_disable() [all...] |
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 322 int port_id, int path, int topology, in q6adm_device_open() 347 open->mode_of_operation = path; in q6adm_device_open() 372 * @path: playback or capture path. 383 struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate, in q6adm_open() argument 422 ret = q6adm_device_open(adm, copp, port_id, path, topology, in q6adm_open() 453 * @path: playback or capture path. 459 int q6adm_matrix_map(struct device *dev, int path, in q6adm_matrix_map() argument 492 switch (path) { in q6adm_matrix_map() 321 q6adm_device_open(struct q6adm *adm, struct q6copp *copp, int port_id, int path, int topology, int channel_mode, int bit_width, int rate) q6adm_device_open() argument [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | dfs.c | 15 * @full_path: full path in UNC format. 26 char *path; in dfs_parse_target_referral() local 41 path = cifs_build_devname(ref->node_name, prepath); in dfs_parse_target_referral() 42 if (IS_ERR(path)) in dfs_parse_target_referral() 43 return PTR_ERR(path); in dfs_parse_target_referral() 45 rc = smb3_parse_devname(path, ctx); in dfs_parse_target_referral() 49 rc = dns_resolve_server_name_to_ip(path, (struct sockaddr *)&ctx->dstaddr, NULL); in dfs_parse_target_referral() 52 kfree(path); in dfs_parse_target_referral() 306 * Skip prefix path to provide support for DFS referrals from w2k8 servers which don't seem in dfs_mount_share() 330 /* Update dfs referral path o [all...] |
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | qcom-geni-se.c | 92 * @to_core: Core ICC path 815 se->icc_paths[i].path = devm_of_icc_get(se->dev, icc_names[i]); in geni_icc_get() 816 if (IS_ERR(se->icc_paths[i].path)) in geni_icc_get() 823 err = PTR_ERR(se->icc_paths[i].path); in geni_icc_get() 825 dev_err_ratelimited(se->dev, "Failed to get ICC path '%s': %d\n", in geni_icc_get() 837 ret = icc_set_bw(se->icc_paths[i].path, in geni_icc_set_bw() 840 dev_err_ratelimited(se->dev, "ICC BW voting failed on path '%s': %d\n", in geni_icc_set_bw() 855 icc_set_tag(se->icc_paths[i].path, tag); in geni_icc_set_tag() 865 ret = icc_enable(se->icc_paths[i].path); in geni_icc_enable() 867 dev_err_ratelimited(se->dev, "ICC enable failed on path ' in geni_icc_enable() [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | cfm.c | 210 /* we can extend the requested path checking !!) */ in cfm() 249 * to the primary path. in cfm() 577 char *path ; in cem_build_path() local 583 path = smc->s.sas ? path_iso_s : path_iso ; in cem_build_path() 587 path = path_wrap_a ; in cem_build_path() 591 path = path_wrap_b ; in cem_build_path() 595 path = path_thru ; in cem_build_path() 599 path = path_wrap_s ; in cem_build_path() 603 memcpy(to,path,len) ; in cem_build_path()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_counter.c | 317 char path[PATH_MAX]; in bperf_lock_attr_map() local 321 scnprintf(path, PATH_MAX, "%s", target->attr_map); in bperf_lock_attr_map() 323 scnprintf(path, PATH_MAX, "%s/fs/bpf/%s", sysfs__mountpoint(), in bperf_lock_attr_map() 327 if (access(path, F_OK)) { in bperf_lock_attr_map() 335 err = bpf_obj_pin(map_fd, path); in bperf_lock_attr_map() 339 map_fd = bpf_obj_get(path); in bperf_lock_attr_map() 344 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
|
/kernel/liteos_a/fs/proc/src/ |
H A D | proc_file.c | 92 * path: the file of fullpath 96 struct ProcDirEntry *ProcFindEntry(const char *path) in ProcFindEntry() argument 105 const char *name = path; in ProcFindEntry() 124 next = strchr(path, '/'); in ProcFindEntry() 127 if (strcmp(path, pn->name) == 0) { in ProcFindEntry() 138 len = next - path; in ProcFindEntry() 146 if (ProcMatch(len, path, pn)) { in ProcFindEntry() 148 path += len + 1; in ProcFindEntry()
|
/kernel/linux/linux-6.6/tools/bpf/resolve_btfids/ |
H A D | main.c | 115 const char *path; member 337 fd = open(obj->path, O_RDWR, 0666); in elf_collect() 340 obj->path, strerror(errno)); in elf_collect() 544 btf = btf__parse_split(obj->btf ?: obj->path, base_btf); in symbols_resolve() 548 obj->btf ?: obj->path, strerror(-err)); in symbols_resolve() 755 err >= 0 ? "ok" : "failed", obj->path); in symbols_patch() 783 "path of file providing base BTF"), in main() 793 obj.path = argv[0]; in main()
|
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 322 int port_id, int path, int topology, in q6adm_device_open() 347 open->mode_of_operation = path; in q6adm_device_open() 372 * @path: playback or capture path. 383 struct q6copp *q6adm_open(struct device *dev, int port_id, int path, int rate, in q6adm_open() argument 422 ret = q6adm_device_open(adm, copp, port_id, path, topology, in q6adm_open() 453 * @path: playback or capture path. 459 int q6adm_matrix_map(struct device *dev, int path, in q6adm_matrix_map() argument 492 switch (path) { in q6adm_matrix_map() 321 q6adm_device_open(struct q6adm *adm, struct q6copp *copp, int port_id, int path, int topology, int channel_mode, int bit_width, int rate) q6adm_device_open() argument [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | foomaticrip.c | 185 /* What path to use for filter programs and such in config_set_option() 187 * Your printer driver must be in the path, as must be the renderer, in config_set_option() 188 * and possibly other stuff. The default path is often fine on Linux, in config_set_option() 788 const char *path; in main() local 1028 path = cupsfilterpath; in main() 1029 while ((path = strncpy_tochar(tmp, path, 1024, ":"))) { in main() 1055 path = cupsfilterpath; in main() 1056 while ((path = strncpy_tochar(tmp, path, 102 in main() [all...] |
/third_party/icu/tools/unicode/c/genprops/ |
H A D | pnamesbuilder.cpp | 293 virtual void writeCSourceFile(const char *path, UErrorCode &errorCode); 294 virtual void writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode); 465 PNamesBuilderImpl::writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode) { in writeBinaryData() argument 467 UNewDataMemory *pdata=udata_create(path, PNAME_DATA_TYPE, PNAME_DATA_NAME, &dataInfo, in writeBinaryData() 471 path, u_errorName(errorCode)); in writeBinaryData() 490 PNamesBuilderImpl::writeCSourceFile(const char *path, UErrorCode &errorCode) { in writeCSourceFile() argument 492 FILE *f=usrc_create(path, "propname_data.h", 2016, in writeCSourceFile()
|
H A D | corepropsbuilder.cpp | 327 virtual void writeCSourceFile(const char *path, UErrorCode &errorCode); 328 virtual void writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode); 879 CorePropsBuilder::writeCSourceFile(const char *path, UErrorCode &errorCode) { in writeCSourceFile() argument 886 FILE *f=usrc_create(path, "uchar_props_data.h", 2016, in writeCSourceFile() 940 CorePropsBuilder::writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode) { in writeBinaryData() argument 947 UNewDataMemory *pData=udata_create(path, "icu", "uprops", &dataInfo, in writeBinaryData() 951 path, u_errorName(errorCode)); in writeBinaryData()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io_to_vector.c | 366 nir_deref_path path; in build_array_deref_of_new_var_flat() local 367 nir_deref_path_init(&path, leader, NULL); in build_array_deref_of_new_var_flat() 369 assert(path.path[0]->deref_type == nir_deref_type_var); in build_array_deref_of_new_var_flat() 370 nir_deref_instr *p = path.path[1]; in build_array_deref_of_new_var_flat() 371 nir_deref_path_finish(&path); in build_array_deref_of_new_var_flat()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ast.h | 80 locp.path = this->location.path; in get_location() 97 this->location.path = locp.path; in set_location() 112 this->location.path = begin.path; in set_location_range() 124 char *path; /**< GLSL shader include path. */ member
|
/third_party/musl/porting/linux/user/src/hook/ |
H A D | musl_preinit.c | 10 The path is added with two quotation marks because a quotation mark is a special charcter, 107 static int parse_hook_variable(enum EnumHookMode* mode, char* path, int size) in parse_hook_variable() argument 109 if (!mode || !path || size <= 0) { in parse_hook_variable() 117 path[0] = '\0'; in parse_hook_variable() 143 path[idx++] = *ptr++; in parse_hook_variable() 145 path[idx] = '\0'; in parse_hook_variable() 149 path[idx++] = *ptr++; in parse_hook_variable() 151 path[idx] = '\0'; in parse_hook_variable()
|
/third_party/musl/src/hook/linux/ |
H A D | musl_preinit.c | 25 The path is added with two quotation marks because a quotation mark is a special charcter, 122 static int parse_hook_variable(enum EnumHookMode* mode, char* path, int size) in parse_hook_variable() argument 124 if (!mode || !path || size <= 0) { in parse_hook_variable() 132 path[0] = '\0'; in parse_hook_variable() 158 path[idx++] = *ptr++; in parse_hook_variable() 160 path[idx] = '\0'; in parse_hook_variable() 164 path[idx++] = *ptr++; in parse_hook_variable() 166 path[idx] = '\0'; in parse_hook_variable()
|
/third_party/node/deps/openssl/openssl/crypto/dso/ |
H A D | dso_win32.c | 67 static int win32_pathbyaddr(void *addr, char *path, int sz); 503 static int win32_pathbyaddr(void *addr, char *path, int sz) in win32_pathbyaddr() argument 574 path, sz, NULL, NULL); in win32_pathbyaddr() 583 path[i] = (char)me32.szExePath[i]; in win32_pathbyaddr() 584 path[len++] = '\0'; in win32_pathbyaddr() 595 memcpy(path, me32.szExePath, len); in win32_pathbyaddr() 596 path[len++] = '\0'; in win32_pathbyaddr()
|
/third_party/node/deps/uv/src/unix/ |
H A D | process.c | 654 const char *path; in uv__spawn_resolve_and_spawn() local 660 path = NULL; in uv__spawn_resolve_and_spawn() 686 path = uv__spawn_find_path_in_env(env); in uv__spawn_resolve_and_spawn() 692 /* If no path was provided in env, use the default value in uv__spawn_resolve_and_spawn() 694 if (path == NULL) in uv__spawn_resolve_and_spawn() 695 path = _PATH_DEFPATH; in uv__spawn_resolve_and_spawn() 701 l = strnlen(path, PATH_MAX - 1) + 1; in uv__spawn_resolve_and_spawn() 703 for (p = path;; p = z) { in uv__spawn_resolve_and_spawn() 784 * already destroyed, only the happy path requires cleanup */ in uv__spawn_and_init_child_posix_spawn()
|
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-sample.c | 37 char *path; member 470 pa_assert_se(signal_msg = dbus_message_new_signal(sample_iface->path, in sample_cache_changed_cb() 492 s->path = pa_sprintf_malloc("%s/%s%u", PA_DBUS_CORE_OBJECT_PATH, OBJECT_NAME, sample->index); in pa_dbusiface_sample_new() 498 pa_assert_se(pa_dbus_protocol_add_interface(s->dbus_protocol, s->path, &sample_interface_info, s) >= 0); in pa_dbusiface_sample_new() 506 pa_assert_se(pa_dbus_protocol_remove_interface(s->dbus_protocol, s->path, sample_interface_info.name) >= 0); in pa_dbusiface_sample_free() 512 pa_xfree(s->path); in pa_dbusiface_sample_free() 519 return s->path; in pa_dbusiface_sample_get_path()
|
/third_party/python/Lib/ |
H A D | platform.py | 194 # We use os.path.realpath() 197 executable = os.path.realpath(executable) 416 if not os.path.exists(fn): 595 filepath = os.path.abspath(filepath) 596 while os.path.islink(filepath): 597 filepath = os.path.normpath( 598 os.path.join(os.path.dirname(filepath), os.readlink(filepath)))
|