/third_party/curl/lib/ |
H A D | smb.c | 372 char *path; member 438 /* Parse the URL path */ in smb_setup_connection() 713 if((strlen(req->path) + 1) > sizeof(msg.bytes)) in smb_send_open() 719 byte_count = strlen(req->path); in smb_send_open() 731 strcpy(msg.bytes, req->path); in smb_send_open() 1164 char *path; in smb_parse_url_path() local 1167 /* URL decode the path */ in smb_parse_url_path() 1168 CURLcode result = Curl_urldecode(data->state.up.path, 0, &path, NULL, in smb_parse_url_path() 1173 /* Parse the path fo in smb_parse_url_path() [all...] |
/third_party/backends/backend/ |
H A D | gphoto2.c | 132 static SANE_String TopFolder; /* Fixed part of path strings */ 750 if (strcmp (Cam_data.port, info.path) == 0) in sane_init() 1595 SANE_Char path[256]; in get_pictures_info() local 1606 strcpy (path, TopFolder); in get_pictures_info() 1611 strcat (path, "/"); in get_pictures_info() 1612 strcat (path, (const char *) folder_list[current_folder]); in get_pictures_info() 1615 num_pictures = read_dir (path, 1); in get_pictures_info() 1675 CameraFilePath path; in snap_pic() local 1694 CHECK_RET (gp_camera_capture (camera, GP_CAPTURE_IMAGE, &path, NULL)); in snap_pic() 1778 SANE_Char path[25 in read_info() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta.c | 444 radv_builtin_cache_path(char *path) in radv_builtin_cache_path() argument 454 ret = snprintf(path, PATH_MAX + 1, "%s%s%zd", xdg_cache_home, suffix, sizeof(void *) * 8); in radv_builtin_cache_path() 462 strcpy(path, pwd.pw_dir); in radv_builtin_cache_path() 463 strcat(path, "/.cache"); in radv_builtin_cache_path() 464 if (mkdir(path, 0755) && errno != EEXIST) in radv_builtin_cache_path() 467 ret = snprintf(path, PATH_MAX + 1, "%s%s%zd", pwd.pw_dir, suffix2, sizeof(void *) * 8); in radv_builtin_cache_path() 478 char path[PATH_MAX + 1]; in radv_load_meta_pipeline() 483 if (!radv_builtin_cache_path(path)) in radv_load_meta_pipeline() 486 int fd = open(path, O_RDONLY); in radv_load_meta_pipeline() 509 char path[PATH_MA in radv_store_meta_pipeline() local [all...] |
/third_party/python/Lib/importlib/ |
H A D | _bootstrap.py | 344 `submodule_search_locations` is the sequence of path entries to 728 """Meta path import for built-in modules. 749 def find_spec(cls, fullname, path=None, target=None): 756 def find_module(cls, fullname, path=None): 759 If 'path' is ever specified then the search is considered a failure. 767 spec = cls.find_spec(fullname, path) 806 """Meta path import for frozen modules. 921 def find_spec(cls, fullname, path=None, target=None): 951 def find_module(cls, fullname, path=None): 1044 def _find_spec_legacy(finder, name, path) [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | AAHairLinePathRenderer.cpp | 186 // in this case approx the path with lines 252 int gather_lines_and_quads(const SkPath& path, in gather_lines_and_quads() argument 262 SkPath::Iter iter(path, false); in gather_lines_and_quads() 428 GrPathUtils::scaleToleranceToSrc(SK_Scalar1, m, path.getBounds()); in gather_lines_and_quads() 758 const SkPath& path, in Make() 772 viewMatrix, path, in Make() 780 const SkPath& path, in AAHairlineOp() 788 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp() 790 this->setTransformedBounds(path.getBounds(), viewMatrix, HasAABloat::kYes, in AAHairlineOp() 1041 // given path in predictPrograms() 755 Make(GrRecordingContext* context, GrPaint&& paint, const SkMatrix& viewMatrix, const SkPath& path, const GrStyle& style, const SkIRect& devClipBounds, const GrUserStencilSettings* stencilSettings) Make() argument 776 AAHairlineOp(GrProcessorSet* processorSet, const SkPMColor4f& color, uint8_t coverage, const SkMatrix& viewMatrix, const SkPath& path, SkIRect devClipBounds, SkScalar capLength, const GrUserStencilSettings* stencilSettings) AAHairlineOp() argument 1281 const SkPath& path = GrTest::TestPath(random); GR_DRAW_OP_TEST_DEFINE() local 1323 SkPath path; onDrawPath() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smb2ops.c | 817 .path = "", in smb3_qfs_tcon() 861 .path = "", in smb2_qfs_tcon() 909 .path = full_path, in smb2_is_path_accessible() 1056 const unsigned char *path, const unsigned char *ea_name, in smb2_query_eas() 1066 rc = smb2_query_info_compound(xid, tcon, path, in smb2_query_eas() 1105 const char *path, const char *ea_name, const void *ea_value, in smb2_set_ea() 1134 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea() 1149 rc = ses->server->ops->query_all_EAs(xid, tcon, path, in smb2_set_ea() 1160 rc = smb2_query_info_compound(xid, tcon, path, in smb2_set_ea() 1195 .path in smb2_set_ea() 1055 smb2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *path, const unsigned char *ea_name, char *ea_data, size_t buf_size, struct cifs_sb_info *cifs_sb) smb2_query_eas() argument 1104 smb2_set_ea(const unsigned int xid, struct cifs_tcon *tcon, const char *path, const char *ea_name, const void *ea_value, const __u16 ea_value_len, const struct nls_table *nls_codepage, struct cifs_sb_info *cifs_sb) smb2_set_ea() argument 1477 smb2_ioctl_query_info(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, __le16 *path, int is_dir, unsigned long p) smb2_ioctl_query_info() argument 2143 const unsigned char *path; smb3_notify() local 2215 smb2_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon, const char *path, struct cifs_sb_info *cifs_sb, struct cifs_fid *fid, __u16 search_flags, struct cifs_search_info *srch_inf) smb2_query_dir_first() argument 2538 smb2_query_info_compound(const unsigned int xid, struct cifs_tcon *tcon, const char *path, u32 desired_access, u32 class, u32 type, u32 output_len, struct kvec *rsp, int *buftype, struct cifs_sb_info *cifs_sb) smb2_query_info_compound() argument 3165 get_smb2_acl_by_path(struct cifs_sb_info *cifs_sb, const char *path, u32 *pacllen, u32 info) get_smb2_acl_by_path() argument 3231 set_smb2_acl(struct cifs_ntsd *pnntsd, __u32 acllen, struct inode *inode, const char *path, int aclflag) set_smb2_acl() argument 3290 get_smb2_acl(struct cifs_sb_info *cifs_sb, struct inode *inode, const char *path, u32 *pacllen, u32 info) get_smb2_acl() argument [all...] |
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...] |
/foundation/ability/idl_tool/codegen/ |
H A D | rust_code_emitter.cpp | 156 String path = TrimDot(fpnp); in GeneratePath() local 157 if (path.IsEmpty()) { in GeneratePath() 160 return path.Replace(".", "::"); in GeneratePath() 163 String path = TrimDot(fpnp.Substring(0, pos + 1)); in GeneratePath() local 165 if (path.IsEmpty()) { in GeneratePath() 169 if (path.IndexOf("..") != -1 || file.IndexOf("..") != -1) { in GeneratePath() 174 realPath.Append(path.Replace(".", "::")).Append("::{"); in GeneratePath()
|
/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/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()
|