/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_merge.c | 389 struct path lo_p = { .mnt = file->f_path.mnt }; in do_dir_open_merge() 549 struct path lo_p = { .mnt = file->f_path.mnt }; in hmdfs_file_open_merge() 682 struct path path; in get_file_size() local 685 ret = kern_path(path_value, 0, &path); in get_file_size() 688 ret = vfs_getattr(&path, &buf, STATX_BASIC_STATS | STATX_BTIME, 0); in get_file_size() 689 path_put(&path); in get_file_size() 704 struct path path; in create_link_file() local 706 ret = kern_path(data->distributed_path, 0, &path); in create_link_file() 724 struct path path; create_dir() local [all...] |
/kernel/liteos_m/components/shell/src/cmds/ |
H A D | vfs_shellcmd.c | 70 INT32 OsShellCmdDoChdir(const CHAR *path) in OsShellCmdDoChdir() argument 81 if (path == NULL) { in OsShellCmdDoChdir() 88 ERROR_OUT_IF(strlen(path) > PATH_MAX, SetErr(ENOTDIR, "cd error"), return -1); in OsShellCmdDoChdir() 90 ret = VfsNormalizePath(shellWorkingDirectory, path, &fullpath); in OsShellCmdDoChdir() 105 /* copy full path to working directory */ in OsShellCmdDoChdir() 114 /* release normalize directory path name */ in OsShellCmdDoChdir() 120 STATIC CHAR *OsLsGetFullpath(const CHAR *path, struct dirent *pdirent) in OsLsGetFullpath() argument 126 if (path[1] != '\0') { in OsLsGetFullpath() 127 pathLen = strlen(path) + strlen(pdirent->d_name) + 2; /* 2, path in OsLsGetFullpath() 160 CHAR *path = NULL; OsLs() local [all...] |
/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | test262.py | 14 from os import path namespace 44 if not os.path.exists(EXCLUDED_FILENAME): 57 result.add_option("--tests", default=path.abspath('.'), 84 if not path.exists(options.tests): 85 ReportError("Couldn't find test path '%s'" % options.tests) 266 return path.join(*self.name) 362 'path': tmp.name 430 self.test_root = path.join(root, 'test') 431 self.lib_root = path.join(root, 'harness') 440 if not path [all...] |
/third_party/node/test/cctest/ |
H A D | test_inspector_socket.cc | 109 void OnHttpGet(const std::string& host, const std::string& path) override { 110 process(kInspectorHandshakeHttpGet, path); 113 void OnSocketUpgrade(const std::string& host, const std::string& path, 116 process(kInspectorHandshakeUpgraded, path); 177 const std::string& path, bool* cont) { in stop_if_stop_path() 178 *cont = path.empty() || path != "/close"; in stop_if_stop_path() 181 void process(inspector_handshake_event event, const std::string& path); 201 static const char HANDSHAKE_REQ[] = "GET /ws/path HTTP/1.1\r\n" 209 const std::string& path) { in process() 176 stop_if_stop_path(enum inspector_handshake_event state, const std::string& path, bool* cont) stop_if_stop_path() argument 208 process(inspector_handshake_event event, const std::string& path) process() argument 584 ReportsHttpGet_handshake(enum inspector_handshake_event state, const std::string& path, bool* cont) ReportsHttpGet_handshake() argument 644 HandshakeCanBeCanceled_handshake(enum inspector_handshake_event state, const std::string& path, bool* cont) HandshakeCanBeCanceled_handshake() argument 669 GetThenHandshake_handshake(enum inspector_handshake_event state, const std::string& path, bool* cont) GetThenHandshake_handshake() argument 824 shouldnt_be_called(enum inspector_handshake_event state, const std::string& path, bool* cont) shouldnt_be_called() argument [all...] |
/third_party/rust/crates/libc/src/windows/ |
H A D | mod.rs | 396 pub fn chmod(path: *const c_char, mode: ::c_int) -> ::c_int; in chmod() 398 pub fn wchmod(path: *const wchar_t, mode: ::c_int) -> ::c_int; in wchmod() 400 pub fn mkdir(path: *const c_char) -> ::c_int; in mkdir() 402 pub fn wrmdir(path: *const wchar_t) -> ::c_int; in wrmdir() 406 pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; in stat() 408 pub fn wstat(path: *const wchar_t, buf: *mut stat) -> ::c_int; in wstat() 420 pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; in open() 422 pub fn wopen(path: *const wchar_t, oflag: ::c_int, ...) -> ::c_int; in wopen() 424 pub fn creat(path: *const c_char, mode: ::c_int) -> ::c_int; in creat() 426 pub fn access(path [all...] |
/third_party/protobuf/src/google/protobuf/util/ |
H A D | field_mask_util.cc | 109 const std::string& path = mask.paths(i); in ToJsonString() local 111 if (!SnakeCaseToCamelCase(path, &camelcase_path)) { in ToJsonString() 137 const Descriptor* descriptor, StringPiece path, in GetFieldDescriptors() 142 std::vector<std::string> parts = Split(path, "."); in GetFieldDescriptors() 182 // In the tree, each leaf node represents a field path. 191 // Add a field path into the tree. In a FieldMask, each field path matches 192 // the specified field and also all its sub-fields. If the field path to 193 // add is a sub-path of an existing field path i 136 GetFieldDescriptors( const Descriptor* descriptor, StringPiece path, std::vector<const FieldDescriptor*>* field_descriptors) GetFieldDescriptors() argument 325 AddPath(const std::string& path) AddPath() argument 352 RemovePath(const std::string& path, const Descriptor* descriptor) RemovePath() argument 411 IntersectPath(const std::string& path, FieldMaskTree* out) IntersectPath() argument 668 IsPathInFieldMask(StringPiece path, const FieldMask& mask) IsPathInFieldMask() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 56 void rtl8723be_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path path, in rtl8723be_phy_set_rf_reg() argument 64 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg() 69 original_value = rtl8723_phy_rf_serial_read(hw, path, in rtl8723be_phy_set_rf_reg() 76 rtl8723_phy_rf_serial_write(hw, path, regaddr, data); in rtl8723be_phy_set_rf_reg() 82 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg() 205 /* BoardType of each RF path is matched*/ in _rtl8723be_check_positive() 244 u8 band, path, txnum, section; in _rtl8723be_phy_init_tx_power_by_rate() local 247 for (path = 0; path < TX_PWR_BY_RATE_NUM_RF; ++path) in _rtl8723be_phy_init_tx_power_by_rate() 277 _rtl8723be_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate_section, u8 txnum, u8 value) _rtl8723be_phy_set_txpower_by_rate_base() argument 320 _rtl8723be_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 txnum, u8 rate_section) _rtl8723be_phy_get_txpower_by_rate_base() argument 368 u8 base = 0, path = 0; _rtl8723be_phy_store_txpower_by_rate_base() local 803 _rtl8723be_phy_get_ratesection_intxpower_byrate(enum radio_path path, u8 rate) _rtl8723be_phy_get_ratesection_intxpower_byrate() argument 942 _rtl8723be_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) _rtl8723be_get_txpower_index() argument 993 _rtl8723be_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) _rtl8723be_phy_set_txpower_index() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 56 void rtl8723be_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path path, in rtl8723be_phy_set_rf_reg() argument 64 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg() 69 original_value = rtl8723_phy_rf_serial_read(hw, path, in rtl8723be_phy_set_rf_reg() 76 rtl8723_phy_rf_serial_write(hw, path, regaddr, data); in rtl8723be_phy_set_rf_reg() 82 regaddr, bitmask, data, path); in rtl8723be_phy_set_rf_reg() 205 /* BoardType of each RF path is matched*/ in _rtl8723be_check_positive() 244 u8 band, path, txnum, section; in _rtl8723be_phy_init_tx_power_by_rate() local 247 for (path = 0; path < TX_PWR_BY_RATE_NUM_RF; ++path) in _rtl8723be_phy_init_tx_power_by_rate() 277 _rtl8723be_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate_section, u8 txnum, u8 value) _rtl8723be_phy_set_txpower_by_rate_base() argument 320 _rtl8723be_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 txnum, u8 rate_section) _rtl8723be_phy_get_txpower_by_rate_base() argument 368 u8 base = 0, path = 0; _rtl8723be_phy_store_txpower_by_rate_base() local 803 _rtl8723be_phy_get_ratesection_intxpower_byrate(enum radio_path path, u8 rate) _rtl8723be_phy_get_ratesection_intxpower_byrate() argument 942 _rtl8723be_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) _rtl8723be_get_txpower_index() argument 993 _rtl8723be_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) _rtl8723be_phy_set_txpower_index() argument [all...] |
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 63 char path[PATH_BYTES]; member 1914 FILE *fopen_or_die(const char *path, const char *mode) in fopen_or_die() argument 1916 FILE *filep = fopen(path, mode); in fopen_or_die() 1919 err(1, "%s: open failed", path); in fopen_or_die() 1928 unsigned long long snapshot_sysfs_counter(char *path) in snapshot_sysfs_counter() argument 1934 fp = fopen_or_die(path, "r"); in snapshot_sysfs_counter() 1938 err(1, "snapshot_sysfs_counter(%s)", path); in snapshot_sysfs_counter() 1951 char path[128 + PATH_BYTES]; in get_mp() local 1954 sprintf(path, "/sys/devices/system/cpu/cpu%d/%s", cpu, mp->path); in get_mp() 1967 char path[128]; get_uncore_mhz() local 1977 char path[128 + PATH_BYTES]; get_epb() local 2052 char path[128 + PATH_BYTES]; get_core_throt_cnt() local 2832 char path[PATH_MAX]; parse_int_file() local 2914 char path[80]; get_physical_node_id() local 2932 char path[80], character; get_thread_siblings() local 4119 read_sysfs_int(char *path) read_sysfs_int() argument 4137 dump_sysfs_file(char *path) dump_sysfs_file() argument 4158 char path[128]; intel_uncore_frequency_probe() local 4199 char path[64]; dump_sysfs_cstate_config() local 4247 char path[64]; dump_sysfs_pstate_config() local 5472 char *path = "/dev/cpu_dma_latency"; print_dev_latency() local 6255 add_counter(unsigned int msr_num, char *path, char *name, unsigned int width, enum counter_scope scope, enum counter_type type, enum counter_format format, int flags) add_counter() argument 6315 char *path = NULL; parse_add_command() local 6439 char path[64]; probe_sysfs() local [all...] |
/third_party/json/tools/cpplint/ |
H A D | cpplint.py | 80 [--repository=path] 83 [--exclude=path] 152 repository=path 155 path that contains .git, .hg, or .svn. When this flag is specified, the 156 given path is used instead. This option allows the header guard CPP 206 exclude=path 207 Exclude the given path from the list of files to be linted. Relative 1141 # The path of last found header. 1155 """Returns a path canonicalized for alphabetical comparison. 1165 Canonicalized path [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_entry_points.py | 1760 return os.path.join(script_relative(".."), "src", folder, file) 1958 script_name=os.path.basename(sys.argv[0]), 1967 path = path_to(lib, "entry_points_{}_autogen.{}".format(annotation.lower(), suffix)) 1969 with open(path, "w") as out: 1976 script_name=os.path.basename(sys.argv[0]), 1983 path = path_to(lib_name, "{}_autogen.cpp".format(lib_name)) 1985 with open(path, "w") as out: 2001 script_name=os.path.basename(sys.argv[0]), 2006 path = path_to("libANGLE", "Context_%s_autogen.h" % annotation.lower()) 2008 with open(path, " [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt.c | 173 * @clt_path: client path pointer 195 * @clt_path: client path to change the state of. 309 struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); in rtrs_rdma_error_recovery() 334 rtrs_err(con->c.path, "Failed IB_WR_REG_MR: %s\n", in rtrs_clt_fast_reg_done() 354 rtrs_err(con->c.path, "Failed IB_WR_LOCAL_INV: %s\n", in rtrs_clt_inv_rkey_done() 391 clt_path = to_clt_path(con->c.path); in complete_rdma_req() 412 /* This should be IO path, so always notify */ in complete_rdma_req() 421 rtrs_err(con->c.path, "Send INV WR key=%#x: %d\n", in complete_rdma_req() 449 rtrs_err_rl(con->c.path, "IO request failed: error=%d path in complete_rdma_req() 783 struct rtrs_clt_path *path; get_next_path_rr() local 1523 alloc_path(struct rtrs_clt_sess *clt, const struct rtrs_addr *path, size_t con_num, u32 nr_poll_queues) alloc_path() argument 2598 struct rtrs_addr path = { init_path() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/ |
H A D | rich_editor_drag_overlay_modifier.cpp | 52 std::shared_ptr<RSPath> path; in onDraw() local 54 path = textDragPattern->GenerateBackgroundPath(backgroundOffset_->Get(), 1 - selectedBackgroundOpacity_->Get()); in onDraw() 56 path = textDragPattern->GetBackgroundPath(); in onDraw() 58 PaintBackground(*path, canvas, textDragPattern, richEditor); in onDraw() 70 canvas.ClipPath(*path, RSClipOp::INTERSECT, true); in onDraw() 170 void RichEditorDragOverlayModifier::PaintBackground(const RSPath& path, RSCanvas& canvas, in PaintBackground() argument 174 PaintShadow(path, shadow, canvas); in PaintBackground() 180 canvas.DrawPath(path); in PaintBackground() 186 canvas.ClipPath(path, RSClipOp::INTERSECT, true); in PaintBackground() 207 std::shared_ptr<RSPath> path in PaintSelBackground() local 300 PaintShadow(const RSPath& path, const Shadow& shadow, RSCanvas& canvas) PaintShadow() argument [all...] |
/foundation/multimedia/audio_framework/services/audio_service/test/example/ |
H A D | audio_stream_playback_test.cpp | 147 char path[PATH_MAX] = { 0x00 }; in OpenSpkFile() local 148 if ((strlen(spkFilePath.c_str()) > PATH_MAX) || (realpath(spkFilePath.c_str(), path) == nullptr)) { in OpenSpkFile() 151 AUDIO_INFO_LOG("spk path = %{public}s", path); in OpenSpkFile() 152 spkWavFile_ = fopen(path, "rb"); in OpenSpkFile() 208 std::string path = "/data/test.wav"; in InitRenderer() local 209 OpenSpkFile(path); in InitRenderer() 242 std::string path = "/data/test.wav"; in InitSatelliteProcess() local 243 OpenSpkFile(path); in InitSatelliteProcess() 420 char path[PATH_MA in OpenMicFile() local 461 std::string path = "/data/mic.pcm"; InitCapturer() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_uri_test.cpp | 39 "path=/storage/cloud/files/video/16/VID_1690336600_001.mp4"; 41 "height=1920&path=/storage/cloud/files/Photo/16/VID_1690336600_001.mp4"; 95 bool GetParamsFromUriTest(const string &uri, string &fileUri, const bool isOldVer, Size &size, string &path) in GetParamsFromUriTest() argument 133 path = queryKey[THUMBNAIL_PATH]; in GetParamsFromUriTest() 147 string path; in HWTEST_F() local 150 GetParamsFromUriTest(OLD_URI, fileUri, true, size, path); in HWTEST_F() 152 EXPECT_EQ("", path); in HWTEST_F() 158 string path; in HWTEST_F() local 161 GetParamsFromUriTest(NEW_URI, fileUri, true, size, path); in HWTEST_F() 163 EXPECT_EQ("", path); in HWTEST_F() 170 string path; HWTEST_F() local 181 string path; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | firmware.c | 231 /* Device path with a leading '=' key-value separator */ in brcmf_fw_strip_multi_v1() 579 brcmf_dbg(TRACE, "firmware %s %sfound\n", cur->path, fw ? "" : "not "); in brcmf_fw_complete_request() 607 /* nvram files are board-specific, first try a board-specific path */ in brcmf_fw_request_firmware() 611 strlcpy(alt_path, cur->path, BRCMF_FW_NAME_LEN); in brcmf_fw_request_firmware() 623 return request_firmware(fw, cur->path, fwctx->dev); in brcmf_fw_request_firmware() 655 if (!item->path) in brcmf_fw_request_is_valid() 684 ret = request_firmware_nowait(THIS_MODULE, true, first->path, in brcmf_fw_get_firmwares() 739 fwreq->items[j].path = fwnames[j].path; in brcmf_fw_alloc_request() 740 fwnames[j].path[ in brcmf_fw_alloc_request() [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | file.c | 21 #include "include/path.h" 156 const struct path *path, int flags, char *buffer, in path_name() 163 error = aa_path_name(path, flags, buffer, name, &info, in path_name() 283 const struct path *path, char *buffer, u32 request, in profile_path_perm() 293 error = path_name(op, &profile->label, path, in profile_path_perm() 303 * aa_path_perm - do permissions check & audit for @path 306 * @path: path t 155 path_name(const char *op, struct aa_label *label, const struct path *path, int flags, char *buffer, const char **name, struct path_cond *cond, u32 request) path_name() argument 282 profile_path_perm(const char *op, struct aa_profile *profile, const struct path *path, char *buffer, u32 request, struct path_cond *cond, int flags, struct aa_perms *perms) profile_path_perm() argument 313 aa_path_perm(const char *op, struct aa_label *label, const struct path *path, int flags, u32 request, struct path_cond *cond) aa_path_perm() argument [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | file.c | 23 #include "include/path.h" 162 const struct path *path, int flags, char *buffer, in path_name() 169 error = aa_path_name(path, flags, buffer, name, &info, in path_name() 251 const struct path *path, char *buffer, u32 request, in profile_path_perm() 261 error = path_name(op, subj_cred, &profile->label, path, in profile_path_perm() 271 * aa_path_perm - do permissions check & audit for @path 275 * @path: path t 160 path_name(const char *op, const struct cred *subj_cred, struct aa_label *label, const struct path *path, int flags, char *buffer, const char **name, struct path_cond *cond, u32 request) path_name() argument 249 profile_path_perm(const char *op, const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer, u32 request, struct path_cond *cond, int flags, struct aa_perms *perms) profile_path_perm() argument 282 aa_path_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, const struct path *path, int flags, u32 request, struct path_cond *cond) aa_path_perm() argument [all...] |
/third_party/mbedtls/scripts/ |
H A D | abi_check.py | 133 configuration.skip_file: path to file containing symbols and types to skip 139 self.report_dir = os.path.abspath(configuration.report_dir) 141 self.can_remove_report_dir = not (os.path.exists(self.report_dir) or 217 if not (os.path.exists(os.path.join(git_worktree_path, "crypto")) 225 cwd=os.path.join(git_worktree_path, "crypto"), 235 cwd=os.path.join(git_worktree_path, "crypto"), 245 if os.path.exists(os.path.join(git_worktree_path, "crypto")): 256 version.modules[os.path [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A D | ArchiveWriter.cpp | 417 // For an object file, the N_OSO entries contain the absolute path in computeMemberData() 418 // path to the file, and the file's timestamp. For an object in computeMemberData() 419 // included in an archive, the path is formatted like in computeMemberData() 420 // "/absolute/path/to/archive.a(member.o)", and the timestamp is the in computeMemberData() 515 sys::path::remove_dots(Ret, /*removedotdot*/ true); in canonicalizePath() 519 // Compute the relative path from From to To. 527 const SmallString<128> &DirFrom = sys::path::parent_path(*DirFromOrErr); in computeArchiveRelativePath() 529 // Can't construct a relative path between different roots in computeArchiveRelativePath() 530 if (sys::path::root_name(PathTo) != sys::path in computeArchiveRelativePath() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_polygon.cpp | 188 void RosenRenderSvgPolygon::UpdateMotion(const std::string& path, const std::string& rotate, double percent) in UpdateMotion() argument 195 RosenSvgPainter::UpdateMotionMatrix(rsNode, path, rotate, percent); in UpdateMotion() 201 SkPath path; in GetPaintBounds() local 202 if (!GetPath(&path)) { in GetPaintBounds() 205 auto& bounds = path.getBounds(); in GetPaintBounds() 208 RSPath path; in GetPaintBounds() 209 if (!GetPath(&path)) { in GetPaintBounds() 212 auto bounds = path.GetBounds(); in GetPaintBounds() 286 LOGE("path is null"); in GetPath()
|
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/ |
H A D | audio_opensles_player_test.cpp | 69 char path[PATH_MAX + 1] = {0x00}; in main() local 70 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 71 AUDIO_ERR_LOG("Invalid path"); in main() 74 wavFile1_ = fopen(path, "rb"); in main() 83 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 84 AUDIO_ERR_LOG("Invalid path"); in main() 87 wavFile2_ = fopen(path, "rb"); in main() 113 char path[PATH_MAX + 1] = {0x00}; in main() local 114 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 115 AUDIO_ERR_LOG("Invalid path"); in main() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_capture_recorder.cpp | 48 static const StringParameter MSKP_PATH("mskp.path"); 155 const std::string path("/data/autocaps"); in PullAndSendRdc() 156 if (!std::filesystem::exists(path)) { in PullAndSendRdc() 160 for (const std::filesystem::directory_entry& entry : std::filesystem::directory_iterator(path)) { in PullAndSendRdc() 161 const std::filesystem::path& path = entry.path(); in PullAndSendRdc() local 162 if (path.extension() == ".rdc") { in PullAndSendRdc() 163 files.emplace_back(path.generic_string()); in PullAndSendRdc()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_static_factory.cpp | 56 std::shared_ptr<Typeface> SkiaStaticFactory::MakeFromFile(const char path[], int index) in MakeFromFile() argument 58 return SkiaTypeface::MakeFromFile(path, index); in MakeFromFile() 61 std::shared_ptr<Typeface> SkiaStaticFactory::MakeFromFile(const char path[], const FontArguments& fontArguments) in MakeFromFile() argument 63 return SkiaTypeface::MakeFromFile(path, fontArguments); in MakeFromFile() 166 std::shared_ptr<Data> SkiaStaticFactory::MakeDataFromFileName(const char path[]) in MakeDataFromFileName() argument 168 return SkiaData::MakeFromFileName(path); in MakeDataFromFileName() 176 void SkiaStaticFactory::PathOutlineDecompose(const Path& path, std::vector<Path>& paths) in PathOutlineDecompose() argument 178 SkiaHMSymbol::PathOutlineDecompose(path, paths); in PathOutlineDecompose()
|
/foundation/filemanagement/dfs_service/utils/cloud_disk/src/ |
H A D | cloud_file_utils.cpp | 165 string CloudFileUtils::GetPathWithoutTmp(const string &path) in GetPathWithoutTmp() argument 167 string ret = path; in GetPathWithoutTmp() 168 if (EndsWith(path, TMP_SUFFIX)) { in GetPathWithoutTmp() 169 ret = path.substr(0, path.length() - TMP_SUFFIX.length()); in GetPathWithoutTmp() 184 string CloudFileUtils::GetCloudId(const string &path) in GetCloudId() argument 186 auto idSize = getxattr(path.c_str(), CLOUD_FILE_CLOUD_ID_XATTR.c_str(), nullptr, 0); in GetCloudId() 191 idSize = getxattr(path.c_str(), CLOUD_FILE_CLOUD_ID_XATTR.c_str(), cloudId, idSize); in GetCloudId()
|